Fix wrong migration

This commit is contained in:
benji 2015-09-01 15:12:13 +02:00
parent 71db4d600b
commit a220397a33
2 changed files with 1 additions and 2 deletions

View file

@ -1,5 +1,5 @@
class RemoveDebtFromUsers < ActiveRecord::Migration
def change
remove_column :users, :debt, :int
remove_column :users, :debt_cents, :int
end
end

View file

@ -48,7 +48,6 @@ ActiveRecord::Schema.define(version: 20150827155036) do
end
create_table "users", force: :cascade do |t|
t.integer "debt_cents", default: 0, null: false
t.datetime "created_at"
t.datetime "updated_at"
t.datetime "remember_created_at"