* Added few unsigned to ints in order to get rid of warnings. Added column to users table, for when password is changed(issue#3015). Moved password length check to separate method, to make it cleaner. * Added migration file and changed schema version to 27 due to servatrice.sql schema modification. * Make password length configurable.
5 lines
238 B
SQL
5 lines
238 B
SQL
-- Servatrice db migration from version 26 to version 27
|
|
|
|
ALTER TABLE cockatrice_users ADD COLUMN passwordLastChangedDate datetime NOT NULL DEFAULT '0000-00-00 00:00:00';
|
|
|
|
UPDATE cockatrice_schema_version SET version=27 WHERE version=26;
|