-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
type:featureNew featureNew feature
Description
This is can be useful for creating migration based on SQL from vendor packages in application
Example of command:
./yii migrate/create --sql-up=/vendor/yiisoft/package/migrations/1/up.sql --sql-down=/vendor/yiisoft/package/migrations/1/down.sql
Result may be so:
public function up(MigrationBuilder $b): void
{
$b->execute('... sql from UP file ...');
}
public function down(MigrationBuilder $b): void
{
$b->execute('... sql from DOWN file ...');
}
Metadata
Metadata
Assignees
Labels
type:featureNew featureNew feature