为每个数据库初始化iam_frontend_permission表时增加排序号字段
This commit is contained in:
parent
fc1636c182
commit
e4b4187bdb
|
@ -71,6 +71,7 @@ create table iam_frontend_permission
|
|||
display_name varchar(100) not null comment '显示名称',
|
||||
frontend_code varchar(100) not null comment '前端编码',
|
||||
api_set varchar(5000) null comment '接口列表',
|
||||
sort_id bigint null comment '排序号',
|
||||
is_deleted tinyint(1) default 0 not null comment '是否删除',
|
||||
create_time timestamp default CURRENT_TIMESTAMP not null comment '创建时间',
|
||||
update_time timestamp null on update CURRENT_TIMESTAMP comment '更新时间'
|
||||
|
|
|
@ -71,6 +71,7 @@ create table iam_frontend_permission
|
|||
display_name varchar(100) not null comment '显示名称',
|
||||
frontend_code varchar(100) not null comment '前端编码',
|
||||
api_set varchar(5000) null comment '接口列表',
|
||||
sort_id bigint null comment '排序号',
|
||||
is_deleted tinyint(1) default 0 not null comment '是否删除',
|
||||
create_time timestamp default CURRENT_TIMESTAMP not null comment '创建时间',
|
||||
update_time timestamp null on update CURRENT_TIMESTAMP comment '更新时间'
|
||||
|
|
|
@ -116,6 +116,7 @@ create table ${SCHEMA}.iam_frontend_permission
|
|||
display_name VARCHAR2(100) not null,
|
||||
frontend_code VARCHAR2(100) null,
|
||||
api_set VARCHAR2(5000) null,
|
||||
sort_id NUMBER(20) null,
|
||||
is_deleted NUMBER(1) DEFAULT 0 not null,
|
||||
create_time timestamp default CURRENT_TIMESTAMP not null,
|
||||
update_time timestamp null,
|
||||
|
@ -127,6 +128,7 @@ comment on column ${SCHEMA}.iam_frontend_permission.display_type is '展现类
|
|||
comment on column ${SCHEMA}.iam_frontend_permission.display_name is '显示名称';
|
||||
comment on column ${SCHEMA}.iam_frontend_permission.frontend_code is '前端编码';
|
||||
comment on column ${SCHEMA}.iam_frontend_permission.api_set is '接口列表';
|
||||
comment on column ${SCHEMA}.iam_frontend_permission.sort_id is '排序号';
|
||||
comment on column ${SCHEMA}.iam_frontend_permission.is_deleted is '是否删除';
|
||||
comment on column ${SCHEMA}.iam_frontend_permission.create_time is '创建时间';
|
||||
comment on column ${SCHEMA}.iam_frontend_permission.update_time is '更新时间';
|
||||
|
|
|
@ -112,6 +112,7 @@ create table iam_frontend_permission
|
|||
display_name varchar(100) not null,
|
||||
frontend_code varchar(100) null,
|
||||
api_set varchar(5000) null,
|
||||
sort_id bigint null,
|
||||
is_deleted BOOLEAN default FALSE not null,
|
||||
create_time timestamp default CURRENT_TIMESTAMP not null,
|
||||
update_time timestamp null,
|
||||
|
@ -123,6 +124,7 @@ comment on column iam_frontend_permission.display_type is '展现类型';
|
|||
comment on column iam_frontend_permission.display_name is '显示名称';
|
||||
comment on column iam_frontend_permission.frontend_code is '前端编码';
|
||||
comment on column iam_frontend_permission.api_set is '接口列表';
|
||||
comment on column iam_frontend_permission.sort_id is '排序号';
|
||||
comment on column iam_frontend_permission.is_deleted is '是否删除';
|
||||
comment on column iam_frontend_permission.create_time is '创建时间';
|
||||
comment on column iam_frontend_permission.update_time is '更新时间';
|
||||
|
|
|
@ -116,6 +116,7 @@ create table ${SCHEMA}.iam_frontend_permission
|
|||
display_name varchar(100) not null,
|
||||
frontend_code varchar(100) null,
|
||||
api_set varchar(5000) null,
|
||||
sort_id bigint null,
|
||||
is_deleted tinyint default 0 not null,
|
||||
create_time datetime default CURRENT_TIMESTAMP not null,
|
||||
update_time datetime null,
|
||||
|
@ -127,6 +128,7 @@ execute sp_addextendedproperty 'MS_Description', N'展现类型', 'SCHEMA', '${S
|
|||
execute sp_addextendedproperty 'MS_Description', N'显示名称', 'SCHEMA', '${SCHEMA}', 'table', iam_frontend_permission, 'column', 'display_name';
|
||||
execute sp_addextendedproperty 'MS_Description', N'前端编码', 'SCHEMA', '${SCHEMA}', 'table', iam_frontend_permission, 'column', 'frontend_code';
|
||||
execute sp_addextendedproperty 'MS_Description', N'接口列表', 'SCHEMA', '${SCHEMA}', 'table', iam_frontend_permission, 'column', 'api_set';
|
||||
execute sp_addextendedproperty 'MS_Description', N'排序号', 'SCHEMA', '${SCHEMA}', 'table', iam_frontend_permission, 'column', 'sort_id';
|
||||
execute sp_addextendedproperty 'MS_Description', N'是否删除', 'SCHEMA', '${SCHEMA}', 'table', iam_frontend_permission, 'column', 'is_deleted';
|
||||
execute sp_addextendedproperty 'MS_Description', N'创建时间', 'SCHEMA', '${SCHEMA}', 'table', iam_frontend_permission, 'column', 'create_time';
|
||||
execute sp_addextendedproperty 'MS_Description', N'更新时间', 'SCHEMA', '${SCHEMA}', 'table', iam_frontend_permission, 'column', 'update_time';
|
||||
|
|
Loading…
Reference in New Issue