mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 05:43:51 +00:00
[fix][launcher]Fix mysql scripts.
This commit is contained in:
@@ -21,6 +21,10 @@ spring:
|
|||||||
# username: root
|
# username: root
|
||||||
# password:
|
# password:
|
||||||
# sql:
|
# sql:
|
||||||
|
# enabled: true
|
||||||
|
# mode: always
|
||||||
|
# username: root
|
||||||
|
# password:
|
||||||
# init:
|
# init:
|
||||||
# schema-locations: classpath:db/schema-mysql.sql,classpath:db/schema-mysql-demo.sql
|
# 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
|
# data-locations: classpath:db/data-mysql.sql,classpath:db/data-mysql-demo.sql
|
||||||
|
|||||||
@@ -541,7 +541,7 @@ CREATE TABLE IF NOT EXISTS `s2_term` (
|
|||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8 COMMENT ='术语表';
|
) 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,
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
`name` VARCHAR(255) NOT NULL,
|
`name` VARCHAR(255) NOT NULL,
|
||||||
`user_name` VARCHAR(255) NOT NULL,
|
`user_name` VARCHAR(255) NOT NULL,
|
||||||
|
|||||||
@@ -21,6 +21,10 @@ spring:
|
|||||||
# username: root
|
# username: root
|
||||||
# password:
|
# password:
|
||||||
# sql:
|
# sql:
|
||||||
|
# enabled: true
|
||||||
|
# mode: always
|
||||||
|
# username: root
|
||||||
|
# password:
|
||||||
# init:
|
# init:
|
||||||
# schema-locations: classpath:db/schema-mysql.sql,classpath:db/schema-mysql-demo.sql
|
# 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
|
# data-locations: classpath:db/data-mysql.sql,classpath:db/data-mysql-demo.sql
|
||||||
|
|||||||
Reference in New Issue
Block a user