Closed alxstu closed 6 years ago
@alxstu try setting User.defaultDatabase = .psql
.
Either way, we should have a better error message there.
this: https://github.com/vapor/database-kit/commit/408b1d91e8abb7a96c6549ee4a9ef9520047a6b7 fixed the problem!
Example:
(or any other query on: db) throws "nil database identifier" in DatabaseConnection
Changing the Project to mysql works as expected.