This commit is contained in:
Olga Nemt 2023-11-02 10:53:14 +05:00
parent e7f9ac4c4f
commit bed5f4e6b4

View File

@ -8,26 +8,26 @@ namespace AsbCloudDb.Migrations
{
protected override void Up(MigrationBuilder migrationBuilder)
{
//migrationBuilder.UpdateData(
// table: "t_company_type",
// keyColumn: "id",
// keyValue: 1,
// columns: new[] { "caption", "order" },
// values: new object[] { "Недропользователь", 3 });
migrationBuilder.UpdateData(
table: "t_company_type",
keyColumn: "id",
keyValue: 1,
columns: new[] { "caption", "order" },
values: new object[] { "Недропользователь", 3 });
//migrationBuilder.UpdateData(
// table: "t_company_type",
// keyColumn: "id",
// keyValue: 2,
// columns: new[] { "is_contact", "order" },
// values: new object[] { true, 2 });
migrationBuilder.UpdateData(
table: "t_company_type",
keyColumn: "id",
keyValue: 2,
columns: new[] { "is_contact", "order" },
values: new object[] { true, 2 });
//migrationBuilder.UpdateData(
// table: "t_company_type",
// keyColumn: "id",
// keyValue: 3,
// columns: new[] { "is_contact", "order" },
// values: new object[] { true, 0 });
migrationBuilder.UpdateData(
table: "t_company_type",
keyColumn: "id",
keyValue: 3,
columns: new[] { "is_contact", "order" },
values: new object[] { true, 0 });
migrationBuilder.Sql(@"INSERT INTO public.t_company_type (id, caption, is_contact, ""order"") " +
@"VALUES (4, 'Сервис по ГТИ', true, 6) " +