DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class MigrationClass < ActiveRecord::Migration[4.2] (called from require at bin/rails:4)
16 lines
405 B
Ruby
16 lines
405 B
Ruby
class CreateBudgets < ActiveRecord::Migration[4.2]
|
|
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
|