[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3470] trunk/sql/upgrade/3467-assets.sql
- Subject: SF.net SVN: ledger-smb:[3470] trunk/sql/upgrade/3467-assets.sql
- From: ..hidden..
- Date: Sat, 09 Jul 2011 06:35:07 +0000
Revision: 3470
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3470&view=rev
Author: einhverfr
Date: 2011-07-09 06:35:07 +0000 (Sat, 09 Jul 2011)
Log Message:
-----------
Getting rid of partial stuff in upgrade script
Modified Paths:
--------------
trunk/sql/upgrade/3467-assets.sql
Modified: trunk/sql/upgrade/3467-assets.sql
===================================================================
--- trunk/sql/upgrade/3467-assets.sql 2011-07-09 06:33:58 UTC (rev 3469)
+++ trunk/sql/upgrade/3467-assets.sql 2011-07-09 06:35:07 UTC (rev 3470)
@@ -8,26 +8,3 @@
('asset_loss', FALSE, FALSE);
-CREATE TEMPORARY TABLE menu_import (node_id int, key text);
-
-INSERT INTO menu_import
-values (menu_insert(0, 17, 'Fixed Assets'), 'main_menu');
-
-INSERT INTO menu_attribute (node_id, attribute, value)
-VALUES (currval('menu_node_id_seq')::int, 'menu', '1');
-
-
-SELECT menu_insert(
- (select id FROM menu_node
- where parent = (select id from menu_node
- where parent = 0 and position = 17
- and label = 'Fixed Assets')
- and position = 2),
- 2, 'Search Assets');
-
-INSERT INTO menu_attribute (node_id, attribute, value)
-VALUES (currval('menu_node_id_seq')::int, 'module', 'asset.pl');
-INSERT INTO menu_attribute (node_id, attribute, value)
-VALUES (currval('menu_node_id_seq')::int, 'action', 'asset_search');
-
-COMMIT;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.