diff --git a/ConfectioneryDatabaseImplement/Migrations/20230307072144_add_client.cs b/ConfectioneryDatabaseImplement/Migrations/20230307072144_add_client.cs index df8a7e2..d125130 100644 --- a/ConfectioneryDatabaseImplement/Migrations/20230307072144_add_client.cs +++ b/ConfectioneryDatabaseImplement/Migrations/20230307072144_add_client.cs @@ -10,7 +10,7 @@ namespace ConfectioneryDatabaseImplement.Migrations /// protected override void Up(MigrationBuilder migrationBuilder) { - migrationBuilder.Sql("DELETE FROM Orders"); + migrationBuilder.Sql("TRUNCATE Orders"); migrationBuilder.AddColumn( name: "ClientId", table: "Orders",