From 0bdc7889bf9d6e666558717d1ff093616eb006d9 Mon Sep 17 00:00:00 2001 From: Paweł Bernaciak Date: Sat, 21 Oct 2023 15:54:10 +0200 Subject: Add rest of models to backend --- .../Migrations/20231021133049_Add recipes.cs | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 backend/Elements.Data/Migrations/20231021133049_Add recipes.cs (limited to 'backend/Elements.Data/Migrations/20231021133049_Add recipes.cs') diff --git a/backend/Elements.Data/Migrations/20231021133049_Add recipes.cs b/backend/Elements.Data/Migrations/20231021133049_Add recipes.cs new file mode 100644 index 0000000..74d1ac6 --- /dev/null +++ b/backend/Elements.Data/Migrations/20231021133049_Add recipes.cs @@ -0,0 +1,29 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace Elements.Data.Migrations +{ + /// + public partial class Addrecipes : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "IconBitmap", + table: "Elements", + type: "TEXT", + nullable: false, + defaultValue: ""); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropColumn( + name: "IconBitmap", + table: "Elements"); + } + } +} -- cgit v1.2.3