Version20180809154844.php 544 B

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