36 lines
863 B
PHP
36 lines
863 B
PHP
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
namespace Application\Migrations\Schema\V111;
|
|
|
|
use Application\Migrations\AbstractMigrationChamilo;
|
|
use Doctrine\DBAL\Schema\Schema;
|
|
use Doctrine\DBAL\Types\Type;
|
|
|
|
/**
|
|
* Class Version20160623143200
|
|
* Remove chatcall_date, chatcall_text, chatcall_user_id from User table
|
|
* @package Application\Migrations\Schema\V111
|
|
*/
|
|
class Version20160623143200 extends AbstractMigrationChamilo
|
|
{
|
|
/**
|
|
* @param Schema $schema
|
|
* @throws \Doctrine\DBAL\Schema\SchemaException
|
|
*/
|
|
public function up(Schema $schema)
|
|
{
|
|
$schema
|
|
->getTable('user')
|
|
->dropColumn('chatcall_user_id')
|
|
->dropColumn('chatcall_date')
|
|
->dropColumn('chatcall_text');
|
|
}
|
|
|
|
/**
|
|
* @param Schema $schema
|
|
*/
|
|
public function down(Schema $schema)
|
|
{
|
|
}
|
|
} |