17 lines
615 B
PL/PgSQL
17 lines
615 B
PL/PgSQL
begin;
|
|
|
|
CREATE TABLE `t_sub_user_bind` (
|
|
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
|
`org_account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '初始账号id',
|
|
`cur_account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '最新账号id',
|
|
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
|
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
|
PRIMARY KEY (`idx`),
|
|
UNIQUE KEY `org_account_id` (`org_account_id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
|
|
|
|
|
insert into version (version) values(2024050801);
|
|
|
|
commit;
|