|
- <?php
-
- use yii\db\Migration;
- use yii\db\Schema;
-
-
- class m210914_132350_add_options_online_payment extends Migration
- {
-
-
- public function safeUp()
- {
- $this->addColumn('producer', 'option_stripe_public_key', Schema::TYPE_STRING);
- $this->addColumn('producer', 'option_stripe_private_key', Schema::TYPE_STRING);
- }
-
-
-
- public function safeDown()
- {
- $this->dropColumn('producer', 'option_stripe_public_key');
- $this->dropColumn('producer', 'option_stripe_private_key');
- }
-
-
-
- }
|