using Microsoft.EntityFrameworkCore.Migrations; #nullable disable #pragma warning disable CA1814 // Prefer jagged arrays over multidimensional namespace CartriX.Api.Migrations { /// public partial class Init3 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "AddressOIDs", columns: table => new { Id = table.Column(type: "INTEGER", nullable: false) .Annotation("Sqlite:Autoincrement", true), OIDAddress = table.Column(type: "TEXT", nullable: false) }, constraints: table => { table.PrimaryKey("PK_AddressOIDs", x => x.Id); }); migrationBuilder.InsertData( table: "AddressOIDs", columns: new[] { "Id", "OIDAddress" }, values: new object[,] { { 1, "1.3.6.1.2.1.43.10.2.1.4.1.1" }, { 2, "1.3.6.1.4.1.40093.6.4.1" } }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "AddressOIDs"); } } }