using System; using Microsoft.EntityFrameworkCore.Migrations; namespace DatamodelLibrary.Migrations { public partial class backupregister : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "BackupRegings", columns: table => new { Id = table.Column(type: "INTEGER", nullable: false) .Annotation("Sqlite:Autoincrement", true), BackedUp = table.Column(type: "TEXT", nullable: false), DbName = table.Column(type: "TEXT", nullable: true), BackupDbName = table.Column(type: "TEXT", nullable: true), BackupPath = table.Column(type: "TEXT", nullable: true) }, constraints: table => { table.PrimaryKey("PK_BackupRegings", x => x.Id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "BackupRegings"); } } }