/**
Source Server Version: 8.0.31
Source Database: backendsys
Date: 2023/05/23 17:09:22
*/

DROP TABLE IF EXISTS `sys_language`;

CREATE TABLE `sys_language` (
    PRIMARY KEY (`id`),
    `id` BIGINT(10) AUTO_INCREMENT COMMENT 'ID',
    `language` VARCHAR(50) NOT NULL COMMENT '语言',
    `name` VARCHAR(50) NOT NULL COMMENT '语言名称',
    `is_default` TINYINT(1) DEFAULT '-1' COMMENT '是否默认(-1否, 1是)'
) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='系统语言表';

INSERT INTO sys_language(language, name, is_default) VALUES
    ('zh', '中文', 1), ('en', 'English', -1)
;