mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-07-13 08:28:45 +02:00
16 lines
395 B
PHP
16 lines
395 B
PHP
<?php
|
|
|
|
use Phinx\Migration\AbstractMigration;
|
|
|
|
class UpdateWebhookTypes extends AbstractMigration
|
|
{
|
|
public function up()
|
|
{
|
|
$this->execute('ALTER TABLE `webhook` MODIFY `type` ENUM(\'send_sms\', \'receive_sms\', \'inbound_call\')');
|
|
}
|
|
|
|
public function down()
|
|
{
|
|
$this->execute('ALTER TABLE `webhook` MODIFY `type` ENUM(\'send_sms\', \'receive_sms\')');
|
|
}
|
|
}
|