forked from 3wordchant/capsul-flask
11 lines
287 B
MySQL
11 lines
287 B
MySQL
|
ALTER TABLE accounts
|
||
|
ADD COLUMN lower_case_email TEXT NULL;
|
||
|
|
||
|
ALTER TABLE accounts
|
||
|
ADD COLUMN ever_logged_in BOOLEAN NOT NULL DEFAULT FALSE;
|
||
|
|
||
|
UPDATE accounts set lower_case_email = LOWER(accounts.email);
|
||
|
UPDATE accounts set ever_logged_in = TRUE;
|
||
|
|
||
|
UPDATE schemaversion SET version = 9;
|