Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

email field not created in the database #23

Closed
sandspit opened this issue Nov 4, 2009 · 3 comments
Closed

email field not created in the database #23

sandspit opened this issue Nov 4, 2009 · 3 comments

Comments

@sandspit
Copy link

sandspit commented Nov 4, 2009

ruby script/generate devise Model
rake db:migrate

email field not created in the database;
rake aborted!
Mysql::Error: Key column 'email' doesn't exist in table: CREATE UNIQUE INDEX `index_

@josevalim
Copy link
Contributor

Please update your migration to use t.authenticatable instead of t.authenticable. There was a version with deprecations, I guess you missed it.

@josevalim
Copy link
Contributor

Actually, now I realized that the migration in generator was outdated. Already fixed. Please reinstall devise 0.4.1. Thanks!

@sandspit
Copy link
Author

sandspit commented Nov 4, 2009

Cool updated it, appreciate all your work - really impressive. I will try to be more helpful and dig to the issue next time.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants