udemy-go-web-1/migrations/20240706140145_create_room_restrictions_table.up.fizz

10 lines
281 B
Plaintext
Raw Normal View History

create_table("room_restrictions") {
t.Column("id", "integer", {primary: true})
t.Column("start_date", "date", {})
t.Column("end_date", "date", {})
t.Column("room_id", "integer", {})
t.Column("reservation_id", "integer", {})
t.Column("restriction_id", "integer", {})
}