Last change
on this file was cc4db18, checked in by Danilo <danilo.najkov@…>, 2 years ago |
reservation module changes + contact module + menu module
|
-
Property mode
set to
100644
|
File size:
681 bytes
|
Line | |
---|
1 | using Microsoft.EntityFrameworkCore.Migrations;
|
---|
2 |
|
---|
3 | #nullable disable
|
---|
4 |
|
---|
5 | namespace backend.Migrations
|
---|
6 | {
|
---|
7 | public partial class ReservationTables : Migration
|
---|
8 | {
|
---|
9 | protected override void Up(MigrationBuilder migrationBuilder)
|
---|
10 | {
|
---|
11 | migrationBuilder.AddColumn<int>(
|
---|
12 | name: "Table",
|
---|
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: "Table",
|
---|
23 | table: "Reservations");
|
---|
24 | }
|
---|
25 | }
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.