Support 'alf_prop_string_value'

- Simple ID-string table
 - Non-unique and case-sensitive, but with re-use of entries as far as possible


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15430 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2009-07-27 13:55:08 +00:00
parent e7e001ed69
commit fc2e47a119
10 changed files with 477 additions and 53 deletions

View File

@@ -10,7 +10,6 @@
CREATE TABLE alf_prop_class
(
id BIGINT NOT NULL AUTO_INCREMENT,
version BIGINT NOT NULL,
java_class_name VARCHAR(255) NOT NULL,
java_class_name_short VARCHAR(32) NOT NULL,
java_class_name_crc BIGINT NOT NULL,
@@ -19,6 +18,24 @@ CREATE TABLE alf_prop_class
PRIMARY KEY (id)
) ENGINE=InnoDB;
CREATE TABLE alf_prop_string_value
(
id BIGINT NOT NULL AUTO_INCREMENT,
string_value text NOT NULL,
INDEX idx_prop_str_val (string_value(64)),
PRIMARY KEY (id)
) ENGINE=InnoDB;
--CREATE TABLE alf_prop_string_value
--(
-- id BIGINT NOT NULL AUTO_INCREMENT,
-- string_value text NOT NULL,
-- prop_class_id BIGINT NOT NULL,
-- INDEX idx_prop_str_val (string_value(64)),
-- CONSTRAINT fk_prop_str_classid FOREIGN KEY (prop_class_id) REFERENCES alf_prop_class (id),
-- PRIMARY KEY (id)
--) ENGINE=InnoDB;
--
-- Record script finish
--