Skip to content

Commit

Permalink
Fixed PostgreSQL update scripts.
Browse files Browse the repository at this point in the history
Moved all update scripts for PostgreSQL into setup.sql.
Fixed an issue for all DB types where MapInstances were no longer being removed for a World Server when OWS Instance Launcher shuts down.
  • Loading branch information
SabreDartStudios committed May 27, 2024
1 parent 20246b6 commit 1e19be2
Show file tree
Hide file tree
Showing 10 changed files with 1,102 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ WHERE OWSDBVersion IS NOT NULL;
SELECT OWSDBVersion
FROM OWSVersion;


CREATE TABLE DefaultCharacterValues
(
CustomerGUID UUID NOT NULL,
Expand All @@ -21,6 +22,7 @@ CREATE TABLE DefaultCharacterValues
PRIMARY KEY (DefaultCharacterValuesID, CustomerGUID)
);


CREATE TABLE DefaultCustomCharacterData
(
CustomerGUID UUID NOT NULL,
Expand All @@ -33,3 +35,4 @@ CREATE TABLE DefaultCustomCharacterData
CONSTRAINT FK_DefaultCustomCharacterData_DefaultCharacterValueID
FOREIGN KEY (DefaultCharacterValuesID, CustomerGUID) REFERENCES DefaultCharacterValues (DefaultCharacterValuesID, CustomerGUID)
);

Loading

0 comments on commit 1e19be2

Please sign in to comment.