mirror of
https://github.com/archtechx/tenancy-queue-tester.git
synced 2025-12-12 06:44:05 +00:00
start redis -> up redis
This commit is contained in:
parent
4f70ebc8fb
commit
8bca2252da
1 changed files with 1 additions and 1 deletions
2
test.sh
2
test.sh
|
|
@ -69,7 +69,7 @@ dispatch_tenant_job() {
|
|||
rm -f src/database.sqlite
|
||||
rm -f src/database/tenantfoo.sqlite
|
||||
|
||||
docker compose start redis # in case it's not running - the below setup code needs Redis to be running
|
||||
docker compose up -d redis # in case it's not running - the below setup code needs Redis to be running
|
||||
|
||||
docker compose run --rm queue php artisan migrate:fresh >/dev/null
|
||||
docker compose run --rm queue php artisan tinker -v --execute "App\\Models\\Tenant::create(['id' => 'foo', 'tenancy_db_name' => 'tenantfoo.sqlite']);"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue