Commit 4e9245fb50c7e99e67e8c2c91f9f740a967b687e

Authored by nbm
1 parent bcfc5fc2

Database structure changes for (internal release) 2.0.9


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3609 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 75 additions and 60 deletions
sql/mysql/install/structure.sql
@@ -3,9 +3,9 @@ @@ -3,9 +3,9 @@
3 -- http://www.phpmyadmin.net 3 -- http://www.phpmyadmin.net
4 -- 4 --
5 -- Host: localhost 5 -- Host: localhost
6 --- Generation Time: Aug 02, 2005 at 04:03 PM 6 +-- Generation Time: Sep 19, 2005 at 01:13 PM
7 -- Server version: 4.0.24 7 -- Server version: 4.0.24
8 --- PHP Version: 4.3.10-15ubuntu2 8 +-- PHP Version: 4.4.0-2
9 -- 9 --
10 -- Database: `kttest` 10 -- Database: `kttest`
11 -- 11 --
@@ -204,6 +204,19 @@ CREATE TABLE document_fields_link ( @@ -204,6 +204,19 @@ CREATE TABLE document_fields_link (
204 -- -------------------------------------------------------- 204 -- --------------------------------------------------------
205 205
206 -- 206 --
  207 +-- Table structure for table `document_incomplete`
  208 +--
  209 +
  210 +CREATE TABLE document_incomplete (
  211 + id int(10) unsigned NOT NULL default '0',
  212 + contents tinyint(1) unsigned NOT NULL default '0',
  213 + metadata tinyint(1) unsigned NOT NULL default '0',
  214 + PRIMARY KEY (id)
  215 +) TYPE=InnoDB;
  216 +
  217 +-- --------------------------------------------------------
  218 +
  219 +--
207 -- Table structure for table `document_link` 220 -- Table structure for table `document_link`
208 -- 221 --
209 222
@@ -347,6 +360,7 @@ CREATE TABLE documents ( @@ -347,6 +360,7 @@ CREATE TABLE documents (
347 permission_lookup_id int(11) default NULL, 360 permission_lookup_id int(11) default NULL,
348 live_document_id int(11) default NULL, 361 live_document_id int(11) default NULL,
349 metadata_version int(11) NOT NULL default '0', 362 metadata_version int(11) NOT NULL default '0',
  363 + storage_path varchar(250) default NULL,
350 UNIQUE KEY id (id), 364 UNIQUE KEY id (id),
351 KEY fk_document_type_id (document_type_id), 365 KEY fk_document_type_id (document_type_id),
352 KEY fk_creator_id (creator_id), 366 KEY fk_creator_id (creator_id),
@@ -356,7 +370,8 @@ CREATE TABLE documents ( @@ -356,7 +370,8 @@ CREATE TABLE documents (
356 KEY created (created), 370 KEY created (created),
357 KEY permission_object_id (permission_object_id), 371 KEY permission_object_id (permission_object_id),
358 KEY permission_lookup_id (permission_lookup_id), 372 KEY permission_lookup_id (permission_lookup_id),
359 - KEY live_document_id (live_document_id) 373 + KEY live_document_id (live_document_id),
  374 + KEY storage_path (storage_path)
360 ) TYPE=InnoDB; 375 ) TYPE=InnoDB;
361 376
362 -- -------------------------------------------------------- 377 -- --------------------------------------------------------
@@ -921,7 +936,7 @@ CREATE TABLE web_sites ( @@ -921,7 +936,7 @@ CREATE TABLE web_sites (
921 CREATE TABLE zseq_active_sessions ( 936 CREATE TABLE zseq_active_sessions (
922 id int(10) unsigned NOT NULL auto_increment, 937 id int(10) unsigned NOT NULL auto_increment,
923 PRIMARY KEY (id) 938 PRIMARY KEY (id)
924 -) TYPE=InnoDB; 939 +) TYPE=MyISAM;
925 940
926 -- -------------------------------------------------------- 941 -- --------------------------------------------------------
927 942
@@ -932,7 +947,7 @@ CREATE TABLE zseq_active_sessions ( @@ -932,7 +947,7 @@ CREATE TABLE zseq_active_sessions (
932 CREATE TABLE zseq_archive_restoration_request ( 947 CREATE TABLE zseq_archive_restoration_request (
933 id int(10) unsigned NOT NULL auto_increment, 948 id int(10) unsigned NOT NULL auto_increment,
934 PRIMARY KEY (id) 949 PRIMARY KEY (id)
935 -) TYPE=InnoDB; 950 +) TYPE=MyISAM;
936 951
937 -- -------------------------------------------------------- 952 -- --------------------------------------------------------
938 953
@@ -943,7 +958,7 @@ CREATE TABLE zseq_archive_restoration_request ( @@ -943,7 +958,7 @@ CREATE TABLE zseq_archive_restoration_request (
943 CREATE TABLE zseq_archiving_settings ( 958 CREATE TABLE zseq_archiving_settings (
944 id int(10) unsigned NOT NULL auto_increment, 959 id int(10) unsigned NOT NULL auto_increment,
945 PRIMARY KEY (id) 960 PRIMARY KEY (id)
946 -) TYPE=InnoDB; 961 +) TYPE=MyISAM;
947 962
948 -- -------------------------------------------------------- 963 -- --------------------------------------------------------
949 964
@@ -954,7 +969,7 @@ CREATE TABLE zseq_archiving_settings ( @@ -954,7 +969,7 @@ CREATE TABLE zseq_archiving_settings (
954 CREATE TABLE zseq_archiving_type_lookup ( 969 CREATE TABLE zseq_archiving_type_lookup (
955 id int(10) unsigned NOT NULL auto_increment, 970 id int(10) unsigned NOT NULL auto_increment,
956 PRIMARY KEY (id) 971 PRIMARY KEY (id)
957 -) TYPE=InnoDB; 972 +) TYPE=MyISAM;
958 973
959 -- -------------------------------------------------------- 974 -- --------------------------------------------------------
960 975
@@ -965,7 +980,7 @@ CREATE TABLE zseq_archiving_type_lookup ( @@ -965,7 +980,7 @@ CREATE TABLE zseq_archiving_type_lookup (
965 CREATE TABLE zseq_browse_criteria ( 980 CREATE TABLE zseq_browse_criteria (
966 id int(10) unsigned NOT NULL auto_increment, 981 id int(10) unsigned NOT NULL auto_increment,
967 PRIMARY KEY (id) 982 PRIMARY KEY (id)
968 -) TYPE=InnoDB; 983 +) TYPE=MyISAM;
969 984
970 -- -------------------------------------------------------- 985 -- --------------------------------------------------------
971 986
@@ -976,7 +991,7 @@ CREATE TABLE zseq_browse_criteria ( @@ -976,7 +991,7 @@ CREATE TABLE zseq_browse_criteria (
976 CREATE TABLE zseq_data_types ( 991 CREATE TABLE zseq_data_types (
977 id int(10) unsigned NOT NULL auto_increment, 992 id int(10) unsigned NOT NULL auto_increment,
978 PRIMARY KEY (id) 993 PRIMARY KEY (id)
979 -) TYPE=InnoDB; 994 +) TYPE=MyISAM;
980 995
981 -- -------------------------------------------------------- 996 -- --------------------------------------------------------
982 997
@@ -987,7 +1002,7 @@ CREATE TABLE zseq_data_types ( @@ -987,7 +1002,7 @@ CREATE TABLE zseq_data_types (
987 CREATE TABLE zseq_dependant_document_instance ( 1002 CREATE TABLE zseq_dependant_document_instance (
988 id int(10) unsigned NOT NULL auto_increment, 1003 id int(10) unsigned NOT NULL auto_increment,
989 PRIMARY KEY (id) 1004 PRIMARY KEY (id)
990 -) TYPE=InnoDB; 1005 +) TYPE=MyISAM;
991 1006
992 -- -------------------------------------------------------- 1007 -- --------------------------------------------------------
993 1008
@@ -998,7 +1013,7 @@ CREATE TABLE zseq_dependant_document_instance ( @@ -998,7 +1013,7 @@ CREATE TABLE zseq_dependant_document_instance (
998 CREATE TABLE zseq_dependant_document_template ( 1013 CREATE TABLE zseq_dependant_document_template (
999 id int(10) unsigned NOT NULL auto_increment, 1014 id int(10) unsigned NOT NULL auto_increment,
1000 PRIMARY KEY (id) 1015 PRIMARY KEY (id)
1001 -) TYPE=InnoDB; 1016 +) TYPE=MyISAM;
1002 1017
1003 -- -------------------------------------------------------- 1018 -- --------------------------------------------------------
1004 1019
@@ -1009,7 +1024,7 @@ CREATE TABLE zseq_dependant_document_template ( @@ -1009,7 +1024,7 @@ CREATE TABLE zseq_dependant_document_template (
1009 CREATE TABLE zseq_discussion_comments ( 1024 CREATE TABLE zseq_discussion_comments (
1010 id int(10) unsigned NOT NULL auto_increment, 1025 id int(10) unsigned NOT NULL auto_increment,
1011 PRIMARY KEY (id) 1026 PRIMARY KEY (id)
1012 -) TYPE=InnoDB; 1027 +) TYPE=MyISAM;
1013 1028
1014 -- -------------------------------------------------------- 1029 -- --------------------------------------------------------
1015 1030
@@ -1020,7 +1035,7 @@ CREATE TABLE zseq_discussion_comments ( @@ -1020,7 +1035,7 @@ CREATE TABLE zseq_discussion_comments (
1020 CREATE TABLE zseq_discussion_threads ( 1035 CREATE TABLE zseq_discussion_threads (
1021 id int(10) unsigned NOT NULL auto_increment, 1036 id int(10) unsigned NOT NULL auto_increment,
1022 PRIMARY KEY (id) 1037 PRIMARY KEY (id)
1023 -) TYPE=InnoDB; 1038 +) TYPE=MyISAM;
1024 1039
1025 -- -------------------------------------------------------- 1040 -- --------------------------------------------------------
1026 1041
@@ -1031,7 +1046,7 @@ CREATE TABLE zseq_discussion_threads ( @@ -1031,7 +1046,7 @@ CREATE TABLE zseq_discussion_threads (
1031 CREATE TABLE zseq_document_archiving_link ( 1046 CREATE TABLE zseq_document_archiving_link (
1032 id int(10) unsigned NOT NULL auto_increment, 1047 id int(10) unsigned NOT NULL auto_increment,
1033 PRIMARY KEY (id) 1048 PRIMARY KEY (id)
1034 -) TYPE=InnoDB; 1049 +) TYPE=MyISAM;
1035 1050
1036 -- -------------------------------------------------------- 1051 -- --------------------------------------------------------
1037 1052
@@ -1042,7 +1057,7 @@ CREATE TABLE zseq_document_archiving_link ( @@ -1042,7 +1057,7 @@ CREATE TABLE zseq_document_archiving_link (
1042 CREATE TABLE zseq_document_fields ( 1057 CREATE TABLE zseq_document_fields (
1043 id int(10) unsigned NOT NULL auto_increment, 1058 id int(10) unsigned NOT NULL auto_increment,
1044 PRIMARY KEY (id) 1059 PRIMARY KEY (id)
1045 -) TYPE=InnoDB; 1060 +) TYPE=MyISAM;
1046 1061
1047 -- -------------------------------------------------------- 1062 -- --------------------------------------------------------
1048 1063
@@ -1053,7 +1068,7 @@ CREATE TABLE zseq_document_fields ( @@ -1053,7 +1068,7 @@ CREATE TABLE zseq_document_fields (
1053 CREATE TABLE zseq_document_fields_link ( 1068 CREATE TABLE zseq_document_fields_link (
1054 id int(10) unsigned NOT NULL auto_increment, 1069 id int(10) unsigned NOT NULL auto_increment,
1055 PRIMARY KEY (id) 1070 PRIMARY KEY (id)
1056 -) TYPE=InnoDB; 1071 +) TYPE=MyISAM;
1057 1072
1058 -- -------------------------------------------------------- 1073 -- --------------------------------------------------------
1059 1074
@@ -1064,7 +1079,7 @@ CREATE TABLE zseq_document_fields_link ( @@ -1064,7 +1079,7 @@ CREATE TABLE zseq_document_fields_link (
1064 CREATE TABLE zseq_document_link ( 1079 CREATE TABLE zseq_document_link (
1065 id int(10) unsigned NOT NULL auto_increment, 1080 id int(10) unsigned NOT NULL auto_increment,
1066 PRIMARY KEY (id) 1081 PRIMARY KEY (id)
1067 -) TYPE=InnoDB; 1082 +) TYPE=MyISAM;
1068 1083
1069 -- -------------------------------------------------------- 1084 -- --------------------------------------------------------
1070 1085
@@ -1075,7 +1090,7 @@ CREATE TABLE zseq_document_link ( @@ -1075,7 +1090,7 @@ CREATE TABLE zseq_document_link (
1075 CREATE TABLE zseq_document_link_types ( 1090 CREATE TABLE zseq_document_link_types (
1076 id int(10) unsigned NOT NULL auto_increment, 1091 id int(10) unsigned NOT NULL auto_increment,
1077 PRIMARY KEY (id) 1092 PRIMARY KEY (id)
1078 -) TYPE=InnoDB; 1093 +) TYPE=MyISAM;
1079 1094
1080 -- -------------------------------------------------------- 1095 -- --------------------------------------------------------
1081 1096
@@ -1086,7 +1101,7 @@ CREATE TABLE zseq_document_link_types ( @@ -1086,7 +1101,7 @@ CREATE TABLE zseq_document_link_types (
1086 CREATE TABLE zseq_document_subscriptions ( 1101 CREATE TABLE zseq_document_subscriptions (
1087 id int(10) unsigned NOT NULL auto_increment, 1102 id int(10) unsigned NOT NULL auto_increment,
1088 PRIMARY KEY (id) 1103 PRIMARY KEY (id)
1089 -) TYPE=InnoDB; 1104 +) TYPE=MyISAM;
1090 1105
1091 -- -------------------------------------------------------- 1106 -- --------------------------------------------------------
1092 1107
@@ -1097,7 +1112,7 @@ CREATE TABLE zseq_document_subscriptions ( @@ -1097,7 +1112,7 @@ CREATE TABLE zseq_document_subscriptions (
1097 CREATE TABLE zseq_document_transaction_types_lookup ( 1112 CREATE TABLE zseq_document_transaction_types_lookup (
1098 id int(10) unsigned NOT NULL auto_increment, 1113 id int(10) unsigned NOT NULL auto_increment,
1099 PRIMARY KEY (id) 1114 PRIMARY KEY (id)
1100 -) TYPE=InnoDB; 1115 +) TYPE=MyISAM;
1101 1116
1102 -- -------------------------------------------------------- 1117 -- --------------------------------------------------------
1103 1118
@@ -1108,7 +1123,7 @@ CREATE TABLE zseq_document_transaction_types_lookup ( @@ -1108,7 +1123,7 @@ CREATE TABLE zseq_document_transaction_types_lookup (
1108 CREATE TABLE zseq_document_transactions ( 1123 CREATE TABLE zseq_document_transactions (
1109 id int(10) unsigned NOT NULL auto_increment, 1124 id int(10) unsigned NOT NULL auto_increment,
1110 PRIMARY KEY (id) 1125 PRIMARY KEY (id)
1111 -) TYPE=InnoDB; 1126 +) TYPE=MyISAM;
1112 1127
1113 -- -------------------------------------------------------- 1128 -- --------------------------------------------------------
1114 1129
@@ -1119,7 +1134,7 @@ CREATE TABLE zseq_document_transactions ( @@ -1119,7 +1134,7 @@ CREATE TABLE zseq_document_transactions (
1119 CREATE TABLE zseq_document_type_fields_link ( 1134 CREATE TABLE zseq_document_type_fields_link (
1120 id int(10) unsigned NOT NULL auto_increment, 1135 id int(10) unsigned NOT NULL auto_increment,
1121 PRIMARY KEY (id) 1136 PRIMARY KEY (id)
1122 -) TYPE=InnoDB; 1137 +) TYPE=MyISAM;
1123 1138
1124 -- -------------------------------------------------------- 1139 -- --------------------------------------------------------
1125 1140
@@ -1130,7 +1145,7 @@ CREATE TABLE zseq_document_type_fields_link ( @@ -1130,7 +1145,7 @@ CREATE TABLE zseq_document_type_fields_link (
1130 CREATE TABLE zseq_document_types_lookup ( 1145 CREATE TABLE zseq_document_types_lookup (
1131 id int(10) unsigned NOT NULL auto_increment, 1146 id int(10) unsigned NOT NULL auto_increment,
1132 PRIMARY KEY (id) 1147 PRIMARY KEY (id)
1133 -) TYPE=InnoDB; 1148 +) TYPE=MyISAM;
1134 1149
1135 -- -------------------------------------------------------- 1150 -- --------------------------------------------------------
1136 1151
@@ -1141,7 +1156,7 @@ CREATE TABLE zseq_document_types_lookup ( @@ -1141,7 +1156,7 @@ CREATE TABLE zseq_document_types_lookup (
1141 CREATE TABLE zseq_documents ( 1156 CREATE TABLE zseq_documents (
1142 id int(10) unsigned NOT NULL auto_increment, 1157 id int(10) unsigned NOT NULL auto_increment,
1143 PRIMARY KEY (id) 1158 PRIMARY KEY (id)
1144 -) TYPE=InnoDB; 1159 +) TYPE=MyISAM;
1145 1160
1146 -- -------------------------------------------------------- 1161 -- --------------------------------------------------------
1147 1162
@@ -1152,7 +1167,7 @@ CREATE TABLE zseq_documents ( @@ -1152,7 +1167,7 @@ CREATE TABLE zseq_documents (
1152 CREATE TABLE zseq_folder_doctypes_link ( 1167 CREATE TABLE zseq_folder_doctypes_link (
1153 id int(10) unsigned NOT NULL auto_increment, 1168 id int(10) unsigned NOT NULL auto_increment,
1154 PRIMARY KEY (id) 1169 PRIMARY KEY (id)
1155 -) TYPE=InnoDB; 1170 +) TYPE=MyISAM;
1156 1171
1157 -- -------------------------------------------------------- 1172 -- --------------------------------------------------------
1158 1173
@@ -1163,7 +1178,7 @@ CREATE TABLE zseq_folder_doctypes_link ( @@ -1163,7 +1178,7 @@ CREATE TABLE zseq_folder_doctypes_link (
1163 CREATE TABLE zseq_folder_subscriptions ( 1178 CREATE TABLE zseq_folder_subscriptions (
1164 id int(10) unsigned NOT NULL auto_increment, 1179 id int(10) unsigned NOT NULL auto_increment,
1165 PRIMARY KEY (id) 1180 PRIMARY KEY (id)
1166 -) TYPE=InnoDB; 1181 +) TYPE=MyISAM;
1167 1182
1168 -- -------------------------------------------------------- 1183 -- --------------------------------------------------------
1169 1184
@@ -1174,7 +1189,7 @@ CREATE TABLE zseq_folder_subscriptions ( @@ -1174,7 +1189,7 @@ CREATE TABLE zseq_folder_subscriptions (
1174 CREATE TABLE zseq_folders ( 1189 CREATE TABLE zseq_folders (
1175 id int(10) unsigned NOT NULL auto_increment, 1190 id int(10) unsigned NOT NULL auto_increment,
1176 PRIMARY KEY (id) 1191 PRIMARY KEY (id)
1177 -) TYPE=InnoDB; 1192 +) TYPE=MyISAM;
1178 1193
1179 -- -------------------------------------------------------- 1194 -- --------------------------------------------------------
1180 1195
@@ -1185,7 +1200,7 @@ CREATE TABLE zseq_folders ( @@ -1185,7 +1200,7 @@ CREATE TABLE zseq_folders (
1185 CREATE TABLE zseq_folders_users_roles_link ( 1200 CREATE TABLE zseq_folders_users_roles_link (
1186 id int(10) unsigned NOT NULL auto_increment, 1201 id int(10) unsigned NOT NULL auto_increment,
1187 PRIMARY KEY (id) 1202 PRIMARY KEY (id)
1188 -) TYPE=InnoDB; 1203 +) TYPE=MyISAM;
1189 1204
1190 -- -------------------------------------------------------- 1205 -- --------------------------------------------------------
1191 1206
@@ -1196,7 +1211,7 @@ CREATE TABLE zseq_folders_users_roles_link ( @@ -1196,7 +1211,7 @@ CREATE TABLE zseq_folders_users_roles_link (
1196 CREATE TABLE zseq_groups_folders_approval_link ( 1211 CREATE TABLE zseq_groups_folders_approval_link (
1197 id int(10) unsigned NOT NULL auto_increment, 1212 id int(10) unsigned NOT NULL auto_increment,
1198 PRIMARY KEY (id) 1213 PRIMARY KEY (id)
1199 -) TYPE=InnoDB; 1214 +) TYPE=MyISAM;
1200 1215
1201 -- -------------------------------------------------------- 1216 -- --------------------------------------------------------
1202 1217
@@ -1207,7 +1222,7 @@ CREATE TABLE zseq_groups_folders_approval_link ( @@ -1207,7 +1222,7 @@ CREATE TABLE zseq_groups_folders_approval_link (
1207 CREATE TABLE zseq_groups_folders_link ( 1222 CREATE TABLE zseq_groups_folders_link (
1208 id int(10) unsigned NOT NULL auto_increment, 1223 id int(10) unsigned NOT NULL auto_increment,
1209 PRIMARY KEY (id) 1224 PRIMARY KEY (id)
1210 -) TYPE=InnoDB; 1225 +) TYPE=MyISAM;
1211 1226
1212 -- -------------------------------------------------------- 1227 -- --------------------------------------------------------
1213 1228
@@ -1218,7 +1233,7 @@ CREATE TABLE zseq_groups_folders_link ( @@ -1218,7 +1233,7 @@ CREATE TABLE zseq_groups_folders_link (
1218 CREATE TABLE zseq_groups_groups_link ( 1233 CREATE TABLE zseq_groups_groups_link (
1219 id int(10) unsigned NOT NULL auto_increment, 1234 id int(10) unsigned NOT NULL auto_increment,
1220 PRIMARY KEY (id) 1235 PRIMARY KEY (id)
1221 -) TYPE=InnoDB; 1236 +) TYPE=MyISAM;
1222 1237
1223 -- -------------------------------------------------------- 1238 -- --------------------------------------------------------
1224 1239
@@ -1229,7 +1244,7 @@ CREATE TABLE zseq_groups_groups_link ( @@ -1229,7 +1244,7 @@ CREATE TABLE zseq_groups_groups_link (
1229 CREATE TABLE zseq_groups_lookup ( 1244 CREATE TABLE zseq_groups_lookup (
1230 id int(10) unsigned NOT NULL auto_increment, 1245 id int(10) unsigned NOT NULL auto_increment,
1231 PRIMARY KEY (id) 1246 PRIMARY KEY (id)
1232 -) TYPE=InnoDB; 1247 +) TYPE=MyISAM;
1233 1248
1234 -- -------------------------------------------------------- 1249 -- --------------------------------------------------------
1235 1250
@@ -1240,7 +1255,7 @@ CREATE TABLE zseq_groups_lookup ( @@ -1240,7 +1255,7 @@ CREATE TABLE zseq_groups_lookup (
1240 CREATE TABLE zseq_groups_units_link ( 1255 CREATE TABLE zseq_groups_units_link (
1241 id int(10) unsigned NOT NULL auto_increment, 1256 id int(10) unsigned NOT NULL auto_increment,
1242 PRIMARY KEY (id) 1257 PRIMARY KEY (id)
1243 -) TYPE=InnoDB; 1258 +) TYPE=MyISAM;
1244 1259
1245 -- -------------------------------------------------------- 1260 -- --------------------------------------------------------
1246 1261
@@ -1251,7 +1266,7 @@ CREATE TABLE zseq_groups_units_link ( @@ -1251,7 +1266,7 @@ CREATE TABLE zseq_groups_units_link (
1251 CREATE TABLE zseq_help ( 1266 CREATE TABLE zseq_help (
1252 id int(10) unsigned NOT NULL auto_increment, 1267 id int(10) unsigned NOT NULL auto_increment,
1253 PRIMARY KEY (id) 1268 PRIMARY KEY (id)
1254 -) TYPE=InnoDB; 1269 +) TYPE=MyISAM;
1255 1270
1256 -- -------------------------------------------------------- 1271 -- --------------------------------------------------------
1257 1272
@@ -1262,7 +1277,7 @@ CREATE TABLE zseq_help ( @@ -1262,7 +1277,7 @@ CREATE TABLE zseq_help (
1262 CREATE TABLE zseq_help_replacement ( 1277 CREATE TABLE zseq_help_replacement (
1263 id int(10) unsigned NOT NULL auto_increment, 1278 id int(10) unsigned NOT NULL auto_increment,
1264 PRIMARY KEY (id) 1279 PRIMARY KEY (id)
1265 -) TYPE=InnoDB; 1280 +) TYPE=MyISAM;
1266 1281
1267 -- -------------------------------------------------------- 1282 -- --------------------------------------------------------
1268 1283
@@ -1273,7 +1288,7 @@ CREATE TABLE zseq_help_replacement ( @@ -1273,7 +1288,7 @@ CREATE TABLE zseq_help_replacement (
1273 CREATE TABLE zseq_links ( 1288 CREATE TABLE zseq_links (
1274 id int(10) unsigned NOT NULL auto_increment, 1289 id int(10) unsigned NOT NULL auto_increment,
1275 PRIMARY KEY (id) 1290 PRIMARY KEY (id)
1276 -) TYPE=InnoDB; 1291 +) TYPE=MyISAM;
1277 1292
1278 -- -------------------------------------------------------- 1293 -- --------------------------------------------------------
1279 1294
@@ -1284,7 +1299,7 @@ CREATE TABLE zseq_links ( @@ -1284,7 +1299,7 @@ CREATE TABLE zseq_links (
1284 CREATE TABLE zseq_metadata_lookup ( 1299 CREATE TABLE zseq_metadata_lookup (
1285 id int(10) unsigned NOT NULL auto_increment, 1300 id int(10) unsigned NOT NULL auto_increment,
1286 PRIMARY KEY (id) 1301 PRIMARY KEY (id)
1287 -) TYPE=InnoDB; 1302 +) TYPE=MyISAM;
1288 1303
1289 -- -------------------------------------------------------- 1304 -- --------------------------------------------------------
1290 1305
@@ -1295,7 +1310,7 @@ CREATE TABLE zseq_metadata_lookup ( @@ -1295,7 +1310,7 @@ CREATE TABLE zseq_metadata_lookup (
1295 CREATE TABLE zseq_mime_types ( 1310 CREATE TABLE zseq_mime_types (
1296 id int(10) unsigned NOT NULL auto_increment, 1311 id int(10) unsigned NOT NULL auto_increment,
1297 PRIMARY KEY (id) 1312 PRIMARY KEY (id)
1298 -) TYPE=InnoDB; 1313 +) TYPE=MyISAM;
1299 1314
1300 -- -------------------------------------------------------- 1315 -- --------------------------------------------------------
1301 1316
@@ -1306,7 +1321,7 @@ CREATE TABLE zseq_mime_types ( @@ -1306,7 +1321,7 @@ CREATE TABLE zseq_mime_types (
1306 CREATE TABLE zseq_news ( 1321 CREATE TABLE zseq_news (
1307 id int(10) unsigned NOT NULL auto_increment, 1322 id int(10) unsigned NOT NULL auto_increment,
1308 PRIMARY KEY (id) 1323 PRIMARY KEY (id)
1309 -) TYPE=InnoDB; 1324 +) TYPE=MyISAM;
1310 1325
1311 -- -------------------------------------------------------- 1326 -- --------------------------------------------------------
1312 1327
@@ -1317,7 +1332,7 @@ CREATE TABLE zseq_news ( @@ -1317,7 +1332,7 @@ CREATE TABLE zseq_news (
1317 CREATE TABLE zseq_organisations_lookup ( 1332 CREATE TABLE zseq_organisations_lookup (
1318 id int(10) unsigned NOT NULL auto_increment, 1333 id int(10) unsigned NOT NULL auto_increment,
1319 PRIMARY KEY (id) 1334 PRIMARY KEY (id)
1320 -) TYPE=InnoDB; 1335 +) TYPE=MyISAM;
1321 1336
1322 -- -------------------------------------------------------- 1337 -- --------------------------------------------------------
1323 1338
@@ -1328,7 +1343,7 @@ CREATE TABLE zseq_organisations_lookup ( @@ -1328,7 +1343,7 @@ CREATE TABLE zseq_organisations_lookup (
1328 CREATE TABLE zseq_permission_assignments ( 1343 CREATE TABLE zseq_permission_assignments (
1329 id int(10) unsigned NOT NULL auto_increment, 1344 id int(10) unsigned NOT NULL auto_increment,
1330 PRIMARY KEY (id) 1345 PRIMARY KEY (id)
1331 -) TYPE=InnoDB; 1346 +) TYPE=MyISAM;
1332 1347
1333 -- -------------------------------------------------------- 1348 -- --------------------------------------------------------
1334 1349
@@ -1339,7 +1354,7 @@ CREATE TABLE zseq_permission_assignments ( @@ -1339,7 +1354,7 @@ CREATE TABLE zseq_permission_assignments (
1339 CREATE TABLE zseq_permission_descriptors ( 1354 CREATE TABLE zseq_permission_descriptors (
1340 id int(10) unsigned NOT NULL auto_increment, 1355 id int(10) unsigned NOT NULL auto_increment,
1341 PRIMARY KEY (id) 1356 PRIMARY KEY (id)
1342 -) TYPE=InnoDB; 1357 +) TYPE=MyISAM;
1343 1358
1344 -- -------------------------------------------------------- 1359 -- --------------------------------------------------------
1345 1360
@@ -1350,7 +1365,7 @@ CREATE TABLE zseq_permission_descriptors ( @@ -1350,7 +1365,7 @@ CREATE TABLE zseq_permission_descriptors (
1350 CREATE TABLE zseq_permission_lookup_assignments ( 1365 CREATE TABLE zseq_permission_lookup_assignments (
1351 id int(10) unsigned NOT NULL auto_increment, 1366 id int(10) unsigned NOT NULL auto_increment,
1352 PRIMARY KEY (id) 1367 PRIMARY KEY (id)
1353 -) TYPE=InnoDB; 1368 +) TYPE=MyISAM;
1354 1369
1355 -- -------------------------------------------------------- 1370 -- --------------------------------------------------------
1356 1371
@@ -1361,7 +1376,7 @@ CREATE TABLE zseq_permission_lookup_assignments ( @@ -1361,7 +1376,7 @@ CREATE TABLE zseq_permission_lookup_assignments (
1361 CREATE TABLE zseq_permission_lookups ( 1376 CREATE TABLE zseq_permission_lookups (
1362 id int(10) unsigned NOT NULL auto_increment, 1377 id int(10) unsigned NOT NULL auto_increment,
1363 PRIMARY KEY (id) 1378 PRIMARY KEY (id)
1364 -) TYPE=InnoDB; 1379 +) TYPE=MyISAM;
1365 1380
1366 -- -------------------------------------------------------- 1381 -- --------------------------------------------------------
1367 1382
@@ -1372,7 +1387,7 @@ CREATE TABLE zseq_permission_lookups ( @@ -1372,7 +1387,7 @@ CREATE TABLE zseq_permission_lookups (
1372 CREATE TABLE zseq_permission_objects ( 1387 CREATE TABLE zseq_permission_objects (
1373 id int(10) unsigned NOT NULL auto_increment, 1388 id int(10) unsigned NOT NULL auto_increment,
1374 PRIMARY KEY (id) 1389 PRIMARY KEY (id)
1375 -) TYPE=InnoDB; 1390 +) TYPE=MyISAM;
1376 1391
1377 -- -------------------------------------------------------- 1392 -- --------------------------------------------------------
1378 1393
@@ -1383,7 +1398,7 @@ CREATE TABLE zseq_permission_objects ( @@ -1383,7 +1398,7 @@ CREATE TABLE zseq_permission_objects (
1383 CREATE TABLE zseq_permissions ( 1398 CREATE TABLE zseq_permissions (
1384 id int(10) unsigned NOT NULL auto_increment, 1399 id int(10) unsigned NOT NULL auto_increment,
1385 PRIMARY KEY (id) 1400 PRIMARY KEY (id)
1386 -) TYPE=InnoDB; 1401 +) TYPE=MyISAM;
1387 1402
1388 -- -------------------------------------------------------- 1403 -- --------------------------------------------------------
1389 1404
@@ -1394,7 +1409,7 @@ CREATE TABLE zseq_permissions ( @@ -1394,7 +1409,7 @@ CREATE TABLE zseq_permissions (
1394 CREATE TABLE zseq_roles ( 1409 CREATE TABLE zseq_roles (
1395 id int(10) unsigned NOT NULL auto_increment, 1410 id int(10) unsigned NOT NULL auto_increment,
1396 PRIMARY KEY (id) 1411 PRIMARY KEY (id)
1397 -) TYPE=InnoDB; 1412 +) TYPE=MyISAM;
1398 1413
1399 -- -------------------------------------------------------- 1414 -- --------------------------------------------------------
1400 1415
@@ -1405,7 +1420,7 @@ CREATE TABLE zseq_roles ( @@ -1405,7 +1420,7 @@ CREATE TABLE zseq_roles (
1405 CREATE TABLE zseq_search_document_user_link ( 1420 CREATE TABLE zseq_search_document_user_link (
1406 id int(10) unsigned NOT NULL auto_increment, 1421 id int(10) unsigned NOT NULL auto_increment,
1407 PRIMARY KEY (id) 1422 PRIMARY KEY (id)
1408 -) TYPE=InnoDB; 1423 +) TYPE=MyISAM;
1409 1424
1410 -- -------------------------------------------------------- 1425 -- --------------------------------------------------------
1411 1426
@@ -1416,7 +1431,7 @@ CREATE TABLE zseq_search_document_user_link ( @@ -1416,7 +1431,7 @@ CREATE TABLE zseq_search_document_user_link (
1416 CREATE TABLE zseq_status_lookup ( 1431 CREATE TABLE zseq_status_lookup (
1417 id int(10) unsigned NOT NULL auto_increment, 1432 id int(10) unsigned NOT NULL auto_increment,
1418 PRIMARY KEY (id) 1433 PRIMARY KEY (id)
1419 -) TYPE=InnoDB; 1434 +) TYPE=MyISAM;
1420 1435
1421 -- -------------------------------------------------------- 1436 -- --------------------------------------------------------
1422 1437
@@ -1427,7 +1442,7 @@ CREATE TABLE zseq_status_lookup ( @@ -1427,7 +1442,7 @@ CREATE TABLE zseq_status_lookup (
1427 CREATE TABLE zseq_system_settings ( 1442 CREATE TABLE zseq_system_settings (
1428 id int(10) unsigned NOT NULL auto_increment, 1443 id int(10) unsigned NOT NULL auto_increment,
1429 PRIMARY KEY (id) 1444 PRIMARY KEY (id)
1430 -) TYPE=InnoDB; 1445 +) TYPE=MyISAM;
1431 1446
1432 -- -------------------------------------------------------- 1447 -- --------------------------------------------------------
1433 1448
@@ -1438,7 +1453,7 @@ CREATE TABLE zseq_system_settings ( @@ -1438,7 +1453,7 @@ CREATE TABLE zseq_system_settings (
1438 CREATE TABLE zseq_time_period ( 1453 CREATE TABLE zseq_time_period (
1439 id int(10) unsigned NOT NULL auto_increment, 1454 id int(10) unsigned NOT NULL auto_increment,
1440 PRIMARY KEY (id) 1455 PRIMARY KEY (id)
1441 -) TYPE=InnoDB; 1456 +) TYPE=MyISAM;
1442 1457
1443 -- -------------------------------------------------------- 1458 -- --------------------------------------------------------
1444 1459
@@ -1449,7 +1464,7 @@ CREATE TABLE zseq_time_period ( @@ -1449,7 +1464,7 @@ CREATE TABLE zseq_time_period (
1449 CREATE TABLE zseq_time_unit_lookup ( 1464 CREATE TABLE zseq_time_unit_lookup (
1450 id int(10) unsigned NOT NULL auto_increment, 1465 id int(10) unsigned NOT NULL auto_increment,
1451 PRIMARY KEY (id) 1466 PRIMARY KEY (id)
1452 -) TYPE=InnoDB; 1467 +) TYPE=MyISAM;
1453 1468
1454 -- -------------------------------------------------------- 1469 -- --------------------------------------------------------
1455 1470
@@ -1460,7 +1475,7 @@ CREATE TABLE zseq_time_unit_lookup ( @@ -1460,7 +1475,7 @@ CREATE TABLE zseq_time_unit_lookup (
1460 CREATE TABLE zseq_units_lookup ( 1475 CREATE TABLE zseq_units_lookup (
1461 id int(10) unsigned NOT NULL auto_increment, 1476 id int(10) unsigned NOT NULL auto_increment,
1462 PRIMARY KEY (id) 1477 PRIMARY KEY (id)
1463 -) TYPE=InnoDB; 1478 +) TYPE=MyISAM;
1464 1479
1465 -- -------------------------------------------------------- 1480 -- --------------------------------------------------------
1466 1481
@@ -1471,7 +1486,7 @@ CREATE TABLE zseq_units_lookup ( @@ -1471,7 +1486,7 @@ CREATE TABLE zseq_units_lookup (
1471 CREATE TABLE zseq_units_organisations_link ( 1486 CREATE TABLE zseq_units_organisations_link (
1472 id int(10) unsigned NOT NULL auto_increment, 1487 id int(10) unsigned NOT NULL auto_increment,
1473 PRIMARY KEY (id) 1488 PRIMARY KEY (id)
1474 -) TYPE=InnoDB; 1489 +) TYPE=MyISAM;
1475 1490
1476 -- -------------------------------------------------------- 1491 -- --------------------------------------------------------
1477 1492
@@ -1482,7 +1497,7 @@ CREATE TABLE zseq_units_organisations_link ( @@ -1482,7 +1497,7 @@ CREATE TABLE zseq_units_organisations_link (
1482 CREATE TABLE zseq_upgrades ( 1497 CREATE TABLE zseq_upgrades (
1483 id int(10) unsigned NOT NULL auto_increment, 1498 id int(10) unsigned NOT NULL auto_increment,
1484 PRIMARY KEY (id) 1499 PRIMARY KEY (id)
1485 -) TYPE=InnoDB; 1500 +) TYPE=MyISAM;
1486 1501
1487 -- -------------------------------------------------------- 1502 -- --------------------------------------------------------
1488 1503
@@ -1493,7 +1508,7 @@ CREATE TABLE zseq_upgrades ( @@ -1493,7 +1508,7 @@ CREATE TABLE zseq_upgrades (
1493 CREATE TABLE zseq_users ( 1508 CREATE TABLE zseq_users (
1494 id int(10) unsigned NOT NULL auto_increment, 1509 id int(10) unsigned NOT NULL auto_increment,
1495 PRIMARY KEY (id) 1510 PRIMARY KEY (id)
1496 -) TYPE=InnoDB; 1511 +) TYPE=MyISAM;
1497 1512
1498 -- -------------------------------------------------------- 1513 -- --------------------------------------------------------
1499 1514
@@ -1504,7 +1519,7 @@ CREATE TABLE zseq_users ( @@ -1504,7 +1519,7 @@ CREATE TABLE zseq_users (
1504 CREATE TABLE zseq_users_groups_link ( 1519 CREATE TABLE zseq_users_groups_link (
1505 id int(10) unsigned NOT NULL auto_increment, 1520 id int(10) unsigned NOT NULL auto_increment,
1506 PRIMARY KEY (id) 1521 PRIMARY KEY (id)
1507 -) TYPE=InnoDB; 1522 +) TYPE=MyISAM;
1508 1523
1509 -- -------------------------------------------------------- 1524 -- --------------------------------------------------------
1510 1525
@@ -1515,7 +1530,7 @@ CREATE TABLE zseq_users_groups_link ( @@ -1515,7 +1530,7 @@ CREATE TABLE zseq_users_groups_link (
1515 CREATE TABLE zseq_web_documents ( 1530 CREATE TABLE zseq_web_documents (
1516 id int(10) unsigned NOT NULL auto_increment, 1531 id int(10) unsigned NOT NULL auto_increment,
1517 PRIMARY KEY (id) 1532 PRIMARY KEY (id)
1518 -) TYPE=InnoDB; 1533 +) TYPE=MyISAM;
1519 1534
1520 -- -------------------------------------------------------- 1535 -- --------------------------------------------------------
1521 1536
@@ -1526,7 +1541,7 @@ CREATE TABLE zseq_web_documents ( @@ -1526,7 +1541,7 @@ CREATE TABLE zseq_web_documents (
1526 CREATE TABLE zseq_web_documents_status_lookup ( 1541 CREATE TABLE zseq_web_documents_status_lookup (
1527 id int(10) unsigned NOT NULL auto_increment, 1542 id int(10) unsigned NOT NULL auto_increment,
1528 PRIMARY KEY (id) 1543 PRIMARY KEY (id)
1529 -) TYPE=InnoDB; 1544 +) TYPE=MyISAM;
1530 1545
1531 -- -------------------------------------------------------- 1546 -- --------------------------------------------------------
1532 1547
@@ -1537,4 +1552,4 @@ CREATE TABLE zseq_web_documents_status_lookup ( @@ -1537,4 +1552,4 @@ CREATE TABLE zseq_web_documents_status_lookup (
1537 CREATE TABLE zseq_web_sites ( 1552 CREATE TABLE zseq_web_sites (
1538 id int(10) unsigned NOT NULL auto_increment, 1553 id int(10) unsigned NOT NULL auto_increment,
1539 PRIMARY KEY (id) 1554 PRIMARY KEY (id)
1540 -) TYPE=InnoDB; 1555 +) TYPE=MyISAM;