mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-04 21:37:08 +00:00
16 lines
292 B
Bash
Executable File
16 lines
292 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Exit the script as soon as a command fails
|
|
set -e
|
|
|
|
# Create mysql databases if none exists
|
|
php artisan mysql:createdb
|
|
|
|
# Run migrations
|
|
php artisan migrate --force
|
|
|
|
# Run migrations for sandbox too
|
|
php artisan sandbox:migrate --force
|
|
|
|
# Seed database
|
|
php artisan fleetbase:seed |