using Microsoft.EntityFrameworkCore.Migrations; namespace BlazorApp.Migrations { public partial class InitialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Calendars", columns: table => new { Id = table.Column(type: "INTEGER", nullable: false) .Annotation("Sqlite:Autoincrement", true), Url = table.Column(type: "TEXT", nullable: true), Username = table.Column(type: "TEXT", nullable: true), Password = table.Column(type: "TEXT", nullable: true) }, constraints: table => { table.PrimaryKey("PK_Calendars", x => x.Id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Calendars"); } } }