From 6470fd268208159b227e38f4362d1f39bcb973b2 Mon Sep 17 00:00:00 2001 From: Ricky Zhou Date: Fri, 7 Mar 2008 15:38:19 -0500 Subject: [PATCH] Add missing comma, creation field to email tables. --- fas/fas2.sql | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fas/fas2.sql b/fas/fas2.sql index 7e76dc8..3e4c952 100644 --- a/fas/fas2.sql +++ b/fas/fas2.sql @@ -75,7 +75,8 @@ CREATE TABLE person_emails ( person_id INTEGER NOT NULL references people(id), validtoken text, description text, - verified boolean NOT NULL DEFAULT false + verified boolean NOT NULL DEFAULT false, + creation TIMESTAMP WITH TIME ZONE DEFAULT NOW(), unique (email, verified) --You can't "claim" an email before you verify it first ); @@ -146,7 +147,8 @@ CREATE TABLE group_emails ( group_id INTEGER NOT NULL references groups(id), validtoken text, description text, - verified boolean NOT NULL DEFAULT false + verified boolean NOT NULL DEFAULT false, + creation TIMESTAMP WITH TIME ZONE DEFAULT NOW(), unique (email, verified) --You can't "claim" an email before you verify it first );