Devise

jeste, zeznuo sam jer sam prvo sam model ubacio.
uradio sam kao sto si rekao ali ga nije izbacio.


On Wed, Jul 16, 2014 at 6:55 PM, Darko Fabijan <notifications@github.com>
wrote:

> In db/schema.rb:
>
> > +    t.string   "email",                  default: "", null: false
> > +    t.string   "encrypted_password",     default: "", null: false
> > +    t.string   "reset_password_token"
> > +    t.datetime "reset_password_sent_at"
> > +    t.datetime "remember_created_at"
> > +    t.integer  "sign_in_count",          default: 0,  null: false
> > +    t.datetime "current_sign_in_at"
> > +    t.datetime "last_sign_in_at"
> > +    t.string   "current_sign_in_ip"
> > +    t.string   "last_sign_in_ip"
> > +    t.datetime "created_at"
> > +    t.datetime "updated_at"
> > +  end
> > +
> > +  add_index "models", ["email"], name: "index_models_on_email", unique: true, using: :btree
> > +  add_index "models", ["reset_password_token"], name: "index_models_on_reset_password_token", unique: true, using: :btree
>
> It seems that you have run devise migration by mistake with MODEL. Easiest
> way to fix this would be do drop and create database from scratch. You can
> accomplish this by running:
>
> be rake db:drop
> be rake db:create db:migrate
>
> It should remove unneeded model table from the database.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/draganf/gull-tracking/pull/4/files#r15012104>.
>