mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
chore: format via csharpier
This commit is contained in:
@@ -10,9 +10,7 @@ namespace SharpbinV3.Server.Migrations
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_Users_UID",
|
||||
table: "Users");
|
||||
migrationBuilder.DropIndex(name: "IX_Users_UID", table: "Users");
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "UID",
|
||||
@@ -20,20 +18,16 @@ namespace SharpbinV3.Server.Migrations
|
||||
type: "INTEGER",
|
||||
nullable: true,
|
||||
oldClrType: typeof(int),
|
||||
oldType: "INTEGER");
|
||||
oldType: "INTEGER"
|
||||
);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_Users_UID",
|
||||
table: "Users",
|
||||
column: "UID");
|
||||
migrationBuilder.CreateIndex(name: "IX_Users_UID", table: "Users", column: "UID");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_Users_UID",
|
||||
table: "Users");
|
||||
migrationBuilder.DropIndex(name: "IX_Users_UID", table: "Users");
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "UID",
|
||||
@@ -43,13 +37,15 @@ namespace SharpbinV3.Server.Migrations
|
||||
defaultValue: 0,
|
||||
oldClrType: typeof(int),
|
||||
oldType: "INTEGER",
|
||||
oldNullable: true);
|
||||
oldNullable: true
|
||||
);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_Users_UID",
|
||||
table: "Users",
|
||||
column: "UID",
|
||||
unique: true);
|
||||
unique: true
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user