colouring-montreal/migrations/013.bulk-extracts.down.sql
2019-10-01 17:11:35 +01:00

8 lines
323 B
SQL

DROP TABLE IF EXISTS bulk_extracts;
-- convert all existing timestamp columns to timestamptz assuming UTC
ALTER TABLE logs ALTER log_timestamp TYPE timestamp;
ALTER TABLE users
ALTER registered TYPE timestamp,
ALTER deleted_on TYPE timestamp;
ALTER TABLE user_password_reset_tokens ALTER expires_on TYPE timestamp;