addSql("CREATE TABLE app_report ( id UUID NOT NULL, type VARCHAR(10) NOT NULL, message TEXT NOT NULL, fingerprint VARCHAR(64) DEFAULT NULL, created_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, PRIMARY KEY (id) )"); $this->addSql('CREATE INDEX idx_report_created_at ON app_report (created_at)'); $this->addSql("COMMENT ON COLUMN app_report.id IS '(DC2Type:uuid)'"); } public function down(Schema $schema): void { $this->addSql('DROP TABLE app_report'); } }