diff options
author | Marius Halden <marius.h@lden.org> | 2015-10-27 13:27:03 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-10-27 13:27:03 +0100 |
commit | 4fb5331abd2fa4c89ebeb89bc92a245fadd0aa19 (patch) | |
tree | 23632b448612e3845a6e8b1aed6490151395de2a /db/schema_0034-remove-ms_current_timestamp.sql | |
parent | e609613b5041a15491417eaa9ae129dd1e7531dd (diff) | |
parent | ac39951581a0eefe069c8a707bb89977227d0bce (diff) |
Merge tag 'v1.7' into fiksgatami-dev
Diffstat (limited to 'db/schema_0034-remove-ms_current_timestamp.sql')
-rw-r--r-- | db/schema_0034-remove-ms_current_timestamp.sql | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/db/schema_0034-remove-ms_current_timestamp.sql b/db/schema_0034-remove-ms_current_timestamp.sql new file mode 100644 index 000000000..347099877 --- /dev/null +++ b/db/schema_0034-remove-ms_current_timestamp.sql @@ -0,0 +1,16 @@ +begin; + +drop table debugdate; + +ALTER TABLE problem ALTER COLUMN created SET DEFAULT current_timestamp; +ALTER TABLE problem ALTER COLUMN lastupdate SET DEFAULT current_timestamp; +ALTER TABLE comment ALTER COLUMN created SET DEFAULT current_timestamp; +ALTER TABLE token ALTER COLUMN created SET DEFAULT current_timestamp; +ALTER TABLE alert ALTER COLUMN whensubscribed SET DEFAULT current_timestamp; +ALTER TABLE alert_sent ALTER COLUMN whenqueued SET DEFAULT current_timestamp; +ALTER TABLE admin_log ALTER COLUMN whenedited SET DEFAULT current_timestamp; +ALTER TABLE moderation_original_data ALTER COLUMN created SET DEFAULT current_timestamp; + +drop function ms_current_timestamp(); + +commit; |