This doesn't work:
create table event (
...
time int default date_part('epoch', timestamp 'now'),
...
);
I'm no postgresql expert but shouldn't this one work
time int default date_part('epoch', now())
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With