Closed whisere closed 5 months ago
config.php under console: 'controllerMap' => [ 'migrate' => [ 'class' => 'yii\console\controllers\MigrateController', 'migrationPath' => null, 'migrationNamespaces' => [
'bedezign\yii2\audit\migrations',
],
],
I have to remove namespaces in the setting and apply ./yii migrate/up --migrationPath=@bedezign/yii2/audit/migrations
Fixed in 1.2.6, see https://github.com/bedezign/yii2-audit?tab=readme-ov-file#yii2-audit-12x
*** applying bedezign\yii2\audit\migrations\m150626_000001_create_audit_entry PHP Compile Error 'yii\base\ErrorException' with message 'Cannot declare class m150626_000001_create_audit_entry, because the name is already in use'
Any idea? Thanks!