diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-08T17·29+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-08T17·29+0200 |
commit | f281749b8c5fbd80b77159f170a5ab173ec69d71 (patch) | |
tree | 3f4c04d3677c7d5630a153cfa27d460a1b8c5da2 /migrations/2018-04-08-172739_default_posted/down.sql | |
parent | 15d460bab3d45a8253c8d1ae9cdd69223fa78095 (diff) |
feat(migrations): Default 'posted' columns to NOW()
Diffstat (limited to 'migrations/2018-04-08-172739_default_posted/down.sql')
-rw-r--r-- | migrations/2018-04-08-172739_default_posted/down.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/migrations/2018-04-08-172739_default_posted/down.sql b/migrations/2018-04-08-172739_default_posted/down.sql new file mode 100644 index 000000000000..64dc07e0666a --- /dev/null +++ b/migrations/2018-04-08-172739_default_posted/down.sql @@ -0,0 +1,2 @@ +ALTER TABLE threads ALTER COLUMN posted DROP DEFAULT; +ALTER TABLE posts ALTER COLUMN posted DROP DEFAULT; |