mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
13 lines
327 B
Ruby
13 lines
327 B
Ruby
# frozen_string_literal:true
|
|
|
|
class CreateSpacesAvailabilities < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :spaces_availabilities do |t|
|
|
t.belongs_to :space, index: true, foreign_key: true
|
|
t.belongs_to :availability, index: true, foreign_key: true
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|