+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_box_admin:/tablelist/okayapi_box_admin.html


-- MySQL Table okayapi_box_admin
-- From: OkayAPI.com
CREATE TABLE `okayapi_box_admin` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `role` varchar(30) NULL DEFAULT 'staff' COMMENT 'admin, staff',
    `admin_group_id` bigint(20) NULL DEFAULT '1' COMMENT '',
    `email` varchar(255) NULL COMMENT '',
    `pass` varchar(255) NULL COMMENT '',
    `salt` varchar(255) NULL COMMENT '',
    `name` varchar(255) NULL COMMENT '',
    `signature` varchar(255) NULL COMMENT '',
    `protected` tinyint(1) NULL DEFAULT '0' COMMENT '',
    `status` varchar(30) NULL DEFAULT 'active' COMMENT 'active, inactive',
    `api_token` varchar(128) NULL COMMENT '',
    `permissions` text NULL COMMENT '',
    KEY `role` (`role`),
    KEY `admin_group_id` (`admin_group_id`),
    KEY `email` (`email`),
    KEY `pass` (`pass`),
    KEY `salt` (`salt`),
    KEY `name` (`name`),
    KEY `signature` (`signature`),
    KEY `protected` (`protected`),
    KEY `status` (`status`),
    KEY `api_token` (`api_token`),
    KEY `permissions` (`permissions`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '主机销售-管理员';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-11 of 11 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
rolevarchar(30)staffadmin, staffstaff
admin_group_idbigint(20)1Normal Index1
emailvarchar(255)Unique Index
passvarchar(255)
saltvarchar(255)
namevarchar(255)
signaturevarchar(255)
protectedtinyint(1)00
statusvarchar(30)activeactive, inactiveactive
api_tokenvarchar(128)
permissionstext

Guess You Like

MySQL Table Design okayapi_activity_admin_history

MySQL Table Design okayapi_activity_client_email

MySQL Table Design okayapi_activity_client_history

MySQL Table Design okayapi_activity_system

MySQL Table Design okayapi_box_admin_group

MySQL Table Design okayapi_box_cart

MySQL Table Design okayapi_box_cart_product

MySQL Table Design okayapi_box_client

MySQL Table Design okayapi_box_client_balance

MySQL Table Design okayapi_box_client_group

MySQL Table Design okayapi_box_client_order

MySQL Table Design okayapi_box_client_order_meta

MySQL Table Design okayapi_box_client_order_status

MySQL Table Design okayapi_box_client_password_reset

MySQL Table Design okayapi_box_currency

MySQL Table Design okayapi_box_email_template

MySQL Table Design okayapi_box_extension

MySQL Table Design okayapi_box_extension_meta

MySQL Table Design okayapi_box_form

MySQL Table Design okayapi_box_form_field

TOP ↑