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,29 +10,22 @@ 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.RenameColumn(
|
||||
name: "Visiblity",
|
||||
table: "Users",
|
||||
newName: "Visibility");
|
||||
migrationBuilder.RenameColumn(name: "Visiblity", table: "Users", newName: "Visibility");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "Visibility",
|
||||
table: "Users",
|
||||
newName: "Visiblity");
|
||||
migrationBuilder.RenameColumn(name: "Visibility", table: "Users", newName: "Visiblity");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_Users_UID",
|
||||
table: "Users",
|
||||
column: "UID",
|
||||
unique: true);
|
||||
unique: true
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user