|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
public function up() |
|
|
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) ; |
|
|
|
|
|
|
|
|
$this->addColumn('producer', 'tiller', Schema::TYPE_BOOLEAN) ; |
|
|
|
|
|
$this->addColumn('producer', 'tiller_provider_token', Schema::TYPE_STRING) ; |
|
|
|
|
|
$this->addColumn('producer', 'tiller_restaurant_token', Schema::TYPE_STRING) ; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function down() |
|
|
public function down() |
|
|
{ |
|
|
{ |
|
|
$this->dropColumn('tiller', 'tiller') ; |
|
|
|
|
|
$this->dropColumn('tiller', 'tiller_provider_token') ; |
|
|
|
|
|
$this->dropColumn('tiller', 'tiller_restaurant_token') ; |
|
|
|
|
|
|
|
|
$this->dropColumn('producer', 'tiller') ; |
|
|
|
|
|
$this->dropColumn('producer', 'tiller_provider_token') ; |
|
|
|
|
|
$this->dropColumn('producer', 'tiller_restaurant_token') ; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |