mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 19:51:00 +00:00
[fix][launcher]Fix mysql scripts.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user