M260801000001AddScheduleToAbExperiments
Rasuvaeff\Yii3AbTestingDb\Migration\M260801000001AddScheduleToAbExperiments
Class · rasuvaeff/yii3-ab-testing-db · Source
Adds the planned run window to the operational model.
Both columns are nullable, and an existing experiment gets NULL for both — "already begun, runs until stopped", which is exactly what it was doing before the columns existed.
Constructor
php
new M260801000001AddScheduleToAbExperiments(
AbExperimentsTableName $table = new AbExperimentsTableName(),
)Methods
up()
php
up(Yiisoft\Db\Migration\MigrationBuilder $b): voiddown()
php
down(Yiisoft\Db\Migration\MigrationBuilder $b): void