Implement tracks/{show,listen}
This commit is contained in:
13
db/migrate/20110713182005_create_tracks.rb
Normal file
13
db/migrate/20110713182005_create_tracks.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class CreateTracks < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :tracks do |t|
|
||||
t.string :name
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :tracks
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user