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

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

fix mysql mongo database name config for test;

parent 810d4652
......@@ -16,7 +16,7 @@ liquidnet:
pattern-rolling-file-name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}-%d{yyyy-MM-dd}.%i.log
level-root: info
mysql:
database-name: ln_adam
database-name: dev_ln_scene
aliyun:
accessKeyId:
accessSecret:
......@@ -63,6 +63,6 @@ spring:
data:
mongodb:
sslEnabled: false
database: ln_adam_mdb
database: dev_ln_scene
trustStore:
trustStorePassword:
......@@ -16,7 +16,7 @@ liquidnet:
pattern-rolling-file-name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}-%d{yyyy-MM-dd}.%i.log
level-root: info
mysql:
database-name: test_ln_adam
database-name: test_ln_scene
aliyun:
accessKeyId:
accessSecret:
......@@ -63,6 +63,6 @@ spring:
data:
mongodb:
sslEnabled: false
database: test_ln_adam_mdb
database: test_ln_scene
trustStore:
trustStorePassword:
......@@ -16,7 +16,7 @@ liquidnet:
pattern-rolling-file-name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}-%d{yyyy-MM-dd}.%i.log
level-root: info
mysql:
database-name: ln_kylin
database-name: dev_ln_scene
#以下为spring各环境个性配置
spring:
......@@ -60,6 +60,6 @@ spring:
data:
mongodb:
sslEnabled: false
database: ln_kylin_mdb
database: dev_ln_scene
trustStore:
trustStorePassword:
......@@ -60,6 +60,6 @@ spring:
data:
mongodb:
sslEnabled: false
database: test_ln_kylin_mdb
database: test_ln_scene
trustStore:
trustStorePassword:
drop schema if exists ln_adam;
create database ln_adam character set utf8mb4 collate utf8mb4_unicode_ci;
use ln_adam;
create database if not exists ln_scene character set utf8mb4 collate utf8mb4_unicode_ci;
use ln_scene;
-- >>------------------------------------------------------------------------------------
drop table if exists 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_
# ) engine = InnoDB comment '登录记录';
# create index idx_login_mobile on adam_login (mobile);
-- >>------------------------------------------------------------------------------------
drop table if exists adam_device_token;
create table adam_device_token
(
mid int unsigned auto_increment primary key,
uid varchar(64) not null,
android varchar(255) null,
ios varchar(255) null,
ipad varchar(255) null,
is_last tinyint,
created_at datetime not null,
updated_at datetime,
comment text
) engine = InnoDB comment 'TOKEN';
create index idx_device_token_uid on adam_device_token (uid);
# drop table if exists adam_device_token;
# create table adam_device_token
# (
# mid int unsigned auto_increment primary key,
# uid varchar(64) not null,
# android varchar(255) null,
# ios varchar(255) null,
# ipad varchar(255) null,
# is_last tinyint,
# created_at datetime not null,
# updated_at datetime,
# comment text
# ) engine = InnoDB comment 'TOKEN';
#
# create index idx_device_token_uid on adam_device_token (uid);
-- >>------------------------------------------------------------------------------------
drop table if exists adam_user;
create table adam_user
......
drop schema if exists ln_kylin;
create database ln_kylin character set utf8mb4 collate utf8mb4_unicode_ci;
create database if not exists ln_scene character set utf8mb4 collate utf8mb4_unicode_ci;
-- >>------------------------------------------------------------------------------------
use `ln_kylin`;
use ln_scene;
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