php-remote-storage icon indicating copy to clipboard operation
php-remote-storage copied to clipboard

make sure DB is initialized not just existing

Open fkooman opened this issue 7 years ago • 0 comments

the sqlite database is automatically initialized on first run, so no need to do that manually, but if that fails for some reason the first time a 0 byte sqlite file is written which will be used as an indicator that the DB is already initialized.

So, do not rely only on the fact that the sqlite file exists that the DB is initialized, be more clever about it.

Fix for #57.

fkooman avatar Apr 15 '17 07:04 fkooman