mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-14 17:35:17 +01:00
24 lines
529 B
PHP
24 lines
529 B
PHP
<?php
|
|
|
|
namespace Application\Migrations;
|
|
|
|
use Doctrine\DBAL\Schema\Schema;
|
|
use Doctrine\Migrations\Exception\SkipMigration;
|
|
use Wallabag\Doctrine\WallabagMigration;
|
|
|
|
/**
|
|
* Remove baggy theme.
|
|
*/
|
|
final class Version20200414120227 extends WallabagMigration
|
|
{
|
|
public function up(Schema $schema): void
|
|
{
|
|
$this->addSql('UPDATE ' . $this->getTable('config', true) . " SET theme = 'material';");
|
|
}
|
|
|
|
public function down(Schema $schema): void
|
|
{
|
|
throw new SkipMigration('Not possible ... ');
|
|
}
|
|
}
|