Version20180809154844.php 478 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace Application\Migrations;
  3. use Doctrine\DBAL\Migrations\AbstractMigration;
  4. use Doctrine\DBAL\Schema\Schema;
  5. class Version20180809154844 extends AbstractMigration
  6. {
  7. /**
  8. * @param Schema $schema
  9. */
  10. public function up(Schema $schema)
  11. {
  12. $this->addsql("UPDATE profile SET template = 'template_docsis.tpl' WHERE isnull(template)");
  13. }
  14. /**
  15. * @param Schema $schema
  16. */
  17. public function down(Schema $schema)
  18. {
  19. }
  20. }