We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I try to add a column named "token" to the Users table like this:
bin/cake bake migration AddTokenToUsers token:string
bake generate this code:
public function change() { $table = $this->table('ken_to_users');
Then, when I try to run the migration I get
[RuntimeException] Cannot update a table that doesn't exist!
It works if I do it this way:
bin/cake bake migration AddtokenToUsers token:string
The text was updated successfully, but these errors were encountered:
fix issue with field name starting with a delimiter
08a8099
ref #147
fixed in #148
Sorry, something went wrong.
It appears this is still the case when the second part of a column name starts with To. I just noticed this running the following instruction:
To
cake bake migration --plugin DeZelf AddConfirmationTokenToUsers confirmation_token:string?[191]
@acjbizar Please open a new issue.
No branches or pull requests
When I try to add a column named "token" to the Users table like this:
bake generate this code:
Then, when I try to run the migration I get
It works if I do it this way:
The text was updated successfully, but these errors were encountered: