mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Code restyling.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user