added timestamp for feed items
This commit is contained in:
@@ -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();
|
||||
Reference in New Issue
Block a user