sqlite - Laravel php artisan migrate not working -


when try use 'php artisan migrate' in laravel 2 errors:

[illuminate\database\queryexception] sqlstate[hy000]: general error: 26 file encrypted or not database (sql: select * sqlite_master type = 'table' , name = migrations)

[pdoexception] sqlstate[hy000]: general error: 26 file encrypted or not database

i created storage/database.sqlite file before attempting migration. edited config/database.php, making default=sqlite. using windows , have sqlite3 installed.

has encountered this/know how past it?

i had same results, in case /database/database.sqlite file not empty.

i deleted contents reran php artisan migrate , migration table created successfully.


Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -