use epoch rather than null as default so constraint will work

This commit is contained in:
Eric House 2013-09-24 08:36:44 -07:00
parent 8862c5f750
commit fb59aa4907

View file

@ -69,7 +69,7 @@ id SERIAL
,hid INTEGER ,hid INTEGER
,token INTEGER ,token INTEGER
,ctime TIMESTAMP DEFAULT CURRENT_TIMESTAMP ,ctime TIMESTAMP DEFAULT CURRENT_TIMESTAMP
,stime TIMESTAMP DEFAULT NULL ,stime TIMESTAMP DEFAULT 'epoch'
,devid INTEGER ,devid INTEGER
,msg BYTEA ,msg BYTEA
,msg64 TEXT ,msg64 TEXT