13 lines
237 B
Ruby
13 lines
237 B
Ruby
|
class CreateTrackArtists < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :track_artists do |t|
|
||
|
t.integer :track_id
|
||
|
t.integer :artist_id
|
||
|
t.boolean :main
|
||
|
t.string :join
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|