Kaynağa Gözat

add db migrate

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
pull/1/merge
Bo-Yi Wu 6 yıl önce
ebeveyn
işleme
58dee45fa7
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: F84B2110C500B1F
2 değiştirilmiş dosya ile 7 ekleme ve 6 silme
  1. +4
    -3
      .drone.yml
  2. +3
    -3
      .env.example

+ 4
- 3
.drone.yml Dosyayı Görüntüle

@ -25,6 +25,7 @@ pipeline:
- cp .env.example .env
- composer install --prefer-dist
- php artisan key:generate
- php artisan migrate
- ./vendor/bin/phpunit
services:
@ -37,6 +38,6 @@ services:
postgres:
image: postgres:9.5.5
environment:
- POSTGRES_DB=test
- POSTGRES_USER=test
- POSTGRES_PASSWORD=
- POSTGRES_DB=homestead
- POSTGRES_USER=homestead
- POSTGRES_PASSWORD=secret

+ 3
- 3
.env.example Dosyayı Görüntüle

@ -5,9 +5,9 @@ APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_CONNECTION=pgsql
DB_HOST=postgres
DB_PORT=5432
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

Yükleniyor…
İptal
Kaydet