delete на truncate

This commit is contained in:
Данияр Аглиуллов 2023-03-08 14:42:10 +04:00
parent 8044cadda1
commit 97b76f3ba6

View File

@ -10,7 +10,7 @@ namespace ConfectioneryDatabaseImplement.Migrations
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql("DELETE FROM Orders");
migrationBuilder.Sql("TRUNCATE Orders");
migrationBuilder.AddColumn<int>(
name: "ClientId",
table: "Orders",