Merge branch 'feature/docker-compose-support' of github.com:SimpleYoungMan/v2board into feature/docker-compose-support

This commit is contained in:
SimpleYoungMan 2019-10-29 14:20:09 +08:00
commit 67839802ea
2 changed files with 6 additions and 3 deletions

View File

@ -7,9 +7,9 @@ APP_URL=http://localhost
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_HOST=db
DB_PORT=3306
DB_DATABASE=laravel
DB_DATABASE=v2board
DB_USERNAME=root
DB_PASSWORD=

View File

@ -2,6 +2,9 @@ SET NAMES utf8;
SET time_zone = '+00:00';
SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
DROP DATABASE IF EXISTS `v2board`;
CREATE DATABASE `v2board`;
USE `v2board`;
DROP TABLE IF EXISTS `v2_invite_code`;
CREATE TABLE `v2_invite_code` (
@ -121,4 +124,4 @@ CREATE TABLE `v2_user` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- 2019-10-22 15:50:47
-- 2019-10-22 15:50:47