Shorten indexed varchar columns, remove meaningless size on some integer columns

This commit is contained in:
Kijin Sung 2021-01-19 21:46:44 +09:00
parent 8cd650abfe
commit 069ac6f679
8 changed files with 24 additions and 24 deletions

View file

@ -1,6 +1,6 @@
<table name="document_aliases">
<column name="alias_srl" type="number" size="11" default="0" notnull="notnull" primary_key="primary_key" />
<column name="module_srl" type="number" size="11" default="0" notnull="notnull" index="idx_module_srl" />
<column name="document_srl" type="number" size="11" default="0" notnull="notnull" index="idx_document_srl" />
<column name="alias_title" type="varchar" size="250" notnull="notnull" index="idx_alias_title" />
<column name="alias_srl" type="number" default="0" notnull="notnull" primary_key="primary_key" />
<column name="module_srl" type="number" default="0" notnull="notnull" index="idx_module_srl" />
<column name="document_srl" type="number" default="0" notnull="notnull" index="idx_document_srl" />
<column name="alias_title" type="varchar" size="180" notnull="notnull" index="idx_alias_title" />
</table>

View file

@ -1,13 +1,13 @@
<table name="document_categories">
<column name="category_srl" type="number" size="11" default="0" notnull="notnull" primary_key="primary_key" />
<column name="module_srl" type="number" size="11" default="0" notnull="notnull" index="idx_module_srl" />
<column name="parent_srl" type="number" size="12" notnull="notnull" default="0" />
<column name="category_srl" type="number" notnull="notnull" primary_key="primary_key" />
<column name="module_srl" type="number" notnull="notnull" index="idx_module_srl" />
<column name="parent_srl" type="number" notnull="notnull" />
<column name="title" type="varchar" size="250" />
<column name="expand" type="char" size="1" default="N" />
<column name="document_count" type="number" size="11" default="0" notnull="notnull" />
<column name="document_count" type="number" default="0" notnull="notnull" />
<column name="regdate" type="date" index="idx_regdate" />
<column name="last_update" type="date" />
<column name="list_order" type="number" size="11" notnull="notnull" />
<column name="list_order" type="number" notnull="notnull" />
<column name="group_srls" type="text" />
<column name="color" type="varchar" size="11" />
<column name="description" type="varchar" size="200" />