when migration to 1.7, if url is empty, shortcut type change to 'Y'

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12148 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-11-08 02:59:41 +00:00
parent e63d71738b
commit e8b7ba2711
3 changed files with 43 additions and 0 deletions

View file

@ -7,6 +7,7 @@
<column name="parent_srl" var="parent_srl" />
<column name="name" var="name" notnull="notnull" />
<column name="url" var="url" />
<column name="is_shortcut" var="is_shortcut" />
<column name="open_window" var="open_window" />
<column name="expand" var="expand" />
<column name="normal_btn" var="normal_btn" />

View file

@ -0,0 +1,11 @@
<query id="updateMenuShortcutForMigration" action="update">
<tables>
<table name="menu_item" />
</tables>
<columns>
<column name="is_shortcut" var="is_shortcut" default="Y" />
</columns>
<conditions>
<condition operation="in" column="menu_item_srl" var="menu_item_srl" filter="number" notnull="notnull" />
</conditions>
</query>