diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-06 11:08:58 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-06 11:08:58 +0200 |
commit | 565c472918e7f9707cd8d7909ad5dbcc5a921fdf (patch) | |
tree | 8c4c40ab241766d931c69ee3ddcca5b3511cc800 /SQL/sqlite.initial.sql | |
parent | 83121ece3348bfe09bb1026eace79a74a5ccf2c9 (diff) |
Removed users.alias column, added option ('user_aliases')
to use email address from identities as username (#1488581)
Diffstat (limited to 'SQL/sqlite.initial.sql')
-rw-r--r-- | SQL/sqlite.initial.sql | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/SQL/sqlite.initial.sql b/SQL/sqlite.initial.sql index a3c38b939..f5b5615d8 100644 --- a/SQL/sqlite.initial.sql +++ b/SQL/sqlite.initial.sql @@ -80,6 +80,7 @@ CREATE TABLE identities ( ); CREATE INDEX ix_identities_user_id ON identities(user_id, del); +CREATE INDEX ix_identities_email ON identities(email, del); -- -------------------------------------------------------- @@ -92,7 +93,6 @@ CREATE TABLE users ( user_id integer NOT NULL PRIMARY KEY, username varchar(128) NOT NULL default '', mail_host varchar(128) NOT NULL default '', - alias varchar(128) NOT NULL default '', created datetime NOT NULL default '0000-00-00 00:00:00', last_login datetime DEFAULT NULL, language varchar(5), @@ -100,7 +100,6 @@ CREATE TABLE users ( ); CREATE UNIQUE INDEX ix_users_username ON users(username, mail_host); -CREATE INDEX ix_users_alias ON users(alias); -- -------------------------------------------------------- |