addSql(<<<'SQL' CREATE TABLE app.translations ( id UUID NOT NULL PRIMARY KEY, locale VARCHAR(10) NOT NULL, domain VARCHAR(50) NOT NULL, translation_key VARCHAR(255) NOT NULL, value TEXT NOT NULL, CONSTRAINT uniq_translation UNIQUE (locale, domain, translation_key) ) SQL); $this->addSql('CREATE INDEX idx_translations_locale_domain ON app.translations (locale, domain)'); } public function down(Schema $schema): void { $this->addSql('DROP TABLE app.translations'); } }