From: CiaranG Date: Wed, 10 Sep 2008 07:37:41 +0000 (-0400) Subject: PostgreSQL - reply.modified needs a default X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c10ab14d13bb6800fbc379c90f79469ee50ce0f0;p=quix0rs-gnu-social.git PostgreSQL - reply.modified needs a default darcs-hash:20080910073741-f6e2c-fe856e1acbc14f77e8ad6502cf5e16de768e0e5f.gz --- diff --git a/db/laconica_pg.sql b/db/laconica_pg.sql index 8becea99c8..315112b935 100644 --- a/db/laconica_pg.sql +++ b/db/laconica_pg.sql @@ -126,7 +126,7 @@ create table reply ( notice_id integer not null /* comment 'notice that is the reply' */ references notice (id) , profile_id integer not null /* comment 'profile replied to' */ references profile (id) , - modified timestamp not null /* comment 'date this record was modified' */, + modified timestamp not null default 'now' /* comment 'date this record was modified' */, replied_id integer /* comment 'notice replied to (not used, see notice.reply_to)' */, primary key (notice_id, profile_id)