Added track files
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddAvailableFlagToTracks < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :tracks, :available, :boolean
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,12 @@
|
||||
class CreateTrackFiles < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :track_files do |t|
|
||||
t.integer :track_id
|
||||
t.integer :owner_id
|
||||
t.integer :audio_id
|
||||
t.integer :rating
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user