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
{{ message }}
Repository navigation
db.sync() creates sqlite3 files with a ':' at the end of the filename #270
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.
Activity
beaugunderson commentedon Aug 1, 2013
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
pathnamefilled in.Changes the way ":" is added to sqlite db paths (#270)
dresende commentedon Aug 2, 2013
Please try the latest git version, it should be fixed :)