mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 01:24:46 -07:00
Update sessions table columns for consistency (#2299)
* Update sessions table columns for consistency Fix #2276 This update changes two columns in the sessions table to match the column declartations in the users table. * Update servatrice.sql Update servatrice.sql to reflect new db schema version
This commit is contained in:
parent
c78eed576f
commit
c9a8dafd01
3 changed files with 10 additions and 4 deletions
6
servatrice/migrations/servatrice_0018_to_0019.sql
Normal file
6
servatrice/migrations/servatrice_0018_to_0019.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
-- Servatrice db migration from version 18 to version 19
|
||||
|
||||
alter table cockatrice_sessions modify column `user_name` varchar(35) NOT NULL;
|
||||
alter table cockatrice_sessions modify column `ip_address` varchar(255) NOT NULL;
|
||||
|
||||
UPDATE cockatrice_schema_version SET version=19 WHERE version=18;
|
||||
Loading…
Add table
Add a link
Reference in a new issue