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