Commit 2b76e88f4e4c8256d88a782a322e6493d752ee1b

Authored by kevin_fourie
1 parent c6938078

KTS-679

"review default dataset shipped with KT"
Updated data.sql.

Committed By: Kevin
Reviewed By: Conrad

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6601 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 40 additions and 16 deletions
sql/mysql/install/data.sql
1   --- phpMyAdmin SQL Dump
2   --- version 2.8.0.3-Debian-1
3   --- http://www.phpmyadmin.net
4   ---
5   --- Host: localhost
6   --- Generation Time: Oct 30, 2006 at 12:50 PM
7   --- Server version: 5.0.22
8   --- PHP Version: 4.4.2-1build1
9 1  
10 2 SET FOREIGN_KEY_CHECKS=0;
11 3 --
... ... @@ -102,6 +94,10 @@ INSERT INTO `data_types` VALUES (5, 'FLOAT');
102 94 -- Dumping data for table `document_fields`
103 95 --
104 96  
  97 +INSERT INTO `document_fields` VALUES (2,'Tag','STRING',0,0,0,2,0,'Tag Words');
  98 +INSERT INTO `document_fields` VALUES (3,'Document Author','STRING',0,0,0,3,0,'Please add a document author');
  99 +INSERT INTO `document_fields` VALUES (4,'Category','STRING',0,1,0,3,0,'Please select a category');
  100 +INSERT INTO `document_fields` VALUES (5,'Media Type','STRING',0,1,0,3,0,'Please select a media type');
105 101  
106 102 --
107 103 -- Dumping data for table `document_fields_link`
... ... @@ -230,6 +226,8 @@ INSERT INTO `document_types_lookup` VALUES (1, 'Default', 0);
230 226 -- Dumping data for table `fieldsets`
231 227 --
232 228  
  229 +INSERT INTO `fieldsets` VALUES (2,'Tag Cloud','tagcloud',0,0,NULL,1,0,0,0,'Tag Cloud',0);
  230 +INSERT INTO `fieldsets` VALUES (3,'General information','generalinformation',0,0,NULL,1,0,0,0,'General document information',0);
233 231  
234 232 --
235 233 -- Dumping data for table `folder_doctypes_link`
... ... @@ -405,6 +403,16 @@ INSERT INTO `help` VALUES (100, 'pageDisclaimer', 'pageDisclaimer.html');
405 403 -- Dumping data for table `metadata_lookup`
406 404 --
407 405  
  406 +INSERT INTO `metadata_lookup` VALUES (2,4,'Technical',NULL,0,0);
  407 +INSERT INTO `metadata_lookup` VALUES (3,4,'Financial',NULL,0,0);
  408 +INSERT INTO `metadata_lookup` VALUES (4,4,'Legal',NULL,0,0);
  409 +INSERT INTO `metadata_lookup` VALUES (5,4,'Administrative',NULL,0,0);
  410 +INSERT INTO `metadata_lookup` VALUES (6,4,'Miscellaneous',NULL,0,0);
  411 +INSERT INTO `metadata_lookup` VALUES (7,4,'Sales',NULL,0,0);
  412 +INSERT INTO `metadata_lookup` VALUES (8,5,'Text',NULL,0,0);
  413 +INSERT INTO `metadata_lookup` VALUES (9,5,'Image',NULL,0,0);
  414 +INSERT INTO `metadata_lookup` VALUES (10,5,'Audio',NULL,0,0);
  415 +INSERT INTO `metadata_lookup` VALUES (11,5,'Video',NULL,0,0);
