Skip to content

Commit 0f6994b

Browse files
committed
fix: schema-dump.yml
1 parent 6df226c commit 0f6994b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/schema-dump.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,16 @@ jobs:
5252
- name: Generate Application Key
5353
run: php artisan key:generate
5454
- name: Clear Application Cache
55-
run: php artisan optimize:clear
55+
run: php artisan optimize:
56+
- name: Run Migrations
57+
run: php artisan migrate --force
58+
env:
59+
DB_CONNECTION: mysql
60+
DB_HOST: 127.0.0.1
61+
DB_PORT: ${{ job.services.mysql.ports['3306'] }}
62+
DB_DATABASE: unit3d
63+
DB_USERNAME: root
64+
DB_PASSWORD: null
5665
- name: Run Schema Dump
5766
run: php artisan schema:dump --path=database/schema/mysql-schema-new.sql
5867
env:

0 commit comments

Comments
 (0)