Closed lothar59 closed 12 years ago
We use the Devise generator which creates a User table. So we can use change table to add a user name. Are you using the tutorial? It says "Devise created a migration file to establish the schema for the SQLite database with a migration file named something like db/migrate/xxxxxxx_devise_create_users.rb. We won’t modify the migration file. Instead we’ll add an additional migration that adds the “name” field to the User record."
Perhaps I need to explain more in the tutorial? Let me know if you think additional clarity would be helpful.
Hi Daniel, yes i didn't remember about the command for devise to create the user table so i just changed my migration and it worked fine.
Thanks for your answer
Glad you sorted it out.
Thank you you for this awesome project.
The first migration from devise is change_table but we didn't create the table yet. shouldn't that be create_table instead ?