Closed syslogic closed 5 years ago
@rijkvanzanten — any idea if this is an App or API issue?
Hey @syslogic
It is obvious that you are getting the duplication error after executing the command twice. Maybe you got the first error in the middle of the execution so some tables might generate already and then you had executed it again; that's why it will throw an error. Which is correct too!
Help me if I misunderstood your issue. Otherwise, it seems like it is not the issue actually!
We are closing this issue. Feel free to reopen it.
Bug Report
Steps to Reproduce
./directus install:database
Expected Behavior
database table creation.
Actual Behavior
The problem is, that the files from
/etc/php-cli.d
are by default being loaded in an alphabetical order:Once having fixed this and then running the command twice, it should possibly exit gracefully:
Other Context & Screenshots
Symbol
mysqlnd_allocator
is only defined, when loading these modules in a pre-defined order:Using
*.ini
file-names prefixed with their priority would also permit to control their loading order, ascakephp/phinx
issue #900 suggests, which is basically the same problem.Technical Details
master
branch]