mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 08:03:54 -07:00
Updated cockatrice_warnings table to use id column as primary key
This commit is contained in:
parent
d55e44ea60
commit
b65882f7ce
4 changed files with 12 additions and 6 deletions
6
servatrice/migrations/servatrice_0010_to_0011.sql
Normal file
6
servatrice/migrations/servatrice_0010_to_0011.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
-- Servatrice db migration from version 10 to version 11
|
||||
|
||||
alter table cockatrice_warnings change id user_id int(7) unsigned NOT NULL;
|
||||
alter table cockatrice_warnings drop primary key, add primary key(user_id,time_of);
|
||||
|
||||
UPDATE cockatrice_schema_version SET version=11 WHERE version=10;
|
||||
Loading…
Add table
Add a link
Reference in a new issue