|
1234567891011121314151617181920212223242526 |
- <?php
-
- use yii\db\Migration;
- use yii\db\Schema;
-
- /**
- * Class m230920_081923_add_column_payment_date_transaction
- */
- class m230920_081923_add_column_payment_date_transaction extends Migration
- {
- /**
- * {@inheritdoc}
- */
- public function safeUp()
- {
- $this->addColumn('payment', 'date_transaction', Schema::TYPE_DATE);
- }
-
- /**
- * {@inheritdoc}
- */
- public function safeDown()
- {
- $this->dropColumn('payment', 'date_transaction');
- }
- }
|