You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I noticed that the migration files m231117_101719_alter_audit_trail and m231117_102354_alter_audit_entry use yii\db\Migration as the base class. This works fine generally, but since I’m migrating the audit module to a sprite database, it would make more sense to use bedezign\yii2\audit\components\Migration.
This way, the migrations will automatically use the database connection configured for the audit component.
If it helps, I’d be happy to open a PR to make the change. Let me know if that works for you!
The text was updated successfully, but these errors were encountered:
Hey, I noticed that the migration files
m231117_101719_alter_audit_trail
andm231117_102354_alter_audit_entry
useyii\db\Migration
as the base class. This works fine generally, but since I’m migrating the audit module to a sprite database, it would make more sense to usebedezign\yii2\audit\components\Migration
.This way, the migrations will automatically use the database connection configured for the audit component.
If it helps, I’d be happy to open a PR to make the change. Let me know if that works for you!
The text was updated successfully, but these errors were encountered: