Skip to content

Commit

Permalink
Refactor EF Core migrations and add SQLite support
Browse files Browse the repository at this point in the history
Updated `Migrators.MSSQL.csproj` to include new migration folders for better organization. Removed initial migration files (`20220427213719_initial.Designer.cs` and `20220427213719_initial.cs`) and model snapshots for `ApplicationDbContext` and `TenantDbContext`, indicating a shift in migration strategy.

Introduced new SQLite migration `InitialCreate` to set up schemas for `Auditing`, `Catalog`, and `Identity`. Added tables for `AuditTrails`, `Brands`, `Products`, and various identity-related entities with necessary constraints and indexes.

Added new model snapshots for `ApplicationDbContext` and `TenantDbContext`, including multi-tenancy support and schema definitions for `Brand`, `Product`, `Trail`, and identity-related entities.
  • Loading branch information
giovanninocco committed Aug 21, 2024
1 parent 285974e commit 6422cae
Show file tree
Hide file tree
Showing 9 changed files with 476 additions and 493 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
<ItemGroup>
<ProjectReference Include="..\..\Infrastructure\Infrastructure.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="Migrations\Application\" />
<Folder Include="Migrations\Tenant\" />
</ItemGroup>
</Project>

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6422cae

Please sign in to comment.