Skip to content

Commit da1cd1a

Browse files
committed
demo: MySQL env policy and gitignore (REQ-DEMO-011)
1 parent f4a5c2d commit da1cd1a

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

demo/symfony8/.env.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ KERNEL_CLASS='App\Kernel'
77
APP_SECRET=test_secret
88

99
# DATABASE_URL: isolated SQLite database for demo tests.
10-
DATABASE_URL="sqlite:///%kernel.project_dir%/var/test.db"
10+
DATABASE_URL=mysql://app:app@db:3306/app?serverVersion=8.4&charset=utf8mb4

demo/symfony8/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,8 @@
3030
*.tgz
3131
*.rar
3232
*.7z
33+
34+
# SQLite artifacts (REQ-DEMO-011 — demos use MySQL)
35+
*.db
36+
*.sqlite
37+
*.sqlite3

0 commit comments

Comments
 (0)