tvl-depot/migrations/2018-04-08-172739_default_posted/up.sql

3 lines
158 B
MySQL
Raw Normal View History

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');