Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
7cdb0441
Commit
7cdb0441
authored
6 years ago
by
SteelT
Browse files
Options
Downloads
Patches
Plain Diff
Add example sql file
parent
3e6fcf1b
No related branches found
No related tags found
2 merge requests
!488
Merge in next and don't billboard papersprites in GL
,
!330
Add example SQL file.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/masterserver/structure.sql
+117
-0
117 additions, 0 deletions
tools/masterserver/structure.sql
with
117 additions
and
0 deletions
tools/masterserver/structure.sql
0 → 100644
+
117
−
0
View file @
7cdb0441
SET
SQL_MODE
=
"NO_AUTO_VALUE_ON_ZERO"
;
SET
AUTOCOMMIT
=
0
;
START
TRANSACTION
;
SET
time_zone
=
"+00:00"
;
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */
;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */
;
/*!40101 SET NAMES utf8mb4 */
;
--
-- Database: `srb2ms`
--
CREATE
DATABASE
IF
NOT
EXISTS
`srb2ms`
DEFAULT
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
;
USE
`srb2ms`
;
-- --------------------------------------------------------
--
-- Table structure for table `ms_bans`
--
CREATE
TABLE
`ms_bans`
(
`bid`
int
(
11
)
DEFAULT
NULL
,
`ipstart`
int
(
11
)
DEFAULT
NULL
,
`ipend`
int
(
11
)
DEFAULT
NULL
,
`full_endtime`
int
(
11
)
DEFAULT
NULL
,
`permanent`
tinyint
(
1
)
DEFAULT
NULL
,
`hostonly`
tinyint
(
1
)
DEFAULT
NULL
,
`reason`
text
COLLATE
utf8mb4_unicode_ci
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
;
-- --------------------------------------------------------
--
-- Table structure for table `ms_rooms`
--
CREATE
TABLE
`ms_rooms`
(
`room_id`
int
(
11
)
NOT
NULL
,
`title`
text
COLLATE
utf8mb4_unicode_ci
NOT
NULL
,
`motd`
text
COLLATE
utf8mb4_unicode_ci
NOT
NULL
,
`visible`
tinyint
(
1
)
NOT
NULL
,
`order`
int
(
11
)
NOT
NULL
,
`private`
tinyint
(
1
)
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
;
--
-- Dumping data for table `ms_rooms`
--
INSERT
INTO
`ms_rooms`
(
`room_id`
,
`title`
,
`motd`
,
`visible`
,
`order`
,
`private`
)
VALUES
(
10
,
'Example'
,
'Example Room'
,
1
,
0
,
0
),
(
0
,
'All'
,
'View all of the servers currently being hosted.'
,
1
,
1
,
1
);
-- --------------------------------------------------------
--
-- Table structure for table `ms_servers`
--
CREATE
TABLE
`ms_servers`
(
`sid`
int
(
11
)
NOT
NULL
,
`name`
text
COLLATE
utf8mb4_unicode_ci
NOT
NULL
,
`ip`
text
COLLATE
utf8mb4_unicode_ci
NOT
NULL
,
`port`
int
(
11
)
NOT
NULL
,
`version`
text
COLLATE
utf8mb4_unicode_ci
NOT
NULL
,
`timestamp`
int
(
11
)
NOT
NULL
,
`room`
int
(
11
)
NOT
NULL
,
`key`
text
COLLATE
utf8mb4_unicode_ci
NOT
NULL
,
`room_override`
int
(
11
)
NOT
NULL
,
`upnow`
tinyint
(
1
)
NOT
NULL
,
`permanent`
tinyint
(
1
)
NOT
NULL
,
`delisted`
tinyint
(
1
)
NOT
NULL
,
`sticky`
int
(
11
)
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
;
-- --------------------------------------------------------
--
-- Table structure for table `ms_versions`
--
CREATE
TABLE
`ms_versions`
(
`mod_id`
int
(
11
)
NOT
NULL
,
`mod_version`
int
(
11
)
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
;
--
-- Dumping data for table `ms_versions`
--
INSERT
INTO
`ms_versions`
(
`mod_id`
,
`mod_version`
)
VALUES
(
12
,
25
);
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE
TABLE
`user`
(
`userid`
int
(
11
)
NOT
NULL
,
`username`
text
COLLATE
utf8mb4_unicode_ci
NOT
NULL
,
`live_authkey`
blob
NOT
NULL
,
`live_publickey`
blob
NOT
NULL
,
`salt`
blob
NOT
NULL
,
`password`
blob
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
;
COMMIT
;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */
;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */
;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment