mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 18:43:55 -07:00
Add last_login column to user table and populate upon login
This commit is contained in:
parent
0f4dc18074
commit
bb0b626cee
6 changed files with 22 additions and 2 deletions
5
servatrice/migrations/servatrice_0005_to_0006.sql
Normal file
5
servatrice/migrations/servatrice_0005_to_0006.sql
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue