using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace API.Migrations.library { /// public partial class Initial : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "LibraryConnectors", columns: table => new { LibraryConnectorId = table.Column(type: "character varying(64)", maxLength: 64, nullable: false), LibraryType = table.Column(type: "smallint", nullable: false), BaseUrl = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), Auth = table.Column(type: "character varying(256)", maxLength: 256, nullable: false) }, constraints: table => { table.PrimaryKey("PK_LibraryConnectors", x => x.LibraryConnectorId); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "LibraryConnectors"); } } }