From aa7f27604fcee456713166e308faab7065f8808e Mon Sep 17 00:00:00 2001 From: Ricky Zhou Date: Tue, 11 Mar 2008 21:35:14 -0400 Subject: [PATCH] Minor fixes to fas2.sql --- fas/fas2.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fas/fas2.sql b/fas/fas2.sql index e285366..2b5fb64 100644 --- a/fas/fas2.sql +++ b/fas/fas2.sql @@ -98,7 +98,7 @@ CREATE TABLE groups ( -- tg_group::display_name display_name TEXT, -- Unlike users, groups can share email addresses - email TEXT not null, + email TEXT, emailtoken TEXT, unverified_email TEXT, owner_id INTEGER NOT NULL REFERENCES people(id), @@ -575,7 +575,7 @@ create trigger role_bugzilla_sync before update or insert or delete -- for each row execute procedure bugzilla_sync_email(); -- For Fas to connect to the database -GRANT ALL ON TABLE people, groups, person_roles, group_roles, bugzilla_queue, configs, person_seq, visit, visit_identity, log, log_id_seq, TO GROUP fedora; +GRANT ALL ON TABLE people, groups, person_roles, group_roles, bugzilla_queue, configs, person_seq, visit, visit_identity, log, log_id_seq TO GROUP fedora; -- Create default admin user - Default Password "admin" INSERT INTO people (id, username, human_name, password, email) VALUES (100001, 'admin', 'Admin User', '$1$djFfnacd$b6NFqFlac743Lb4sKWXj4/', 'root@localhost');