mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General code refactor and reformat.
This commit is contained in:
@@ -6,45 +6,24 @@ namespace DiscImageChef.Database.Migrations
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Manufacturer",
|
||||
table: "Reports",
|
||||
nullable: true);
|
||||
migrationBuilder.AddColumn<string>("Manufacturer", "Reports", nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Model",
|
||||
table: "Reports",
|
||||
nullable: true);
|
||||
migrationBuilder.AddColumn<string>("Model", "Reports", nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Revision",
|
||||
table: "Reports",
|
||||
nullable: true);
|
||||
migrationBuilder.AddColumn<string>("Revision", "Reports", nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "Type",
|
||||
table: "Reports",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
migrationBuilder.AddColumn<int>("Type", "Reports", nullable: false, defaultValue: 0);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Manufacturer",
|
||||
table: "Reports");
|
||||
migrationBuilder.DropColumn("Manufacturer", "Reports");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Model",
|
||||
table: "Reports");
|
||||
migrationBuilder.DropColumn("Model", "Reports");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Revision",
|
||||
table: "Reports");
|
||||
migrationBuilder.DropColumn("Revision", "Reports");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Type",
|
||||
table: "Reports");
|
||||
migrationBuilder.DropColumn("Type", "Reports");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user