Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Commit

Permalink
Фикс в миграциях
Browse files Browse the repository at this point in the history
  • Loading branch information
nzour committed Nov 30, 2019
1 parent 1f2e771 commit 3e742b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ public override void Up()

public override void Down()
{
Delete.Table("ServiceRent");
Delete.Table("Services");
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 3e742b7

Please sign in to comment.