MySQL Create Table SQL
Table Structure: okayapi_jsh_person:/tablelist/okayapi_jsh_person.html
-- MySQL Table okayapi_jsh_person
-- From: OkayAPI.com
CREATE TABLE `okayapi_jsh_person` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`Id` bigint(20) NULL COMMENT '主键',
`Type` varchar(20) NULL COMMENT '类型',
`Name` varchar(50) NULL COMMENT '姓名',
`tenant_id` bigint(20) NULL COMMENT '租户id',
`delete_Flag` varchar(1) NULL DEFAULT '0' COMMENT '删除标记,0未删除,1删除',
KEY `Id` (`Id`),
KEY `Type` (`Type`),
KEY `Name` (`Name`),
KEY `tenant_id` (`tenant_id`),
KEY `delete_Flag` (`delete_Flag`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'ERP进销存-经手人表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-5 of 5 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
Id | bigint(20) | 否 | 主键 | |||
Type | varchar(20) | 是 | 类型 | |||
Name | varchar(50) | 是 | 姓名 | |||
tenant_id | bigint(20) | 是 | 租户id | |||
delete_Flag | varchar(1) | 0 | 是 | 删除标记,0未删除,1删除 | 0 |