Open eduard93 opened 7 years ago
Currently in a generated app database connection object for SQLite database (in config/config.js) is generated like this:
config/config.js
connection: { 'host': 'localhost', 'user': 'root', 'password': '', 'database': undefined }
And it should be;
connection: { filename: '/relative/path/to/db.sqlite' }
I generated app using this command: sql2graphql --db-filename "/path/to/db.sqlite" --backend "sqlite" --output-dir "/path/to/app"
sql2graphql --db-filename "/path/to/db.sqlite" --backend "sqlite" --output-dir "/path/to/app"
Currently in a generated app database connection object for SQLite database (in
config/config.js
) is generated like this:And it should be;
I generated app using this command:
sql2graphql --db-filename "/path/to/db.sqlite" --backend "sqlite" --output-dir "/path/to/app"