MySQL Create Table SQL
Table Structure: okayapi_crm_quotes:/tablelist/okayapi_crm_quotes.html
-- MySQL Table okayapi_crm_quotes
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_quotes` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`quotes_number` varchar(255) NULL COMMENT '报价单号',
`stage` varchar(255) NULL COMMENT '报价阶段',
`potentials_id` int(255) NULL COMMENT '销售机会关联',
`total` varchar(255) NULL COMMENT '总计',
`quotetime` datetime NULL COMMENT '报价日期',
`deleted` tinyint(4) NULL DEFAULT '0' COMMENT '删除标识,1是删除,0未删除',
`description` int(11) NULL COMMENT '描述',
KEY `quotes_number` (`quotes_number`),
KEY `stage` (`stage`),
KEY `potentials_id` (`potentials_id`),
KEY `total` (`total`),
KEY `quotetime` (`quotetime`),
KEY `deleted` (`deleted`),
KEY `description` (`description`),
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-7 of 7 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
quotes_number | varchar(255) | 是 | 报价单号 | |||
stage | varchar(255) | 是 | 报价阶段 | |||
potentials_id | int(255) | 是 | 销售机会关联 | |||
total | varchar(255) | 是 | 总计 | |||
quotetime | datetime | 是 | 报价日期 | |||
deleted | tinyint(4) | 0 | 否 | 删除标识,1是删除,0未删除 | 0 | |
description | int(11) | 是 | 描述 |