mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-04 15:24:23 +01:00
9 lines
254 B
Ruby
9 lines
254 B
Ruby
|
class CreateEventsEventThemes < ActiveRecord::Migration
|
||
|
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
|