mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
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:
@@ -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
|
||||
--
|
||||
|
Reference in New Issue
Block a user