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");
}
}
}