diff --git a/src/infrastructure/NHibernate/Migration/Migration20191113001.cs b/src/infrastructure/NHibernate/Migration/Migration20191113001.cs index 440cef6..ed30ce3 100644 --- a/src/infrastructure/NHibernate/Migration/Migration20191113001.cs +++ b/src/infrastructure/NHibernate/Migration/Migration20191113001.cs @@ -38,8 +38,7 @@ public override void Up() public override void Down() { - Delete.Table("ServiceRent"); Delete.Table("Services"); } } -} \ No newline at end of file +} diff --git a/src/infrastructure/NHibernate/Migration/Migration2019112402.cs b/src/infrastructure/NHibernate/Migration/Migration2019112402.cs index 39c0817..0fbbb2a 100644 --- a/src/infrastructure/NHibernate/Migration/Migration2019112402.cs +++ b/src/infrastructure/NHibernate/Migration/Migration2019112402.cs @@ -9,8 +9,8 @@ public override void Up() { Create.Table("Reservations") .WithColumn("Id").AsGuid().PrimaryKey() - .WithColumn("ReservationFrom").AsDateTime().NotNullable() - .WithColumn("ReservationTo").AsDateTime().NotNullable() + .WithColumn("ReservedFrom").AsDateTime().NotNullable() + .WithColumn("ReservedTo").AsDateTime().NotNullable() .WithColumn("UserId").AsGuid().NotNullable() .WithColumn("RoomId").AsGuid().NotNullable();