]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - db/statusnet_pg.sql
the sent column wasn't being populated, needed default
[quix0rs-gnu-social.git] / db / statusnet_pg.sql
index 3f62ab75273ccf54427ba9000652c3c4f7be2f2a..2db98550c9c6e4fa01f62c7e98b9bf53cbb26c2d 100644 (file)
@@ -276,7 +276,7 @@ create table confirm_address (
     address_extra varchar(255) not null default '' /* comment 'carrier ID, for SMS' */,
     address_type varchar(8) not null /* comment 'address type ("email", "jabber", "sms")' */,
     claimed timestamp /* comment 'date this was claimed for queueing' */,
-    sent timestamp /* comment 'date this was sent for queueing' */,
+    sent timestamp default CURRENT_TIMESTAMP /* comment 'date this was sent for queueing' */,
     modified timestamp /* comment 'date this record was modified' */
 );