mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireSync.git
synced 2026-05-31 23:54:06 +08:00
* zap: rm download commands and related services * zap: rm list state tracking services except SubversionService (but currently unused) * zap: rm unused db tables and related resources * refactor: reorganize CLI commands and options hopefully for the last time * tweak: rm port mappings from docker-compose.yml. use docker-compose.override.yml if you need that. * feat: archival-related svn scripts * doc: update README with some roadmappy verbiage
28 lines
646 B
PHP
28 lines
646 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace DoctrineMigrations;
|
|
|
|
use Doctrine\DBAL\Schema\Schema;
|
|
use Doctrine\Migrations\AbstractMigration;
|
|
|
|
final class Version20250213184154 extends AbstractMigration
|
|
{
|
|
public function getDescription(): string
|
|
{
|
|
return 'AspireSync 2.0 irreversible migration';
|
|
}
|
|
|
|
public function up(Schema $schema): void
|
|
{
|
|
$this->addSql('DROP TABLE IF EXISTS sync_assets');
|
|
$this->addSql('DROP TABLE IF EXISTS revisions');
|
|
$this->addSql('DROP TABLE IF EXISTS cache');
|
|
}
|
|
|
|
public function down(Schema $schema): void
|
|
{
|
|
// 2.0 migration is irreversible
|
|
}
|
|
}
|