mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-28 11:54:20 +08:00
[fix][headless]Fix a set of known issues.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
url: jdbc:mysql://localhost:3306/mysql?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
||||
username: root
|
||||
password:
|
||||
|
||||
@@ -6,21 +6,20 @@ spring:
|
||||
password: postgres
|
||||
sql:
|
||||
init:
|
||||
enabled: false
|
||||
mode: always
|
||||
mode: never
|
||||
username: postgres
|
||||
password: postgres
|
||||
schema-locations: classpath:db/schema-postgres.sql,classpath:db/schema-postgres-demo.sql
|
||||
data-locations: classpath:db/data-postgres.sql,classpath:db/data-postgres-demo.sql
|
||||
|
||||
#s2:
|
||||
# embedding:
|
||||
# store:
|
||||
# provider: PGVECTOR
|
||||
# base:
|
||||
# url: 127.0.0.1
|
||||
# port: 5432
|
||||
# databaseName: postgres
|
||||
# user: postgres
|
||||
# password: postgres
|
||||
# dimension: 512
|
||||
s2:
|
||||
embedding:
|
||||
store:
|
||||
provider: PGVECTOR
|
||||
base:
|
||||
url: 127.0.0.1
|
||||
port: 5432
|
||||
databaseName: postgres
|
||||
user: postgres
|
||||
password: postgres
|
||||
dimension: 512
|
||||
@@ -5,13 +5,13 @@ CREATE TABLE IF NOT EXISTS s2_user_department (
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS s2_pv_uv_statis (
|
||||
imp_date varchar(200) NOT NULL,
|
||||
imp_date DATE NOT NULL,
|
||||
user_name varchar(200) NOT NULL,
|
||||
page varchar(200) NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS s2_stay_time_statis (
|
||||
imp_date varchar(200) NOT NULL,
|
||||
imp_date DATE NOT NULL,
|
||||
user_name varchar(200) NOT NULL,
|
||||
stay_hours double precision NOT NULL,
|
||||
page varchar(200) NOT NULL
|
||||
|
||||
Reference in New Issue
Block a user