Started on Pallet - the Fleetbase inventory management extension, added after-deploy.sh script to api

This commit is contained in:
Ronald A. Richardson
2023-07-25 14:48:44 +08:00
parent 0f8f7bb423
commit 1e5ea0e2fa
4 changed files with 23 additions and 0 deletions

13
api/after-deploy.sh Normal file
View 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