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

[ERROR] Duplicate table phalcon_migrations #104

Closed
yassinrais opened this issue Feb 27, 2021 · 3 comments
Closed

[ERROR] Duplicate table phalcon_migrations #104

yassinrais opened this issue Feb 27, 2021 · 3 comments
Assignees
Labels
bug Something isn't working PostgreSQL
Milestone

Comments

@yassinrais
Copy link

Fatal Error: SQLSTATE[42P07]: Duplicate table: 7 ERROR:  relation "phalcon_migrations" already exists  

When the migrations list was empty it throw this error after reun the migration run twice

@yassinrais
Copy link
Author

yassinrais commented Feb 27, 2021

Also

Runtime Error: Migrations were not found at:resources/migrations

the folder path is correct and i check it twice

Folder :
image

@Jeckerson
Copy link
Member

Hello, table phalcon_migrations is created automatically, you don't need to have it inside migrations directory.

Also, please specify what is migrations version and your configuration file.

@yassinrais
Copy link
Author

Its work ! great job :D

@Jeckerson Jeckerson added bug Something isn't working PostgreSQL labels Feb 28, 2021
@Jeckerson Jeckerson added this to the 2.2.x milestone Feb 28, 2021
@Jeckerson Jeckerson self-assigned this Feb 28, 2021
@Jeckerson Jeckerson modified the milestones: 2.2.x, 2.1.x Mar 22, 2021
@Jeckerson Jeckerson added this to To Do in Phalcon ecosystem board via automation Mar 23, 2021
@Jeckerson Jeckerson moved this from To Do to Done in Phalcon ecosystem board Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working PostgreSQL
Projects
No open projects
Development

No branches or pull requests

2 participants