You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
366 B
10 lines
366 B
CREATE TABLE collected_addresses (
|
|
address_id integer NOT NULL PRIMARY KEY,
|
|
user_id integer NOT NULL,
|
|
changed datetime NOT NULL default '0000-00-00 00:00:00',
|
|
name varchar(255) NOT NULL default '',
|
|
email varchar(255) NOT NULL,
|
|
"type" integer NOT NULL
|
|
);
|
|
|
|
CREATE UNIQUE INDEX ix_collected_addresses_user_id ON collected_addresses(user_id, "type", email);
|