Skip to content

Commit

Permalink
install and upgrade files updated
Browse files Browse the repository at this point in the history
  • Loading branch information
cappaberra committed Mar 16, 2016
1 parent 9ba34c5 commit 7d5e1d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions install/12-to-13.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<schema version="0.3">
<sql>
<query platform="mysql|mysqlt">INSERT INTO dcm_module_list (name,description,file) VALUES ('custom_attribute_type_display', 'Display a custom attribute type', 'ona/custom_attribute.inc.php') on duplicate key update name='custom_attribute_type_display'</query>
</sql>
</schema>


3 changes: 2 additions & 1 deletion install/ona-data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
('custom_attribute_del', 'Delete a custom attribute', 'ona/custom_attribute.inc.php'),
('custom_attribute_modify', 'Modify a custom attribute', 'ona/custom_attribute.inc.php'),
('custom_attribute_display', 'Display a custom attribute', 'ona/custom_attribute.inc.php'),
('custom_attribute_type_display', 'Display a custom attribute type', 'ona/custom_attribute.inc.php'),
('add_module', 'Register a new DCM module', 'get_module_list.inc.php'),
('report_run', 'Run a report', 'report_run.inc.php'),
('tag_add', 'Add a tag to an object', 'ona/tag.inc.php'),
Expand Down Expand Up @@ -133,7 +134,7 @@
('suggest_max_results', '10', 'Limits the amount of rows returned by queries. (test impact of changing this first)', '', '', 1, 0),
('syslog', '0', 'Log via syslog, only works if debug is set to 0', '', '', 0, 0),
('version', 'not-set', 'Tracks current installed version, used to detect when upgrades should be done.', '', '', 0, 0),
('upgrade_index', '11', 'Tracks current upgrade index, used to perform database upgrades.', '', '', 0, 0);</query>
('upgrade_index', '13', 'Tracks current upgrade index, used to perform database upgrades.', '', '', 0, 0);</query>


<query>INSERT INTO `users` VALUES (1,'guest','098f6bcd4621d373cade4e832627b4f6',0,'2007-10-30 02:55:37','2007-12-02 23:44:21'),(2,'admin','21232f297a57a5a743894a0e4a801fc3',0,'2007-10-30 03:00:17','2007-12-02 22:10:26');</query>
Expand Down

0 comments on commit 7d5e1d8

Please sign in to comment.