16 lines
400 B
Ruby
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
|