Fix .gitignore excluding Data source folder
The ignore rule `src/WishNinja/Data/` accidentally excluded the EF Core DbContext, entities, and migrations from the repo, breaking the CI build (WishNinja.Data namespace not found). Narrow the rule to ignore only the runtime artifacts (db/keys/uploads) and commit the missing source. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
48e13c4b57
commit
b42799df42
+8
-5
@@ -4,12 +4,15 @@ obj/
|
||||
*.user
|
||||
|
||||
## Local runtime data (db, uploads, data-protection keys)
|
||||
data/
|
||||
**/Data/*.db
|
||||
**/Data/*.db-shm
|
||||
**/Data/*.db-wal
|
||||
## NOTE: src/WishNinja/Data/ holds SOURCE (DbContext, entities, migrations) and must be
|
||||
## committed — only ignore the runtime artifacts that land inside it during local dev.
|
||||
/data/
|
||||
*.db
|
||||
*.db-shm
|
||||
*.db-wal
|
||||
src/WishNinja/smoke-data/
|
||||
src/WishNinja/Data/
|
||||
src/WishNinja/Data/uploads/
|
||||
src/WishNinja/Data/keys/
|
||||
|
||||
## IDE
|
||||
.vs/
|
||||
|
||||
Reference in New Issue
Block a user