You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lib/ORM.js:60 uses url.parse to fill in opts given a connection URL like "sqlite://storage.sqlite3".
lib/Drivers/DML/sqlite.js:17 has conditional logic to append a : if opts.host exists. Support for Windows drive letters appears to be breaking support for relative file paths in this case.
The workaround is to supply an opts object with pathname filled in.
1. Only add on win32 platforms
2. Only add if host is a letter
The only case this can't avoid (right now) is realtive paths where the
first folder is a letter. Please avoid it.
For example:
This creates the file
storage.sqlite3:
in the current directory.I'm using [email protected] and [email protected] with node v0.10.12.
The text was updated successfully, but these errors were encountered: