Files
nairobi/db/migrate/20160518142529_create_budgets.rb
2016-05-20 12:40:52 +02:00

16 lines
400 B
Ruby

class CreateBudgets < ActiveRecord::Migration
def change
create_table :budgets do |t|
t.string "name", limit: 30
t.text "description"
t.string "currency_symbol", limit: 10
t.string "phase", default: "on_hold", limit: 15
t.boolean "valuating", default: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
end
end