mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
@@ -10,13 +10,19 @@ namespace SharpbinV3.Server.Migrations
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(name: "Data", table: "Pastes", newName: "Content");
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "Data",
|
||||
table: "Pastes",
|
||||
newName: "Content");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(name: "Content", table: "Pastes", newName: "Data");
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "Content",
|
||||
table: "Pastes",
|
||||
newName: "Data");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user