added timestamp for feed items

This commit is contained in:
2023-10-24 19:19:47 +02:00
parent ee80cbd53b
commit e4a65416c7
11 changed files with 128 additions and 26 deletions
@@ -0,0 +1,3 @@
-- This file should undo anything in `up.sql`
ALTER TABLE feed_item
DROP COLUMN created_ts;
@@ -0,0 +1,6 @@
-- Your SQL goes here
ALTER TABLE feed_item
ADD COLUMN created_ts TIMESTAMP;
ALTER TABLE feed_item
ALTER COLUMN created_ts SET DEFAULT now();