更新数据模型
This commit is contained in:
parent
48a4b10211
commit
c712e0813f
|
@ -49,7 +49,7 @@ from tmp_cms_article;
|
|||
/*==============================================================*/
|
||||
create table cms_menu
|
||||
(
|
||||
page_id int unsigned not null auto_increment comment '编号',
|
||||
menu_id int unsigned not null auto_increment comment '编号',
|
||||
pid int comment '父菜单',
|
||||
name varchar(20) comment '名称',
|
||||
url varchar(100) comment '链接',
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 525 KiB After Width: | Height: | Size: 525 KiB |
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?PowerDesigner AppLocale="UTF16" ID="{22E867D0-73E2-4C77-BB68-28135519D681}" Label="" LastModificationDate="1489832246" Name="zheng" Objects="463" Symbols="71" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="APM_DATA_MODEL_XML" version="16.5.0.3982"?>
|
||||
<?PowerDesigner AppLocale="UTF16" ID="{22E867D0-73E2-4C77-BB68-28135519D681}" Label="" LastModificationDate="1489833834" Name="zheng" Objects="451" Symbols="71" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="APM_DATA_MODEL_XML" version="16.5.0.3982"?>
|
||||
<!-- do not edit this file -->
|
||||
|
||||
<Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
|
||||
|
@ -12,7 +12,7 @@
|
|||
<a:Code>zheng</a:Code>
|
||||
<a:CreationDate>1478091682</a:CreationDate>
|
||||
<a:Creator>shuzheng</a:Creator>
|
||||
<a:ModificationDate>1489832246</a:ModificationDate>
|
||||
<a:ModificationDate>1489831850</a:ModificationDate>
|
||||
<a:Modifier>shuzheng</a:Modifier>
|
||||
<a:PackageOptionsText>[FolderOptions]
|
||||
|
||||
|
@ -76,7 +76,7 @@ UpdateTableStatistics=Yes
|
|||
UpdateColumnStatistics=Yes
|
||||
|
||||
[FolderOptions\Physical Objects\Database Generation]
|
||||
GenScriptName=update.sql
|
||||
GenScriptName=update_20170214_1_to_20170314_2.sql
|
||||
GenScriptName0=crebas.sql
|
||||
GenScriptName1=crebas
|
||||
GenScriptName2=
|
||||
|
@ -87,7 +87,7 @@ GenScriptName6=
|
|||
GenScriptName7=
|
||||
GenScriptName8=
|
||||
GenScriptName9=
|
||||
GenPathName=D:\
|
||||
GenPathName=E:\GitHub\zheng\project-datamodel\
|
||||
GenSingleFile=Yes
|
||||
GenODBC=No
|
||||
GenCheckModel=Yes
|
||||
|
@ -95,7 +95,7 @@ GenScriptPrev=Yes
|
|||
GenArchiveModel=No
|
||||
GenUseSync=No
|
||||
GenSyncChoice=0
|
||||
GenSyncArch=F:\GitHub\zheng\project-datamodel\zheng_20170314_1.apm
|
||||
GenSyncArch=E:\GitHub\zheng\project-datamodel\zheng_20170305_1.apm
|
||||
GenSyncRmg=0
|
||||
|
||||
[FolderOptions\Physical Objects\Database Generation\Format]
|
||||
|
@ -9494,16 +9494,16 @@ LABL 0 新宋体,8,N</a:FontList>
|
|||
<o:Column Id="o365">
|
||||
<a:ObjectID>07CFBDA3-42D2-42DA-9963-9695AF3B4088</a:ObjectID>
|
||||
<a:Name>编号</a:Name>
|
||||
<a:Code>page_id</a:Code>
|
||||
<a:Code>menu_id</a:Code>
|
||||
<a:CreationDate>1489831115</a:CreationDate>
|
||||
<a:Creator>shuzheng</a:Creator>
|
||||
<a:ModificationDate>1489831227</a:ModificationDate>
|
||||
<a:ModificationDate>1489833834</a:ModificationDate>
|
||||
<a:Modifier>shuzheng</a:Modifier>
|
||||
<a:Comment>编号</a:Comment>
|
||||
<a:DataType>int</a:DataType>
|
||||
<a:Identity>1</a:Identity>
|
||||
<a:Column.Mandatory>1</a:Column.Mandatory>
|
||||
<a:CheckConstraintName>CK_page_id</a:CheckConstraintName>
|
||||
<a:CheckConstraintName>CK_menu_id</a:CheckConstraintName>
|
||||
<a:ExtendedAttributesText>{F4F16ECD-F2F1-4006-AF6F-638D5C65F35E},MYSQL50,56={4A2BD2F3-4A8A-4421-8A48-A8029BDA28E8},Unsigned,4=true
|
||||
|
||||
</a:ExtendedAttributesText>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?PowerDesigner AppLocale="UTF16" ID="{22E867D0-73E2-4C77-BB68-28135519D681}" Label="" LastModificationDate="1489831893" Name="zheng" Objects="463" Symbols="71" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="16.5.0.3982"?>
|
||||
<?PowerDesigner AppLocale="UTF16" ID="{22E867D0-73E2-4C77-BB68-28135519D681}" Label="" LastModificationDate="1489833834" Name="zheng" Objects="451" Symbols="71" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="16.5.0.3982"?>
|
||||
<!-- do not edit this file -->
|
||||
|
||||
<Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
|
||||
|
@ -9248,10 +9248,10 @@ LABL 0 新宋体,8,N</a:FontList>
|
|||
<o:Column Id="o365">
|
||||
<a:ObjectID>07CFBDA3-42D2-42DA-9963-9695AF3B4088</a:ObjectID>
|
||||
<a:Name>编号</a:Name>
|
||||
<a:Code>page_id</a:Code>
|
||||
<a:Code>menu_id</a:Code>
|
||||
<a:CreationDate>1489831115</a:CreationDate>
|
||||
<a:Creator>shuzheng</a:Creator>
|
||||
<a:ModificationDate>1489831227</a:ModificationDate>
|
||||
<a:ModificationDate>1489833834</a:ModificationDate>
|
||||
<a:Modifier>shuzheng</a:Modifier>
|
||||
<a:Comment>编号</a:Comment>
|
||||
<a:DataType>int</a:DataType>
|
||||
|
|
|
@ -10,7 +10,7 @@ Target Server Type : MYSQL
|
|||
Target Server Version : 50621
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 2017-03-18 18:21:59
|
||||
Date: 2017-03-18 18:45:58
|
||||
*/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
@ -180,13 +180,13 @@ CREATE TABLE `cms_comment` (
|
|||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `cms_menu`;
|
||||
CREATE TABLE `cms_menu` (
|
||||
`page_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '编号',
|
||||
`menu_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '编号',
|
||||
`pid` int(11) DEFAULT NULL COMMENT '父菜单',
|
||||
`name` varchar(20) DEFAULT NULL COMMENT '名称',
|
||||
`url` varchar(100) DEFAULT NULL COMMENT '链接',
|
||||
`target` varchar(10) DEFAULT NULL COMMENT '打开方式',
|
||||
`orders` bigint(20) DEFAULT NULL COMMENT '排序',
|
||||
PRIMARY KEY (`page_id`)
|
||||
PRIMARY KEY (`menu_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='菜单';
|
||||
|
||||
-- ----------------------------
|
||||
|
|
Loading…
Reference in New Issue