Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b7fa4b4b57
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (14 sloc) 0.362 kB
class CreateOccupationTitles < ActiveRecord::Migration
def self.up
create_table :occupation_titles do |t|
t.column :name, :string
t.column :occupation_type_id, :integer
#foreign key for the occupation_types table
t.column :notes, :text
t.timestamps
end
end
def self.down
drop_table :occupation_titles
end
end
Jump to Line
Something went wrong with that request. Please try again.