Commit a271523
Add SQL Server auto-initialization support
Implemented auto-initialization for SQL Server container using inline bash command:
- Added healthcheck to ensure SQL Server is ready before running init scripts
- Auto-creates both Chinook and Chinook_AutoIncrement databases on startup
- Loads data from both SQL scripts automatically
- Uses inline command in docker-compose.yml (no external script files needed)
All 70 SQL Server tests now pass after container startup (~1 minute).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent dacf034 commit a271523
1 file changed
+20
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
0 commit comments