mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-06 14:40:28 -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
34
server/FSO.Server.Database/DatabaseScripts/changes/0024_bulletin.sql
Executable file
34
server/FSO.Server.Database/DatabaseScripts/changes/0024_bulletin.sql
Executable file
|
@ -0,0 +1,34 @@
|
|||
ALTER TABLE `fso_bulletin_posts`
|
||||
DROP FOREIGN KEY `fso_bulletin_poster`;
|
||||
ALTER TABLE `fso_bulletin_posts`
|
||||
CHANGE COLUMN `avatar_id` `avatar_id` INT(10) UNSIGNED NULL ,
|
||||
ADD COLUMN `lot_id` INT(11) NULL AFTER `flags`,
|
||||
ADD COLUMN `type` ENUM('mayor', 'system', 'community') NULL AFTER `lot_id`,
|
||||
ADD INDEX `fso_bulletin_lot_idx` (`lot_id` ASC);
|
||||
ALTER TABLE `fso_bulletin_posts`
|
||||
ADD CONSTRAINT `fso_bulletin_poster`
|
||||
FOREIGN KEY (`avatar_id`)
|
||||
REFERENCES `fso_avatars` (`avatar_id`)
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE,
|
||||
ADD CONSTRAINT `fso_bulletin_lot`
|
||||
FOREIGN KEY (`lot_id`)
|
||||
REFERENCES `fso_lots` (`lot_id`)
|
||||
ON DELETE SET NULL
|
||||
ON UPDATE CASCADE;
|
||||
|
||||
ALTER TABLE `fso_bulletin_posts`
|
||||
DROP FOREIGN KEY `fso_bulletin_lot`;
|
||||
ALTER TABLE `fso_bulletin_posts`
|
||||
CHANGE COLUMN `lot_id` `lot_id` INT(11) UNSIGNED NULL DEFAULT NULL ,
|
||||
ADD INDEX `fso_bulletin_lot_idx` (`lot_id` ASC),
|
||||
DROP INDEX `fso_bulletin_lot_idx` ;
|
||||
ALTER TABLE `fso_bulletin_posts`
|
||||
ADD CONSTRAINT `fso_bulletin_lot`
|
||||
FOREIGN KEY (`lot_id`)
|
||||
REFERENCES `fso_lots` (`location`)
|
||||
ON DELETE SET NULL
|
||||
ON UPDATE CASCADE;
|
||||
|
||||
ALTER TABLE `fso_bulletin_posts`
|
||||
ADD COLUMN `deleted` TINYINT UNSIGNED NOT NULL DEFAULT 0 AFTER `type`;
|
Loading…
Add table
Add a link
Reference in a new issue