Skip to content

Commit a9c0947

Browse files
committed
docs: clarify planned features and database initialization method
1 parent 81410da commit a9c0947

2 files changed

Lines changed: 13 additions & 14 deletions

File tree

.github/copilot-instructions.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# GitHub Copilot Instructions
22

3-
> **⚡ Token Efficiency Note**: This is a minimal pointer file (~500 tokens, auto-loaded by Copilot).
4-
> For complete operational details, reference: `#file:AGENTS.md` (~2,500 tokens, loaded on-demand)
3+
> **⚡ Token Efficiency Note**: This is a minimal pointer file (~500 tokens, auto-loaded by Copilot).
4+
> For complete operational details, reference: `#file:AGENTS.md` (~2,500 tokens, loaded on-demand)
55
> For specialized knowledge, use: `#file:SKILLS/<skill-name>/SKILL.md` (loaded on-demand when needed)
66
77
## 🎯 Quick Context
88

9-
**Project**: ASP.NET Core 8 REST API demonstrating layered architecture patterns
10-
**Stack**: .NET 8 (LTS) • EF Core 9 • SQLite • Docker • xUnit
11-
**Pattern**: Repository + Service Layer + AutoMapper + FluentValidation
9+
**Project**: ASP.NET Core 8 REST API demonstrating layered architecture patterns
10+
**Stack**: .NET 8 (LTS) • EF Core 9 • SQLite • Docker • xUnit
11+
**Pattern**: Repository + Service Layer + AutoMapper + FluentValidation
1212
**Philosophy**: Learning-focused PoC emphasizing clarity and best practices
1313

1414
## 📐 Core Conventions
@@ -22,7 +22,7 @@
2222

2323
## 🏗️ Architecture at a Glance
2424

25-
```
25+
```text
2626
Controller → Service → Repository → Database
2727
↓ ↓
2828
Validation Caching
@@ -68,8 +68,8 @@ docker compose up
6868

6969
## 📚 Need More Detail?
7070

71-
**For operational procedures**: Load `#file:AGENTS.md`
72-
**For Docker expertise**: Load `#file:SKILLS/docker-containerization/SKILL.md`
71+
**For operational procedures**: Load `#file:AGENTS.md`
72+
**For Docker expertise**: *(Planned)* `#file:SKILLS/docker-containerization/SKILL.md`
7373
**For testing patterns**: *(Planned)* `#file:SKILLS/testing-patterns/SKILL.md`
7474

7575
---

AGENTS.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -297,13 +297,12 @@ rm src/Dotnet.Samples.AspNetCore.WebApi/Storage/players.db
297297
### EF Core migration issues
298298

299299
```bash
300-
# List migrations
301-
dotnet ef migrations list --project src/Dotnet.Samples.AspNetCore.WebApi
300+
# This project uses EnsureCreated() for database initialization
301+
# Schema is automatically created on first run
302302

303-
# Apply migrations manually (usually auto-applied on startup)
304-
dotnet ef database update --project src/Dotnet.Samples.AspNetCore.WebApi
305-
306-
# Note: This project uses EnsureCreated(), not migrations
303+
# To reset the database, delete the SQLite file:
304+
rm src/Dotnet.Samples.AspNetCore.WebApi/Storage/players.db
305+
# Database will be recreated on next startup
307306
```
308307

309308
### SSL certificate issues (HTTPS)

0 commit comments

Comments
 (0)