diff options
Diffstat (limited to 'web/converse/migrations/2018-04-08-172739_default_posted/up.sql')
-rw-r--r-- | web/converse/migrations/2018-04-08-172739_default_posted/up.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/converse/migrations/2018-04-08-172739_default_posted/up.sql b/web/converse/migrations/2018-04-08-172739_default_posted/up.sql new file mode 100644 index 000000000000..afca8181cc56 --- /dev/null +++ b/web/converse/migrations/2018-04-08-172739_default_posted/up.sql @@ -0,0 +1,2 @@ +ALTER TABLE threads ALTER COLUMN posted SET DEFAULT (NOW() AT TIME ZONE 'UTC'); +ALTER TABLE posts ALTER COLUMN posted SET DEFAULT (NOW() AT TIME ZONE 'UTC'); |