|
@@ -0,0 +1,31 @@
|
|
1
|
+using Microsoft.EntityFrameworkCore.Migrations;
|
|
2
|
+
|
|
3
|
+namespace UnivateProperties_API.Migrations
|
|
4
|
+{
|
|
5
|
+ public partial class NewPropertyProperties : Migration
|
|
6
|
+ {
|
|
7
|
+ protected override void Up(MigrationBuilder migrationBuilder)
|
|
8
|
+ {
|
|
9
|
+ migrationBuilder.AddColumn<string>(
|
|
10
|
+ name: "Video",
|
|
11
|
+ table: "Properties",
|
|
12
|
+ nullable: true);
|
|
13
|
+
|
|
14
|
+ migrationBuilder.AddColumn<string>(
|
|
15
|
+ name: "VirtualTour",
|
|
16
|
+ table: "Properties",
|
|
17
|
+ nullable: true);
|
|
18
|
+ }
|
|
19
|
+
|
|
20
|
+ protected override void Down(MigrationBuilder migrationBuilder)
|
|
21
|
+ {
|
|
22
|
+ migrationBuilder.DropColumn(
|
|
23
|
+ name: "Video",
|
|
24
|
+ table: "Properties");
|
|
25
|
+
|
|
26
|
+ migrationBuilder.DropColumn(
|
|
27
|
+ name: "VirtualTour",
|
|
28
|
+ table: "Properties");
|
|
29
|
+ }
|
|
30
|
+ }
|
|
31
|
+}
|