diff --git a/api/migrations/Version20240311121033.php b/api/migrations/Version20240311121033.php index 36ef23ed4..54cc33f36 100644 --- a/api/migrations/Version20240311121033.php +++ b/api/migrations/Version20240311121033.php @@ -20,407 +20,12 @@ public function getDescription(): string public function up(Schema $schema): void { // this up() migration is auto-generated, please modify it to your needs - $this->addSql('ALTER TABLE action ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE action ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE action ALTER version SET NOT NULL'); - $this->addSql('ALTER TABLE action_handler ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE action_handler ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE application ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE application ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER version SET NOT NULL'); - $this->addSql('ALTER TABLE application_endpoint ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE application_endpoint ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE application_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE application_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER search_partial_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER search_partial_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER inversed_by_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER inversed_by_id DROP DEFAULT'); - $this->addSql('ALTER TABLE audit_trail ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE audit_trail ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE authentication ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE authentication ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE change_log ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE change_log ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER source_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity ALTER source_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER version SET NOT NULL'); - $this->addSql('ALTER TABLE collection_entity_application ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_application ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_application ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_application ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE contract ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE contract ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE contract ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE contract ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE cronjob ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE cronjob ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE cronjob ALTER version SET NOT NULL'); - $this->addSql('ALTER TABLE dashboard_card ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE dashboard_card ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE dashboard_card ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE dashboard_card ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE document ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE document ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE document ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE document ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER proxy_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER proxy_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER version SET NOT NULL'); - $this->addSql('ALTER TABLE endpoint_entity ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint_entity ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER default_source_id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER default_source_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER version SET NOT NULL'); - $this->addSql('ALTER TABLE entity ALTER persist SET DEFAULT \'true\''); - $this->addSql('ALTER TABLE file ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE file ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE file ALTER value_id TYPE UUID'); - $this->addSql('ALTER TABLE file ALTER value_id DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE gateway ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway ALTER location SET DEFAULT \'\''); - $this->addSql('ALTER TABLE gateway ALTER logging_config DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway ALTER version SET NOT NULL'); - $this->addSql('ALTER TABLE gateway_audit_trail DROP uuid'); - $this->addSql('ALTER TABLE gateway_audit_trail ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE gateway_audit_trail ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway_audit_trail ALTER amendments TYPE TEXT'); - $this->addSql('ALTER TABLE gateway_audit_trail ALTER amendments DROP DEFAULT'); - $this->addSql('COMMENT ON COLUMN gateway_audit_trail.amendments IS \'(DC2Type:array)\''); - $this->addSql('ALTER TABLE handler ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE handler ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE handler ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler_endpoint ALTER handler_id TYPE UUID'); - $this->addSql('ALTER TABLE handler_endpoint ALTER handler_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE handler_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER handler_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER handler_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER call_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER call_id DROP DEFAULT'); - $this->addSql('ALTER TABLE mapping ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE mapping ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE mapping ALTER version SET NOT NULL'); - $this->addSql('ALTER TABLE object_entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity_value ALTER object_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity_value ALTER object_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity_value ALTER value_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity_value ALTER value_id DROP DEFAULT'); - $this->addSql('ALTER TABLE organization ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE organization ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE organization ALTER version SET NOT NULL'); - $this->addSql('ALTER TABLE property ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE property ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE property ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE property ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE purpose ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE purpose ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE purpose ALTER contract_id TYPE UUID'); - $this->addSql('ALTER TABLE purpose ALTER contract_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE security_group ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER parent_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group ALTER parent_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER version SET NOT NULL'); - $this->addSql('ALTER TABLE security_group_user ALTER security_group_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group_user ALTER security_group_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group_user ALTER user_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group_user ALTER user_id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER to_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER to_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER from_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER from_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER action_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER action_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER source_object_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER source_object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER mapping_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER mapping_id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE template ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE template ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER version SET NOT NULL'); - $this->addSql('ALTER TABLE translation ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE translation ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE unread ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE unread ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE unread ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE unread ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE "user" ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE "user" ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER version SET NOT NULL'); $this->addSql('ALTER INDEX idx_8d93d6499e6b1585 RENAME TO IDX_8D93D64932C8A3DE'); - $this->addSql('ALTER TABLE user_application ALTER user_id TYPE UUID'); - $this->addSql('ALTER TABLE user_application ALTER user_id DROP DEFAULT'); - $this->addSql('ALTER TABLE user_application ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE user_application ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER attribute_id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER attribute_id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER object_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER object_entity_id DROP DEFAULT'); } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs - $this->addSql('CREATE SCHEMA public'); - $this->addSql('ALTER TABLE authentication ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE authentication ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE action_handler ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE action_handler ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE audit_trail ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE audit_trail ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE change_log ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE change_log ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE cronjob ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE cronjob ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE cronjob ALTER version DROP NOT NULL'); - $this->addSql('ALTER TABLE dashboard_card ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE dashboard_card ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE dashboard_card ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE dashboard_card ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE translation ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE translation ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE application_endpoint ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE application_endpoint ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE application_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE application_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER source_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity ALTER source_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER version DROP NOT NULL'); - $this->addSql('ALTER TABLE collection_entity_application ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_application ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_application ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_application ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE document ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE document ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE document ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE document ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint_entity ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint_entity ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE file ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE file ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE file ALTER value_id TYPE UUID'); - $this->addSql('ALTER TABLE file ALTER value_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler_endpoint ALTER handler_id TYPE UUID'); - $this->addSql('ALTER TABLE handler_endpoint ALTER handler_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE handler_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE handler ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE handler ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER handler_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER handler_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER call_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER call_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER proxy_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER proxy_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER version DROP NOT NULL'); - $this->addSql('ALTER TABLE object_entity_value ALTER object_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity_value ALTER object_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity_value ALTER value_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity_value ALTER value_id DROP DEFAULT'); - $this->addSql('ALTER TABLE property ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE property ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE property ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE property ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE contract ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE contract ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE contract ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE contract ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE purpose ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE purpose ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE purpose ALTER contract_id TYPE UUID'); - $this->addSql('ALTER TABLE purpose ALTER contract_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE security_group ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER parent_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group ALTER parent_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER version DROP NOT NULL'); - $this->addSql('ALTER TABLE security_group_user ALTER security_group_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group_user ALTER security_group_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group_user ALTER user_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group_user ALTER user_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER default_source_id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER default_source_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER version DROP NOT NULL'); - $this->addSql('ALTER TABLE entity ALTER persist SET DEFAULT \'false\''); - $this->addSql('ALTER TABLE soap ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER to_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER to_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER from_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER from_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE mapping ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE mapping ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE mapping ALTER version DROP NOT NULL'); - $this->addSql('ALTER TABLE unread ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE unread ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE unread ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE unread ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE user_application ALTER user_id TYPE UUID'); - $this->addSql('ALTER TABLE user_application ALTER user_id DROP DEFAULT'); - $this->addSql('ALTER TABLE user_application ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE user_application ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER attribute_id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER attribute_id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER object_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER object_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE "user" ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE "user" ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER version DROP NOT NULL'); $this->addSql('ALTER INDEX idx_8d93d64932c8a3de RENAME TO idx_8d93d6499e6b1585'); - $this->addSql('ALTER TABLE application ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE application ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE application ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER version DROP NOT NULL'); - $this->addSql('ALTER TABLE object_entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE organization ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE organization ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE organization ALTER version DROP NOT NULL'); - $this->addSql('ALTER TABLE attribute ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER search_partial_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER search_partial_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER inversed_by_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER inversed_by_id DROP DEFAULT'); - $this->addSql('ALTER TABLE action ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE action ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE action ALTER version DROP NOT NULL'); - $this->addSql('ALTER TABLE synchronization ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER action_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER action_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER source_object_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER source_object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER mapping_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER mapping_id DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE gateway ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway ALTER version DROP NOT NULL'); - $this->addSql('ALTER TABLE gateway ALTER location DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway ALTER logging_config SET DEFAULT \'a:10:{s:10:"callMethod";b:1;s:7:"callUrl";b:1;s:9:"callQuery";b:1;s:15:"callContentType";b:1;s:8:"callBody";b:1;s:18:"responseStatusCode";b:1;s:19:"responseContentType";b:1;s:12:"responseBody";b:1;s:16:"maxCharCountBody";i:500;s:21:"maxCharCountErrorBody";i:2000;}\''); - $this->addSql('ALTER TABLE "gateway_audit_trail" ADD uuid UUID DEFAULT NULL'); - $this->addSql('ALTER TABLE "gateway_audit_trail" ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE "gateway_audit_trail" ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE "gateway_audit_trail" ALTER amendments TYPE TEXT'); - $this->addSql('ALTER TABLE "gateway_audit_trail" ALTER amendments DROP DEFAULT'); - $this->addSql('COMMENT ON COLUMN "gateway_audit_trail".amendments IS \'(DC2Type:object)\''); - $this->addSql('ALTER TABLE template ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE template ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE template ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER version DROP NOT NULL'); } } diff --git a/api/migrations/Version20240311125549.php b/api/migrations/Version20240311125549.php deleted file mode 100644 index ed4fd2012..000000000 --- a/api/migrations/Version20240311125549.php +++ /dev/null @@ -1,386 +0,0 @@ -addSql('ALTER TABLE action ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE action ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE action_handler ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE action_handler ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE application ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE application ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE application_endpoint ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE application_endpoint ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE application_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE application_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER search_partial_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER search_partial_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER inversed_by_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER inversed_by_id DROP DEFAULT'); - $this->addSql('ALTER TABLE audit_trail ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE audit_trail ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE authentication ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE authentication ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE change_log ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE change_log ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER source_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity ALTER source_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_application ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_application ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_application ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_application ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE contract ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE contract ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE contract ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE contract ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE cronjob ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE cronjob ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE dashboard_card ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE dashboard_card ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE dashboard_card ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE dashboard_card ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE document ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE document ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE document ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE document ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER proxy_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER proxy_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint_entity ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint_entity ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER default_source_id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER default_source_id DROP DEFAULT'); - $this->addSql('ALTER TABLE file ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE file ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE file ALTER value_id TYPE UUID'); - $this->addSql('ALTER TABLE file ALTER value_id DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE gateway ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway_audit_trail ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE gateway_audit_trail ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE handler ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE handler ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler_endpoint ALTER handler_id TYPE UUID'); - $this->addSql('ALTER TABLE handler_endpoint ALTER handler_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE handler_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER handler_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER handler_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER call_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER call_id DROP DEFAULT'); - $this->addSql('ALTER TABLE mapping ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE mapping ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity_value ALTER object_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity_value ALTER object_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity_value ALTER value_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity_value ALTER value_id DROP DEFAULT'); - $this->addSql('ALTER TABLE organization ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE organization ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE property ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE property ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE property ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE property ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE purpose ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE purpose ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE purpose ALTER contract_id TYPE UUID'); - $this->addSql('ALTER TABLE purpose ALTER contract_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE security_group ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER parent_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group ALTER parent_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group_user ALTER security_group_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group_user ALTER security_group_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group_user ALTER user_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group_user ALTER user_id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER to_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER to_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER from_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER from_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER action_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER action_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER source_object_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER source_object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER mapping_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER mapping_id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE template ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE template ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE translation ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE translation ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE unread ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE unread ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE unread ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE unread ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE "user" ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE "user" ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE user_application ALTER user_id TYPE UUID'); - $this->addSql('ALTER TABLE user_application ALTER user_id DROP DEFAULT'); - $this->addSql('ALTER TABLE user_application ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE user_application ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER attribute_id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER attribute_id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER object_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER object_entity_id DROP DEFAULT'); - } - - public function down(Schema $schema): void - { - // this down() migration is auto-generated, please modify it to your needs - $this->addSql('CREATE SCHEMA public'); - $this->addSql('ALTER TABLE authentication ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE authentication ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE action_handler ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE action_handler ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE audit_trail ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE audit_trail ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE change_log ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE change_log ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE cronjob ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE cronjob ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE dashboard_card ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE dashboard_card ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE dashboard_card ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE dashboard_card ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE translation ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE translation ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE application_endpoint ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE application_endpoint ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE application_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE application_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_application ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_application ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_application ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_application ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE document ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE document ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE document ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE document ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint_entity ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint_entity ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler_endpoint ALTER handler_id TYPE UUID'); - $this->addSql('ALTER TABLE handler_endpoint ALTER handler_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE handler_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE gateway ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE "gateway_audit_trail" ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE "gateway_audit_trail" ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER source_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity ALTER source_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE handler ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE handler ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER handler_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER handler_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER call_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER call_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER proxy_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER proxy_id DROP DEFAULT'); - $this->addSql('ALTER TABLE property ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE property ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE property ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE property ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE contract ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE contract ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE contract ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE contract ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE purpose ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE purpose ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE purpose ALTER contract_id TYPE UUID'); - $this->addSql('ALTER TABLE purpose ALTER contract_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE security_group ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER parent_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group ALTER parent_id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER to_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER to_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER from_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER from_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER default_source_id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER default_source_id DROP DEFAULT'); - $this->addSql('ALTER TABLE action ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE action ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE mapping ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE mapping ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER action_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER action_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER source_object_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER source_object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER mapping_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER mapping_id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE template ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE template ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE unread ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE unread ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE unread ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE unread ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group_user ALTER security_group_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group_user ALTER security_group_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group_user ALTER user_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group_user ALTER user_id DROP DEFAULT'); - $this->addSql('ALTER TABLE organization ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE organization ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE "user" ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE "user" ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE application ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE application ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE user_application ALTER user_id TYPE UUID'); - $this->addSql('ALTER TABLE user_application ALTER user_id DROP DEFAULT'); - $this->addSql('ALTER TABLE user_application ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE user_application ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE file ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE file ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE file ALTER value_id TYPE UUID'); - $this->addSql('ALTER TABLE file ALTER value_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity_value ALTER object_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity_value ALTER object_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity_value ALTER value_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity_value ALTER value_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER search_partial_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER search_partial_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER inversed_by_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER inversed_by_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER attribute_id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER attribute_id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER object_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER object_entity_id DROP DEFAULT'); - } -} diff --git a/api/migrations/Version20240311132843.php b/api/migrations/Version20240311132843.php index 0d1bc8913..39b2bfc04 100644 --- a/api/migrations/Version20240311132843.php +++ b/api/migrations/Version20240311132843.php @@ -25,368 +25,12 @@ public function up(Schema $schema): void $this->addSql('CREATE INDEX IDX_39C12451577F8E00 ON endpoint_gateway (gateway_id)'); $this->addSql('ALTER TABLE endpoint_gateway ADD CONSTRAINT FK_39C1245121AF7E36 FOREIGN KEY (endpoint_id) REFERENCES endpoint (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); $this->addSql('ALTER TABLE endpoint_gateway ADD CONSTRAINT FK_39C12451577F8E00 FOREIGN KEY (gateway_id) REFERENCES gateway (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); - $this->addSql('ALTER TABLE action ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE action ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE action_handler ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE action_handler ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE application ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE application ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE application_endpoint ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE application_endpoint ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE application_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE application_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER search_partial_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER search_partial_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER inversed_by_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER inversed_by_id DROP DEFAULT'); - $this->addSql('ALTER TABLE audit_trail ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE audit_trail ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE authentication ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE authentication ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE change_log ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE change_log ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER source_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity ALTER source_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_application ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_application ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_application ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_application ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE contract ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE contract ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE contract ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE contract ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE cronjob ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE cronjob ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE dashboard_card ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE dashboard_card ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE dashboard_card ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE dashboard_card ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE document ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE document ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE document ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE document ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER proxy_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER proxy_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint_entity ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint_entity ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER default_source_id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER default_source_id DROP DEFAULT'); - $this->addSql('ALTER TABLE file ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE file ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE file ALTER value_id TYPE UUID'); - $this->addSql('ALTER TABLE file ALTER value_id DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE gateway ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway_audit_trail ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE gateway_audit_trail ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE handler ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE handler ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler_endpoint ALTER handler_id TYPE UUID'); - $this->addSql('ALTER TABLE handler_endpoint ALTER handler_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE handler_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER handler_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER handler_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER call_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER call_id DROP DEFAULT'); - $this->addSql('ALTER TABLE mapping ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE mapping ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity_value ALTER object_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity_value ALTER object_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity_value ALTER value_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity_value ALTER value_id DROP DEFAULT'); - $this->addSql('ALTER TABLE organization ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE organization ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE property ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE property ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE property ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE property ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE purpose ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE purpose ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE purpose ALTER contract_id TYPE UUID'); - $this->addSql('ALTER TABLE purpose ALTER contract_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE security_group ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER parent_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group ALTER parent_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group_user ALTER security_group_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group_user ALTER security_group_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group_user ALTER user_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group_user ALTER user_id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER to_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER to_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER from_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER from_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER action_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER action_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER source_object_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER source_object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER mapping_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER mapping_id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE template ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE template ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE translation ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE translation ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE unread ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE unread ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE unread ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE unread ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE "user" ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE "user" ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE user_application ALTER user_id TYPE UUID'); - $this->addSql('ALTER TABLE user_application ALTER user_id DROP DEFAULT'); - $this->addSql('ALTER TABLE user_application ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE user_application ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER attribute_id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER attribute_id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER object_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER object_entity_id DROP DEFAULT'); + } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs - $this->addSql('CREATE SCHEMA public'); $this->addSql('DROP TABLE endpoint_gateway'); - $this->addSql('ALTER TABLE authentication ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE authentication ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE action_handler ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE action_handler ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE audit_trail ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE audit_trail ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE change_log ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE change_log ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE cronjob ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE cronjob ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE dashboard_card ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE dashboard_card ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE dashboard_card ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE dashboard_card ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE translation ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE translation ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE application_endpoint ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE application_endpoint ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE application_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE application_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_application ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_application ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_application ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_application ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER collection_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER collection_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE document ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE document ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE document ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE document ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint_entity ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint_entity ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler_endpoint ALTER handler_id TYPE UUID'); - $this->addSql('ALTER TABLE handler_endpoint ALTER handler_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler_endpoint ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE handler_endpoint ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE gateway ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE gateway ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE "gateway_audit_trail" ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE "gateway_audit_trail" ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE collection_entity ALTER source_id TYPE UUID'); - $this->addSql('ALTER TABLE collection_entity ALTER source_id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE handler ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE handler ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE handler ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER handler_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER handler_id DROP DEFAULT'); - $this->addSql('ALTER TABLE log ALTER call_id TYPE UUID'); - $this->addSql('ALTER TABLE log ALTER call_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE endpoint ALTER proxy_id TYPE UUID'); - $this->addSql('ALTER TABLE endpoint ALTER proxy_id DROP DEFAULT'); - $this->addSql('ALTER TABLE property ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE property ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE property ALTER endpoint_id TYPE UUID'); - $this->addSql('ALTER TABLE property ALTER endpoint_id DROP DEFAULT'); - $this->addSql('ALTER TABLE contract ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE contract ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE contract ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE contract ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE purpose ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE purpose ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE purpose ALTER contract_id TYPE UUID'); - $this->addSql('ALTER TABLE purpose ALTER contract_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE security_group ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group ALTER parent_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group ALTER parent_id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER to_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER to_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE soap ALTER from_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE soap ALTER from_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE entity ALTER default_source_id TYPE UUID'); - $this->addSql('ALTER TABLE entity ALTER default_source_id DROP DEFAULT'); - $this->addSql('ALTER TABLE action ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE action ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE mapping ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE mapping ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER action_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER action_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER gateway_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER gateway_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER source_object_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER source_object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE synchronization ALTER mapping_id TYPE UUID'); - $this->addSql('ALTER TABLE synchronization ALTER mapping_id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE template ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE template ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE template ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE unread ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE unread ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE unread ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE unread ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group_user ALTER security_group_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group_user ALTER security_group_id DROP DEFAULT'); - $this->addSql('ALTER TABLE security_group_user ALTER user_id TYPE UUID'); - $this->addSql('ALTER TABLE security_group_user ALTER user_id DROP DEFAULT'); - $this->addSql('ALTER TABLE organization ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE organization ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE "user" ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE "user" ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE "user" ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE application ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE application ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE application ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE user_application ALTER user_id TYPE UUID'); - $this->addSql('ALTER TABLE user_application ALTER user_id DROP DEFAULT'); - $this->addSql('ALTER TABLE user_application ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE user_application ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE file ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE file ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE file ALTER value_id TYPE UUID'); - $this->addSql('ALTER TABLE file ALTER value_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity_value ALTER object_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity_value ALTER object_entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity_value ALTER value_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity_value ALTER value_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER search_partial_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER search_partial_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER object_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER object_id DROP DEFAULT'); - $this->addSql('ALTER TABLE attribute ALTER inversed_by_id TYPE UUID'); - $this->addSql('ALTER TABLE attribute ALTER inversed_by_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER application_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER application_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER organization_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER organization_id DROP DEFAULT'); - $this->addSql('ALTER TABLE object_entity ALTER entity_id TYPE UUID'); - $this->addSql('ALTER TABLE object_entity ALTER entity_id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER attribute_id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER attribute_id DROP DEFAULT'); - $this->addSql('ALTER TABLE value ALTER object_entity_id TYPE UUID'); - $this->addSql('ALTER TABLE value ALTER object_entity_id DROP DEFAULT'); } }