https://github.com/alivedevil/inkforge
https://github.com/alivedevil/inkforge
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alivedevil/inkforge
- Owner: AliveDevil
- License: eupl-1.2
- Created: 2024-02-02T16:00:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-05T10:34:08.000Z (about 2 years ago)
- Last Synced: 2025-01-18T05:17:27.763Z (over 1 year ago)
- Language: C#
- Size: 1.81 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# InkForge
## Modifying EF Model
Apply Migrations for Notes-Database (`InkForge.Data`) or Identity-Database (including Workspaces, `InkForge.Api.Data`)
**InkForge.Data**:
```
dotnet ef migrations add \
--startup-project design/InkForge.Migrations/ \
--project shared/migrations/InkForge.Sqlite/ \
-c InkForge.Data.NoteDbContext -- \
--DbProvider Sqlite --connectionstrings-defaultconnection "Data Source=:memory:"
```
**InkForge.Api.Data**:
```
dotnet ef migrations add \
--startup-project design/InkForge.Migrations/ \
--project migrations/InkForge.Api.Sqlite \
-c InkForge.Api.Data.ApiDbContext -- \
--DbProvider Sqlite --connectionstrings-defaultconnection "Data Source=:memory:"
```