MySQL Create Table SQL
Table Structure: okayapi_crm_module_view:/tablelist/okayapi_crm_module_view.html
-- MySQL Table okayapi_crm_module_view
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_module_view` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`modulename` varchar(255) NOT NULL COMMENT '模块英文,用于关联',
`viewname` varchar(255) NOT NULL COMMENT '视图名称',
`isdefault` int(11) NOT NULL DEFAULT '0' COMMENT '是否是默认视图',
`iskeyview` int(11) NOT NULL DEFAULT '0' COMMENT '是否是关键视图',
`seq` int(11) NOT NULL DEFAULT '0' COMMENT '视图排序',
`viewcountsql` text NOT NULL COMMENT '',
`viewquerysql` text NOT NULL COMMENT '',
`viewcolumnsjson` text NOT NULL COMMENT '视图页面的页头的JSON字符串',
`deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT '删除标识:0未删除,1删除',
KEY `modulename` (`modulename`),
KEY `viewname` (`viewname`),
KEY `isdefault` (`isdefault`),
KEY `iskeyview` (`iskeyview`),
KEY `seq` (`seq`),
KEY `viewcountsql` (`viewcountsql`),
KEY `viewquerysql` (`viewquerysql`),
KEY `viewcolumnsjson` (`viewcolumnsjson`),
KEY `deleted` (`deleted`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'CRM-模块视图表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-9 of 9 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
modulename | varchar(255) | 是 | 模块英文,用于关联 | |||
viewname | varchar(255) | 是 | 视图名称 | |||
isdefault | int(11) | 0 | 否 | 是否是默认视图 | 0 | |
iskeyview | int(11) | 0 | 否 | 是否是关键视图 | 0 | |
seq | int(11) | 0 | 否 | 视图排序 | 0 | |
viewcountsql | text | 是 | ||||
viewquerysql | text | 是 | ||||
viewcolumnsjson | text | 是 | 视图页面的页头的JSON字符串 | |||
deleted | tinyint(4) | 0 | 否 | 删除标识:0未删除,1删除 | 0 |