-
Notifications
You must be signed in to change notification settings - Fork 630
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
Migration problems with database names that contain dots #512
Labels
Comments
@berliner Can you please explain what exotic method you used to create database?
|
@sergeyklay I had used Sequel Pro, but you can also achieve this on the command line:
|
Okay. I try to deal in the near future |
Okay. This is not Devtools issue. See phalcon/cphalcon#11359 Due to the fact that this isn't Devtools issue, I'm closing it. |
@berliner Fixed in Phalcon |
@sergeyklay Cool! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I had a problem using phalcon migration generate today. The problem seems to be, that the database had dots in it, e.g.: database.client.project
Running
phalcon migration generate
in the project folder resulted in the following message:abilities
is on of the tables in that database. I had to get the migration out fast, so I simply replaced all dots in the database name with underscores, changed the config file and restarted the migration, which ran without any problems.Using Phalcon DevTools (2.0.7) on OS X 10.10.5. I have used the same project and database with the same name and never had a problem before. I can't remember though if I have ever used the migration since the recent update from phalcon 2.0.1 to 2.0.7.
If the problem is not due to my local setup then it should be pretty straight forward to reproduce the problem. I am aware that dots are not the best bet when it comes to database names, but since this has worked in earlier versions of phalcon I wanted to share this finding.
The text was updated successfully, but these errors were encountered: