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

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -