Skip to content

Commit bd34417

Browse files
committed
fix: add empty migration, fix db namespace
We need to add the /app prefix because that's the path where our project folder is mounted inside the container.
1 parent 2b8ad07 commit bd34417

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

testbench.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ laravel: '@testbench'
22

33
env:
44
- DB_CONNECTION=sqlite
5-
- DB_DATABASE=workbench/database/database.sqlite
5+
- DB_DATABASE=/app/workbench/database/database.sqlite
66
- APP_KEY=base64:ZQvPGC7uVADkjOgtGIIuCI8u3/Pzu+VaRObIbHsgjCc=
77
- APP_ENV=local
88
- APP_DEBUG=true
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
5+
return new class extends Migration
6+
{
7+
public function up(): void
8+
{
9+
// Intentionally left blank.
10+
// This migration exists only to avoid a duplicate "permissions" table creation.
11+
}
12+
13+
public function down(): void
14+
{
15+
// No-op.
16+
}
17+
};

0 commit comments

Comments
 (0)