408 416  
409 417 --
410 418 -- Dumping data for table `metadata_lookup_tree`
... ... @@ -715,6 +723,8 @@ INSERT INTO `permissions` VALUES (8, 'ktcore.permissions.folder_rename', 'Rename
715 723 INSERT INTO `roles` VALUES (-4, 'Authenticated Users');
716 724 INSERT INTO `roles` VALUES (-3, 'Everyone');
717 725 INSERT INTO `roles` VALUES (-2, 'Owner');
  726 +INSERT INTO `roles` VALUES (2, 'Publisher');
  727 +INSERT INTO `roles` VALUES (3, 'Reviewer');
718 728  
719 729 --
720 730 -- Dumping data for table `saved_searches`
... ... @@ -965,16 +975,28 @@ INSERT INTO `users_groups_link` VALUES (1, 1, 1);
965 975 -- Dumping data for table `workflow_state_transitions`
966 976 --
967 977  
  978 +INSERT INTO `workflow_state_transitions` VALUES (2,2),(3,3),(3,4),(5,5),(6,6);
968 979  
969 980 --
970 981 -- Dumping data for table `workflow_states`
971 982 --
972 983  
  984 +INSERT INTO `workflow_states` VALUES (2,2,'Draft','Draft',NULL,0,0);
  985 +INSERT INTO `workflow_states` VALUES (3,2,'Approval','Approval',NULL,0,0);
  986 +INSERT INTO `workflow_states` VALUES (4,2,'Published','Published',NULL,0,0);
  987 +INSERT INTO `workflow_states` VALUES (5,3,'Draft','Draft',NULL,0,0);
  988 +INSERT INTO `workflow_states` VALUES (6,3,'Final','Final',NULL,0,0);
  989 +INSERT INTO `workflow_states` VALUES (7,3,'Published','Published',NULL,0,0);
973 990  
974 991 --
975 992 -- Dumping data for table `workflow_transitions`
976 993 --
977 994  
  995 +INSERT INTO `workflow_transitions` VALUES (2,2,'Request Approval','Request Approval',3,NULL,NULL,NULL,NULL);
  996 +INSERT INTO `workflow_transitions` VALUES (3,2,'Reject','Reject',2,NULL,NULL,NULL,NULL);
  997 +INSERT INTO `workflow_transitions` VALUES (4,2,'Approve','Approve',4,NULL,NULL,NULL,NULL);
  998 +INSERT INTO `workflow_transitions` VALUES (5,3,'Draft Completed','Draft Completed',6,NULL,NULL,NULL,NULL);
  999 +INSERT INTO `workflow_transitions` VALUES (6,3,'Publish','Publish',7,NULL,NULL,NULL,NULL);
978 1000  
979 1001 --
980 1002 -- Dumping data for table `workflow_trigger_instances`
... ... @@ -985,6 +1007,8 @@ INSERT INTO `users_groups_link` VALUES (1, 1, 1);
985 1007 -- Dumping data for table `workflows`
986 1008 --
987 1009  
  1010 +INSERT INTO `workflows` VALUES (2,'Review Process','Review Process',2,1);
  1011 +INSERT INTO `workflows` VALUES (3,'Generate Document','Generate Document',5,1);
988 1012  
989 1013 --
990 1014 -- Dumping data for table `zseq_active_sessions`
... ... @@ -1080,7 +1104,7 @@ INSERT INTO `zseq_document_content_version` VALUES (1);
1080 1104 -- Dumping data for table `zseq_document_fields`
1081 1105 --
1082 1106  
1083   -INSERT INTO `zseq_document_fields` VALUES (1);
  1107 +INSERT INTO `zseq_document_fields` VALUES (5);
1084 1108  
1085 1109 --
1086 1110 -- Dumping data for table `zseq_document_fields_link`
... ... @@ -1098,7 +1122,7 @@ INSERT INTO `zseq_document_link` VALUES (1);
1098 1122 -- Dumping data for table `zseq_document_link_types`
1099 1123 --
1100 1124  
1101   -INSERT INTO `zseq_document_link_types` VALUES (2);
  1125 +INSERT INTO `zseq_document_link_types` VALUES (5);
1102 1126  
1103 1127 --
1104 1128 -- Dumping data for table `zseq_document_metadata_version`
... ... @@ -1169,7 +1193,7 @@ INSERT INTO `zseq_field_value_instances` VALUES (1);
1169 1193 -- Dumping data for table `zseq_fieldsets`
1170 1194 --
1171 1195  
1172   -INSERT INTO `zseq_fieldsets` VALUES (1);
  1196 +INSERT INTO `zseq_fieldsets` VALUES (3);
1173 1197  
1174 1198 --
1175 1199 -- Dumping data for table `zseq_folder_doctypes_link`
... ... @@ -1239,7 +1263,7 @@ INSERT INTO `zseq_links` VALUES (1);
1239 1263 -- Dumping data for table `zseq_metadata_lookup`
1240 1264 --
1241 1265  
1242   -INSERT INTO `zseq_metadata_lookup` VALUES (1);
  1266 +INSERT INTO `zseq_metadata_lookup` VALUES (11);
1243 1267  
1244 1268 --
1245 1269 -- Dumping data for table `zseq_metadata_lookup_tree`
... ... @@ -1329,7 +1353,7 @@ INSERT INTO `zseq_role_allocations` VALUES (1);
1329 1353 -- Dumping data for table `zseq_roles`
1330 1354 --
1331 1355  
1332   -INSERT INTO `zseq_roles` VALUES (1);
  1356 +INSERT INTO `zseq_roles` VALUES (4);
1333 1357  
1334 1358 --
1335 1359 -- Dumping data for table `zseq_saved_searches`
... ... @@ -1410,13 +1434,13 @@ INSERT INTO `zseq_users_groups_link` VALUES (3);
1410 1434 -- Dumping data for table `zseq_workflow_states`
1411 1435 --
1412 1436  
1413   -INSERT INTO `zseq_workflow_states` VALUES (1);
  1437 +INSERT INTO `zseq_workflow_states` VALUES (7);
1414 1438  
1415 1439 --
1416 1440 -- Dumping data for table `zseq_workflow_transitions`
1417 1441 --
1418 1442  
1419   -INSERT INTO `zseq_workflow_transitions` VALUES (1);
  1443 +INSERT INTO `zseq_workflow_transitions` VALUES (6);
1420 1444  
1421 1445 --
1422 1446 -- Dumping data for table `zseq_workflow_trigger_instances`
... ... @@ -1427,7 +1451,7 @@ INSERT INTO `zseq_workflow_transitions` VALUES (1);
1427 1451 -- Dumping data for table `zseq_workflows`
1428 1452 --
1429 1453  
1430   -INSERT INTO `zseq_workflows` VALUES (1);
  1454 +INSERT INTO `zseq_workflows` VALUES (3);
1431 1455  
1432 1456 INSERT INTO `zseq_plugin_rss` (id) VALUES ('1');
1433 1457  
... ...