$ php artisan migrate:refresh
Migration table not found.
Migration table created successfully.
Nothing to migrate.
//debug
/vendor/laravel/framework/Illuminate/Database/Migrations/DatabaseMigrationRepository.php
public function repositoryExists()
{
$schema = $this->getConnection()->getSchemaBuilder();
var_dump($schema->hasTable($this->table));
var_dump($schema->hasCollection($this->table));
return $schema->hasTable($this->table);
}
result:
bool(false)
bool(false)
Do you have a key with the name of the migration table in your ./config/database.php ?
'migrations' => 'migrations',
The refresh command works fine for me in Lumen 5.1.
Most helpful comment
Do you have a key with the name of the migration table in your ./config/database.php ?
'migrations' => 'migrations',The refresh command works fine for me in Lumen 5.1.