Commit 8792e2aabae0956d7d8a51d8c8027dda236ef58e
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
Showing
2 changed files
with
4 additions
and
4 deletions
sql/mysql/install/tables.sql
| @@ -710,5 +710,5 @@ INSERT INTO users_groups_link (group_id, user_id) VALUES (3, 3); | @@ -710,5 +710,5 @@ INSERT INTO users_groups_link (group_id, user_id) VALUES (3, 3); | ||
| 710 | -- define folder structure | 710 | -- define folder structure |
| 711 | INSERT INTO folders (name, description, parent_id, creator_id, unit_id, is_public) | 711 | INSERT INTO folders (name, description, parent_id, creator_id, unit_id, is_public) |
| 712 | VALUES ("Root Folder", "Root Document Folder", 0, 1, 0, 0); | 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 | \ No newline at end of file | 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 | \ No newline at end of file | 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,5 +35,5 @@ INSERT INTO users_groups_link (group_id, user_id) VALUES (3, 3); | ||
| 35 | -- define folder structure | 35 | -- define folder structure |
| 36 | INSERT INTO folders (id,name, description, parent_id, creator_id, unit_id, is_public) | 36 | INSERT INTO folders (id,name, description, parent_id, creator_id, unit_id, is_public) |
| 37 | VALUES (1,"Root Folder", "Root Document Folder", 0, 1, 0, 0); | 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 | \ No newline at end of file | 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 | \ No newline at end of file | 41 | \ No newline at end of file |