Code restyling.

This commit is contained in:
2020-02-29 18:03:35 +00:00
parent 4ea327f0c6
commit f7e173710e
855 changed files with 43605 additions and 38045 deletions

View File

@@ -6,52 +6,50 @@ namespace Aaru.Database.Migrations
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable("Commands",
table => new
{
Id = table.Column<int>(nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Name = table.Column<string>(nullable: true),
Synchronized = table.Column<bool>(nullable: false)
}, constraints: table => { table.PrimaryKey("PK_Commands", x => x.Id); });
migrationBuilder.CreateTable("Commands", table => new
{
Id = table.Column<int>().Annotation("Sqlite:Autoincrement", true),
Name = table.Column<string>(nullable: true), Synchronized = table.Column<bool>()
}, constraints: table =>
{
table.PrimaryKey("PK_Commands", x => x.Id);
});
migrationBuilder.CreateTable("Filesystems",
table => new
{
Id = table.Column<int>(nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Name = table.Column<string>(nullable: true),
Synchronized = table.Column<bool>(nullable: false)
},
constraints: table => { table.PrimaryKey("PK_Filesystems", x => x.Id); });
migrationBuilder.CreateTable("Filesystems", table => new
{
Id = table.Column<int>().Annotation("Sqlite:Autoincrement", true),
Name = table.Column<string>(nullable: true), Synchronized = table.Column<bool>()
}, constraints: table =>
{
table.PrimaryKey("PK_Filesystems", x => x.Id);
});
migrationBuilder.CreateTable("Filters",
table => new
{
Id = table.Column<int>(nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Name = table.Column<string>(nullable: true),
Synchronized = table.Column<bool>(nullable: false)
}, constraints: table => { table.PrimaryKey("PK_Filters", x => x.Id); });
migrationBuilder.CreateTable("Filters", table => new
{
Id = table.Column<int>().Annotation("Sqlite:Autoincrement", true),
Name = table.Column<string>(nullable: true), Synchronized = table.Column<bool>()
}, constraints: table =>
{
table.PrimaryKey("PK_Filters", x => x.Id);
});
migrationBuilder.CreateTable("MediaFormats",
table => new
{
Id = table.Column<int>(nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Name = table.Column<string>(nullable: true),
Synchronized = table.Column<bool>(nullable: false)
},
constraints: table => { table.PrimaryKey("PK_MediaFormats", x => x.Id); });
migrationBuilder.CreateTable("MediaFormats", table => new
{
Id = table.Column<int>().Annotation("Sqlite:Autoincrement", true),
Name = table.Column<string>(nullable: true), Synchronized = table.Column<bool>()
}, constraints: table =>
{
table.PrimaryKey("PK_MediaFormats", x => x.Id);
});
migrationBuilder.CreateTable("Partitions",
table => new
{
Id = table.Column<int>(nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Name = table.Column<string>(nullable: true),
Synchronized = table.Column<bool>(nullable: false)
}, constraints: table => { table.PrimaryKey("PK_Partitions", x => x.Id); });
migrationBuilder.CreateTable("Partitions", table => new
{
Id = table.Column<int>().Annotation("Sqlite:Autoincrement", true),
Name = table.Column<string>(nullable: true), Synchronized = table.Column<bool>()
}, constraints: table =>
{
table.PrimaryKey("PK_Partitions", x => x.Id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)