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
1f6fbfdd
Commit
1f6fbfdd
authored
Feb 03, 2013
by
Max-Wilhelm Bruker
Browse files
updated servatrice.sql
parent
6807bb0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
servatrice/servatrice.sql
View file @
1f6fbfdd
...
@@ -28,12 +28,12 @@ SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
...
@@ -28,12 +28,12 @@ SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
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
,
`id_folder`
int
(
7
)
unsigned
zerofill
NOT
NULL
,
`id_folder`
int
(
7
)
unsigned
zerofill
NOT
NULL
,
`user`
varchar
(
35
)
NOT
NULL
,
`
id_
user`
int
(
7
)
unsigned
NULL
,
`name`
varchar
(
50
)
NOT
NULL
,
`name`
varchar
(
50
)
NOT
NULL
,
`upload_time`
datetime
NOT
NULL
,
`upload_time`
datetime
NOT
NULL
,
`content`
text
NOT
NULL
,
`content`
text
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
PRIMARY
KEY
(
`id`
),
KEY
`FolderPlusUser`
(
`id_folder`
,
`user`
)
KEY
`FolderPlusUser`
(
`id_folder`
,
`
id_
user`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
;
-- --------------------------------------------------------
-- --------------------------------------------------------
...
@@ -45,10 +45,10 @@ CREATE TABLE IF NOT EXISTS `cockatrice_decklist_files` (
...
@@ -45,10 +45,10 @@ CREATE TABLE IF NOT EXISTS `cockatrice_decklist_files` (
CREATE
TABLE
IF
NOT
EXISTS
`cockatrice_decklist_folders`
(
CREATE
TABLE
IF
NOT
EXISTS
`cockatrice_decklist_folders`
(
`id`
int
(
7
)
unsigned
zerofill
NOT
NULL
auto_increment
,
`id`
int
(
7
)
unsigned
zerofill
NOT
NULL
auto_increment
,
`id_parent`
int
(
7
)
unsigned
zerofill
NOT
NULL
,
`id_parent`
int
(
7
)
unsigned
zerofill
NOT
NULL
,
`user`
varchar
(
35
)
NOT
NULL
,
`
id_
user`
int
(
7
)
unsigned
NULL
,
`name`
varchar
(
30
)
NOT
NULL
,
`name`
varchar
(
30
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
PRIMARY
KEY
(
`id`
),
KEY
`ParentPlusUser`
(
`id_parent`
,
`user`
)
KEY
`ParentPlusUser`
(
`id_parent`
,
`
id_
user`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
;
-- --------------------------------------------------------
-- --------------------------------------------------------
...
@@ -163,7 +163,8 @@ CREATE TABLE `cockatrice_bans` (
...
@@ -163,7 +163,8 @@ CREATE TABLE `cockatrice_bans` (
`reason`
text
NOT
NULL
,
`reason`
text
NOT
NULL
,
`visible_reason`
text
NOT
NULL
,
`visible_reason`
text
NOT
NULL
,
PRIMARY
KEY
(
`user_name`
,
`time_from`
),
PRIMARY
KEY
(
`user_name`
,
`time_from`
),
KEY
`time_from`
(
`time_from`
,
`ip_address`
)
KEY
`time_from`
(
`time_from`
,
`ip_address`
),
KEY
`ip_address`
(
`ip_address`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
;
CREATE
TABLE
`cockatrice_sessions`
(
CREATE
TABLE
`cockatrice_sessions`
(
...
...
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