AspireSync/migrations/Version20250213184154.php
Chuck Adams 407a746e60
AspireSync 2.0 (#47)
* 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
2025-02-15 08:59:19 -07:00

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
}
}