MySQL Create Table SQL
Table Structure: okayapi_crm_user:/tablelist/okayapi_crm_user.html
-- MySQL Table okayapi_crm_user
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_user` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(255) NOT NULL COMMENT '登入名称',
`password` varchar(255) NOT NULL COMMENT '密码',
`realname` varchar(255) NOT NULL COMMENT '真实姓名',
`deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT '删除标识,0是未删除,1是删除',
`userimage` varchar(255) NOT NULL COMMENT '用户头像',
KEY `username` (`username`),
KEY `password` (`password`),
KEY `realname` (`realname`),
KEY `deleted` (`deleted`),
KEY `userimage` (`userimage`),
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-5 of 5 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
username | varchar(255) | 是 | 登入名称 | Unique Index | ||
password | varchar(255) | 是 | 密码 | |||
realname | varchar(255) | 是 | 真实姓名 | |||
deleted | tinyint(4) | 0 | 是 | 删除标识,0是未删除,1是删除 | 0 | |
userimage | varchar(255) | 否 | 用户头像 |