Rake db:migrate

Hello,

I'm trying to use command rake db:migrate, but in MySQL I continuous get an empty set and I do know why.

#/db/seeds.rb User.create(username: "lorenz", password: "mypass", admin: true)

When I run: rake db:seed RAILS_ENV=development --trace

I received: ** Invoke db:seed (first_time) ** Execute db:seed ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Invoke db:load_config (first_time) ** Execute db:load_config ** Execute db:abort_if_pending_migrations

and my database keep empty.

The migration is new and it works.

Thanks to all.

What do you see if you run rake db:migrate

Colin

Colin Law wrote in post #1108068:

So what do you see when you run rake db:migrate? Please copy/paste the result. Also then please run rake db:seed and copy/paste the result here. Also paste the complete db/seeds.rb and anything added to development.log by the running of rake db:seed. Please include the command invocation in the pasted result.

Colin

Colin Law wrote in post #1108191: