diff options
| author | Paweł Bernaciak <pawelbernaciak@zohomail.eu> | 2023-10-21 15:54:10 +0200 |
|---|---|---|
| committer | Paweł Bernaciak <pawelbernaciak@zohomail.eu> | 2023-10-21 15:54:10 +0200 |
| commit | 0bdc7889bf9d6e666558717d1ff093616eb006d9 (patch) | |
| tree | 08fc697be18de8e4515dc039f53feaf9e3c505af /backend/Elements.Data/Migrations/20231021133049_Add recipes.cs | |
| parent | 2ef3bdcd89731c1ed9cb7528181d19b2d9169bb5 (diff) | |
Add rest of models to backend
Diffstat (limited to 'backend/Elements.Data/Migrations/20231021133049_Add recipes.cs')
| -rw-r--r-- | backend/Elements.Data/Migrations/20231021133049_Add recipes.cs | 29 |
1 files changed, 29 insertions, 0 deletions
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 +{ + /// <inheritdoc /> + public partial class Addrecipes : Migration + { + /// <inheritdoc /> + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn<string>( + name: "IconBitmap", + table: "Elements", + type: "TEXT", + nullable: false, + defaultValue: ""); + } + + /// <inheritdoc /> + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropColumn( + name: "IconBitmap", + table: "Elements"); + } + } +} |
