|
12345678910111213141516171819 |
- <?php
-
- use yii\db\Migration;
- use yii\db\Schema;
-
- class m201026_074711_option_email_confirm_producer extends Migration
- {
- public function safeUp()
- {
- $this->addColumn('producer', 'option_email_confirm_producer', Schema::TYPE_BOOLEAN.' DEFAULT 0');
- }
-
- public function safeDown()
- {
- $this->dropColumn('producer', 'option_email_confirm_producer');
-
- return false;
- }
- }
|