-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Can't migrate database after 'rails g devise_token_auth:install User auth' #781
Comments
@dgleba I had the same issue, and removed that to make it to work. Although, I actually thought I had typed [4.2] by mistake. I am not sure, why that gets added in the migration. Could somebody please explain. |
I also had this issue, and removing [4.2] worked for me as well |
I got this issue too... |
It got it too |
Workaround posted, closing for now |
Hi! I am still getting this after I am trying rails g ...:
Why |
@maricavor your stack trace is hard to read, can you be more specific? |
I am following the steps on the readme.md.
I do this..
rails g devise_token_auth:install User auth
Then:
The first line in the migration file says:
class DeviseTokenAuthCreateUsers < ActiveRecord::Migration[4.2]
If i remove the
[4.2]
, it works.Is there a way to avoid this?
I am using this in a script and it would be nice if it didn't do this.
The error if the [4.2] is left in is:
The text was updated successfully, but these errors were encountered: