+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_smpss_log:/tablelist/okayapi_smpss_log.html


-- MySQL Table okayapi_smpss_log
-- From: OkayAPI.com
CREATE TABLE `okayapi_smpss_log` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `type` tinyint(1) NOT NULL COMMENT '日志类型:0添加商品1商品入库2商品出库',
    `goods_id` int(10) NOT NULL COMMENT '商品ID',
    `content` text NOT NULL COMMENT '',
    `user_id` int(10) NOT NULL COMMENT '',
    `username` varchar(32) NOT NULL COMMENT '',
    `dateymd` date NOT NULL COMMENT '',
    `dateline` int(10) NOT NULL COMMENT '',
    KEY `type` (`type`),
    KEY `goods_id` (`goods_id`),
    KEY `content` (`content`),
    KEY `user_id` (`user_id`),
    KEY `username` (`username`),
    KEY `dateymd` (`dateymd`),
    KEY `dateline` (`dateline`),
    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-7 of 7 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
typetinyint(1)日志类型:0添加商品1商品入库2商品出库
goods_idint(10)商品ID
contenttext
user_idint(10)Normal Index
usernamevarchar(32)
dateymddateNormal Index
datelineint(10)

Guess You Like

MySQL Table Design okayapi_smpss_admin

MySQL Table Design okayapi_smpss_category

MySQL Table Design okayapi_smpss_goods

MySQL Table Design okayapi_smpss_group

MySQL Table Design okayapi_smpss_mbgroup

MySQL Table Design okayapi_smpss_member

MySQL Table Design okayapi_smpss_purchase

MySQL Table Design okayapi_smpss_region

MySQL Table Design okayapi_smpss_sales

MySQL Table Design okayapi_smpss_system

MySQL Table Design okayapi_smpss_tempsales

MySQL Table Design okayapi_dberp_accounts_receivable

MySQL Table Design okayapi_dberp_accounts_receivable_log

MySQL Table Design okayapi_dberp_admin

MySQL Table Design okayapi_dberp_admin_group

MySQL Table Design okayapi_dberp_app

MySQL Table Design okayapi_dberp_brand

MySQL Table Design okayapi_dberp_customer

MySQL Table Design okayapi_dberp_customer_category

MySQL Table Design okayapi_dberp_finance_payable

TOP ↑