mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-07-15 08:58:10 +00:00
should not be in branch 5.1.x
This commit is contained in:
parent
53296bb330
commit
8a50145932
|
@ -1,26 +0,0 @@
|
|||
BEGIN;
|
||||
|
||||
CREATE TABLE `tblAttributeDefinitionGroups` (
|
||||
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
`name` varchar(100) default NULL,
|
||||
UNIQUE(`name`)
|
||||
);
|
||||
|
||||
CREATE TABLE `tblAttributeDefinitionGroupAttributeDefinition` (
|
||||
`attrdef` INTEGER REFERENCES `tblAttributeDefinitions` (`id`) ON DELETE CASCADE,
|
||||
`attrgrp` INTEGER REFERENCES `tblAttributeGroups` (`id`) ON DELETE CASCADE,
|
||||
`sequence` INTEGER,
|
||||
`show` INTEGER,
|
||||
UNIQUE(`attrdef`, `attrgrp`)
|
||||
);
|
||||
|
||||
CREATE TABLE `tblFolderAttributeDefinitionGroup` (
|
||||
`folder` INTEGER REFERENCES `tblFolders` (`id`) ON DELETE CASCADE,
|
||||
`attrgrp` INTEGER REFERENCES `tblAttributeGroups` (`id`) ON DELETE CASCADE,
|
||||
`sequence` INTEGER,
|
||||
UNIQUE(`folder`, `attrgrp`)
|
||||
);
|
||||
|
||||
UPDATE tblVersion set major=5, minor=2, subminor=0;
|
||||
|
||||
COMMIT;
|
Loading…
Reference in New Issue
Block a user