Add room and dates to tracks
They are required only for accepted and confirmed self-organized tracks
This commit is contained in:
parent
d616c66745
commit
fd93b04f16
9 changed files with 99 additions and 2 deletions
|
|
@ -0,0 +1,7 @@
|
|||
class AddRoomAndDatesToTracks < ActiveRecord::Migration
|
||||
def change
|
||||
add_reference :tracks, :room, index: true, foreign_key: true
|
||||
add_column :tracks, :start_date, :date
|
||||
add_column :tracks, :end_date, :date
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue