source: resTools_backend/backend/Migrations/20220411130410_Add-Persons.cs

Last change on this file was 7a983b0, checked in by Danilo <danilo.najkov@…>, 3 years ago

move files

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