Commit 8792e2aabae0956d7d8a51d8c8027dda236ef58e

Authored by Michael Joseph
1 parent 7c2505f2

added path information to folder inserts and updated status from binary to ascii


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2577 c91229c3-7414-0410-bfa2-8a42b809f60b
sql/mysql/install/tables.sql
... ... @@ -710,5 +710,5 @@ INSERT INTO users_groups_link (group_id, user_id) VALUES (3, 3);
710 710 -- define folder structure
711 711 INSERT INTO folders (name, description, parent_id, creator_id, unit_id, is_public)
712 712 VALUES ("Root Folder", "Root Document Folder", 0, 1, 0, 0);
713   -INSERT INTO folders (name, description, parent_id, creator_id, unit_id, is_public)
714   - VALUES ("Default Unit", "Default Unit Root Folder", 1, 1, 1, 0);
715 713 \ No newline at end of file
  714 +INSERT INTO folders (name, description, parent_id, creator_id, unit_id, is_public, parent_folder_ids, full_path)
  715 + VALUES ("Default Unit", "Default Unit Root Folder", 1, 1, 1, 0, "1", "Root Folder");
716 716 \ No newline at end of file
... ...
sql/mysql/upgrade/1.1.2/sanitise_default-data.sql
... ... @@ -35,5 +35,5 @@ INSERT INTO users_groups_link (group_id, user_id) VALUES (3, 3);
35 35 -- define folder structure
36 36 INSERT INTO folders (id,name, description, parent_id, creator_id, unit_id, is_public)
37 37 VALUES (1,"Root Folder", "Root Document Folder", 0, 1, 0, 0);
38   -INSERT INTO folders (id,name, description, parent_id, creator_id, unit_id, is_public)
39   - VALUES (2,"Default Unit", "Default Unit Root Folder", 1, 1, 1, 0);
40 38 \ No newline at end of file
  39 +INSERT INTO folders (name, description, parent_id, creator_id, unit_id, is_public, parent_folder_ids, full_path)
  40 + VALUES ("Default Unit", "Default Unit Root Folder", 1, 1, 1, 0, "1", "Root Folder");
41 41 \ No newline at end of file
... ...