From 7c33b3f334cf91918add7af08866f2ea37ed9c3f Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Thu, 3 Sep 2026 23:06:05 +1000 Subject: chore: initial commit --- .../Migrations/20260902214847_InitialCreate.cs | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/marlin.web/Migrations/20260902214847_InitialCreate.cs (limited to 'src/marlin.web/Migrations/20260902214847_InitialCreate.cs') diff --git a/src/marlin.web/Migrations/20260902214847_InitialCreate.cs b/src/marlin.web/Migrations/20260902214847_InitialCreate.cs new file mode 100644 index 0000000..6c91890 --- /dev/null +++ b/src/marlin.web/Migrations/20260902214847_InitialCreate.cs @@ -0,0 +1,35 @@ +using System; +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace marlin.web.Migrations +{ + /// + public partial class InitialCreate : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.CreateTable( + name: "sources", + columns: table => new + { + id = table.Column(type: "uuid", nullable: false), + upstream_url = table.Column(type: "text", nullable: false), + branch_filter = table.Column(type: "text", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("pk_sources", x => x.id); + }); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "sources"); + } + } +} -- cgit v1.3.1