summaryrefslogtreecommitdiff
path: root/src/marlin.web/Migrations/20260905104308_BlobNowBinary.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2026-09-06 09:02:31 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2026-09-06 09:02:31 +1000
commita9bc03fb01b5d1ac41bf5592f384d22df5425aa4 (patch)
tree16ae13e19d2a3cd7488202c30790d09557559d70 /src/marlin.web/Migrations/20260905104308_BlobNowBinary.cs
parentc00992ffad24212c4398736efd6d707d4cb0cc0d (diff)
feat: vcs and secret management support
Diffstat (limited to 'src/marlin.web/Migrations/20260905104308_BlobNowBinary.cs')
-rw-r--r--src/marlin.web/Migrations/20260905104308_BlobNowBinary.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/marlin.web/Migrations/20260905104308_BlobNowBinary.cs b/src/marlin.web/Migrations/20260905104308_BlobNowBinary.cs
new file mode 100644
index 0000000..493e698
--- /dev/null
+++ b/src/marlin.web/Migrations/20260905104308_BlobNowBinary.cs
@@ -0,0 +1,40 @@
+using Microsoft.EntityFrameworkCore.Migrations;
+
+#nullable disable
+
+namespace marlin.web.Migrations
+{
+ /// <inheritdoc />
+ public partial class BlobNowBinary : Migration
+ {
+ /// <inheritdoc />
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropColumn(
+ name: "content",
+ table: "source_blobs");
+
+ migrationBuilder.AddColumn<byte[]>(
+ name: "content",
+ table: "source_blobs",
+ type: "bytea",
+ nullable: false,
+ defaultValue: new byte[0]);
+ }
+
+ /// <inheritdoc />
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropColumn(
+ name: "content",
+ table: "source_blobs");
+
+ migrationBuilder.AddColumn<string>(
+ name: "content",
+ table: "source_blobs",
+ type: "text",
+ nullable: false,
+ defaultValue: "");
+ }
+ }
+}