class CreateSongs < ActiveRecord::Migration def self.up create_table :songs do |t| t.integer :artist_id t.string :genre t.integer :year t.integer :duration end end def self.down drop_table :songs end end