fix truncate
This commit is contained in:
parent
c77c0dfae6
commit
275c1135d1
@ -10,7 +10,7 @@ namespace ConfectioneryDatabaseImplement.Migrations
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void Up(MigrationBuilder migrationBuilder)
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
{
|
{
|
||||||
migrationBuilder.Sql("TRUNCATE Orders");
|
migrationBuilder.Sql("TRUNCATE TABLE Orders");
|
||||||
migrationBuilder.AddColumn<int>(
|
migrationBuilder.AddColumn<int>(
|
||||||
name: "ClientId",
|
name: "ClientId",
|
||||||
table: "Orders",
|
table: "Orders",
|
||||||
|
Loading…
Reference in New Issue
Block a user