fix truncate

This commit is contained in:
Данияр Аглиуллов 2023-03-17 23:10:39 +04:00
parent c77c0dfae6
commit 275c1135d1

View File

@ -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",