mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-07 07:00:33 -04:00
Removed NioTSO client and server
- NioTSO client isn't needed because we're using RayLib - Added FreeSO's API server to handle most backend operations
This commit is contained in:
parent
f12ba1502b
commit
22191ce648
591 changed files with 53264 additions and 3362 deletions
26
server/FSO.Server.Database/DatabaseScripts/fso_shards.sql
Executable file
26
server/FSO.Server.Database/DatabaseScripts/fso_shards.sql
Executable file
|
@ -0,0 +1,26 @@
|
|||
CREATE TABLE IF NOT EXISTS `fso_shards` (
|
||||
`shard_id` int(11) NOT NULL,
|
||||
`name` varchar(100) NOT NULL,
|
||||
`rank` int(11) NOT NULL,
|
||||
`map` varchar(10) NOT NULL,
|
||||
`status` enum('up','down','busy','full','closed','frontier') NOT NULL,
|
||||
`internal_host` varchar(100) NOT NULL,
|
||||
`public_host` varchar(100) NOT NULL,
|
||||
PRIMARY KEY (`shard_id`)
|
||||
)
|
||||
COLLATE='utf8_general_ci'
|
||||
ENGINE=InnoDB;
|
||||
|
||||
-- Default shard
|
||||
INSERT INTO fso_shards VALUES (1, 'Alphaville', 1, '0001', 'up', '127.0.0.1:7777', '127.0.0.1:7777') ON DUPLICATE KEY UPDATE shard_id = shard_id;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `fso_shard_tickets` (
|
||||
`ticket_id` VARCHAR(36) NOT NULL,
|
||||
`user_id` INT UNSIGNED NOT NULL,
|
||||
`date` INT UNSIGNED NOT NULL,
|
||||
`ip` VARCHAR(50) NOT NULL,
|
||||
`avatar_id` INT UNSIGNED NOT NULL,
|
||||
PRIMARY KEY (`ticket_id`)
|
||||
)
|
||||
COLLATE='utf8_general_ci'
|
||||
ENGINE=InnoDB;
|
Loading…
Add table
Add a link
Reference in a new issue