+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_jsh_orga_user_rel:/tablelist/okayapi_jsh_orga_user_rel.html


-- MySQL Table okayapi_jsh_orga_user_rel
-- From: OkayAPI.com
CREATE TABLE `okayapi_jsh_orga_user_rel` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `orga_id` bigint(20) NULL COMMENT '机构id',
    `user_id` bigint(20) NULL COMMENT '用户id',
    `user_blng_orga_dspl_seq` varchar(20) NULL COMMENT '用户在所属机构中显示顺序',
    `delete_flag` char(1) NULL DEFAULT '0' COMMENT '删除标记,0未删除,1删除',
    `create_time` datetime NULL COMMENT '创建时间',
    `creator` bigint(20) NULL COMMENT '创建人',
    `updater` bigint(20) NULL COMMENT '更新人',
    `tenant_id` bigint(20) NULL COMMENT '租户id',
    KEY `orga_id` (`orga_id`),
    KEY `user_id` (`user_id`),
    KEY `user_blng_orga_dspl_seq` (`user_blng_orga_dspl_seq`),
    KEY `delete_flag` (`delete_flag`),
    KEY `create_time` (`create_time`),
    KEY `creator` (`creator`),
    KEY `updater` (`updater`),
    KEY `tenant_id` (`tenant_id`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'ERP进销存-机构用户关系表';

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


MySQL database table structure design

Displaying 1-8 of 8 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
orga_idbigint(20)机构id
user_idbigint(20)用户id
user_blng_orga_dspl_seqvarchar(20)用户在所属机构中显示顺序
delete_flagchar(1)0删除标记,0未删除,1删除0
create_timedatetime创建时间
creatorbigint(20)创建人
updaterbigint(20)更新人
tenant_idbigint(20)租户id

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_log

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

TOP ↑