|
|
@@ -0,0 +1,21 @@ |
|
|
|
<?php |
|
|
|
|
|
|
|
use yii\db\Migration; |
|
|
|
use yii\db\mysql\Schema; |
|
|
|
|
|
|
|
class m191218_142414_tiller extends Migration |
|
|
|
{ |
|
|
|
public function up() |
|
|
|
{ |
|
|
|
$this->addColumn('tiller', 'tiller', Schema::TYPE_BOOLEAN) ; |
|
|
|
$this->addColumn('tiller', 'tiller_provider_token', Schema::TYPE_STRING) ; |
|
|
|
$this->addColumn('tiller', 'tiller_restaurant_token', Schema::TYPE_STRING) ; |
|
|
|
} |
|
|
|
|
|
|
|
public function down() |
|
|
|
{ |
|
|
|
$this->dropColumn('tiller', 'tiller') ; |
|
|
|
$this->dropColumn('tiller', 'tiller_provider_token') ; |
|
|
|
$this->dropColumn('tiller', 'tiller_restaurant_token') ; |
|
|
|
} |
|
|
|
} |