source: resTools_backend/backend/Migrations/20220824133642_Priority-ToDO.cs@ 13f1472

Last change on this file since 13f1472 was a569b7c, checked in by Danilo <danilo.najkov@…>, 22 months ago

todo items full functionality

  • Property mode set to 100644
File size: 676 bytes
Line 
1using Microsoft.EntityFrameworkCore.Migrations;
2
3#nullable disable
4
5namespace backend.Migrations
6{
7 public partial class PriorityToDO : Migration
8 {
9 protected override void Up(MigrationBuilder migrationBuilder)
10 {
11 migrationBuilder.AddColumn<int>(
12 name: "Priority",
13 table: "ToDoItems",
14 type: "integer",
15 nullable: false,
16 defaultValue: 0);
17 }
18
19 protected override void Down(MigrationBuilder migrationBuilder)
20 {
21 migrationBuilder.DropColumn(
22 name: "Priority",
23 table: "ToDoItems");
24 }
25 }
26}
Note: See TracBrowser for help on using the repository browser.