--- trunk/schema.sql	2005/05/18 13:12:54	45
+++ trunk/schema.sql	2005/05/24 14:02:05	47
@@ -14,6 +14,7 @@
 create table lists (
 	id	serial,
 	name	text not null,
+	from_addr	text not null default '',
 	email	text not null,
 	bounce_limit int not null default 3,
 	date	timestamp not null default now(),
@@ -57,7 +58,7 @@
 
 create table received (
 	id serial,
-	user_id	int not null references users(id),
+	user_id	int references users(id),
 	list_id	int not null references lists(id),
 	message_id int references messages(id),
 	message	text not null,
@@ -69,13 +70,3 @@
 create index received_user_id_int on received(user_id);
 create index received_list_id_int on received(list_id);
 
-
-insert into users (email, name) values ('dpavlin@rot13.org', 'DbP');
-insert into users (email, name) values ('dpavlin@gmail.com', 'DbP');
-insert into users (email, name) values ('xxx_doesnt_exist_xxx@gmail.com', 'fake');
-
-insert into lists (name, email) values ('Just me','my-alter-ego@rot13.org');
-insert into lists (name, email) values ('All users','announce@example.com');
-
-insert into user_list (user_id, list_id) select users.id,1 from users limit 1;
-insert into user_list (user_id, list_id) select users.id,2 from users;
