Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.225 kb
class CreateSongs < ActiveRecord::Migration
def self.up
create_table :songs do |t|
t.integer :artist_id
t.string :genre
t.integer :year
end
end
def self.down
drop_table :songs
end
end
Jump to Line
Something went wrong with that request. Please try again.