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

conversion from Sqlite3 to MySQL #33

Open
ZAJDAN opened this issue Jul 16, 2019 · 0 comments
Open

conversion from Sqlite3 to MySQL #33

ZAJDAN opened this issue Jul 16, 2019 · 0 comments

Comments

@ZAJDAN
Copy link

ZAJDAN commented Jul 16, 2019

Hello,
on Sqlite3 Devise worked without problem.
Now I converted db from Sqlite3 to MySQL and Rails returns error:
Mysql2::Error: Unknown column 'users.' in 'where clause': SELECT users.* FROM usersWHEREusers.`` = 1 LIMIT 1
in my Table is not column 'users'...I have just:
id, email, encrypted_password, reset_password_token, reset_password_sent_at, remember_created_at, sign_in_count, current_sign_in_at, last_sign_in_at, current_sign_in_ip, last_sign_in_ip, created_at, updated_at

is necessary do something more after such conversion database?

Thank You

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

No branches or pull requests

1 participant