* ✨ Introduce `EditDisc` migration in `NetinaShop.Repository.Migrations` * 🗃️ Add `BrandId` column to `OrderProducts` and `Discounts` tables * 🛠️ Set default value for `BrandId` in `OrderProducts` to `00000000-0000-0000-0000-000000000000` * 🗃️ Make `BrandId` in `Discounts` nullable * 🏷️ Create index on `BrandId` in `Discounts` table * 🔗 Add foreign key constraint from `Discounts` to `Brands` on `BrandId` * 🔄 Implement `Down` method to reverse migration changes * ⬆️ Update target framework to `net8.0` * 🔢 Increment `AssemblyVersion` and `FileVersion` in `Netina.Api.csproj` * 🏷️ Add `BrandId` and `Count` properties to `ApplicationContextModelSnapshot.cs` * 🆕 Add `BrandDiscount` entity inheriting from `Discount` with `BrandId` property Changes made by Amir.h Khademi |
||
---|---|---|
.config | ||
.vscode | ||
Netina.Api | ||
Netina.Common | ||
Netina.Core | ||
Netina.Domain | ||
Netina.Infrastructure | ||
Netina.Repository | ||
Tools/NetinaShop.WordPressDBConverter | ||
.dockerignore | ||
.gitattributes | ||
.gitignore | ||
.version | ||
Dockerfile | ||
Netina.sln |