Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
d9c0c97a
"git@gitlab.completext.com:quzar/Cockatrice.git" did not exist on "927226633d5e767c2edb5d9f0696f18ad9dd05a9"
Commit
d9c0c97a
authored
Nov 08, 2015
by
Michael Hogg
Browse files
Updating schema version to 12 and adding migration script.
parent
9963e9df
Changes
2
Hide whitespace changes
Inline
Side-by-side
servatrice/migrations/servatrice_0011_to_0012.sql
0 → 100644
View file @
d9c0c97a
-- Servatrice db migration from version 11 to version 12
alter
table
cockatrice_users
modify
token
binary
(
16
)
NULL
;
UPDATE
cockatrice_schema_version
SET
version
=
12
WHERE
version
=
11
;
servatrice/servatrice.sql
View file @
d9c0c97a
...
@@ -20,7 +20,7 @@ CREATE TABLE IF NOT EXISTS `cockatrice_schema_version` (
...
@@ -20,7 +20,7 @@ CREATE TABLE IF NOT EXISTS `cockatrice_schema_version` (
PRIMARY
KEY
(
`version`
)
PRIMARY
KEY
(
`version`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
cockatrice_schema_version
VALUES
(
1
1
);
INSERT
INTO
cockatrice_schema_version
VALUES
(
1
2
);
CREATE
TABLE
IF
NOT
EXISTS
`cockatrice_decklist_files`
(
CREATE
TABLE
IF
NOT
EXISTS
`cockatrice_decklist_files`
(
`id`
int
(
7
)
unsigned
zerofill
NOT
NULL
auto_increment
,
`id`
int
(
7
)
unsigned
zerofill
NOT
NULL
auto_increment
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment