Files
nairobi/db/migrate/20160520111735_create_budget_heading.rb
Juanjo Bazán b5a6828e41 adds Budget::Group model to group headings
many refactors through budget related models
2016-06-09 18:00:06 +02:00

11 lines
256 B
Ruby

class CreateBudgetHeading < ActiveRecord::Migration
def change
create_table :budget_headings do |t|
t.references :group, index: true
t.references :geozone
t.string :name, limit: 50
t.integer :price, limit: 8
end
end
end