Version20160623143200.php 863 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. namespace Application\Migrations\Schema\V111;
  4. use Application\Migrations\AbstractMigrationChamilo;
  5. use Doctrine\DBAL\Schema\Schema;
  6. use Doctrine\DBAL\Types\Type;
  7. /**
  8. * Class Version20160623143200
  9. * Remove chatcall_date, chatcall_text, chatcall_user_id from User table
  10. * @package Application\Migrations\Schema\V111
  11. */
  12. class Version20160623143200 extends AbstractMigrationChamilo
  13. {
  14. /**
  15. * @param Schema $schema
  16. * @throws \Doctrine\DBAL\Schema\SchemaException
  17. */
  18. public function up(Schema $schema)
  19. {
  20. $schema
  21. ->getTable('user')
  22. ->dropColumn('chatcall_user_id')
  23. ->dropColumn('chatcall_date')
  24. ->dropColumn('chatcall_text');
  25. }
  26. /**
  27. * @param Schema $schema
  28. */
  29. public function down(Schema $schema)
  30. {
  31. }
  32. }