Merge pull request 'pushing migration changes from now -on' (#41) from fix/migration-issue into Dev
Reviewed-on: #41
This commit was merged in pull request #41.
This commit is contained in:
+1
-4
@@ -36,7 +36,4 @@ Testing/e2e/test-results/
|
|||||||
Testing/e2e/.auth/
|
Testing/e2e/.auth/
|
||||||
Testing/e2e/blob-report/
|
Testing/e2e/blob-report/
|
||||||
|
|
||||||
# ── Migrations ─────────────────────────────────────────────────────────
|
|
||||||
# Each dev keeps EF Core migrations local; DB schema changes are announced
|
|
||||||
# to the team instead of committed, so migration files aren't shared here.
|
|
||||||
Migrations/
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+6956
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,29 @@
|
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace ERPCore.Migrations
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class AddItemTypeIsMeasurable : Migration
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AddColumn<bool>(
|
||||||
|
name: "IsMeasurable",
|
||||||
|
table: "item_types",
|
||||||
|
type: "boolean",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: false);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "IsMeasurable",
|
||||||
|
table: "item_types");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user