Open Arcesilas opened 4 years ago
By default, the migration file basename is:
$basename = date('YmdHis') . '_' . $migrationName . '.php';
Could it be possible to allow to change this by providing a callback? For example, something like:
$callback = $this->container['phpmig.basename_callback'] ?? null; $basename = $callback ? $callback($migrationName) : date('YmdHis') . '_' . $migrationName . '.php'
This sould not introduce BC break.
By default, the migration file basename is:
Could it be possible to allow to change this by providing a callback? For example, something like:
This sould not introduce BC break.