mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-09 16:10:31 -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
|
@ -0,0 +1,34 @@
|
|||
-- claims
|
||||
|
||||
ALTER TABLE `fso_avatar_claims`
|
||||
DROP FOREIGN KEY `FK_fso_avatar_claims_fso_avatars`;
|
||||
ALTER TABLE `fso_avatar_claims`
|
||||
ADD CONSTRAINT `FK_fso_avatar_claims_fso_avatars`
|
||||
FOREIGN KEY (`avatar_id`)
|
||||
REFERENCES `fso_avatars` (`avatar_id`)
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE;
|
||||
|
||||
|
||||
-- bookmarks
|
||||
|
||||
ALTER TABLE `fso_bookmarks`
|
||||
DROP FOREIGN KEY `FK_fso_bookmarks_fso_avatars_src`,
|
||||
DROP FOREIGN KEY `FK_fso_bookmarks_fso_avatars_target`;
|
||||
ALTER TABLE `fso_bookmarks`
|
||||
ADD CONSTRAINT `FK_fso_bookmarks_fso_avatars_src`
|
||||
FOREIGN KEY (`avatar_id`)
|
||||
REFERENCES `fso_avatars` (`avatar_id`)
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE,
|
||||
ADD CONSTRAINT `FK_fso_bookmarks_fso_avatars_target`
|
||||
FOREIGN KEY (`target_id`)
|
||||
REFERENCES `fso_avatars` (`avatar_id`)
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE;
|
||||
|
||||
|
||||
-- lot owners - now nullable. null owner lots are deleted.
|
||||
|
||||
ALTER TABLE `fso_lots`
|
||||
CHANGE COLUMN `owner_id` `owner_id` INT(10) UNSIGNED NULL ;
|
Loading…
Add table
Add a link
Reference in a new issue