diff --git a/.env.example b/.env.example index 0edfb5ea..ecad6400 100755 --- a/.env.example +++ b/.env.example @@ -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= diff --git a/install.sql b/install.sql index bd95c9a2..44e4f2fc 100644 --- a/install.sql +++ b/install.sql @@ -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 \ No newline at end of file +-- 2019-10-22 15:50:47