Order notifications by creation date

This commit is contained in:
Bat
2018-05-24 11:12:27 +01:00
parent daf9120fba
commit a0b4a6eacb
4 changed files with 9 additions and 1 deletions
@@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
ALTER TABLE notifications DROP COLUMN creation_date;
@@ -0,0 +1,2 @@
-- Your SQL goes here
ALTER TABLE notifications ADD COLUMN creation_date TIMESTAMP NOT NULL DEFAULT now();