MySQL Create Table SQL
Table Structure: okayapi_jsh_role:/tablelist/okayapi_jsh_role.html
-- MySQL Table okayapi_jsh_role
-- From: OkayAPI.com
CREATE TABLE `okayapi_jsh_role` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`Id` bigint(20) NULL COMMENT '主键',
`Name` varchar(50) NULL COMMENT '名称',
`type` varchar(50) NULL COMMENT '类型',
`value` varchar(200) NULL COMMENT '值',
`description` varchar(100) NULL COMMENT '描述',
`tenant_id` bigint(20) NULL COMMENT '租户id',
`delete_Flag` varchar(1) NULL DEFAULT '0' COMMENT '删除标记,0未删除,1删除',
KEY `Id` (`Id`),
KEY `Name` (`Name`),
KEY `type` (`type`),
KEY `value` (`value`),
KEY `description` (`description`),
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-7 of 7 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
Id | bigint(20) | 否 | 主键 | |||
Name | varchar(50) | 是 | 名称 | |||
type | varchar(50) | 是 | 类型 | |||
value | varchar(200) | 是 | 值 | |||
description | varchar(100) | 是 | 描述 | |||
tenant_id | bigint(20) | 是 | 租户id | |||
delete_Flag | varchar(1) | 0 | 是 | 删除标记,0未删除,1删除 | 0 |