RoundCube Webmail
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

  1. CREATE TABLE collected_addresses (
  2. address_id integer NOT NULL PRIMARY KEY,
  3. user_id integer NOT NULL,
  4. changed datetime NOT NULL default '0000-00-00 00:00:00',
  5. name varchar(255) NOT NULL default '',
  6. email varchar(255) NOT NULL,
  7. "type" integer NOT NULL
  8. );
  9. CREATE UNIQUE INDEX ix_collected_addresses_user_id ON collected_addresses(user_id, "type", email);