1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/db/migrate/20160628131408_create_events_event_themes.rb

11 lines
289 B
Ruby
Raw Normal View History

# frozen_string_literal:true
class CreateEventsEventThemes < ActiveRecord::Migration[4.2]
2016-06-28 15:56:37 +02:00
def change
create_table :events_event_themes do |t|
t.belongs_to :event, index: true, foreign_key: true
t.belongs_to :event_theme, index: true, foreign_key: true
end
end
end