Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated both full and upgrade scripts as well as SQL testing procedures.
- Loading branch information
Showing
27 changed files
with
200 additions
and
11,287 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
CREATE TABLE m_archetype ( | ||
name_norm VARCHAR(255), | ||
name_orig VARCHAR(255), | ||
oid VARCHAR(36) NOT NULL, | ||
PRIMARY KEY (oid) | ||
); | ||
|
||
CREATE INDEX iArchetypeNameOrig ON m_archetype(name_orig); | ||
CREATE INDEX iArchetypeNameNorm ON m_archetype(name_norm); | ||
|
||
ALTER TABLE m_archetype | ||
ADD CONSTRAINT fk_archetype FOREIGN KEY (oid) REFERENCES m_abstract_role; | ||
|
||
ALTER TABLE m_generic_object DROP CONSTRAINT fk_generic_object; | ||
ALTER TABLE m_generic_object | ||
ADD CONSTRAINT fk_generic_object FOREIGN KEY (oid) REFERENCES m_focus; | ||
|
||
UPDATE m_global_metadata SET value = '4.0' WHERE name = 'databaseSchemaVersion'; |
Oops, something went wrong.