Remove DEFAULT '' from postgres ip_changes.ipc_rev_timestamp
[lhc/web/wiklou.git] / maintenance / postgres / archives / patch-ip_changes.sql
index 231ea1a..64cc0d7 100644 (file)
@@ -2,7 +2,7 @@ CREATE SEQUENCE ip_changes_ipc_rev_id_seq;
 
 CREATE TABLE ip_changes (
   ipc_rev_id        INTEGER PRIMARY KEY NOT NULL DEFAULT nextval('ip_changes_ipc_rev_id_seq'),
-  ipc_rev_timestamp TIMESTAMPTZ NOT NULL DEFAULT '',
+  ipc_rev_timestamp TIMESTAMPTZ NOT NULL,
   ipc_hex           BYTEA NOT NULL DEFAULT ''
 );