记得上下班打卡 | git大法好,push需谨慎

Commit 107896f6 authored by 张国柄's avatar 张国柄

fix mysql mongo database name config for test;

parent 810d4652
...@@ -16,7 +16,7 @@ liquidnet: ...@@ -16,7 +16,7 @@ liquidnet:
pattern-rolling-file-name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}-%d{yyyy-MM-dd}.%i.log pattern-rolling-file-name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}-%d{yyyy-MM-dd}.%i.log
level-root: info level-root: info
mysql: mysql:
database-name: ln_adam database-name: dev_ln_scene
aliyun: aliyun:
accessKeyId: accessKeyId:
accessSecret: accessSecret:
...@@ -63,6 +63,6 @@ spring: ...@@ -63,6 +63,6 @@ spring:
data: data:
mongodb: mongodb:
sslEnabled: false sslEnabled: false
database: ln_adam_mdb database: dev_ln_scene
trustStore: trustStore:
trustStorePassword: trustStorePassword:
...@@ -16,7 +16,7 @@ liquidnet: ...@@ -16,7 +16,7 @@ liquidnet:
pattern-rolling-file-name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}-%d{yyyy-MM-dd}.%i.log pattern-rolling-file-name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}-%d{yyyy-MM-dd}.%i.log
level-root: info level-root: info
mysql: mysql:
database-name: test_ln_adam database-name: test_ln_scene
aliyun: aliyun:
accessKeyId: accessKeyId:
accessSecret: accessSecret:
...@@ -63,6 +63,6 @@ spring: ...@@ -63,6 +63,6 @@ spring:
data: data:
mongodb: mongodb:
sslEnabled: false sslEnabled: false
database: test_ln_adam_mdb database: test_ln_scene
trustStore: trustStore:
trustStorePassword: trustStorePassword:
...@@ -16,7 +16,7 @@ liquidnet: ...@@ -16,7 +16,7 @@ liquidnet:
pattern-rolling-file-name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}-%d{yyyy-MM-dd}.%i.log pattern-rolling-file-name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}-%d{yyyy-MM-dd}.%i.log
level-root: info level-root: info
mysql: mysql:
database-name: ln_kylin database-name: dev_ln_scene
#以下为spring各环境个性配置 #以下为spring各环境个性配置
spring: spring:
...@@ -60,6 +60,6 @@ spring: ...@@ -60,6 +60,6 @@ spring:
data: data:
mongodb: mongodb:
sslEnabled: false sslEnabled: false
database: ln_kylin_mdb database: dev_ln_scene
trustStore: trustStore:
trustStorePassword: trustStorePassword:
...@@ -60,6 +60,6 @@ spring: ...@@ -60,6 +60,6 @@ spring:
data: data:
mongodb: mongodb:
sslEnabled: false sslEnabled: false
database: test_ln_kylin_mdb database: test_ln_scene
trustStore: trustStore:
trustStorePassword: trustStorePassword:
drop schema if exists ln_adam; create database if not exists ln_scene character set utf8mb4 collate utf8mb4_unicode_ci;
create database ln_adam character set utf8mb4 collate utf8mb4_unicode_ci; use ln_scene;
use ln_adam;
-- >>------------------------------------------------------------------------------------ -- >>------------------------------------------------------------------------------------
drop table if exists adam_third_party; drop table if exists adam_third_party;
create table adam_third_party create table adam_third_party
...@@ -34,21 +33,21 @@ create unique index uidx_third_party_uid_open_id on adam_third_party (uid, open_ ...@@ -34,21 +33,21 @@ create unique index uidx_third_party_uid_open_id on adam_third_party (uid, open_
# ) engine = InnoDB comment '登录记录'; # ) engine = InnoDB comment '登录记录';
# create index idx_login_mobile on adam_login (mobile); # create index idx_login_mobile on adam_login (mobile);
-- >>------------------------------------------------------------------------------------ -- >>------------------------------------------------------------------------------------
drop table if exists adam_device_token; # drop table if exists adam_device_token;
create table adam_device_token # create table adam_device_token
( # (
mid int unsigned auto_increment primary key, # mid int unsigned auto_increment primary key,
uid varchar(64) not null, # uid varchar(64) not null,
android varchar(255) null, # android varchar(255) null,
ios varchar(255) null, # ios varchar(255) null,
ipad varchar(255) null, # ipad varchar(255) null,
is_last tinyint, # is_last tinyint,
created_at datetime not null, # created_at datetime not null,
updated_at datetime, # updated_at datetime,
comment text # comment text
) engine = InnoDB comment 'TOKEN'; # ) engine = InnoDB comment 'TOKEN';
#
create index idx_device_token_uid on adam_device_token (uid); # create index idx_device_token_uid on adam_device_token (uid);
-- >>------------------------------------------------------------------------------------ -- >>------------------------------------------------------------------------------------
drop table if exists adam_user; drop table if exists adam_user;
create table adam_user create table adam_user
......
drop schema if exists ln_kylin; create database if not exists ln_scene character set utf8mb4 collate utf8mb4_unicode_ci;
create database ln_kylin character set utf8mb4 collate utf8mb4_unicode_ci;
-- >>------------------------------------------------------------------------------------ -- >>------------------------------------------------------------------------------------
use `ln_kylin`; use ln_scene;
SET NAMES utf8mb4; SET NAMES utf8mb4;
-- 轮播图 -- 轮播图
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment