Open siggi-k opened 9 months ago
I am not able to reproduce this issue.
I attempted to create failing test for PgSQL:
// above attempt yields this migration which is correct and expected
<?php
/**
* Table for Subscription
*/
class m200000_000000_change_table_subscriptions extends \yii\db\Migration
{
public function safeUp()
{
$this->addColumn('{{%subscriptions}}', 'updatedAt2', $this->timestamp()->null()->defaultValue(null));
}
public function safeDown()
{
$this->dropColumn('{{%subscriptions}}', 'updatedAt2');
}
}
Please provide following details:
Initial
schema.yaml
Reproduction steps
./yii gii/api ./yii migrate
again
./yii gii/api
Expected No more migration
Result