[fix][launcher]Fix mysql scripts.

This commit is contained in:
jerryjzhang
2024-11-29 14:50:32 +08:00
parent c80794e8fc
commit 13d4fc3feb
3 changed files with 9 additions and 1 deletions

View File

@@ -21,6 +21,10 @@ spring:
# username: root
# password:
# sql:
# enabled: true
# mode: always
# username: root
# password:
# init:
# schema-locations: classpath:db/schema-mysql.sql,classpath:db/schema-mysql-demo.sql
# data-locations: classpath:db/data-mysql.sql,classpath:db/data-mysql-demo.sql

View File

@@ -541,7 +541,7 @@ CREATE TABLE IF NOT EXISTS `s2_term` (
PRIMARY KEY (`id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT ='术语表';
CREATE TABLE `s2_user_token` (
CREATE TABLE IF NOT EXISTS `s2_user_token` (
`id` bigint NOT NULL AUTO_INCREMENT,
`name` VARCHAR(255) NOT NULL,
`user_name` VARCHAR(255) NOT NULL,

View File

@@ -21,6 +21,10 @@ spring:
# username: root
# password:
# sql:
# enabled: true
# mode: always
# username: root
# password:
# init:
# schema-locations: classpath:db/schema-mysql.sql,classpath:db/schema-mysql-demo.sql
# data-locations: classpath:db/data-mysql.sql,classpath:db/data-mysql-demo.sql