mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-08 07:16:49 +00:00
Started on Pallet - the Fleetbase inventory management extension, added after-deploy.sh script to api
This commit is contained in:
13
api/after-deploy.sh
Normal file
13
api/after-deploy.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user