123456789101112131415161718192021222324252627282930313233343536 |
- <?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)
- {
- }
- }
|