Add last_login column to user table and populate upon login

This commit is contained in:
woogerboy21 2015-08-15 02:56:10 -04:00
parent 0f4dc18074
commit bb0b626cee
6 changed files with 22 additions and 2 deletions

View file

@ -0,0 +1,5 @@
-- Servatrice db migration from version 5 to version 6
alter table cockatrice_users add last_login datetime not null;
UPDATE cockatrice_schema_version SET version=6 WHERE version=5;