MySQL Create Table SQL
Table Structure: okayapi_qi_ace_sys_dept_relation:/tablelist/okayapi_qi_ace_sys_dept_relation.html
-- MySQL Table okayapi_qi_ace_sys_dept_relation
-- From: OkayAPI.com
CREATE TABLE `okayapi_qi_ace_sys_dept_relation` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`ancestor` int(11) NOT NULL COMMENT '祖先节点',
`descendant` int(11) NOT NULL COMMENT '后代节点',
KEY `ancestor` (`ancestor`),
KEY `descendant` (`descendant`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'qi后台管理系统-部门关系表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-2 of 2 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
ancestor | int(11) | 否 | 祖先节点 | |||
descendant | int(11) | 否 | 后代节点 |