chore: format via csharpier

This commit is contained in:
2026-01-09 15:13:57 -05:00
parent 284c5e927e
commit 7a2eb699f4
35 changed files with 784 additions and 464 deletions
@@ -10,42 +10,39 @@ namespace SharpbinV3.Server.Migrations
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "FilePath",
table: "Pastes");
migrationBuilder.DropColumn(name: "FilePath", table: "Pastes");
migrationBuilder.AddColumn<byte[]>(
name: "Data",
table: "Pastes",
type: "BLOB",
nullable: false,
defaultValue: new byte[0]);
defaultValue: new byte[0]
);
migrationBuilder.AddColumn<bool>(
name: "IsCompressed",
table: "Pastes",
type: "INTEGER",
nullable: false,
defaultValue: false);
defaultValue: false
);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Data",
table: "Pastes");
migrationBuilder.DropColumn(name: "Data", table: "Pastes");
migrationBuilder.DropColumn(
name: "IsCompressed",
table: "Pastes");
migrationBuilder.DropColumn(name: "IsCompressed", table: "Pastes");
migrationBuilder.AddColumn<string>(
name: "FilePath",
table: "Pastes",
type: "TEXT",
nullable: false,
defaultValue: "");
defaultValue: ""
);
}
}
}