Version20160304151300.php 727 B

12345678910111213141516171819202122232425262728293031
  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. /**
  7. * Class Version20160304151300
  8. */
  9. class Version20160304151300 extends AbstractMigrationChamilo
  10. {
  11. /**
  12. * @param Schema $schema
  13. *
  14. * @throws \Doctrine\DBAL\Schema\SchemaException
  15. */
  16. public function up(Schema $schema)
  17. {
  18. $this->addSql("UPDATE extra_field SET visible = 0 WHERE variable IN('mail_notify_invitation', 'mail_notify_message', 'mail_notify_group_message') AND extra_field_type = 1");
  19. }
  20. /**
  21. * @param Schema $schema
  22. */
  23. public function down(Schema $schema)
  24. {
  25. }
  26. }