Draft: ENH: file system: directory
Compare changes
@@ -40,8 +35,8 @@ ALTER TABLE archive_files DROP COLUMN hash;
@@ -40,8 +35,8 @@ ALTER TABLE archive_files DROP COLUMN hash;
@@ -50,8 +45,8 @@ ALTER TABLE files ADD COLUMN IF NOT EXISTS (
@@ -50,8 +45,8 @@ ALTER TABLE files ADD COLUMN IF NOT EXISTS (
@@ -60,15 +55,16 @@ ALTER TABLE archive_files ADD COLUMN IF NOT EXISTS (
@@ -60,15 +55,16 @@ ALTER TABLE archive_files ADD COLUMN IF NOT EXISTS (
-- ALTER TABLE archive_files ADD FOREIGN KEY (parent_directory) REFERENCES entities (id) ON DELETE CASCADE;
-- ALTER TABLE entities MODIFY COLUMN `role` enum('RECORDTYPE','RECORD','FILE','DOMAIN','PROPERTY','DATATYPE','ROLE','QUERYTEMPLATE', 'DIRECTORY') COLLATE utf8_unicode_ci NOT NULL;
-- INSERT IGNORE INTO entities (id, description, role, acl) VALUES (9, "The directory role.", "ROLE", 0);
-- INSERT IGNORE INTO name_data (domain_id, entity_id, property_id, value, status, pidx) VALUES (0, 9, 20, "DIRECTORY", "FIX", 0);
@@ -81,8 +77,8 @@ ALTER TABLE files MODIFY COLUMN file_key VARBINARY(16000) NOT NULL;
@@ -81,8 +77,8 @@ ALTER TABLE files MODIFY COLUMN file_key VARBINARY(16000) NOT NULL;
@@ -90,11 +86,12 @@ ALTER TABLE archive_files MODIFY COLUMN path VARCHAR(16000) NOT NULL;
@@ -90,11 +86,12 @@ ALTER TABLE archive_files MODIFY COLUMN path VARCHAR(16000) NOT NULL;
-- INSERT IGNORE INTO entities (id, description, role, acl) VALUES (51, "The root directory of the internal files system", "DIRECTORY", 0);
@@ -146,9 +143,7 @@ BEGIN
@@ -146,9 +143,7 @@ BEGIN
@@ -188,7 +183,7 @@ END //
@@ -188,7 +183,7 @@ END //