Changeset 693 for trunk/phpbms/install
- Timestamp:
- 12/31/09 13:36:45 (2 years ago)
- Location:
- trunk/phpbms/install
- Files:
-
- 3 modified
-
createtables.sql (modified) (1 diff)
-
reports.sql (modified) (1 diff)
-
updatev0.98.sql (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/install/createtables.sql
r645 r693 124 124 ) ENGINE=INNODB; 125 125 126 CREATE TABLE `reportsettings` ( 127 `id` int(11) NOT NULL auto_increment, 128 `reportuuid` varchar(64) NOT NULL, 129 `name` varchar(64) NOT NULL default '', 130 `value` text default '', 131 `type` varchar(32) NOT NULL default 'string', 132 `required` tinyint(4) NOT NULL default '0', 133 `defaultvalue` varchar(255) NOT NULL, 134 `description` text, 135 PRIMARY KEY (`id`) 136 ) ENGINE=INNODB; 137 126 138 CREATE TABLE `reports` ( 127 139 `id` int(11) NOT NULL auto_increment, -
trunk/phpbms/install/reports.sql
r643 r693 1 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:37cee478-b57e-2d53-d951-baf3937ba9e0', 'Raw Table Print', 'report', '', '0', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'report/general_tableprint.php', 'This report will print out of every field for the table for the given records. The report is displayed inHTML format.', 1, NOW(), 1, NOW());1 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:37cee478-b57e-2d53-d951-baf3937ba9e0', 'Raw Table Print', 'report', '', '0', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'report/general_tableprint.php', 'This report will prints out of every field for the table for the given records. The report is displayed HTML format.', 1, NOW(), 1, NOW()); 2 2 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:dac75fb9-91d2-cb1e-9213-9fab6d32f4c8', 'Raw Table Export', 'export', '', '0', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'report/general_export.php', 'This report will generate a comma-delimited text file. Values are encapsulated in quotes, and the first line lists the field names.', 1, NOW(), 1, NOW()); 3 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:a6999cc3-59bb-6af3-460e-d5d791afb842', 'Note Summary', 'PDF Report', 'tbld:a4cdd991-cf0a-916f-1240-49428ea1bdd1', '50', '', 'modules/base/report/notes_summary.php', 'PDF report giving basic note information (subject,dates,content) . By default, the notes are shown in chronological order.', 1, NOW(), 1, NOW());4 3 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:2944b204-5967-348a-8679-6835f45f0d79', 'SQL Export', 'export', '', '0', 'Admin', 'report/general_sql.php', 'Generate SQL INSERT statements for records.', 1, NOW(), 1, NOW()); 5 4 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:37a299d1-d795-ad83-4b47-0778c16a381c', 'Support Tables SQL Export', 'export', 'tbld:5c9d645f-26ab-5003-b98e-89e9049f8ac3', '0', '', 'modules/base/report/tabledefs_sqlexport.php', 'Insert statements for all support table records for table definition records.', 1, NOW(), 1, NOW()); -
trunk/phpbms/install/updatev0.98.sql
r663 r693 42 42 ) ENGINE=INNODB; 43 43 --end widgets CREATE-- 44 --reportsettings CREATE-- 45 CREATE TABLE `reportsettings` ( 46 `id` int(11) NOT NULL auto_increment, 47 `reportuuid` varchar(64) NOT NULL, 48 `name` varchar(64) NOT NULL default '', 49 `value` text default '', 50 `type` varchar(32) NOT NULL default 'string', 51 `required` tinyint(4) NOT NULL default '0', 52 `defaultvalue` varchar(255) NOT NULL, 53 `description` text, 54 PRIMARY KEY (`id`) 55 ) ENGINE=INNODB; 56 --end reportsettings CREATE-- 44 57 45 58 --attachments ALTER-- … … 276 289 INSERT INTO `menu` (`uuid`, `name`, `link`, `parentid`, `displayorder`, `createdby`, `modifiedby`, `creationdate`, `modifieddate`, `roleid`) VALUES ('menu:e8401ebb-c369-304f-053d-8195988e7faf', '----', 'N/A', 'menu:f07d910f-f56d-3d24-e74f-7a3b36b2d3c8', '30', 1, 1, NOW(), NOW(), ''); 277 290 --end menu INSERT-- 278 --modules UPDATE-- 279 UPDATE `modules` SET `uuid`='mod:29873ee8-c12a-e3f6-9010-4cd24174ffd7' WHERE `id`='1'; 280 --end modules UPDATE-- 281 --reports UPDATE-- 282 UPDATE `reports` SET 283 `uuid`='rpt:37cee478-b57e-2d53-d951-baf3937ba9e0' 284 WHERE 285 `name`='Raw Table Print'; 286 UPDATE `reports` SET 287 `uuid`='rpt:dac75fb9-91d2-cb1e-9213-9fab6d32f4c8', 288 `description` = 'This report will generate a comma-delimited text file. Values are encapsulated in quotes, and the first line lists the field names.' 289 WHERE 290 `name`='Raw Table Export'; 291 UPDATE `reports` SET `uuid`='rpt:a6999cc3-59bb-6af3-460e-d5d791afb842' WHERE `name`='Note Summary'; 292 UPDATE `reports` SET `uuid`='rpt:2944b204-5967-348a-8679-6835f45f0d79' WHERE `name`='SQL Export'; 293 UPDATE `reports` SET `uuid`='rpt:37a299d1-d795-ad83-4b47-0778c16a381c' WHERE `name`='Support Tables SQL Export'; 291 --reports DELETE/INSERT-- 292 DELETE FROM `reports` WHERE `name` IN ('Raw Table Print', 'Raw Table Export', 'Note Summary', 'SQL Export', 'Support Tables SQL Export'); 293 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:37cee478-b57e-2d53-d951-baf3937ba9e0', 'Raw Table Print', 'report', '', '0', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'report/general_tableprint.php', 'This report will prints out of every field for the table for the given records. The report is displayed HTML format.', 1, NOW(), 1, NOW()); 294 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:dac75fb9-91d2-cb1e-9213-9fab6d32f4c8', 'Raw Table Export', 'export', '', '0', 'role:259ead9f-100b-55b5-508a-27e33a6216bf', 'report/general_export.php', 'This report will generate a comma-delimited text file. Values are encapsulated in quotes, and the first line lists the field names.', 1, NOW(), 1, NOW()); 295 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:2944b204-5967-348a-8679-6835f45f0d79', 'SQL Export', 'export', '', '0', 'Admin', 'report/general_sql.php', 'Generate SQL INSERT statements for records.', 1, NOW(), 1, NOW()); 296 INSERT INTO `reports` (`uuid`, `name`, `type`, `tabledefid`, `displayorder`, `roleid`, `reportfile`, `description`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`) VALUES ('rpt:37a299d1-d795-ad83-4b47-0778c16a381c', 'Support Tables SQL Export', 'export', 'tbld:5c9d645f-26ab-5003-b98e-89e9049f8ac3', '0', '', 'modules/base/report/tabledefs_sqlexport.php', 'Insert statements for all support table records for table definition records.', 1, NOW(), 1, NOW()); 294 297 --end reports UPDATE-- 295 298 --scheduler INSERT--