From fd044f34a0ad18ed768f4e6976400e81e2e9983d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 16 Jul 2026 17:40:57 +0200 Subject: [PATCH 01/38] [Doctrine Migrations] Added Doctrine Migrations-based schema and data install path Adds an ibexa/doctrine-migrations-based alternative to the event-driven SchemaBuilderEvent mechanism CoreInstaller has used to install the core schema and bootstrap data. Controlled by the new "ibexa.installer.schema_builder_event.enabled" setting (defaults to true, preserving current behavior): - When enabled (default), CoreInstaller keeps dispatching SchemaBuilderEvent and importing cleandata.sql directly, unchanged. - When disabled, schema creation and data import are each modeled as an AbstractVersion migration (InstallSchemaMigration, ImportDataMigration), tagged for discovery, and executed via TaggedMigrationsRunner through the new IbexaOnlyDependencyFactory service - an independent Doctrine Migrations DependencyFactory scoped to only Ibexa-tagged migrations, so a project's own migrations are never accidentally executed. Each migration's execution is recorded in the standard Doctrine Migrations versioning table, making repeated installs idempotent. InstallSchemaMigration's SQL (mysql/postgresql/sqlite, one statement per file) is generated from the existing schema.yaml; ImportDataMigration's from the existing per-DBMS cleandata.sql files (with the mysql statements reused verbatim for sqlite, which previously had no cleandata support at all). --- composer.json | 7 + phpstan-baseline.neon | 72 -- .../DependencyInjection/Configuration.php | 39 + .../IbexaCoreExtension.php | 12 + .../Command/InstallPlatformCommand.php | 89 +- .../Compiler/InstallerTagPass.php | 34 +- .../IbexaRepositoryInstallerBundle.php | 2 - .../Installer/CoreInstaller.php | 111 ++- .../Migration/ImportDataMigration.php | 45 + .../Migration/InstallSchemaMigration.php | 45 + .../Migration/TaggedMigrationsRunner.php | 113 +++ .../Resources/config/services.yml | 28 +- .../Resources/migrations/import_data.yaml | 243 ++++++ .../Resources/migrations/install_schema.yaml | 773 ++++++++++++++++++ .../sql/mysql/0001_create_ezbinaryfile.sql | 1 + .../sql/mysql/0002_create_ezcobj_state.sql | 1 + .../mysql/0003_create_ezcobj_state_group.sql | 1 + ...004_create_ezcobj_state_group_language.sql | 1 + .../0005_create_ezcobj_state_language.sql | 1 + .../mysql/0006_create_ezcobj_state_link.sql | 1 + .../mysql/0007_create_ezcontent_language.sql | 1 + .../sql/mysql/0008_create_ezuser.sql | 1 + .../0009_create_ezcontentobject_tree.sql | 1 + .../0010_create_ezcontentbrowsebookmark.sql | 1 + .../sql/mysql/0011_create_ezcontentclass.sql | 1 + .../0012_create_ezcontentclass_attribute.sql | 1 + ...013_create_ezcontentclass_attribute_ml.sql | 1 + .../0014_create_ezcontentclass_classgroup.sql | 1 + .../mysql/0015_create_ezcontentclass_name.sql | 1 + .../mysql/0016_create_ezcontentclassgroup.sql | 1 + .../sql/mysql/0017_create_ezcontentobject.sql | 1 + .../0018_create_ezcontentobject_attribute.sql | 1 + .../0019_create_ezcontentobject_link.sql | 1 + .../0020_create_ezcontentobject_name.sql | 1 + .../0021_create_ezcontentobject_trash.sql | 1 + .../0022_create_ezcontentobject_version.sql | 1 + .../sql/mysql/0023_create_ezdfsfile.sql | 1 + .../sql/mysql/0024_create_ezgmaplocation.sql | 1 + .../sql/mysql/0025_create_ezimagefile.sql | 1 + .../sql/mysql/0026_create_ezkeyword.sql | 1 + .../0027_create_ezkeyword_attribute_link.sql | 1 + .../sql/mysql/0028_create_ezmedia.sql | 1 + .../mysql/0029_create_eznode_assignment.sql | 1 + .../sql/mysql/0030_create_eznotification.sql | 1 + .../sql/mysql/0031_create_ezpackage.sql | 1 + .../sql/mysql/0032_create_ezpolicy.sql | 1 + .../mysql/0033_create_ezpolicy_limitation.sql | 1 + .../0034_create_ezpolicy_limitation_value.sql | 1 + .../sql/mysql/0035_create_ezpreferences.sql | 1 + .../sql/mysql/0036_create_ezrole.sql | 1 + .../0037_create_ezsearch_object_word_link.sql | 1 + .../sql/mysql/0038_create_ezsearch_word.sql | 1 + .../sql/mysql/0039_create_ezsection.sql | 1 + .../sql/mysql/0040_create_ezsite_data.sql | 1 + .../sql/mysql/0041_create_ezurl.sql | 1 + .../mysql/0042_create_ezurl_object_link.sql | 1 + .../sql/mysql/0043_create_ezurlalias.sql | 1 + .../sql/mysql/0044_create_ezurlalias_ml.sql | 1 + .../mysql/0045_create_ezurlalias_ml_incr.sql | 1 + .../sql/mysql/0046_create_ezurlwildcard.sql | 1 + .../mysql/0047_create_ezuser_accountkey.sql | 1 + .../sql/mysql/0048_create_ezuser_role.sql | 1 + .../sql/mysql/0049_create_ezuser_setting.sql | 1 + .../sql/mysql/0050_create_ibexa_setting.sql | 1 + .../mysql/0051_create_ibexa_token_type.sql | 1 + .../sql/mysql/0052_create_ibexa_token.sql | 1 + ...rk_ezcontentbrowsebookmark_location_fk.sql | 1 + ...okmark_ezcontentbrowsebookmark_user_fk.sql | 1 + ...ml_ezcontentclass_attribute_ml_lang_fk.sql | 1 + ..._fk_ibexa_token_ibexa_token_type_id_fk.sql | 1 + .../mysql/data/0001_insert_ezcobj_state.sql | 3 + .../data/0002_insert_ezcobj_state_group.sql | 2 + ...003_insert_ezcobj_state_group_language.sql | 2 + .../0004_insert_ezcobj_state_language.sql | 3 + .../data/0005_insert_ezcobj_state_link.sql | 13 + .../data/0006_insert_ezcontent_language.sql | 2 + .../mysql/data/0007_insert_ezcontentclass.sql | 7 + .../0008_insert_ezcontentclass_attribute.sql | 25 + .../0009_insert_ezcontentclass_classgroup.sql | 7 + .../data/0010_insert_ezcontentclass_name.sql | 7 + .../data/0011_insert_ezcontentclassgroup.sql | 4 + .../data/0012_insert_ezcontentobject.sql | 13 + .../0013_insert_ezcontentobject_attribute.sql | 41 + .../data/0014_insert_ezcontentobject_name.sql | 13 + .../data/0015_insert_ezcontentobject_tree.sql | 14 + .../0016_insert_ezcontentobject_version.sql | 13 + .../data/0017_insert_eznode_assignment.sql | 13 + .../sql/mysql/data/0018_insert_ezpolicy.sql | 9 + .../data/0019_insert_ezpolicy_limitation.sql | 7 + .../0020_insert_ezpolicy_limitation_value.sql | 8 + .../sql/mysql/data/0021_insert_ezrole.sql | 5 + .../sql/mysql/data/0022_insert_ezsection.sql | 4 + .../mysql/data/0023_insert_ezsite_data.sql | 2 + .../sql/mysql/data/0024_insert_ezurlalias.sql | 13 + .../mysql/data/0025_insert_ezurlalias_ml.sql | 26 + .../data/0026_insert_ezurlalias_ml_incr.sql | 4 + .../sql/mysql/data/0027_insert_ezuser.sql | 3 + .../mysql/data/0028_insert_ezuser_role.sql | 7 + .../mysql/data/0029_insert_ezuser_setting.sql | 3 + .../mysql/data/0030_insert_ezpreferences.sql | 2 + .../postgresql/0001_create_ezbinaryfile.sql | 1 + .../postgresql/0002_create_ezcobj_state.sql | 1 + ...dex_ezcobj_state_ezcobj_state_priority.sql | 1 + ..._index_ezcobj_state_ezcobj_state_lmask.sql | 1 + ...x_ezcobj_state_ezcobj_state_identifier.sql | 1 + .../0006_create_ezcobj_state_group.sql | 1 + ...j_state_group_ezcobj_state_group_lmask.sql | 1 + ...te_group_ezcobj_state_group_identifier.sql | 1 + ...009_create_ezcobj_state_group_language.sql | 1 + .../0010_create_ezcobj_state_language.sql | 1 + .../0011_create_ezcobj_state_link.sql | 1 + .../0012_create_ezcontent_language.sql | 1 + ...ntent_language_ezcontent_language_name.sql | 1 + .../sql/postgresql/0014_create_ezuser.sql | 1 + .../0015_index_ezuser_ezuser_login.sql | 1 + .../0016_create_ezcontentobject_tree.sql | 1 + ...ct_tree_ezcontentobject_tree_p_node_id.sql | 1 + ...t_tree_ezcontentobject_tree_path_ident.sql | 1 + ...ject_tree_contentobject_id_path_string.sql | 1 + ...object_tree_ezcontentobject_tree_co_id.sql | 1 + ...object_tree_ezcontentobject_tree_depth.sql | 1 + ...tobject_tree_ezcontentobject_tree_path.sql | 1 + ..._ezcontentobject_tree_modified_subnode.sql | 1 + ...ct_tree_ezcontentobject_tree_remote_id.sql | 1 + .../0025_create_ezcontentbrowsebookmark.sql | 1 + ...kmark_ezcontentbrowsebookmark_location.sql | 1 + ...ebookmark_ezcontentbrowsebookmark_user.sql | 1 + ..._ezcontentbrowsebookmark_user_location.sql | 1 + .../postgresql/0029_create_ezcontentclass.sql | 1 + ..._ezcontentclass_ezcontentclass_version.sql | 1 + ...contentclass_ezcontentclass_identifier.sql | 1 + .../0032_create_ezcontentclass_attribute.sql | 1 + ...ass_attribute_ezcontentclass_attr_ccid.sql | 1 + ...lass_attribute_ezcontentclass_attr_dts.sql | 1 + ...035_create_ezcontentclass_attribute_ml.sql | 1 + ...ml_ezcontentclass_attribute_ml_lang_fk.sql | 1 + .../0037_create_ezcontentclass_classgroup.sql | 1 + .../0038_create_ezcontentclass_name.sql | 1 + .../0039_create_ezcontentclassgroup.sql | 1 + .../0040_create_ezcontentobject.sql | 1 + ...zcontentobject_ezcontentobject_classid.sql | 1 + ..._ezcontentobject_ezcontentobject_lmask.sql | 1 + ...ex_ezcontentobject_ezcontentobject_pub.sql | 1 + ...zcontentobject_ezcontentobject_section.sql | 1 + ...tobject_ezcontentobject_currentversion.sql | 1 + ..._ezcontentobject_ezcontentobject_owner.sql | 1 + ...ezcontentobject_ezcontentobject_status.sql | 1 + ...ontentobject_ezcontentobject_remote_id.sql | 1 + .../0049_create_ezcontentobject_attribute.sql | 1 + ...ntobject_attribute_co_id_ver_lang_code.sql | 1 + ...attribute_ezcontentobject_classattr_id.sql | 1 + ...ontentobject_attribute_sort_key_string.sql | 1 + ...zcontentobject_attribute_language_code.sql | 1 + ...ezcontentobject_attribute_sort_key_int.sql | 1 + ...te_ezcontentobject_attribute_co_id_ver.sql | 1 + .../0056_create_ezcontentobject_link.sql | 1 + ...zcontentobject_link_ezco_link_to_co_id.sql | 1 + ...ex_ezcontentobject_link_ezco_link_from.sql | 1 + ..._ezcontentobject_link_ezco_link_cca_id.sql | 1 + .../0060_create_ezcontentobject_name.sql | 1 + ...ject_name_ezcontentobject_name_lang_id.sql | 1 + ...bject_name_ezcontentobject_name_cov_id.sql | 1 + ...tobject_name_ezcontentobject_name_name.sql | 1 + .../0064_create_ezcontentobject_trash.sql | 1 + ...contentobject_trash_ezcobj_trash_depth.sql | 1 + ...entobject_trash_ezcobj_trash_p_node_id.sql | 1 + ...ntobject_trash_ezcobj_trash_path_ident.sql | 1 + ...contentobject_trash_ezcobj_trash_co_id.sql | 1 + ...ct_trash_ezcobj_trash_modified_subnode.sql | 1 + ...zcontentobject_trash_ezcobj_trash_path.sql | 1 + .../0071_create_ezcontentobject_version.sql | 1 + ...ntobject_version_ezcobj_version_status.sql | 1 + ...ject_version_idx_object_version_objver.sql | 1 + ...t_version_ezcontobj_version_obj_status.sql | 1 + ...ject_version_ezcobj_version_creator_id.sql | 1 + .../sql/postgresql/0076_create_ezdfsfile.sql | 1 + ...7_index_ezdfsfile_ezdfsfile_name_trunk.sql | 1 + ...index_ezdfsfile_ezdfsfile_expired_name.sql | 1 + .../0079_index_ezdfsfile_ezdfsfile_name.sql | 1 + .../0080_index_ezdfsfile_ezdfsfile_mtime.sql | 1 + .../postgresql/0081_create_ezgmaplocation.sql | 1 + ..._ezgmaplocation_latitude_longitude_key.sql | 1 + .../postgresql/0083_create_ezimagefile.sql | 1 + ...084_index_ezimagefile_ezimagefile_file.sql | 1 + ...085_index_ezimagefile_ezimagefile_coid.sql | 1 + .../sql/postgresql/0086_create_ezkeyword.sql | 1 + ...0087_index_ezkeyword_ezkeyword_keyword.sql | 1 + .../0088_create_ezkeyword_attribute_link.sql | 1 + ...ttribute_link_ezkeyword_attr_link_oaid.sql | 1 + ...bute_link_ezkeyword_attr_link_kid_oaid.sql | 1 + ...bute_link_ezkeyword_attr_link_oaid_ver.sql | 1 + .../sql/postgresql/0092_create_ezmedia.sql | 1 + .../0093_create_eznode_assignment.sql | 1 + ...e_assignment_eznode_assignment_is_main.sql | 1 + ..._assignment_eznode_assignment_coid_cov.sql | 1 + ...signment_eznode_assignment_parent_node.sql | 1 + ...ssignment_eznode_assignment_co_version.sql | 1 + .../postgresql/0098_create_eznotification.sql | 1 + ...cation_eznotification_owner_is_pending.sql | 1 + ...ex_eznotification_eznotification_owner.sql | 1 + .../sql/postgresql/0101_create_ezpackage.sql | 1 + .../sql/postgresql/0102_create_ezpolicy.sql | 1 + .../0103_index_ezpolicy_ezpolicy_role_id.sql | 1 + ...04_index_ezpolicy_ezpolicy_original_id.sql | 1 + .../0105_create_ezpolicy_limitation.sql | 1 + ...06_index_ezpolicy_limitation_policy_id.sql | 1 + .../0107_create_ezpolicy_limitation_value.sql | 1 + ...on_value_ezpolicy_limit_value_limit_id.sql | 1 + ...on_value_ezpolicy_limitation_value_val.sql | 1 + .../postgresql/0110_create_ezpreferences.sql | 1 + ...zpreferences_ezpreferences_user_id_idx.sql | 1 + ...index_ezpreferences_ezpreferences_name.sql | 1 + .../sql/postgresql/0113_create_ezrole.sql | 1 + .../0114_create_ezsearch_object_word_link.sql | 1 + ..._link_ezsearch_object_word_link_object.sql | 1 + ...k_ezsearch_object_word_link_identifier.sql | 1 + ...zsearch_object_word_link_integer_value.sql | 1 + ...rd_link_ezsearch_object_word_link_word.sql | 1 + ...nk_ezsearch_object_word_link_frequency.sql | 1 + .../postgresql/0120_create_ezsearch_word.sql | 1 + ...dex_ezsearch_word_ezsearch_word_word_i.sql | 1 + ..._ezsearch_word_ezsearch_word_obj_count.sql | 1 + .../sql/postgresql/0123_create_ezsection.sql | 1 + .../postgresql/0124_create_ezsite_data.sql | 1 + .../sql/postgresql/0125_create_ezurl.sql | 1 + .../postgresql/0126_index_ezurl_ezurl_url.sql | 1 + .../0127_create_ezurl_object_link.sql | 1 + ...ndex_ezurl_object_link_ezurl_ol_coa_id.sql | 1 + ...ndex_ezurl_object_link_ezurl_ol_url_id.sql | 1 + ...ezurl_object_link_ezurl_ol_coa_version.sql | 1 + ..._ezurl_object_link_ezurl_ol_coa_id_cav.sql | 1 + .../sql/postgresql/0132_create_ezurlalias.sql | 1 + ...index_ezurlalias_ezurlalias_source_md5.sql | 1 + ..._index_ezurlalias_ezurlalias_wcard_fwd.sql | 1 + ...ex_ezurlalias_ezurlalias_forward_to_id.sql | 1 + ...ex_ezurlalias_ezurlalias_imp_wcard_fwd.sql | 1 + ...index_ezurlalias_ezurlalias_source_url.sql | 1 + ...38_index_ezurlalias_ezurlalias_desturl.sql | 1 + .../postgresql/0139_create_ezurlalias_ml.sql | 1 + ...zurlalias_ml_ezurlalias_ml_actt_org_al.sql | 1 + ..._ezurlalias_ml_ezurlalias_ml_text_lang.sql | 1 + ...lalias_ml_ezurlalias_ml_par_act_id_lnk.sql | 1 + ...zurlalias_ml_ezurlalias_ml_par_lnk_txt.sql | 1 + ...ex_ezurlalias_ml_ezurlalias_ml_act_org.sql | 1 + ...index_ezurlalias_ml_ezurlalias_ml_text.sql | 1 + ...index_ezurlalias_ml_ezurlalias_ml_link.sql | 1 + ...7_index_ezurlalias_ml_ezurlalias_ml_id.sql | 1 + .../0148_create_ezurlalias_ml_incr.sql | 1 + .../postgresql/0149_create_ezurlwildcard.sql | 1 + .../0150_create_ezuser_accountkey.sql | 1 + .../0151_index_ezuser_accountkey_hash_key.sql | 1 + .../postgresql/0152_create_ezuser_role.sql | 1 + ..._index_ezuser_role_ezuser_role_role_id.sql | 1 + ...user_role_ezuser_role_contentobject_id.sql | 1 + .../postgresql/0155_create_ezuser_setting.sql | 1 + .../postgresql/0156_create_ibexa_setting.sql | 1 + ...7_index_ibexa_setting_ibexa_setting_id.sql | 1 + ...setting_ibexa_setting_group_identifier.sql | 1 + .../0159_create_ibexa_token_type.sql | 1 + ...exa_token_type_ibexa_token_type_unique.sql | 1 + .../postgresql/0161_create_ibexa_token.sql | 1 + ...index_ibexa_token_IDX_B5412887C54C8C93.sql | 1 + ...3_index_ibexa_token_ibexa_token_unique.sql | 1 + ...rk_ezcontentbrowsebookmark_location_fk.sql | 1 + ...okmark_ezcontentbrowsebookmark_user_fk.sql | 1 + ...ml_ezcontentclass_attribute_ml_lang_fk.sql | 1 + ..._fk_ibexa_token_ibexa_token_type_id_fk.sql | 1 + .../data/0001_insert_ezcobj_state.sql | 3 + .../data/0002_insert_ezcobj_state_group.sql | 2 + ...003_insert_ezcobj_state_group_language.sql | 2 + .../0004_insert_ezcobj_state_language.sql | 3 + .../data/0005_insert_ezcobj_state_link.sql | 13 + .../data/0006_insert_ezcontent_language.sql | 2 + .../data/0007_insert_ezcontentclass.sql | 7 + .../0008_insert_ezcontentclass_attribute.sql | 25 + .../0009_insert_ezcontentclass_classgroup.sql | 7 + .../data/0010_insert_ezcontentclass_name.sql | 7 + .../data/0011_insert_ezcontentclassgroup.sql | 4 + .../data/0012_insert_ezcontentobject.sql | 13 + .../0013_insert_ezcontentobject_attribute.sql | 41 + .../data/0014_insert_ezcontentobject_name.sql | 13 + .../data/0015_insert_ezcontentobject_tree.sql | 14 + .../0016_insert_ezcontentobject_version.sql | 13 + .../data/0017_insert_eznode_assignment.sql | 13 + .../postgresql/data/0018_insert_ezpolicy.sql | 9 + .../data/0019_insert_ezpolicy_limitation.sql | 7 + .../0020_insert_ezpolicy_limitation_value.sql | 8 + .../postgresql/data/0021_insert_ezrole.sql | 5 + .../postgresql/data/0022_insert_ezsection.sql | 4 + .../data/0023_insert_ezsite_data.sql | 2 + .../data/0024_insert_ezurlalias.sql | 13 + .../data/0025_insert_ezurlalias_ml.sql | 26 + .../data/0026_insert_ezurlalias_ml_incr.sql | 4 + .../postgresql/data/0027_insert_ezuser.sql | 3 + .../data/0028_insert_ezuser_role.sql | 7 + .../data/0029_insert_ezuser_setting.sql | 3 + .../data/0030_insert_ezpreferences.sql | 2 + .../0031_setval_ezcobj_state_group_id_seq.sql | 2 + .../data/0032_setval_ezcobj_state_id_seq.sql | 1 + ..._setval_ezcontentbrowsebookmark_id_seq.sql | 1 + ...setval_ezcontentclass_attribute_id_seq.sql | 1 + .../0035_setval_ezcontentclass_id_seq.sql | 1 + ...0036_setval_ezcontentclassgroup_id_seq.sql | 1 + ...etval_ezcontentobject_attribute_id_seq.sql | 1 + .../0038_setval_ezcontentobject_id_seq.sql | 1 + ...039_setval_ezcontentobject_link_id_seq.sql | 1 + ...etval_ezcontentobject_tree_node_id_seq.sql | 1 + ..._setval_ezcontentobject_version_id_seq.sql | 1 + .../data/0042_setval_ezimagefile_id_seq.sql | 1 + ...setval_ezkeyword_attribute_link_id_seq.sql | 1 + .../data/0044_setval_ezkeyword_id_seq.sql | 1 + .../0045_setval_eznode_assignment_id_seq.sql | 1 + .../0046_setval_eznotification_id_seq.sql | 1 + .../data/0047_setval_ezpackage_id_seq.sql | 1 + .../data/0048_setval_ezpolicy_id_seq.sql | 1 + ...0049_setval_ezpolicy_limitation_id_seq.sql | 1 + ...etval_ezpolicy_limitation_value_id_seq.sql | 1 + .../data/0051_setval_ezpreferences_id_seq.sql | 1 + .../data/0052_setval_ezrole_id_seq.sql | 1 + ...etval_ezsearch_object_word_link_id_seq.sql | 1 + .../data/0054_setval_ezsearch_word_id_seq.sql | 1 + .../data/0055_setval_ezsection_id_seq.sql | 1 + .../data/0056_setval_ezurl_id_seq.sql | 1 + .../data/0057_setval_ezurlalias_id_seq.sql | 1 + .../0058_setval_ezurlalias_ml_incr_id_seq.sql | 1 + .../data/0059_setval_ezurlwildcard_id_seq.sql | 1 + .../0060_setval_ezuser_accountkey_id_seq.sql | 1 + .../data/0061_setval_ezuser_role_id_seq.sql | 1 + .../sql/sqlite/0001_create_ezbinaryfile.sql | 1 + .../sql/sqlite/0002_create_ezcobj_state.sql | 1 + ...dex_ezcobj_state_ezcobj_state_priority.sql | 1 + ..._index_ezcobj_state_ezcobj_state_lmask.sql | 1 + ...x_ezcobj_state_ezcobj_state_identifier.sql | 1 + .../sqlite/0006_create_ezcobj_state_group.sql | 1 + ...j_state_group_ezcobj_state_group_lmask.sql | 1 + ...te_group_ezcobj_state_group_identifier.sql | 1 + ...009_create_ezcobj_state_group_language.sql | 1 + .../0010_create_ezcobj_state_language.sql | 1 + .../sqlite/0011_create_ezcobj_state_link.sql | 1 + .../sqlite/0012_create_ezcontent_language.sql | 1 + ...ntent_language_ezcontent_language_name.sql | 1 + .../sql/sqlite/0014_create_ezuser.sql | 1 + .../sqlite/0015_index_ezuser_ezuser_login.sql | 1 + .../0016_create_ezcontentobject_tree.sql | 1 + ...ct_tree_ezcontentobject_tree_p_node_id.sql | 1 + ...t_tree_ezcontentobject_tree_path_ident.sql | 1 + ...ject_tree_contentobject_id_path_string.sql | 1 + ...object_tree_ezcontentobject_tree_co_id.sql | 1 + ...object_tree_ezcontentobject_tree_depth.sql | 1 + ...tobject_tree_ezcontentobject_tree_path.sql | 1 + ..._ezcontentobject_tree_modified_subnode.sql | 1 + ...ct_tree_ezcontentobject_tree_remote_id.sql | 1 + .../0025_create_ezcontentbrowsebookmark.sql | 1 + ...kmark_ezcontentbrowsebookmark_location.sql | 1 + ...ebookmark_ezcontentbrowsebookmark_user.sql | 1 + ..._ezcontentbrowsebookmark_user_location.sql | 1 + .../sql/sqlite/0029_create_ezcontentclass.sql | 1 + ..._ezcontentclass_ezcontentclass_version.sql | 1 + ...contentclass_ezcontentclass_identifier.sql | 1 + .../0032_create_ezcontentclass_attribute.sql | 1 + ...ass_attribute_ezcontentclass_attr_ccid.sql | 1 + ...lass_attribute_ezcontentclass_attr_dts.sql | 1 + ...035_create_ezcontentclass_attribute_ml.sql | 1 + ...ml_ezcontentclass_attribute_ml_lang_fk.sql | 1 + .../0037_create_ezcontentclass_classgroup.sql | 1 + .../0038_create_ezcontentclass_name.sql | 1 + .../0039_create_ezcontentclassgroup.sql | 1 + .../sqlite/0040_create_ezcontentobject.sql | 1 + ...zcontentobject_ezcontentobject_classid.sql | 1 + ..._ezcontentobject_ezcontentobject_lmask.sql | 1 + ...ex_ezcontentobject_ezcontentobject_pub.sql | 1 + ...zcontentobject_ezcontentobject_section.sql | 1 + ...tobject_ezcontentobject_currentversion.sql | 1 + ..._ezcontentobject_ezcontentobject_owner.sql | 1 + ...ezcontentobject_ezcontentobject_status.sql | 1 + ...ontentobject_ezcontentobject_remote_id.sql | 1 + .../0049_create_ezcontentobject_attribute.sql | 1 + ...ntobject_attribute_co_id_ver_lang_code.sql | 1 + ...attribute_ezcontentobject_classattr_id.sql | 1 + ...ontentobject_attribute_sort_key_string.sql | 1 + ...zcontentobject_attribute_language_code.sql | 1 + ...ezcontentobject_attribute_sort_key_int.sql | 1 + ...te_ezcontentobject_attribute_co_id_ver.sql | 1 + .../0056_create_ezcontentobject_link.sql | 1 + ...zcontentobject_link_ezco_link_to_co_id.sql | 1 + ...ex_ezcontentobject_link_ezco_link_from.sql | 1 + ..._ezcontentobject_link_ezco_link_cca_id.sql | 1 + .../0060_create_ezcontentobject_name.sql | 1 + ...ject_name_ezcontentobject_name_lang_id.sql | 1 + ...bject_name_ezcontentobject_name_cov_id.sql | 1 + ...tobject_name_ezcontentobject_name_name.sql | 1 + .../0064_create_ezcontentobject_trash.sql | 1 + ...contentobject_trash_ezcobj_trash_depth.sql | 1 + ...entobject_trash_ezcobj_trash_p_node_id.sql | 1 + ...ntobject_trash_ezcobj_trash_path_ident.sql | 1 + ...contentobject_trash_ezcobj_trash_co_id.sql | 1 + ...ct_trash_ezcobj_trash_modified_subnode.sql | 1 + ...zcontentobject_trash_ezcobj_trash_path.sql | 1 + .../0071_create_ezcontentobject_version.sql | 1 + ...ntobject_version_ezcobj_version_status.sql | 1 + ...ject_version_idx_object_version_objver.sql | 1 + ...t_version_ezcontobj_version_obj_status.sql | 1 + ...ject_version_ezcobj_version_creator_id.sql | 1 + .../sql/sqlite/0076_create_ezdfsfile.sql | 1 + ...7_index_ezdfsfile_ezdfsfile_name_trunk.sql | 1 + ...index_ezdfsfile_ezdfsfile_expired_name.sql | 1 + .../0079_index_ezdfsfile_ezdfsfile_name.sql | 1 + .../0080_index_ezdfsfile_ezdfsfile_mtime.sql | 1 + .../sql/sqlite/0081_create_ezgmaplocation.sql | 1 + ..._ezgmaplocation_latitude_longitude_key.sql | 1 + .../sql/sqlite/0083_create_ezimagefile.sql | 1 + ...084_index_ezimagefile_ezimagefile_file.sql | 1 + ...085_index_ezimagefile_ezimagefile_coid.sql | 1 + .../sql/sqlite/0086_create_ezkeyword.sql | 1 + ...0087_index_ezkeyword_ezkeyword_keyword.sql | 1 + .../0088_create_ezkeyword_attribute_link.sql | 1 + ...ttribute_link_ezkeyword_attr_link_oaid.sql | 1 + ...bute_link_ezkeyword_attr_link_kid_oaid.sql | 1 + ...bute_link_ezkeyword_attr_link_oaid_ver.sql | 1 + .../sql/sqlite/0092_create_ezmedia.sql | 1 + .../sqlite/0093_create_eznode_assignment.sql | 1 + ...e_assignment_eznode_assignment_is_main.sql | 1 + ..._assignment_eznode_assignment_coid_cov.sql | 1 + ...signment_eznode_assignment_parent_node.sql | 1 + ...ssignment_eznode_assignment_co_version.sql | 1 + .../sql/sqlite/0098_create_eznotification.sql | 1 + ...cation_eznotification_owner_is_pending.sql | 1 + ...ex_eznotification_eznotification_owner.sql | 1 + .../sql/sqlite/0101_create_ezpackage.sql | 1 + .../sql/sqlite/0102_create_ezpolicy.sql | 1 + .../0103_index_ezpolicy_ezpolicy_role_id.sql | 1 + ...04_index_ezpolicy_ezpolicy_original_id.sql | 1 + .../0105_create_ezpolicy_limitation.sql | 1 + ...06_index_ezpolicy_limitation_policy_id.sql | 1 + .../0107_create_ezpolicy_limitation_value.sql | 1 + ...on_value_ezpolicy_limit_value_limit_id.sql | 1 + ...on_value_ezpolicy_limitation_value_val.sql | 1 + .../sql/sqlite/0110_create_ezpreferences.sql | 1 + ...zpreferences_ezpreferences_user_id_idx.sql | 1 + ...index_ezpreferences_ezpreferences_name.sql | 1 + .../sql/sqlite/0113_create_ezrole.sql | 1 + .../0114_create_ezsearch_object_word_link.sql | 1 + ..._link_ezsearch_object_word_link_object.sql | 1 + ...k_ezsearch_object_word_link_identifier.sql | 1 + ...zsearch_object_word_link_integer_value.sql | 1 + ...rd_link_ezsearch_object_word_link_word.sql | 1 + ...nk_ezsearch_object_word_link_frequency.sql | 1 + .../sql/sqlite/0120_create_ezsearch_word.sql | 1 + ...dex_ezsearch_word_ezsearch_word_word_i.sql | 1 + ..._ezsearch_word_ezsearch_word_obj_count.sql | 1 + .../sql/sqlite/0123_create_ezsection.sql | 1 + .../sql/sqlite/0124_create_ezsite_data.sql | 1 + .../sql/sqlite/0125_create_ezurl.sql | 1 + .../sql/sqlite/0126_index_ezurl_ezurl_url.sql | 1 + .../sqlite/0127_create_ezurl_object_link.sql | 1 + ...ndex_ezurl_object_link_ezurl_ol_coa_id.sql | 1 + ...ndex_ezurl_object_link_ezurl_ol_url_id.sql | 1 + ...ezurl_object_link_ezurl_ol_coa_version.sql | 1 + ..._ezurl_object_link_ezurl_ol_coa_id_cav.sql | 1 + .../sql/sqlite/0132_create_ezurlalias.sql | 1 + ...index_ezurlalias_ezurlalias_source_md5.sql | 1 + ..._index_ezurlalias_ezurlalias_wcard_fwd.sql | 1 + ...ex_ezurlalias_ezurlalias_forward_to_id.sql | 1 + ...ex_ezurlalias_ezurlalias_imp_wcard_fwd.sql | 1 + ...index_ezurlalias_ezurlalias_source_url.sql | 1 + ...38_index_ezurlalias_ezurlalias_desturl.sql | 1 + .../sql/sqlite/0139_create_ezurlalias_ml.sql | 1 + ...zurlalias_ml_ezurlalias_ml_actt_org_al.sql | 1 + ..._ezurlalias_ml_ezurlalias_ml_text_lang.sql | 1 + ...lalias_ml_ezurlalias_ml_par_act_id_lnk.sql | 1 + ...zurlalias_ml_ezurlalias_ml_par_lnk_txt.sql | 1 + ...ex_ezurlalias_ml_ezurlalias_ml_act_org.sql | 1 + ...index_ezurlalias_ml_ezurlalias_ml_text.sql | 1 + ...index_ezurlalias_ml_ezurlalias_ml_link.sql | 1 + ...7_index_ezurlalias_ml_ezurlalias_ml_id.sql | 1 + .../sqlite/0148_create_ezurlalias_ml_incr.sql | 1 + .../sql/sqlite/0149_create_ezurlwildcard.sql | 1 + .../sqlite/0150_create_ezuser_accountkey.sql | 1 + .../0151_index_ezuser_accountkey_hash_key.sql | 1 + .../sql/sqlite/0152_create_ezuser_role.sql | 1 + ..._index_ezuser_role_ezuser_role_role_id.sql | 1 + ...user_role_ezuser_role_contentobject_id.sql | 1 + .../sql/sqlite/0155_create_ezuser_setting.sql | 1 + .../sql/sqlite/0156_create_ibexa_setting.sql | 2 + ...7_index_ibexa_setting_ibexa_setting_id.sql | 1 + ...setting_ibexa_setting_group_identifier.sql | 1 + .../sqlite/0159_create_ibexa_token_type.sql | 1 + ...exa_token_type_ibexa_token_type_unique.sql | 1 + .../sql/sqlite/0161_create_ibexa_token.sql | 1 + ...index_ibexa_token_IDX_B5412887C54C8C93.sql | 1 + ...3_index_ibexa_token_ibexa_token_unique.sql | 1 + .../sqlite/data/0001_insert_ezcobj_state.sql | 3 + .../data/0002_insert_ezcobj_state_group.sql | 2 + ...003_insert_ezcobj_state_group_language.sql | 2 + .../0004_insert_ezcobj_state_language.sql | 3 + .../data/0005_insert_ezcobj_state_link.sql | 13 + .../data/0006_insert_ezcontent_language.sql | 2 + .../data/0007_insert_ezcontentclass.sql | 7 + .../0008_insert_ezcontentclass_attribute.sql | 25 + .../0009_insert_ezcontentclass_classgroup.sql | 7 + .../data/0010_insert_ezcontentclass_name.sql | 7 + .../data/0011_insert_ezcontentclassgroup.sql | 4 + .../data/0012_insert_ezcontentobject.sql | 13 + .../0013_insert_ezcontentobject_attribute.sql | 41 + .../data/0014_insert_ezcontentobject_name.sql | 13 + .../data/0015_insert_ezcontentobject_tree.sql | 14 + .../0016_insert_ezcontentobject_version.sql | 13 + .../data/0017_insert_eznode_assignment.sql | 13 + .../sql/sqlite/data/0018_insert_ezpolicy.sql | 9 + .../data/0019_insert_ezpolicy_limitation.sql | 7 + .../0020_insert_ezpolicy_limitation_value.sql | 8 + .../sql/sqlite/data/0021_insert_ezrole.sql | 5 + .../sql/sqlite/data/0022_insert_ezsection.sql | 4 + .../sqlite/data/0023_insert_ezsite_data.sql | 2 + .../sqlite/data/0024_insert_ezurlalias.sql | 13 + .../sqlite/data/0025_insert_ezurlalias_ml.sql | 26 + .../data/0026_insert_ezurlalias_ml_incr.sql | 4 + .../sql/sqlite/data/0027_insert_ezuser.sql | 3 + .../sqlite/data/0028_insert_ezuser_role.sql | 7 + .../data/0029_insert_ezuser_setting.sql | 3 + .../sqlite/data/0030_insert_ezpreferences.sql | 2 + .../Compiler/InstallerTagPassTest.php | 58 -- .../IbexaInstallerExtensionTest.php | 3 +- .../IbexaRepositoryInstallerBundleTest.php | 13 +- 524 files changed, 2682 insertions(+), 249 deletions(-) create mode 100644 src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php create mode 100644 src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php create mode 100644 src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ezbinaryfile.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ezcobj_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ezcobj_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ezcobj_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ezcobj_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ezcobj_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ezcontent_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ezuser.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ezcontentobject_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ezcontentbrowsebookmark.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ezcontentclass.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ezcontentclass_attribute.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ezcontentclass_attribute_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ezcontentclass_classgroup.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ezcontentclass_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ezcontentclassgroup.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ezcontentobject.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ezcontentobject_attribute.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ezcontentobject_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ezcontentobject_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ezcontentobject_trash.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ezcontentobject_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ezdfsfile.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ezgmaplocation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ezimagefile.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ezkeyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ezkeyword_attribute_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ezmedia.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_eznode_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_eznotification.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ezpackage.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ezpolicy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ezpolicy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ezpolicy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ezpreferences.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ezrole.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ezsearch_object_word_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ezsearch_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ezsection.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ezsite_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ezurl.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ezurl_object_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ezurlalias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ezurlalias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ezurlalias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ezurlwildcard.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ezuser_accountkey.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ezuser_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ezuser_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ezcobj_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ezcobj_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ezcobj_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ezcobj_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ezcobj_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ezcontent_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ezcontentclass.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ezcontentclass_attribute.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ezcontentclass_classgroup.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ezcontentclass_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ezcontentclassgroup.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ezcontentobject.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ezcontentobject_attribute.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ezcontentobject_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ezcontentobject_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ezcontentobject_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_eznode_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ezpolicy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ezpolicy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ezpolicy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ezrole.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ezsection.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ezsite_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ezurlalias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ezurlalias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ezurlalias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ezuser.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ezuser_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ezuser_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ezpreferences.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ezbinaryfile.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ezcobj_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ezcobj_state_ezcobj_state_priority.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ezcobj_state_ezcobj_state_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ezcobj_state_ezcobj_state_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ezcobj_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ezcobj_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ezcobj_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ezcobj_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ezcontent_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ezcontent_language_ezcontent_language_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ezuser.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ezuser_ezuser_login.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ezcontentobject_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ezcontentobject_tree_modified_subnode.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ezcontentbrowsebookmark.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ezcontentclass.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ezcontentclass_ezcontentclass_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ezcontentclass_ezcontentclass_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ezcontentclass_attribute.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ezcontentclass_attribute_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ezcontentclass_classgroup.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ezcontentclass_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ezcontentclassgroup.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ezcontentobject.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ezcontentobject_ezcontentobject_classid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ezcontentobject_ezcontentobject_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ezcontentobject_ezcontentobject_pub.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ezcontentobject_ezcontentobject_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ezcontentobject_ezcontentobject_currentversion.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ezcontentobject_ezcontentobject_owner.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ezcontentobject_ezcontentobject_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ezcontentobject_ezcontentobject_remote_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ezcontentobject_attribute.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ezcontentobject_attribute_sort_key_string.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ezcontentobject_attribute_sort_key_int.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ezcontentobject_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ezcontentobject_link_ezco_link_from.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ezcontentobject_link_ezco_link_cca_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ezcontentobject_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ezcontentobject_trash.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ezcontentobject_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ezcontentobject_version_ezcobj_version_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ezcontentobject_version_idx_object_version_objver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ezdfsfile.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ezdfsfile_ezdfsfile_expired_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ezdfsfile_ezdfsfile_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ezdfsfile_ezdfsfile_mtime.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ezgmaplocation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ezgmaplocation_latitude_longitude_key.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ezimagefile.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ezimagefile_ezimagefile_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ezimagefile_ezimagefile_coid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ezkeyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ezkeyword_ezkeyword_keyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ezkeyword_attribute_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ezmedia.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_eznode_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_eznode_assignment_eznode_assignment_is_main.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_eznode_assignment_eznode_assignment_parent_node.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_eznode_assignment_eznode_assignment_co_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_eznotification.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_eznotification_eznotification_owner_is_pending.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_eznotification_eznotification_owner.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ezpackage.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ezpolicy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ezpolicy_ezpolicy_role_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ezpolicy_ezpolicy_original_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ezpolicy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ezpolicy_limitation_policy_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ezpolicy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ezpreferences.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ezpreferences_ezpreferences_user_id_idx.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ezpreferences_ezpreferences_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ezrole.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ezsearch_object_word_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ezsearch_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ezsearch_word_ezsearch_word_word_i.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ezsearch_word_ezsearch_word_obj_count.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ezsection.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ezsite_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ezurl.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ezurl_ezurl_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ezurl_object_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ezurl_object_link_ezurl_ol_url_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ezurlalias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ezurlalias_ezurlalias_source_md5.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ezurlalias_ezurlalias_forward_to_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ezurlalias_ezurlalias_source_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ezurlalias_ezurlalias_desturl.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ezurlalias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ezurlalias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ezurlwildcard.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ezuser_accountkey.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ezuser_accountkey_hash_key.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ezuser_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ezuser_role_ezuser_role_role_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ezuser_role_ezuser_role_contentobject_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ezuser_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ezcobj_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ezcobj_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ezcobj_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ezcobj_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ezcobj_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ezcontent_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ezcontentclass.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ezcontentclass_attribute.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ezcontentclass_classgroup.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ezcontentclass_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ezcontentclassgroup.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ezcontentobject.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ezcontentobject_attribute.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ezcontentobject_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ezcontentobject_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ezcontentobject_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_eznode_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ezpolicy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ezpolicy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ezpolicy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ezrole.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ezsection.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ezsite_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ezurlalias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ezurlalias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ezurlalias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ezuser.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ezuser_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ezuser_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ezpreferences.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ezcobj_state_group_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ezcobj_state_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ezcontentbrowsebookmark_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ezcontentclass_attribute_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ezcontentclass_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ezcontentclassgroup_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ezcontentobject_attribute_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ezcontentobject_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ezcontentobject_link_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ezcontentobject_tree_node_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ezcontentobject_version_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ezimagefile_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ezkeyword_attribute_link_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ezkeyword_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_eznode_assignment_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_eznotification_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ezpackage_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ezpolicy_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ezpolicy_limitation_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ezpolicy_limitation_value_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ezpreferences_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ezrole_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ezsearch_object_word_link_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ezsearch_word_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ezsection_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ezurl_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ezurlalias_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ezurlalias_ml_incr_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ezurlwildcard_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ezuser_accountkey_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ezuser_role_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ezbinaryfile.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ezcobj_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ezcobj_state_ezcobj_state_priority.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ezcobj_state_ezcobj_state_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ezcobj_state_ezcobj_state_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ezcobj_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ezcobj_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ezcobj_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ezcobj_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ezcontent_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ezcontent_language_ezcontent_language_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ezuser.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ezuser_ezuser_login.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ezcontentobject_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ezcontentobject_tree_modified_subnode.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ezcontentbrowsebookmark.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ezcontentclass.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ezcontentclass_ezcontentclass_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ezcontentclass_ezcontentclass_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ezcontentclass_attribute.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ezcontentclass_attribute_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ezcontentclass_classgroup.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ezcontentclass_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ezcontentclassgroup.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ezcontentobject.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ezcontentobject_ezcontentobject_classid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ezcontentobject_ezcontentobject_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ezcontentobject_ezcontentobject_pub.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ezcontentobject_ezcontentobject_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ezcontentobject_ezcontentobject_currentversion.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ezcontentobject_ezcontentobject_owner.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ezcontentobject_ezcontentobject_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ezcontentobject_ezcontentobject_remote_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ezcontentobject_attribute.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ezcontentobject_attribute_sort_key_string.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ezcontentobject_attribute_sort_key_int.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ezcontentobject_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ezcontentobject_link_ezco_link_from.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ezcontentobject_link_ezco_link_cca_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ezcontentobject_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ezcontentobject_trash.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ezcontentobject_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ezcontentobject_version_ezcobj_version_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ezcontentobject_version_idx_object_version_objver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ezdfsfile.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ezdfsfile_ezdfsfile_expired_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ezdfsfile_ezdfsfile_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ezdfsfile_ezdfsfile_mtime.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ezgmaplocation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ezgmaplocation_latitude_longitude_key.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ezimagefile.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ezimagefile_ezimagefile_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ezimagefile_ezimagefile_coid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ezkeyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ezkeyword_ezkeyword_keyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ezkeyword_attribute_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ezmedia.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_eznode_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_eznode_assignment_eznode_assignment_is_main.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_eznode_assignment_eznode_assignment_parent_node.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_eznode_assignment_eznode_assignment_co_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_eznotification.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_eznotification_eznotification_owner_is_pending.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_eznotification_eznotification_owner.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ezpackage.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ezpolicy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ezpolicy_ezpolicy_role_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ezpolicy_ezpolicy_original_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ezpolicy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ezpolicy_limitation_policy_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ezpolicy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ezpreferences.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ezpreferences_ezpreferences_user_id_idx.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ezpreferences_ezpreferences_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ezrole.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ezsearch_object_word_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ezsearch_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ezsearch_word_ezsearch_word_word_i.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ezsearch_word_ezsearch_word_obj_count.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ezsection.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ezsite_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ezurl.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ezurl_ezurl_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ezurl_object_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ezurl_object_link_ezurl_ol_url_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ezurlalias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ezurlalias_ezurlalias_source_md5.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ezurlalias_ezurlalias_forward_to_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ezurlalias_ezurlalias_source_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ezurlalias_ezurlalias_desturl.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ezurlalias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ezurlalias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ezurlwildcard.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ezuser_accountkey.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ezuser_accountkey_hash_key.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ezuser_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ezuser_role_ezuser_role_role_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ezuser_role_ezuser_role_contentobject_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ezuser_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ezcobj_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ezcobj_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ezcobj_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ezcobj_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ezcobj_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ezcontent_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ezcontentclass.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ezcontentclass_attribute.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ezcontentclass_classgroup.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ezcontentclass_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ezcontentclassgroup.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ezcontentobject.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ezcontentobject_attribute.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ezcontentobject_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ezcontentobject_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ezcontentobject_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_eznode_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ezpolicy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ezpolicy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ezpolicy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ezrole.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ezsection.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ezsite_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ezurlalias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ezurlalias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ezurlalias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ezuser.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ezuser_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ezuser_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ezpreferences.sql delete mode 100644 tests/bundle/RepositoryInstaller/DependencyInjection/Compiler/InstallerTagPassTest.php diff --git a/composer.json b/composer.json index a355ab0750..f35c141e48 100644 --- a/composer.json +++ b/composer.json @@ -3,6 +3,12 @@ "description": "Ibexa DXP and Open Source core. Provides the Content Repository, its APIs, and the application's Symfony framework integration.", "homepage": "https://ibexa.co", "license": "(GPL-2.0-only or proprietary)", + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/ibexa/doctrine-migrations.git" + } + ], "suggest": { "php-64bit": "For support of more than 30 languages, a 64bit php installation on all involved prod/dev machines is required" }, @@ -39,6 +45,7 @@ "symfony/validator": "^5.3.0", "symfony/var-dumper": "^5.3.0", "ibexa/doctrine-schema": "~4.6.0@dev", + "ibexa/doctrine-migrations": "dev-feat/doctrine-migrations", "symfony-cmf/routing": "^2.3", "nelmio/cors-bundle": "^2.0", "pagerfanta/pagerfanta": "^2.1", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 15cd76ff78..5f0f83e99d 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -5550,84 +5550,12 @@ parameters: count: 1 path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - message: '#^Call to method Ibexa\\Bundle\\RepositoryInstaller\\Command\\InstallPlatformCommand\:\:checkParameters\(\) on a separate line has no effect\.$#' - identifier: method.resultUnused - count: 1 - path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - - message: '#^Method Ibexa\\Bundle\\RepositoryInstaller\\Command\\InstallPlatformCommand\:\:__construct\(\) has parameter \$installers with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - - message: '#^Method Ibexa\\Bundle\\RepositoryInstaller\\Command\\InstallPlatformCommand\:\:cacheClear\(\) has no return type specified\.$#' - identifier: missingType.return - count: 1 - path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - - message: '#^Method Ibexa\\Bundle\\RepositoryInstaller\\Command\\InstallPlatformCommand\:\:checkCreateDatabase\(\) has no return type specified\.$#' - identifier: missingType.return - count: 1 - path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - - message: '#^Method Ibexa\\Bundle\\RepositoryInstaller\\Command\\InstallPlatformCommand\:\:checkParameters\(\) has no return type specified\.$#' - identifier: missingType.return - count: 1 - path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - - message: '#^Method Ibexa\\Bundle\\RepositoryInstaller\\Command\\InstallPlatformCommand\:\:checkPermissions\(\) has no return type specified\.$#' - identifier: missingType.return - count: 1 - path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - - message: '#^Method Ibexa\\Bundle\\RepositoryInstaller\\Command\\InstallPlatformCommand\:\:configure\(\) has no return type specified\.$#' - identifier: missingType.return - count: 1 - path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - - message: '#^Method Ibexa\\Bundle\\RepositoryInstaller\\Command\\InstallPlatformCommand\:\:executeCommand\(\) has no return type specified\.$#' - identifier: missingType.return - count: 1 - path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - - message: '#^Method Ibexa\\Bundle\\RepositoryInstaller\\Command\\InstallPlatformCommand\:\:getInstaller\(\) has parameter \$type with no type specified\.$#' - identifier: missingType.parameter - count: 1 - path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - - message: '#^Method Ibexa\\Bundle\\RepositoryInstaller\\Command\\InstallPlatformCommand\:\:getInstaller\(\) should return Ibexa\\Bundle\\RepositoryInstaller\\Installer\\Installer but returns false\.$#' - identifier: return.type - count: 1 - path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - - message: '#^Method Ibexa\\Bundle\\RepositoryInstaller\\Command\\InstallPlatformCommand\:\:indexData\(\) has no return type specified\.$#' - identifier: missingType.return - count: 1 - path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - message: '#^Strict comparison using \=\=\= between bool and 1 will always evaluate to false\.$#' identifier: identical.alwaysFalse count: 1 path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - message: '#^Unreachable statement \- code above always terminates\.$#' - identifier: deadCode.unreachable - count: 1 - path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - message: '#^Method Ibexa\\Bundle\\RepositoryInstaller\\Command\\ValidatePasswordHashesCommand\:\:configure\(\) has no return type specified\.$#' identifier: missingType.return diff --git a/src/bundle/Core/DependencyInjection/Configuration.php b/src/bundle/Core/DependencyInjection/Configuration.php index 4b859f673b..6082b59115 100644 --- a/src/bundle/Core/DependencyInjection/Configuration.php +++ b/src/bundle/Core/DependencyInjection/Configuration.php @@ -65,6 +65,7 @@ public function getConfigTreeBuilder() $this->addUrlWildcardsSection($rootNode); $this->addOrmSection($rootNode); $this->addUITranslationsSection($rootNode); + $this->addInstallerSection($rootNode); // Delegate SiteAccess config to configuration parsers $this->mainSiteAccessConfigParser->addSemanticConfig($this->generateScopeBaseNode($rootNode)); @@ -563,6 +564,44 @@ private function addUITranslationsSection($rootNode): ArrayNodeDefinition ->end() ->end(); } + + /** + * Defines configuration for the "ibexa:install" installer. + * + * The configuration is available at: + * + * ibexa: + * installer: + * schema_builder_event: + * enabled: true + * + * + * @param \Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition $rootNode + */ + private function addInstallerSection(ArrayNodeDefinition $rootNode): ArrayNodeDefinition + { + return $rootNode + ->children() + ->arrayNode('installer') + ->children() + ->arrayNode('schema_builder_event') + ->info('Configuration of the legacy, event-driven database schema building mechanism used by the "ibexa:install" command') + ->children() + ->booleanNode('enabled') + ->defaultTrue() + ->info( + 'Whether "ibexa:install" dispatches Ibexa\Contracts\DoctrineSchema\Event\SchemaBuilderEvent ' . + 'to let packages contribute their database schema via an event subscriber, as opposed to ' . + 'the schema being installed from static SQL migrations. ' . + 'Disable once all installed packages have migrated away from the event-driven mechanism.' + ) + ->end() + ->end() + ->end() + ->end() + ->end() + ->end(); + } } class_alias(Configuration::class, 'eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration'); diff --git a/src/bundle/Core/DependencyInjection/IbexaCoreExtension.php b/src/bundle/Core/DependencyInjection/IbexaCoreExtension.php index 5c8fda3ec1..910c7ba773 100644 --- a/src/bundle/Core/DependencyInjection/IbexaCoreExtension.php +++ b/src/bundle/Core/DependencyInjection/IbexaCoreExtension.php @@ -134,6 +134,7 @@ public function load(array $configs, ContainerBuilder $container) $this->registerUrlWildcardsConfiguration($config, $container); $this->registerOrmConfiguration($config, $container); $this->registerUITranslationsConfiguration($config, $container); + $this->registerInstallerConfiguration($config, $container); // Routing $this->handleRouting($config, $container, $loader); @@ -331,6 +332,17 @@ private function registerUITranslationsConfiguration(array $config, ContainerBui $container->setParameter('ibexa.ui.translations.enabled', $config['ui']['translations']['enabled'] ?? false); } + /** + * @param array $config + */ + private function registerInstallerConfiguration(array $config, ContainerBuilder $container): void + { + $container->setParameter( + 'ibexa.installer.schema_builder_event.enabled', + $config['installer']['schema_builder_event']['enabled'] ?? true + ); + } + /** * Handle routing parameters. * diff --git a/src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php b/src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php index 0011d9d37c..f9f62de371 100644 --- a/src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php +++ b/src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php @@ -9,6 +9,7 @@ use Doctrine\DBAL\Connection; use Ibexa\Bundle\Core\ApiLoader\RepositoryConfigurationProvider; use Ibexa\Bundle\Core\Command\BackwardCompatibleCommand; +use Ibexa\Bundle\RepositoryInstaller\Installer\Installer; use Psr\Cache\CacheItemPoolInterface; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; @@ -17,37 +18,38 @@ use Symfony\Component\Console\Output\BufferedOutput; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Style\SymfonyStyle; +use Symfony\Component\DependencyInjection\ServiceLocator; use Symfony\Component\Process\PhpExecutableFinder; use Symfony\Component\Process\Process; final class InstallPlatformCommand extends Command implements BackwardCompatibleCommand { - /** @var \Doctrine\DBAL\Connection */ - private $connection; + protected static $defaultName = 'ibexa:install'; - /** @var \Symfony\Component\Console\Output\OutputInterface */ - private $output; + private Connection $connection; - /** @var \Psr\Cache\CacheItemPoolInterface */ - private $cachePool; + private OutputInterface $output; - /** @var string */ - private $environment; + private CacheItemPoolInterface $cachePool; - /** @var \Ibexa\Bundle\RepositoryInstaller\Installer\Installer[] */ - private $installers = []; + private string $environment; - /** @var \Ibexa\Bundle\Core\ApiLoader\RepositoryConfigurationProvider */ - private $repositoryConfigurationProvider; + /** @var \Symfony\Component\DependencyInjection\ServiceLocator<\Ibexa\Bundle\RepositoryInstaller\Installer\Installer> */ + private ServiceLocator $installers; + + private RepositoryConfigurationProvider $repositoryConfigurationProvider; public const EXIT_GENERAL_DATABASE_ERROR = 4; public const EXIT_PARAMETERS_NOT_FOUND = 5; public const EXIT_UNKNOWN_INSTALL_TYPE = 6; public const EXIT_MISSING_PERMISSIONS = 7; + /** + * @param \Symfony\Component\DependencyInjection\ServiceLocator<\Ibexa\Bundle\RepositoryInstaller\Installer\Installer> $installers + */ public function __construct( Connection $connection, - array $installers, + ServiceLocator $installers, CacheItemPoolInterface $cachePool, string $environment, RepositoryConfigurationProvider $repositoryConfigurationProvider @@ -60,14 +62,13 @@ public function __construct( parent::__construct(); } - protected function configure() + protected function configure(): void { - $this->setName('ibexa:install'); $this->setAliases($this->getDeprecatedAliases()); $this->addArgument( 'type', InputArgument::OPTIONAL, - 'The type of install. Available options: ' . implode(', ', array_keys($this->installers)), + 'The type of install. Available options: ' . implode(', ', array_keys($this->installers->getProvidedServices())), 'ibexa-oss' ); $this->addOption( @@ -82,43 +83,35 @@ protected function execute(InputInterface $input, OutputInterface $output): int { $this->output = $output; $this->checkPermissions(); - $this->checkParameters(); $this->checkCreateDatabase($output); $schemaManager = $this->connection->getSchemaManager(); if (!empty($schemaManager->listTables())) { $io = new SymfonyStyle($input, $output); if (!$io->confirm('Running this command will delete data in all Ibexa generated tables. Continue?', )) { - return 0; + return self::SUCCESS; } } $type = $input->getArgument('type'); $siteaccess = $input->getOption('siteaccess'); - $installer = $this->getInstaller($type); - if ($installer === false) { - $output->writeln( - "Unknown install type '$type', available options in currently installed Ibexa package: " . - implode(', ', array_keys($this->installers)) - ); - exit(self::EXIT_UNKNOWN_INSTALL_TYPE); - } + $installer = $this->getInstaller($type, $output); $installer->setOutput($output); $installer->importSchema(); $installer->importData(); $installer->importBinaries(); - $this->cacheClear($output); + $this->cacheClear(); if (!$input->getOption('skip-indexing')) { $this->indexData($output, $siteaccess); } - return 0; + return self::SUCCESS; } - private function checkPermissions() + private function checkPermissions(): void { // @todo should take var-dir etc. from composer config or fallback to flex directory scheme if (!is_writable('public') && !is_writable('public/var')) { @@ -127,18 +120,7 @@ private function checkPermissions() } } - private function checkParameters() - { - // @todo doesn't make sense to check for parameters.yml in sf4 and flex - return; - $parametersFile = 'app/config/parameters.yml'; - if (!is_file($parametersFile)) { - $this->output->writeln("Required configuration file '$parametersFile' not found"); - exit(self::EXIT_PARAMETERS_NOT_FOUND); - } - } - - private function checkCreateDatabase(OutputInterface $output) + private function checkCreateDatabase(OutputInterface $output): void { $output->writeln( sprintf( @@ -167,10 +149,8 @@ private function checkCreateDatabase(OutputInterface $output) /** * Clear all content related cache (persistence cache). - * - * @param \Symfony\Component\Console\Output\OutputInterface $output */ - private function cacheClear(OutputInterface $output) + private function cacheClear(): void { $this->cachePool->clear(); } @@ -183,11 +163,8 @@ private function cacheClear(OutputInterface $output) * This is done after cache clearing to make sure no cached data from before sql import is used. * * IMPORTANT: This is done using a command because config has change, so container and all services are different. - * - * @param \Symfony\Component\Console\Output\OutputInterface $output - * @param string|null $siteaccess */ - private function indexData(OutputInterface $output, $siteaccess = null) + private function indexData(OutputInterface $output, ?string $siteaccess = null): void { $output->writeln( sprintf('Search engine re-indexing, executing command ibexa:reindex') @@ -202,17 +179,19 @@ private function indexData(OutputInterface $output, $siteaccess = null) } /** - * @param $type - * * @return \Ibexa\Bundle\RepositoryInstaller\Installer\Installer */ - private function getInstaller($type) + private function getInstaller(string $type, OutputInterface $output): Installer { - if (!isset($this->installers[$type])) { - return false; + if (!$this->installers->has($type)) { + $output->writeln( + "Unknown install type '$type', available options in currently installed Ibexa package: " . + implode(', ', array_keys($this->installers->getProvidedServices())) + ); + exit(self::EXIT_UNKNOWN_INSTALL_TYPE); } - return $this->installers[$type]; + return $this->installers->get($type); } /** @@ -227,7 +206,7 @@ private function getInstaller($type) * Escape any user provided arguments, like: 'assets:install '.escapeshellarg($webDir) * @param int $timeout */ - private function executeCommand(OutputInterface $output, $cmd, $timeout = 300) + private function executeCommand(OutputInterface $output, $cmd, $timeout = 300): void { $phpFinder = new PhpExecutableFinder(); if (!$phpPath = $phpFinder->find(false)) { diff --git a/src/bundle/RepositoryInstaller/DependencyInjection/Compiler/InstallerTagPass.php b/src/bundle/RepositoryInstaller/DependencyInjection/Compiler/InstallerTagPass.php index cf0df72c3e..bb8acf0ebc 100644 --- a/src/bundle/RepositoryInstaller/DependencyInjection/Compiler/InstallerTagPass.php +++ b/src/bundle/RepositoryInstaller/DependencyInjection/Compiler/InstallerTagPass.php @@ -6,46 +6,22 @@ */ namespace Ibexa\Bundle\RepositoryInstaller\DependencyInjection\Compiler; -use Ibexa\Bundle\RepositoryInstaller\Command\InstallPlatformCommand; -use LogicException; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; -use Symfony\Component\DependencyInjection\Reference; /** - * Injects services tagged as "ibexa.installer" into - * {@see \Ibexa\Bundle\RepositoryInstaller\Command\InstallPlatformCommand::$installers}. + * @deprecated 4.6.27 Installers are now injected into + * {@see \Ibexa\Bundle\RepositoryInstaller\Command\InstallPlatformCommand::$installers} via a + * `!tagged_locator` argument configured in services.yml, so this compiler pass is no longer needed. + * Will be removed in 5.0. */ class InstallerTagPass implements CompilerPassInterface { + /** @deprecated 4.6.27 Will be removed in 6.0. Use the 'ibexa.installer' string directly. */ public const INSTALLER_TAG = 'ibexa.installer'; public function process(ContainerBuilder $container) { - if (!$container->hasDefinition(InstallPlatformCommand::class)) { - return; - } - - $installCommandDef = $container->findDefinition(InstallPlatformCommand::class); - $installers = []; - - foreach ($container->findTaggedServiceIds(self::INSTALLER_TAG) as $id => $tags) { - foreach ($tags as $tag) { - if (!isset($tag['type'])) { - throw new LogicException( - sprintf( - 'Service tag %s needs a "type" attribute to identify the installer. You need to provide a tag for %s.', - self::INSTALLER_TAG, - $id - ) - ); - } - - $installers[$tag['type']] = new Reference($id); - } - } - - $installCommandDef->replaceArgument('$installers', $installers); } } diff --git a/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php b/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php index b5934d8080..7ad8d89726 100644 --- a/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php +++ b/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php @@ -7,7 +7,6 @@ namespace Ibexa\Bundle\RepositoryInstaller; use Ibexa\Bundle\DoctrineSchema\DoctrineSchemaBundle; -use Ibexa\Bundle\RepositoryInstaller\DependencyInjection\Compiler\InstallerTagPass; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Exception\RuntimeException; use Symfony\Component\HttpKernel\Bundle\Bundle; @@ -29,7 +28,6 @@ public function build(ContainerBuilder $container) } parent::build($container); - $container->addCompilerPass(new InstallerTagPass()); } } diff --git a/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php b/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php index 6b05899ffe..6a10a9ecad 100644 --- a/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php +++ b/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php @@ -11,63 +11,123 @@ use Doctrine\DBAL\Connection; use Doctrine\DBAL\Platforms\AbstractPlatform; use Doctrine\DBAL\Schema\Schema; +use Doctrine\Migrations\Query\Query; +use Ibexa\Bundle\RepositoryInstaller\Migration\TaggedMigrationsRunner; use Ibexa\Contracts\DoctrineSchema\Builder\SchemaBuilderInterface; use Symfony\Component\Console\Helper\ProgressBar; /** - * Installer which uses SchemaBuilder. + * Installer which creates the core database schema. */ class CoreInstaller extends DbBasedInstaller implements Installer { /** @var \Ibexa\Contracts\DoctrineSchema\Builder\SchemaBuilderInterface */ protected $schemaBuilder; + private bool $schemaBuilderEventEnabled; + + private TaggedMigrationsRunner $taggedMigrationsRunner; + + public function __construct( + Connection $db, + SchemaBuilderInterface $schemaBuilder, + bool $schemaBuilderEventEnabled, + TaggedMigrationsRunner $taggedMigrationsRunner + ) { + parent::__construct($db); + + $this->schemaBuilder = $schemaBuilder; + $this->schemaBuilderEventEnabled = $schemaBuilderEventEnabled; + $this->taggedMigrationsRunner = $taggedMigrationsRunner; + } + /** - * @param \Doctrine\DBAL\Connection $db - * @param \Ibexa\Contracts\DoctrineSchema\Builder\SchemaBuilderInterface $schemaBuilder + * Imports the core database schema. + * + * When the "ibexa.installer.schema_builder_event.enabled" setting is enabled (the default), the schema + * is built by dispatching the legacy event-driven {@see \Ibexa\Contracts\DoctrineSchema\Event\SchemaBuilderEvent}, + * allowing other packages to contribute their own tables via an event subscriber. + * + * Otherwise, the schema is installed by {@see TaggedMigrationsRunner}, which runs every not-yet-executed + * migration tagged with {@see \Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG} + * (core's own {@see \Ibexa\Bundle\RepositoryInstaller\Migration\InstallSchemaMigration} plus any other + * package's) via the application's Doctrine Migrations DependencyFactory. + * + * @throws \Doctrine\DBAL\DBALException */ - public function __construct(Connection $db, SchemaBuilderInterface $schemaBuilder) + public function importSchema() { - parent::__construct($db); + if ($this->schemaBuilderEventEnabled) { + $this->executeQueries($this->getQueriesFromSchemaBuilderEvent()); - $this->schemaBuilder = $schemaBuilder; + return; + } + + $this->reportExecutedQueries($this->taggedMigrationsRunner->run()); } /** - * Import Schema using event-driven Schema Builder API from Ibexa DoctrineSchema Bundle. + * Builds the schema using the event-driven Schema Builder API from the Ibexa DoctrineSchema bundle. * - * If you wish to extend schema, implement your own EventSubscriber + * If you wish to extend the schema, implement your own EventSubscriber. * * @see \Ibexa\Contracts\DoctrineSchema\Event\SchemaBuilderEvent * @see \Ibexa\Bundle\RepositoryInstaller\Event\Subscriber\BuildSchemaSubscriber * - * @throws \Doctrine\DBAL\DBALException + * @return \Doctrine\Migrations\Query\Query[] */ - public function importSchema() + private function getQueriesFromSchemaBuilderEvent(): array { - // note: schema is built using Schema Builder event-driven API $schema = $this->schemaBuilder->buildSchema(); $databasePlatform = $this->db->getDatabasePlatform(); - $queries = array_merge( + + $sqls = array_merge( $this->getDropSqlStatementsForExistingSchema($schema, $databasePlatform), - // generate schema DDL queries $schema->toSql($databasePlatform) ); + return array_map(static function (string $sql): Query { + return new Query($sql); + }, $sqls); + } + + /** + * Reports the queries {@see TaggedMigrationsRunner} already executed (and recorded) via the Doctrine + * Migrations DependencyFactory. + * + * @param \Doctrine\Migrations\Query\Query[] $queries + */ + private function reportExecutedQueries(array $queries): void + { + $this->output->writeln( + sprintf( + 'Executed %d queries on database %s (%s)', + count($queries), + $this->db->getDatabase(), + $this->db->getDatabasePlatform()->getName() + ) + ); + } + + /** + * @param \Doctrine\Migrations\Query\Query[] $queries + */ + private function executeQueries(array $queries): void + { $queriesCount = count($queries); $this->output->writeln( sprintf( 'Executing %d queries on database %s (%s)', $queriesCount, $this->db->getDatabase(), - $databasePlatform->getName() + $this->db->getDatabasePlatform()->getName() ) ); $progressBar = new ProgressBar($this->output); $progressBar->start($queriesCount); foreach ($queries as $query) { - $this->db->exec($query); + $this->db->executeStatement($query->getStatement(), $query->getParameters(), $query->getTypes()); $progressBar->advance(1); } @@ -79,18 +139,31 @@ public function importSchema() } /** + * Imports the core bootstrap data. + * + * When the "ibexa.installer.schema_builder_event.enabled" setting is enabled (the default), this imports + * the DBMS-specific "cleandata.sql" file directly. + * + * Otherwise, this also delegates to {@see TaggedMigrationsRunner}, same as {@see importSchema()}. Since + * {@see \Ibexa\Bundle\RepositoryInstaller\Migration\ImportDataMigration} is tagged and run the same way, + * calling the runner here typically executes nothing new (it already ran as part of importSchema()) - + * this call only matters if importData() is invoked on its own. + * * @throws \Doctrine\DBAL\DBALException * @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException */ public function importData() { - $this->runQueriesFromFile($this->getKernelSQLFileForDBMS('cleandata.sql')); + if ($this->schemaBuilderEventEnabled) { + $this->runQueriesFromFile($this->getKernelSQLFileForDBMS('cleandata.sql')); + + return; + } + + $this->reportExecutedQueries($this->taggedMigrationsRunner->run()); } /** - * @param \Doctrine\DBAL\Schema\Schema $newSchema - * @param \Doctrine\DBAL\Platforms\AbstractPlatform $databasePlatform - * * @return string[] */ protected function getDropSqlStatementsForExistingSchema( diff --git a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php new file mode 100644 index 0000000000..bd312b5608 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php @@ -0,0 +1,45 @@ +dependencyFactory = $dependencyFactory; + } + + /** + * @return \Doctrine\Migrations\Query\Query[] All SQL statements that were executed, across all migrations run + * + * @throws \RuntimeException if the "{@see IbexaOnlyDependencyFactory::SERVICE_ID}" service isn't available + */ + public function run(): array + { + if ($this->dependencyFactory === null) { + throw new RuntimeException( + 'Running tagged Doctrine migrations requires the "' . IbexaOnlyDependencyFactory::SERVICE_ID . '" ' . + 'service (provided by doctrine/migrations-bundle, with Ibexa\Bundle\DoctrineMigrations\IbexaDoctrineMigrationsBundle ' . + 'registered) to be available.' + ); + } + + $metadataStorage = $this->dependencyFactory->getMetadataStorage(); + // Mirrors what the "doctrine:migrations:migrate" console command does before migrating. + $metadataStorage->ensureInitialized(); + + $planCalculator = $this->dependencyFactory->getMigrationPlanCalculator(); + // getMigrations() returns an already-sorted list; its last item is the "latest" version. + $availableMigrations = $planCalculator->getMigrations()->getItems(); + if ($availableMigrations === []) { + return []; + } + + $latestVersion = end($availableMigrations)->getVersion(); + $plan = $planCalculator->getPlanUntilVersion($latestVersion); + + $connection = $this->dependencyFactory->getConnection(); + + $executedQueries = []; + foreach ($plan->getItems() as $migrationPlan) { + foreach ($this->executeMigration($connection, $metadataStorage, $migrationPlan) as $query) { + $executedQueries[] = $query; + } + } + + return $executedQueries; + } + + /** + * @return \Doctrine\Migrations\Query\Query[] + */ + private function executeMigration( + Connection $connection, + MetadataStorage $metadataStorage, + MigrationPlan $migrationPlan + ): array { + $executedAt = new DateTimeImmutable(); + + $migration = $migrationPlan->getMigration(); + $migration->up(new Schema()); + $queries = $migration->getSql(); + + foreach ($queries as $query) { + $connection->executeStatement($query->getStatement(), $query->getParameters(), $query->getTypes()); + } + + $result = new ExecutionResult($migrationPlan->getVersion(), $migrationPlan->getDirection(), $executedAt); + $metadataStorage->complete($result); + + return $queries; + } +} diff --git a/src/bundle/RepositoryInstaller/Resources/config/services.yml b/src/bundle/RepositoryInstaller/Resources/config/services.yml index 965404750b..4a96b2cf16 100644 --- a/src/bundle/RepositoryInstaller/Resources/config/services.yml +++ b/src/bundle/RepositoryInstaller/Resources/config/services.yml @@ -5,6 +5,30 @@ services: arguments: - '@=service("kernel").locateResource("@IbexaCoreBundle/Resources/config/storage/legacy/schema.yaml")' + Ibexa\Bundle\RepositoryInstaller\Migration\InstallSchemaMigration: + autowire: true + public: false + arguments: + $connection: '@ibexa.persistence.connection' + tags: + - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + + Ibexa\Bundle\RepositoryInstaller\Migration\ImportDataMigration: + autowire: true + public: false + arguments: + $connection: '@ibexa.persistence.connection' + tags: + - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + + Ibexa\Bundle\RepositoryInstaller\Migration\TaggedMigrationsRunner: + public: false + arguments: + # Optional: only resolves to a service if doctrine/migrations-bundle is installed and + # configured. Not defined here, since it belongs to that package, not this one. + # Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaOnlyDependencyFactory::SERVICE_ID + $dependencyFactory: '@?ibexa.doctrine_migrations.dependency_factory.ibexa_migrations_only' + Ibexa\Bundle\RepositoryInstaller\Installer\DbBasedInstaller: abstract: true arguments: ['@ibexa.persistence.connection'] @@ -13,13 +37,15 @@ services: Ibexa\Bundle\RepositoryInstaller\Installer\CoreInstaller: autowire: true parent: Ibexa\Bundle\RepositoryInstaller\Installer\DbBasedInstaller + arguments: + $schemaBuilderEventEnabled: '%ibexa.installer.schema_builder_event.enabled%' tags: - { name: ibexa.installer, type: ibexa-oss } Ibexa\Bundle\RepositoryInstaller\Command\InstallPlatformCommand: arguments: $connection: '@ibexa.persistence.connection' - $installers: [] + $installers: !tagged_locator { tag: 'ibexa.installer', index_by: 'type' } $cachePool: '@ibexa.cache_pool' $environment: "%kernel.environment%" $repositoryConfigurationProvider: '@Ibexa\Bundle\Core\ApiLoader\RepositoryConfigurationProvider' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml b/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml new file mode 100644 index 0000000000..d7c5b372ce --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml @@ -0,0 +1,243 @@ +up: + - file: 'sql/mysql/data/0001_insert_ezcobj_state.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0001_insert_ezcobj_state.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0001_insert_ezcobj_state.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0002_insert_ezcobj_state_group.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0002_insert_ezcobj_state_group.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0002_insert_ezcobj_state_group.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0003_insert_ezcobj_state_group_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0003_insert_ezcobj_state_group_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0003_insert_ezcobj_state_group_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0004_insert_ezcobj_state_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0004_insert_ezcobj_state_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0004_insert_ezcobj_state_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0005_insert_ezcobj_state_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0005_insert_ezcobj_state_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0005_insert_ezcobj_state_link.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0006_insert_ezcontent_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0006_insert_ezcontent_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0006_insert_ezcontent_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0007_insert_ezcontentclass.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0007_insert_ezcontentclass.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0007_insert_ezcontentclass.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0008_insert_ezcontentclass_attribute.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0008_insert_ezcontentclass_attribute.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0008_insert_ezcontentclass_attribute.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0009_insert_ezcontentclass_classgroup.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0009_insert_ezcontentclass_classgroup.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0009_insert_ezcontentclass_classgroup.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0010_insert_ezcontentclass_name.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0010_insert_ezcontentclass_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0010_insert_ezcontentclass_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0011_insert_ezcontentclassgroup.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0011_insert_ezcontentclassgroup.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0011_insert_ezcontentclassgroup.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0012_insert_ezcontentobject.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0012_insert_ezcontentobject.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0012_insert_ezcontentobject.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0013_insert_ezcontentobject_attribute.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0013_insert_ezcontentobject_attribute.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0013_insert_ezcontentobject_attribute.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0014_insert_ezcontentobject_name.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0014_insert_ezcontentobject_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0014_insert_ezcontentobject_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0015_insert_ezcontentobject_tree.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0015_insert_ezcontentobject_tree.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0015_insert_ezcontentobject_tree.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0016_insert_ezcontentobject_version.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0016_insert_ezcontentobject_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0016_insert_ezcontentobject_version.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0017_insert_eznode_assignment.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0017_insert_eznode_assignment.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0017_insert_eznode_assignment.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0018_insert_ezpolicy.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0018_insert_ezpolicy.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0018_insert_ezpolicy.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0019_insert_ezpolicy_limitation.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0019_insert_ezpolicy_limitation.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0019_insert_ezpolicy_limitation.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0020_insert_ezpolicy_limitation_value.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0020_insert_ezpolicy_limitation_value.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0020_insert_ezpolicy_limitation_value.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0021_insert_ezrole.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0021_insert_ezrole.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0021_insert_ezrole.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0022_insert_ezsection.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0022_insert_ezsection.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0022_insert_ezsection.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0023_insert_ezsite_data.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0023_insert_ezsite_data.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0023_insert_ezsite_data.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0024_insert_ezurlalias.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0024_insert_ezurlalias.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0024_insert_ezurlalias.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0025_insert_ezurlalias_ml.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0025_insert_ezurlalias_ml.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0025_insert_ezurlalias_ml.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0026_insert_ezurlalias_ml_incr.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0026_insert_ezurlalias_ml_incr.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0026_insert_ezurlalias_ml_incr.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0027_insert_ezuser.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0027_insert_ezuser.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0027_insert_ezuser.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0028_insert_ezuser_role.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0028_insert_ezuser_role.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0028_insert_ezuser_role.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0029_insert_ezuser_setting.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0029_insert_ezuser_setting.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0029_insert_ezuser_setting.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0030_insert_ezpreferences.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0030_insert_ezpreferences.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0030_insert_ezpreferences.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/data/0031_setval_ezcobj_state_group_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0032_setval_ezcobj_state_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0033_setval_ezcontentbrowsebookmark_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0034_setval_ezcontentclass_attribute_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0035_setval_ezcontentclass_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0036_setval_ezcontentclassgroup_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0037_setval_ezcontentobject_attribute_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0038_setval_ezcontentobject_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0039_setval_ezcontentobject_link_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0040_setval_ezcontentobject_tree_node_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0041_setval_ezcontentobject_version_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0042_setval_ezimagefile_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0043_setval_ezkeyword_attribute_link_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0044_setval_ezkeyword_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0045_setval_eznode_assignment_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0046_setval_eznotification_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0047_setval_ezpackage_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0048_setval_ezpolicy_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0049_setval_ezpolicy_limitation_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0050_setval_ezpolicy_limitation_value_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0051_setval_ezpreferences_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0052_setval_ezrole_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0053_setval_ezsearch_object_word_link_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0054_setval_ezsearch_word_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0055_setval_ezsection_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0056_setval_ezurl_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0057_setval_ezurlalias_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0058_setval_ezurlalias_ml_incr_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0059_setval_ezurlwildcard_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0060_setval_ezuser_accountkey_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0061_setval_ezuser_role_id_seq.sql' + platforms: 'postgresql' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml b/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml new file mode 100644 index 0000000000..1aca414724 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml @@ -0,0 +1,773 @@ +up: + - file: 'sql/mysql/0001_create_ezbinaryfile.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0001_create_ezbinaryfile.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0001_create_ezbinaryfile.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0002_create_ezcobj_state.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0002_create_ezcobj_state.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0002_create_ezcobj_state.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0003_index_ezcobj_state_ezcobj_state_priority.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0003_index_ezcobj_state_ezcobj_state_priority.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0004_index_ezcobj_state_ezcobj_state_lmask.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0004_index_ezcobj_state_ezcobj_state_lmask.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0005_index_ezcobj_state_ezcobj_state_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0005_index_ezcobj_state_ezcobj_state_identifier.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0003_create_ezcobj_state_group.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0006_create_ezcobj_state_group.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0006_create_ezcobj_state_group.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0004_create_ezcobj_state_group_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0009_create_ezcobj_state_group_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0009_create_ezcobj_state_group_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0005_create_ezcobj_state_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0010_create_ezcobj_state_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0010_create_ezcobj_state_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0006_create_ezcobj_state_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0011_create_ezcobj_state_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0011_create_ezcobj_state_link.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0007_create_ezcontent_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0012_create_ezcontent_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0012_create_ezcontent_language.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0013_index_ezcontent_language_ezcontent_language_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0013_index_ezcontent_language_ezcontent_language_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0008_create_ezuser.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0014_create_ezuser.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0014_create_ezuser.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0015_index_ezuser_ezuser_login.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0015_index_ezuser_ezuser_login.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0009_create_ezcontentobject_tree.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0016_create_ezcontentobject_tree.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0016_create_ezcontentobject_tree.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0023_index_ezcontentobject_tree_modified_subnode.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0023_index_ezcontentobject_tree_modified_subnode.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0010_create_ezcontentbrowsebookmark.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0025_create_ezcontentbrowsebookmark.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0025_create_ezcontentbrowsebookmark.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0011_create_ezcontentclass.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0029_create_ezcontentclass.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0029_create_ezcontentclass.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0030_index_ezcontentclass_ezcontentclass_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0030_index_ezcontentclass_ezcontentclass_version.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0031_index_ezcontentclass_ezcontentclass_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0031_index_ezcontentclass_ezcontentclass_identifier.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0012_create_ezcontentclass_attribute.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0032_create_ezcontentclass_attribute.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0032_create_ezcontentclass_attribute.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0013_create_ezcontentclass_attribute_ml.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0035_create_ezcontentclass_attribute_ml.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0035_create_ezcontentclass_attribute_ml.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0014_create_ezcontentclass_classgroup.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0037_create_ezcontentclass_classgroup.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0037_create_ezcontentclass_classgroup.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0015_create_ezcontentclass_name.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0038_create_ezcontentclass_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0038_create_ezcontentclass_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0016_create_ezcontentclassgroup.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0039_create_ezcontentclassgroup.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0039_create_ezcontentclassgroup.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0017_create_ezcontentobject.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0040_create_ezcontentobject.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0040_create_ezcontentobject.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0041_index_ezcontentobject_ezcontentobject_classid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0041_index_ezcontentobject_ezcontentobject_classid.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0042_index_ezcontentobject_ezcontentobject_lmask.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0042_index_ezcontentobject_ezcontentobject_lmask.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0043_index_ezcontentobject_ezcontentobject_pub.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0043_index_ezcontentobject_ezcontentobject_pub.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0044_index_ezcontentobject_ezcontentobject_section.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0044_index_ezcontentobject_ezcontentobject_section.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0045_index_ezcontentobject_ezcontentobject_currentversion.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0045_index_ezcontentobject_ezcontentobject_currentversion.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0046_index_ezcontentobject_ezcontentobject_owner.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0046_index_ezcontentobject_ezcontentobject_owner.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0047_index_ezcontentobject_ezcontentobject_status.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0047_index_ezcontentobject_ezcontentobject_status.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0048_index_ezcontentobject_ezcontentobject_remote_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0048_index_ezcontentobject_ezcontentobject_remote_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0018_create_ezcontentobject_attribute.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0049_create_ezcontentobject_attribute.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0049_create_ezcontentobject_attribute.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0052_index_ezcontentobject_attribute_sort_key_string.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0052_index_ezcontentobject_attribute_sort_key_string.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0054_index_ezcontentobject_attribute_sort_key_int.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0054_index_ezcontentobject_attribute_sort_key_int.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0019_create_ezcontentobject_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0056_create_ezcontentobject_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0056_create_ezcontentobject_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0058_index_ezcontentobject_link_ezco_link_from.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0058_index_ezcontentobject_link_ezco_link_from.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0059_index_ezcontentobject_link_ezco_link_cca_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0059_index_ezcontentobject_link_ezco_link_cca_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0020_create_ezcontentobject_name.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0060_create_ezcontentobject_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0060_create_ezcontentobject_name.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0021_create_ezcontentobject_trash.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0064_create_ezcontentobject_trash.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0064_create_ezcontentobject_trash.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0022_create_ezcontentobject_version.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0071_create_ezcontentobject_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0071_create_ezcontentobject_version.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0072_index_ezcontentobject_version_ezcobj_version_status.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0072_index_ezcontentobject_version_ezcobj_version_status.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0073_index_ezcontentobject_version_idx_object_version_objver.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0073_index_ezcontentobject_version_idx_object_version_objver.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0023_create_ezdfsfile.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0076_create_ezdfsfile.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0076_create_ezdfsfile.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0078_index_ezdfsfile_ezdfsfile_expired_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0078_index_ezdfsfile_ezdfsfile_expired_name.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0079_index_ezdfsfile_ezdfsfile_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0079_index_ezdfsfile_ezdfsfile_name.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0080_index_ezdfsfile_ezdfsfile_mtime.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0080_index_ezdfsfile_ezdfsfile_mtime.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0024_create_ezgmaplocation.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0081_create_ezgmaplocation.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0081_create_ezgmaplocation.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0082_index_ezgmaplocation_latitude_longitude_key.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0082_index_ezgmaplocation_latitude_longitude_key.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0025_create_ezimagefile.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0083_create_ezimagefile.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0083_create_ezimagefile.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0084_index_ezimagefile_ezimagefile_file.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0084_index_ezimagefile_ezimagefile_file.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0085_index_ezimagefile_ezimagefile_coid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0085_index_ezimagefile_ezimagefile_coid.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0026_create_ezkeyword.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0086_create_ezkeyword.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0086_create_ezkeyword.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0087_index_ezkeyword_ezkeyword_keyword.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0087_index_ezkeyword_ezkeyword_keyword.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0027_create_ezkeyword_attribute_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0088_create_ezkeyword_attribute_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0088_create_ezkeyword_attribute_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0028_create_ezmedia.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0092_create_ezmedia.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0092_create_ezmedia.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0029_create_eznode_assignment.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0093_create_eznode_assignment.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0093_create_eznode_assignment.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0094_index_eznode_assignment_eznode_assignment_is_main.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0094_index_eznode_assignment_eznode_assignment_is_main.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0096_index_eznode_assignment_eznode_assignment_parent_node.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0096_index_eznode_assignment_eznode_assignment_parent_node.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0097_index_eznode_assignment_eznode_assignment_co_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0097_index_eznode_assignment_eznode_assignment_co_version.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0030_create_eznotification.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0098_create_eznotification.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0098_create_eznotification.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0099_index_eznotification_eznotification_owner_is_pending.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0099_index_eznotification_eznotification_owner_is_pending.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0100_index_eznotification_eznotification_owner.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0100_index_eznotification_eznotification_owner.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0031_create_ezpackage.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0101_create_ezpackage.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0101_create_ezpackage.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0032_create_ezpolicy.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0102_create_ezpolicy.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0102_create_ezpolicy.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0103_index_ezpolicy_ezpolicy_role_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0103_index_ezpolicy_ezpolicy_role_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0104_index_ezpolicy_ezpolicy_original_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0104_index_ezpolicy_ezpolicy_original_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0033_create_ezpolicy_limitation.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0105_create_ezpolicy_limitation.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0105_create_ezpolicy_limitation.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0106_index_ezpolicy_limitation_policy_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0106_index_ezpolicy_limitation_policy_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0034_create_ezpolicy_limitation_value.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0107_create_ezpolicy_limitation_value.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0107_create_ezpolicy_limitation_value.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0035_create_ezpreferences.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0110_create_ezpreferences.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0110_create_ezpreferences.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0111_index_ezpreferences_ezpreferences_user_id_idx.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0111_index_ezpreferences_ezpreferences_user_id_idx.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0112_index_ezpreferences_ezpreferences_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0112_index_ezpreferences_ezpreferences_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0036_create_ezrole.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0113_create_ezrole.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0113_create_ezrole.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0037_create_ezsearch_object_word_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0114_create_ezsearch_object_word_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0114_create_ezsearch_object_word_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0038_create_ezsearch_word.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0120_create_ezsearch_word.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0120_create_ezsearch_word.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0121_index_ezsearch_word_ezsearch_word_word_i.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0121_index_ezsearch_word_ezsearch_word_word_i.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0122_index_ezsearch_word_ezsearch_word_obj_count.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0122_index_ezsearch_word_ezsearch_word_obj_count.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0039_create_ezsection.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0123_create_ezsection.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0123_create_ezsection.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0040_create_ezsite_data.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0124_create_ezsite_data.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0124_create_ezsite_data.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0041_create_ezurl.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0125_create_ezurl.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0125_create_ezurl.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0126_index_ezurl_ezurl_url.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0126_index_ezurl_ezurl_url.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0042_create_ezurl_object_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0127_create_ezurl_object_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0127_create_ezurl_object_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0129_index_ezurl_object_link_ezurl_ol_url_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0129_index_ezurl_object_link_ezurl_ol_url_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0043_create_ezurlalias.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0132_create_ezurlalias.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0132_create_ezurlalias.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0133_index_ezurlalias_ezurlalias_source_md5.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0133_index_ezurlalias_ezurlalias_source_md5.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0135_index_ezurlalias_ezurlalias_forward_to_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0135_index_ezurlalias_ezurlalias_forward_to_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0137_index_ezurlalias_ezurlalias_source_url.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0137_index_ezurlalias_ezurlalias_source_url.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0138_index_ezurlalias_ezurlalias_desturl.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0138_index_ezurlalias_ezurlalias_desturl.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0044_create_ezurlalias_ml.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0139_create_ezurlalias_ml.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0139_create_ezurlalias_ml.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0045_create_ezurlalias_ml_incr.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0148_create_ezurlalias_ml_incr.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0148_create_ezurlalias_ml_incr.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0046_create_ezurlwildcard.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0149_create_ezurlwildcard.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0149_create_ezurlwildcard.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0047_create_ezuser_accountkey.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0150_create_ezuser_accountkey.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0150_create_ezuser_accountkey.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0151_index_ezuser_accountkey_hash_key.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0151_index_ezuser_accountkey_hash_key.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0048_create_ezuser_role.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0152_create_ezuser_role.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0152_create_ezuser_role.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0153_index_ezuser_role_ezuser_role_role_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0153_index_ezuser_role_ezuser_role_role_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0154_index_ezuser_role_ezuser_role_contentobject_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0154_index_ezuser_role_ezuser_role_contentobject_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0049_create_ezuser_setting.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0155_create_ezuser_setting.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0155_create_ezuser_setting.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0050_create_ibexa_setting.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0156_create_ibexa_setting.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0156_create_ibexa_setting.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0051_create_ibexa_token_type.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0159_create_ibexa_token_type.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0159_create_ibexa_token_type.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0052_create_ibexa_token.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0161_create_ibexa_token.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0161_create_ibexa_token.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0053_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0164_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql' + platforms: 'postgresql' + - file: 'sql/mysql/0054_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0165_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql' + platforms: 'postgresql' + - file: 'sql/mysql/0055_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0166_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql' + platforms: 'postgresql' + - file: 'sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql' + platforms: 'postgresql' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ezbinaryfile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ezbinaryfile.sql new file mode 100644 index 0000000000..4550a8fde8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ezbinaryfile.sql @@ -0,0 +1 @@ +CREATE TABLE ezbinaryfile (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ezcobj_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ezcobj_state.sql new file mode 100644 index 0000000000..b7b2dcff8a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ezcobj_state.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, INDEX ezcobj_state_priority (priority), INDEX ezcobj_state_lmask (language_mask), UNIQUE INDEX ezcobj_state_identifier (group_id, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ezcobj_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ezcobj_state_group.sql new file mode 100644 index 0000000000..8db47cc4fe --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ezcobj_state_group.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state_group (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ezcobj_state_group_lmask (language_mask), UNIQUE INDEX ezcobj_state_group_identifier (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ezcobj_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ezcobj_state_group_language.sql new file mode 100644 index 0000000000..7d6cb0efc5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ezcobj_state_group_language.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ezcobj_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ezcobj_state_language.sql new file mode 100644 index 0000000000..ce7fbc900b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ezcobj_state_language.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ezcobj_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ezcobj_state_link.sql new file mode 100644 index 0000000000..8905130d9f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ezcobj_state_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ezcontent_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ezcontent_language.sql new file mode 100644 index 0000000000..d314ccc990 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ezcontent_language.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontent_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ezcontent_language_name (name(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ezuser.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ezuser.sql new file mode 100644 index 0000000000..902d1740c8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ezuser.sql @@ -0,0 +1 @@ +CREATE TABLE ezuser (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, UNIQUE INDEX ezuser_login (login), PRIMARY KEY(contentobject_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ezcontentobject_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ezcontentobject_tree.sql new file mode 100644 index 0000000000..ba5486f96c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ezcontentobject_tree.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_tree (node_id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, INDEX ezcontentobject_tree_p_node_id (parent_node_id), INDEX ezcontentobject_tree_path_ident (path_identification_string(50)), INDEX ezcontentobject_tree_contentobject_id_path_string (path_string(191), contentobject_id), INDEX ezcontentobject_tree_co_id (contentobject_id), INDEX ezcontentobject_tree_depth (depth), INDEX ezcontentobject_tree_path (path_string(191)), INDEX modified_subnode (modified_subnode), INDEX ezcontentobject_tree_remote_id (remote_id), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ezcontentbrowsebookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ezcontentbrowsebookmark.sql new file mode 100644 index 0000000000..f7d7851f12 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ezcontentbrowsebookmark.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentbrowsebookmark (id INT AUTO_INCREMENT NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ezcontentbrowsebookmark_location (node_id), INDEX ezcontentbrowsebookmark_user (user_id), INDEX ezcontentbrowsebookmark_user_location (user_id, node_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ezcontentclass.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ezcontentclass.sql new file mode 100644 index 0000000000..333a9e52f4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ezcontentclass.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, INDEX ezcontentclass_version (version), INDEX ezcontentclass_identifier (identifier, version), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ezcontentclass_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ezcontentclass_attribute.sql new file mode 100644 index 0000000000..b222dde913 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ezcontentclass_attribute.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass_attribute (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail TINYINT(1) DEFAULT '0' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text LONGTEXT DEFAULT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT NOT NULL, INDEX ezcontentclass_attr_ccid (contentclass_id), INDEX ezcontentclass_attr_dts (data_type_string), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ezcontentclass_attribute_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ezcontentclass_attribute_ml.sql new file mode 100644 index 0000000000..8e6a1f9070 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ezcontentclass_attribute_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass_attribute_ml (contentclass_attribute_id INT NOT NULL, version INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, INDEX ezcontentclass_attribute_ml_lang_fk (language_id), PRIMARY KEY(contentclass_attribute_id, version, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ezcontentclass_classgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ezcontentclass_classgroup.sql new file mode 100644 index 0000000000..f5a3c2d20a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ezcontentclass_classgroup.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass_classgroup (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ezcontentclass_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ezcontentclass_name.sql new file mode 100644 index 0000000000..c6e7644e14 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ezcontentclass_name.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass_name (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ezcontentclassgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ezcontentclassgroup.sql new file mode 100644 index 0000000000..e39f7864f8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ezcontentclassgroup.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclassgroup (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system TINYINT(1) DEFAULT '0' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ezcontentobject.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ezcontentobject.sql new file mode 100644 index 0000000000..0e84bc9642 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ezcontentobject.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject (id INT AUTO_INCREMENT NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden TINYINT(1) DEFAULT '0' NOT NULL, INDEX ezcontentobject_classid (contentclass_id), INDEX ezcontentobject_lmask (language_mask), INDEX ezcontentobject_pub (published), INDEX ezcontentobject_section (section_id), INDEX ezcontentobject_currentversion (current_version), INDEX ezcontentobject_owner (owner_id), INDEX ezcontentobject_status (status), UNIQUE INDEX ezcontentobject_remote_id (remote_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ezcontentobject_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ezcontentobject_attribute.sql new file mode 100644 index 0000000000..a15e961c0c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ezcontentobject_attribute.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_attribute (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, contentclassattribute_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, INDEX ezcontentobject_attribute_co_id_ver_lang_code (contentobject_id, version, language_code), INDEX ezcontentobject_classattr_id (contentclassattribute_id), INDEX sort_key_string (sort_key_string(191)), INDEX ezcontentobject_attribute_language_code (language_code), INDEX sort_key_int (sort_key_int), INDEX ezcontentobject_attribute_co_id_ver (contentobject_id, version), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ezcontentobject_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ezcontentobject_link.sql new file mode 100644 index 0000000000..b41b6b97cb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ezcontentobject_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_link (id INT AUTO_INCREMENT NOT NULL, contentclassattribute_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, INDEX ezco_link_to_co_id (to_contentobject_id), INDEX ezco_link_from (from_contentobject_id, from_contentobject_version, contentclassattribute_id), INDEX ezco_link_cca_id (contentclassattribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ezcontentobject_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ezcontentobject_name.sql new file mode 100644 index 0000000000..8031fb6dce --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ezcontentobject_name.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, INDEX ezcontentobject_name_lang_id (language_id), INDEX ezcontentobject_name_cov_id (content_version), INDEX ezcontentobject_name_name (name(191)), PRIMARY KEY(contentobject_id, content_version, content_translation)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ezcontentobject_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ezcontentobject_trash.sql new file mode 100644 index 0000000000..a6a8e86f13 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ezcontentobject_trash.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, INDEX ezcobj_trash_depth (depth), INDEX ezcobj_trash_p_node_id (parent_node_id), INDEX ezcobj_trash_path_ident (path_identification_string(50)), INDEX ezcobj_trash_co_id (contentobject_id), INDEX ezcobj_trash_modified_subnode (modified_subnode), INDEX ezcobj_trash_path (path_string(191)), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ezcontentobject_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ezcontentobject_version.sql new file mode 100644 index 0000000000..50606c73b6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ezcontentobject_version.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_version (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, INDEX ezcobj_version_status (status), INDEX idx_object_version_objver (contentobject_id, version), INDEX ezcontobj_version_obj_status (contentobject_id, status), INDEX ezcobj_version_creator_id (creator_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ezdfsfile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ezdfsfile.sql new file mode 100644 index 0000000000..165177694f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ezdfsfile.sql @@ -0,0 +1 @@ +CREATE TABLE ezdfsfile (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired TINYINT(1) DEFAULT '0' NOT NULL, status TINYINT(1) DEFAULT '0' NOT NULL, INDEX ezdfsfile_name_trunk (name_trunk(191)), INDEX ezdfsfile_expired_name (expired, name(191)), INDEX ezdfsfile_name (name(191)), INDEX ezdfsfile_mtime (mtime), PRIMARY KEY(name_hash)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ezgmaplocation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ezgmaplocation.sql new file mode 100644 index 0000000000..096c46dd2d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ezgmaplocation.sql @@ -0,0 +1 @@ +CREATE TABLE ezgmaplocation (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, INDEX latitude_longitude_key (latitude, longitude), PRIMARY KEY(contentobject_attribute_id, contentobject_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ezimagefile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ezimagefile.sql new file mode 100644 index 0000000000..5b9e6d2c2c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ezimagefile.sql @@ -0,0 +1 @@ +CREATE TABLE ezimagefile (id INT AUTO_INCREMENT NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath LONGTEXT NOT NULL, INDEX ezimagefile_file (filepath(191)), INDEX ezimagefile_coid (contentobject_attribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ezkeyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ezkeyword.sql new file mode 100644 index 0000000000..2a586c9192 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ezkeyword.sql @@ -0,0 +1 @@ +CREATE TABLE ezkeyword (id INT AUTO_INCREMENT NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, INDEX ezkeyword_keyword (keyword(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ezkeyword_attribute_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ezkeyword_attribute_link.sql new file mode 100644 index 0000000000..3cd519f470 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ezkeyword_attribute_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezkeyword_attribute_link (id INT AUTO_INCREMENT NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, INDEX ezkeyword_attr_link_oaid (objectattribute_id), INDEX ezkeyword_attr_link_kid_oaid (keyword_id, objectattribute_id), INDEX ezkeyword_attr_link_oaid_ver (objectattribute_id, version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ezmedia.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ezmedia.sql new file mode 100644 index 0000000000..2b9c743704 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ezmedia.sql @@ -0,0 +1 @@ +CREATE TABLE ezmedia (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_eznode_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_eznode_assignment.sql new file mode 100644 index 0000000000..e7765ae00a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_eznode_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE eznode_assignment (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, INDEX eznode_assignment_is_main (is_main), INDEX eznode_assignment_coid_cov (contentobject_id, contentobject_version), INDEX eznode_assignment_parent_node (parent_node), INDEX eznode_assignment_co_version (contentobject_version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_eznotification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_eznotification.sql new file mode 100644 index 0000000000..20edb16ebd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_eznotification.sql @@ -0,0 +1 @@ +CREATE TABLE eznotification (id INT AUTO_INCREMENT NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending TINYINT(1) DEFAULT '1' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INT DEFAULT 0 NOT NULL, data LONGTEXT DEFAULT NULL, INDEX eznotification_owner_is_pending (owner_id, is_pending), INDEX eznotification_owner (owner_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ezpackage.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ezpackage.sql new file mode 100644 index 0000000000..adba6500dd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ezpackage.sql @@ -0,0 +1 @@ +CREATE TABLE ezpackage (id INT AUTO_INCREMENT NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ezpolicy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ezpolicy.sql new file mode 100644 index 0000000000..a8130e913a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ezpolicy.sql @@ -0,0 +1 @@ +CREATE TABLE ezpolicy (id INT AUTO_INCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, INDEX ezpolicy_role_id (role_id), INDEX ezpolicy_original_id (original_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ezpolicy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ezpolicy_limitation.sql new file mode 100644 index 0000000000..992c1aba35 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ezpolicy_limitation.sql @@ -0,0 +1 @@ +CREATE TABLE ezpolicy_limitation (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, INDEX policy_id (policy_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ezpolicy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ezpolicy_limitation_value.sql new file mode 100644 index 0000000000..d354086aa4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ezpolicy_limitation_value.sql @@ -0,0 +1 @@ +CREATE TABLE ezpolicy_limitation_value (id INT AUTO_INCREMENT NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, INDEX ezpolicy_limit_value_limit_id (limitation_id), INDEX ezpolicy_limitation_value_val (value(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ezpreferences.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ezpreferences.sql new file mode 100644 index 0000000000..67795da3c0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ezpreferences.sql @@ -0,0 +1 @@ +CREATE TABLE ezpreferences (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value LONGTEXT DEFAULT NULL, INDEX ezpreferences_user_id_idx (user_id, name), INDEX ezpreferences_name (name), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ezrole.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ezrole.sql new file mode 100644 index 0000000000..ae9d6d1647 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ezrole.sql @@ -0,0 +1 @@ +CREATE TABLE ezrole (id INT AUTO_INCREMENT NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ezsearch_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ezsearch_object_word_link.sql new file mode 100644 index 0000000000..5bc76956bd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ezsearch_object_word_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezsearch_object_word_link (id INT AUTO_INCREMENT NOT NULL, contentclass_attribute_id INT DEFAULT 0 NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ezsearch_object_word_link_object (contentobject_id), INDEX ezsearch_object_word_link_identifier (identifier(191)), INDEX ezsearch_object_word_link_integer_value (integer_value), INDEX ezsearch_object_word_link_word (word_id), INDEX ezsearch_object_word_link_frequency (frequency), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ezsearch_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ezsearch_word.sql new file mode 100644 index 0000000000..07b9e3eeb0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ezsearch_word.sql @@ -0,0 +1 @@ +CREATE TABLE ezsearch_word (id INT AUTO_INCREMENT NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, INDEX ezsearch_word_word_i (word), INDEX ezsearch_word_obj_count (object_count), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ezsection.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ezsection.sql new file mode 100644 index 0000000000..9c6a91c30d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ezsection.sql @@ -0,0 +1 @@ +CREATE TABLE ezsection (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ezsite_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ezsite_data.sql new file mode 100644 index 0000000000..6ed8657e61 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ezsite_data.sql @@ -0,0 +1 @@ +CREATE TABLE ezsite_data (name VARCHAR(60) DEFAULT '' NOT NULL, value LONGTEXT NOT NULL, PRIMARY KEY(name)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ezurl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ezurl.sql new file mode 100644 index 0000000000..bd531c02d4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ezurl.sql @@ -0,0 +1 @@ +CREATE TABLE ezurl (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url LONGTEXT DEFAULT NULL, INDEX ezurl_url (url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ezurl_object_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ezurl_object_link.sql new file mode 100644 index 0000000000..a795d1afba --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ezurl_object_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezurl_object_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL, INDEX ezurl_ol_coa_id (contentobject_attribute_id), INDEX ezurl_ol_url_id (url_id), INDEX ezurl_ol_coa_version (contentobject_attribute_version), INDEX ezurl_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ezurlalias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ezurlalias.sql new file mode 100644 index 0000000000..10be1ded9d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ezurlalias.sql @@ -0,0 +1 @@ +CREATE TABLE ezurlalias (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url LONGTEXT NOT NULL, INDEX ezurlalias_source_md5 (source_md5), INDEX ezurlalias_wcard_fwd (is_wildcard, forward_to_id), INDEX ezurlalias_forward_to_id (forward_to_id), INDEX ezurlalias_imp_wcard_fwd (is_imported, is_wildcard, forward_to_id), INDEX ezurlalias_source_url (source_url(191)), INDEX ezurlalias_desturl (destination_url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ezurlalias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ezurlalias_ml.sql new file mode 100644 index 0000000000..f60a5debf8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ezurlalias_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ezurlalias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, action LONGTEXT NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text LONGTEXT NOT NULL, INDEX ezurlalias_ml_actt_org_al (action_type, is_original, is_alias), INDEX ezurlalias_ml_text_lang (text(32), lang_mask, parent), INDEX ezurlalias_ml_par_act_id_lnk (action(32), id, link, parent), INDEX ezurlalias_ml_par_lnk_txt (parent, text(32), link), INDEX ezurlalias_ml_act_org (action(32), is_original), INDEX ezurlalias_ml_text (text(32), id, link), INDEX ezurlalias_ml_link (link), INDEX ezurlalias_ml_id (id), PRIMARY KEY(parent, text_md5)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ezurlalias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ezurlalias_ml_incr.sql new file mode 100644 index 0000000000..0e028a410a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ezurlalias_ml_incr.sql @@ -0,0 +1 @@ +CREATE TABLE ezurlalias_ml_incr (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ezurlwildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ezurlwildcard.sql new file mode 100644 index 0000000000..49e6fdb7cc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ezurlwildcard.sql @@ -0,0 +1 @@ +CREATE TABLE ezurlwildcard (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, source_url LONGTEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ezuser_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ezuser_accountkey.sql new file mode 100644 index 0000000000..0bca83a3b6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ezuser_accountkey.sql @@ -0,0 +1 @@ +CREATE TABLE ezuser_accountkey (id INT AUTO_INCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, INDEX hash_key (hash_key), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ezuser_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ezuser_role.sql new file mode 100644 index 0000000000..89f78ae40d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ezuser_role.sql @@ -0,0 +1 @@ +CREATE TABLE ezuser_role (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, INDEX ezuser_role_role_id (role_id), INDEX ezuser_role_contentobject_id (contentobject_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ezuser_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ezuser_setting.sql new file mode 100644 index 0000000000..c3c035a3ea --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ezuser_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ezuser_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql new file mode 100644 index 0000000000..d664bb1bf9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_setting (id INT AUTO_INCREMENT NOT NULL, `group` VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, INDEX ibexa_setting_id (id), UNIQUE INDEX ibexa_setting_group_identifier (`group`, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql new file mode 100644 index 0000000000..050286548c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token_type (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL, UNIQUE INDEX ibexa_token_type_unique (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql new file mode 100644 index 0000000000..2cc774c11a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token (id INT AUTO_INCREMENT NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked TINYINT(1) DEFAULT '0' NOT NULL, INDEX IDX_B5412887C54C8C93 (type_id), UNIQUE INDEX ibexa_token_unique (token, identifier, type_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql new file mode 100644 index 0000000000..fd2f319c2a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql new file mode 100644 index 0000000000..a4fe1c30db --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql new file mode 100644 index 0000000000..9d8fb82dc7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql new file mode 100644 index 0000000000..f8e58ffca0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ezcobj_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ezcobj_state.sql new file mode 100644 index 0000000000..64e0eacdd1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ezcobj_state.sql @@ -0,0 +1,3 @@ +INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) +VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ezcobj_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ezcobj_state_group.sql new file mode 100644 index 0000000000..677a43ca5c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ezcobj_state_group.sql @@ -0,0 +1,2 @@ +INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) +VALUES (2,2,'ez_lock',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ezcobj_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ezcobj_state_group_language.sql new file mode 100644 index 0000000000..9930341865 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ezcobj_state_group_language.sql @@ -0,0 +1,2 @@ +INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) +VALUES (2,'',3,'Lock',2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ezcobj_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ezcobj_state_language.sql new file mode 100644 index 0000000000..dc7872d95b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ezcobj_state_language.sql @@ -0,0 +1,3 @@ +INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) +VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ezcobj_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ezcobj_state_link.sql new file mode 100644 index 0000000000..9a0dd8d0e9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ezcobj_state_link.sql @@ -0,0 +1,13 @@ +INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) +VALUES (1, 1), + (4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ezcontent_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ezcontent_language.sql new file mode 100644 index 0000000000..97bfa86644 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ezcontent_language.sql @@ -0,0 +1,2 @@ +INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ezcontentclass.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ezcontentclass.sql new file mode 100644 index 0000000000..540efcb3ef --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ezcontentclass.sql @@ -0,0 +1,7 @@ +INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ezcontentclass_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ezcontentclass_attribute.sql new file mode 100644 index 0000000000..30ad516ff8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ezcontentclass_attribute.sql @@ -0,0 +1,25 @@ +INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ezcontentclass_classgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ezcontentclass_classgroup.sql new file mode 100644 index 0000000000..ffa17693b0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ezcontentclass_classgroup.sql @@ -0,0 +1,7 @@ +INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) +VALUES (1, 0, 1, 'Content'), + (2, 0, 1, 'Content'), + (3, 0, 2, 'Users'), + (4, 0, 2, 'Users'), + (5, 0, 3, 'Media'), + (12, 0, 3, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ezcontentclass_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ezcontentclass_name.sql new file mode 100644 index 0000000000..1f517c87e3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ezcontentclass_name.sql @@ -0,0 +1,7 @@ +INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) +VALUES (1, 0, 2, 'eng-GB', 'Folder'), + (2, 0, 3, 'eng-GB', 'Article'), + (3, 0, 3, 'eng-GB', 'User group'), + (4, 0, 3, 'eng-GB', 'User'), + (5, 0, 3, 'eng-GB', 'Image'), + (12, 0, 3, 'eng-GB', 'File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ezcontentclassgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ezcontentclassgroup.sql new file mode 100644 index 0000000000..61aea82715 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ezcontentclassgroup.sql @@ -0,0 +1,4 @@ +INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) +VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ezcontentobject.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ezcontentobject.sql new file mode 100644 index 0000000000..c18bc54f7d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ezcontentobject.sql @@ -0,0 +1,13 @@ +INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) +VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ezcontentobject_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ezcontentobject_attribute.sql new file mode 100644 index 0000000000..d2ec35a36f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ezcontentobject_attribute.sql @@ -0,0 +1,41 @@ +INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) +VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ezcontentobject_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ezcontentobject_name.sql new file mode 100644 index 0000000000..fc75852a7c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ezcontentobject_name.sql @@ -0,0 +1,13 @@ +INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) +VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ezcontentobject_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ezcontentobject_tree.sql new file mode 100644 index 0000000000..1cfc2b9049 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ezcontentobject_tree.sql @@ -0,0 +1,14 @@ +INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) +VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ezcontentobject_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ezcontentobject_version.sql new file mode 100644 index 0000000000..f8ba2fe49d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ezcontentobject_version.sql @@ -0,0 +1,13 @@ +INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_eznode_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_eznode_assignment.sql new file mode 100644 index 0000000000..b69e8a455f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_eznode_assignment.sql @@ -0,0 +1,13 @@ +INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) +VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ezpolicy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ezpolicy.sql new file mode 100644 index 0000000000..7e0d289d2b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ezpolicy.sql @@ -0,0 +1,9 @@ +INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) +VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ezpolicy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ezpolicy_limitation.sql new file mode 100644 index 0000000000..d1dfc57ee9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ezpolicy_limitation.sql @@ -0,0 +1,7 @@ +INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) +VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ezpolicy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ezpolicy_limitation_value.sql new file mode 100644 index 0000000000..26ef009ea8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ezpolicy_limitation_value.sql @@ -0,0 +1,8 @@ +INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) +VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ezrole.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ezrole.sql new file mode 100644 index 0000000000..16605e3ee2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ezrole.sql @@ -0,0 +1,5 @@ +INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) +VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ezsection.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ezsection.sql new file mode 100644 index 0000000000..a12ae3cbfb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ezsection.sql @@ -0,0 +1,4 @@ +INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) +VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ezsite_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ezsite_data.sql new file mode 100644 index 0000000000..82536384d3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ezsite_data.sql @@ -0,0 +1,2 @@ +INSERT INTO `ezsite_data` (`name`, `value`) +VALUES ('ibexa-release','4.6'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ezurlalias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ezurlalias.sql new file mode 100644 index 0000000000..dbdfab1b74 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ezurlalias.sql @@ -0,0 +1,13 @@ +INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) +VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ezurlalias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ezurlalias_ml.sql new file mode 100644 index 0000000000..1a3fce42c5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ezurlalias_ml.sql @@ -0,0 +1,26 @@ +INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) +VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ezurlalias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ezurlalias_ml_incr.sql new file mode 100644 index 0000000000..60ee1309ce --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ezurlalias_ml_incr.sql @@ -0,0 +1,4 @@ +INSERT INTO `ezurlalias_ml_incr` (`id`) +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ezuser.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ezuser.sql new file mode 100644 index 0000000000..151e4f6fa4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ezuser.sql @@ -0,0 +1,3 @@ +INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) +VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ezuser_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ezuser_role.sql new file mode 100644 index 0000000000..5ad1f12f1e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ezuser_role.sql @@ -0,0 +1,7 @@ +INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) +VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ezuser_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ezuser_setting.sql new file mode 100644 index 0000000000..c87f9291dd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ezuser_setting.sql @@ -0,0 +1,3 @@ +INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) +VALUES (1,1000,10), + (1,10,14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ezpreferences.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ezpreferences.sql new file mode 100644 index 0000000000..5a44f420f9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ezpreferences.sql @@ -0,0 +1,2 @@ +INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) +SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ezbinaryfile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ezbinaryfile.sql new file mode 100644 index 0000000000..14531f39f5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ezbinaryfile.sql @@ -0,0 +1 @@ +CREATE TABLE ezbinaryfile (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ezcobj_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ezcobj_state.sql new file mode 100644 index 0000000000..16d6b76be3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ezcobj_state.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ezcobj_state_ezcobj_state_priority.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ezcobj_state_ezcobj_state_priority.sql new file mode 100644 index 0000000000..acd97e80ae --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ezcobj_state_ezcobj_state_priority.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ezcobj_state_ezcobj_state_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ezcobj_state_ezcobj_state_lmask.sql new file mode 100644 index 0000000000..6d6498dfa3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ezcobj_state_ezcobj_state_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ezcobj_state_ezcobj_state_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ezcobj_state_ezcobj_state_identifier.sql new file mode 100644 index 0000000000..a622a7319b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ezcobj_state_ezcobj_state_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ezcobj_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ezcobj_state_group.sql new file mode 100644 index 0000000000..aa60df6bbf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ezcobj_state_group.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state_group (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql new file mode 100644 index 0000000000..8693d6bab5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql new file mode 100644 index 0000000000..36481c9271 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ezcobj_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ezcobj_state_group_language.sql new file mode 100644 index 0000000000..e73ef9404d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ezcobj_state_group_language.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ezcobj_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ezcobj_state_language.sql new file mode 100644 index 0000000000..75a6e90f82 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ezcobj_state_language.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ezcobj_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ezcobj_state_link.sql new file mode 100644 index 0000000000..f90c53635b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ezcobj_state_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ezcontent_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ezcontent_language.sql new file mode 100644 index 0000000000..fc7a9a2fdf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ezcontent_language.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontent_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ezcontent_language_ezcontent_language_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ezcontent_language_ezcontent_language_name.sql new file mode 100644 index 0000000000..0a236b1d78 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ezcontent_language_ezcontent_language_name.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontent_language_name ON ezcontent_language (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ezuser.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ezuser.sql new file mode 100644 index 0000000000..aaf5f8ae89 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ezuser.sql @@ -0,0 +1 @@ +CREATE TABLE ezuser (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, PRIMARY KEY(contentobject_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ezuser_ezuser_login.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ezuser_ezuser_login.sql new file mode 100644 index 0000000000..382bc2fe6f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ezuser_ezuser_login.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ezuser_login ON ezuser (login); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ezcontentobject_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ezcontentobject_tree.sql new file mode 100644 index 0000000000..ebb309ad93 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ezcontentobject_tree.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_tree (node_id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql new file mode 100644 index 0000000000..7a3cbafefc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql new file mode 100644 index 0000000000..a0694b8c61 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql new file mode 100644 index 0000000000..80dcea65d9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql new file mode 100644 index 0000000000..9f76373cac --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql new file mode 100644 index 0000000000..d7b5136f63 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql new file mode 100644 index 0000000000..f0c7ac9ecc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ezcontentobject_tree_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ezcontentobject_tree_modified_subnode.sql new file mode 100644 index 0000000000..87676071e9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ezcontentobject_tree_modified_subnode.sql @@ -0,0 +1 @@ +CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql new file mode 100644 index 0000000000..22d066cdca --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ezcontentbrowsebookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ezcontentbrowsebookmark.sql new file mode 100644 index 0000000000..c9c6672a2d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ezcontentbrowsebookmark.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentbrowsebookmark (id SERIAL NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql new file mode 100644 index 0000000000..659a26c514 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql new file mode 100644 index 0000000000..5b0696a7e8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql new file mode 100644 index 0000000000..6c77193029 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ezcontentclass.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ezcontentclass.sql new file mode 100644 index 0000000000..d983cc5378 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ezcontentclass.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ezcontentclass_ezcontentclass_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ezcontentclass_ezcontentclass_version.sql new file mode 100644 index 0000000000..7fd0e3cfa1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ezcontentclass_ezcontentclass_version.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentclass_version ON ezcontentclass (version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ezcontentclass_ezcontentclass_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ezcontentclass_ezcontentclass_identifier.sql new file mode 100644 index 0000000000..24c8111651 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ezcontentclass_ezcontentclass_identifier.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ezcontentclass_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ezcontentclass_attribute.sql new file mode 100644 index 0000000000..273341c716 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ezcontentclass_attribute.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass_attribute (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT 'false' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text TEXT DEFAULT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT NOT NULL, PRIMARY KEY(id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql new file mode 100644 index 0000000000..7875734dae --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql new file mode 100644 index 0000000000..ba2700ac55 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ezcontentclass_attribute_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ezcontentclass_attribute_ml.sql new file mode 100644 index 0000000000..8f5af634b4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ezcontentclass_attribute_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass_attribute_ml (contentclass_attribute_id INT NOT NULL, version INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, PRIMARY KEY(contentclass_attribute_id, version, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql new file mode 100644 index 0000000000..f17be3c68c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ezcontentclass_classgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ezcontentclass_classgroup.sql new file mode 100644 index 0000000000..3a8d83fa44 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ezcontentclass_classgroup.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass_classgroup (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ezcontentclass_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ezcontentclass_name.sql new file mode 100644 index 0000000000..ebcc1e629b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ezcontentclass_name.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass_name (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ezcontentclassgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ezcontentclassgroup.sql new file mode 100644 index 0000000000..4d31939956 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ezcontentclassgroup.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclassgroup (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ezcontentobject.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ezcontentobject.sql new file mode 100644 index 0000000000..06925bdc48 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ezcontentobject.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject (id SERIAL NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ezcontentobject_ezcontentobject_classid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ezcontentobject_ezcontentobject_classid.sql new file mode 100644 index 0000000000..5dddc18819 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ezcontentobject_ezcontentobject_classid.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ezcontentobject_ezcontentobject_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ezcontentobject_ezcontentobject_lmask.sql new file mode 100644 index 0000000000..6fd63f61d8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ezcontentobject_ezcontentobject_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ezcontentobject_ezcontentobject_pub.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ezcontentobject_ezcontentobject_pub.sql new file mode 100644 index 0000000000..022ffd1c54 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ezcontentobject_ezcontentobject_pub.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_pub ON ezcontentobject (published); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ezcontentobject_ezcontentobject_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ezcontentobject_ezcontentobject_section.sql new file mode 100644 index 0000000000..2459702346 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ezcontentobject_ezcontentobject_section.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ezcontentobject_ezcontentobject_currentversion.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ezcontentobject_ezcontentobject_currentversion.sql new file mode 100644 index 0000000000..cb0f62d824 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ezcontentobject_ezcontentobject_currentversion.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ezcontentobject_ezcontentobject_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ezcontentobject_ezcontentobject_owner.sql new file mode 100644 index 0000000000..17c73894b6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ezcontentobject_ezcontentobject_owner.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ezcontentobject_ezcontentobject_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ezcontentobject_ezcontentobject_status.sql new file mode 100644 index 0000000000..f68fa6262f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ezcontentobject_ezcontentobject_status.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_status ON ezcontentobject (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ezcontentobject_ezcontentobject_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ezcontentobject_ezcontentobject_remote_id.sql new file mode 100644 index 0000000000..6e86f88cfe --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ezcontentobject_ezcontentobject_remote_id.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ezcontentobject_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ezcontentobject_attribute.sql new file mode 100644 index 0000000000..1d315de98a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ezcontentobject_attribute.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_attribute (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, contentclassattribute_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql new file mode 100644 index 0000000000..6b23dbfdcb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql new file mode 100644 index 0000000000..c8391d6730 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ezcontentobject_attribute_sort_key_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ezcontentobject_attribute_sort_key_string.sql new file mode 100644 index 0000000000..320329b4f4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ezcontentobject_attribute_sort_key_string.sql @@ -0,0 +1 @@ +CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql new file mode 100644 index 0000000000..31e10963b6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ezcontentobject_attribute_sort_key_int.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ezcontentobject_attribute_sort_key_int.sql new file mode 100644 index 0000000000..d89a560a80 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ezcontentobject_attribute_sort_key_int.sql @@ -0,0 +1 @@ +CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql new file mode 100644 index 0000000000..3a0b46cb82 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ezcontentobject_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ezcontentobject_link.sql new file mode 100644 index 0000000000..26d2b46d1c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ezcontentobject_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_link (id SERIAL NOT NULL, contentclassattribute_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql new file mode 100644 index 0000000000..c09dfefbf0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ezcontentobject_link_ezco_link_from.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ezcontentobject_link_ezco_link_from.sql new file mode 100644 index 0000000000..5553d5dbb9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ezcontentobject_link_ezco_link_from.sql @@ -0,0 +1 @@ +CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ezcontentobject_link_ezco_link_cca_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ezcontentobject_link_ezco_link_cca_id.sql new file mode 100644 index 0000000000..576d349337 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ezcontentobject_link_ezco_link_cca_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ezcontentobject_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ezcontentobject_name.sql new file mode 100644 index 0000000000..fb0c9cf656 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ezcontentobject_name.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql new file mode 100644 index 0000000000..a53893b840 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql new file mode 100644 index 0000000000..d47ec6ff06 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql new file mode 100644 index 0000000000..066bdd2ddf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ezcontentobject_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ezcontentobject_trash.sql new file mode 100644 index 0000000000..cbc1d75091 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ezcontentobject_trash.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql new file mode 100644 index 0000000000..22a5480ee9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql new file mode 100644 index 0000000000..1b230d30c0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql new file mode 100644 index 0000000000..e97fae979c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql new file mode 100644 index 0000000000..4f2edf4230 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql new file mode 100644 index 0000000000..980553e6cc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql new file mode 100644 index 0000000000..41f87ea995 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ezcontentobject_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ezcontentobject_version.sql new file mode 100644 index 0000000000..0379c24c58 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ezcontentobject_version.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_version (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ezcontentobject_version_ezcobj_version_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ezcontentobject_version_ezcobj_version_status.sql new file mode 100644 index 0000000000..eb1712c587 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ezcontentobject_version_ezcobj_version_status.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ezcontentobject_version_idx_object_version_objver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ezcontentobject_version_idx_object_version_objver.sql new file mode 100644 index 0000000000..d9ade282a1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ezcontentobject_version_idx_object_version_objver.sql @@ -0,0 +1 @@ +CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql new file mode 100644 index 0000000000..f8b3625958 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql new file mode 100644 index 0000000000..7ad71e9d33 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ezdfsfile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ezdfsfile.sql new file mode 100644 index 0000000000..9c43e1a6d2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ezdfsfile.sql @@ -0,0 +1 @@ +CREATE TABLE ezdfsfile (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT 'false' NOT NULL, status BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(name_hash)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql new file mode 100644 index 0000000000..a52478c504 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql @@ -0,0 +1 @@ +CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ezdfsfile_ezdfsfile_expired_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ezdfsfile_ezdfsfile_expired_name.sql new file mode 100644 index 0000000000..b6a67a8141 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ezdfsfile_ezdfsfile_expired_name.sql @@ -0,0 +1 @@ +CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ezdfsfile_ezdfsfile_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ezdfsfile_ezdfsfile_name.sql new file mode 100644 index 0000000000..b1093dd031 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ezdfsfile_ezdfsfile_name.sql @@ -0,0 +1 @@ +CREATE INDEX ezdfsfile_name ON ezdfsfile (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ezdfsfile_ezdfsfile_mtime.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ezdfsfile_ezdfsfile_mtime.sql new file mode 100644 index 0000000000..74974918cf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ezdfsfile_ezdfsfile_mtime.sql @@ -0,0 +1 @@ +CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ezgmaplocation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ezgmaplocation.sql new file mode 100644 index 0000000000..7783fe956a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ezgmaplocation.sql @@ -0,0 +1 @@ +CREATE TABLE ezgmaplocation (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ezgmaplocation_latitude_longitude_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ezgmaplocation_latitude_longitude_key.sql new file mode 100644 index 0000000000..c71ce38856 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ezgmaplocation_latitude_longitude_key.sql @@ -0,0 +1 @@ +CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ezimagefile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ezimagefile.sql new file mode 100644 index 0000000000..10daf6c34e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ezimagefile.sql @@ -0,0 +1 @@ +CREATE TABLE ezimagefile (id SERIAL NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath TEXT NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ezimagefile_ezimagefile_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ezimagefile_ezimagefile_file.sql new file mode 100644 index 0000000000..9fd53f1f99 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ezimagefile_ezimagefile_file.sql @@ -0,0 +1 @@ +CREATE INDEX ezimagefile_file ON ezimagefile (filepath); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ezimagefile_ezimagefile_coid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ezimagefile_ezimagefile_coid.sql new file mode 100644 index 0000000000..4aa9687e74 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ezimagefile_ezimagefile_coid.sql @@ -0,0 +1 @@ +CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ezkeyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ezkeyword.sql new file mode 100644 index 0000000000..15f8411056 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ezkeyword.sql @@ -0,0 +1 @@ +CREATE TABLE ezkeyword (id SERIAL NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ezkeyword_ezkeyword_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ezkeyword_ezkeyword_keyword.sql new file mode 100644 index 0000000000..d8e144c201 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ezkeyword_ezkeyword_keyword.sql @@ -0,0 +1 @@ +CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ezkeyword_attribute_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ezkeyword_attribute_link.sql new file mode 100644 index 0000000000..0f542cd006 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ezkeyword_attribute_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezkeyword_attribute_link (id SERIAL NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql new file mode 100644 index 0000000000..8d8572e8bd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql @@ -0,0 +1 @@ +CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql new file mode 100644 index 0000000000..f07b97d9ab --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql @@ -0,0 +1 @@ +CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql new file mode 100644 index 0000000000..0404bc617b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ezmedia.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ezmedia.sql new file mode 100644 index 0000000000..f2a1f54018 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ezmedia.sql @@ -0,0 +1 @@ +CREATE TABLE ezmedia (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_eznode_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_eznode_assignment.sql new file mode 100644 index 0000000000..9c81b2afb8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_eznode_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE eznode_assignment (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_eznode_assignment_eznode_assignment_is_main.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_eznode_assignment_eznode_assignment_is_main.sql new file mode 100644 index 0000000000..5e5ed94263 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_eznode_assignment_eznode_assignment_is_main.sql @@ -0,0 +1 @@ +CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql new file mode 100644 index 0000000000..987539c281 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql @@ -0,0 +1 @@ +CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_eznode_assignment_eznode_assignment_parent_node.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_eznode_assignment_eznode_assignment_parent_node.sql new file mode 100644 index 0000000000..7c7225c18d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_eznode_assignment_eznode_assignment_parent_node.sql @@ -0,0 +1 @@ +CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_eznode_assignment_eznode_assignment_co_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_eznode_assignment_eznode_assignment_co_version.sql new file mode 100644 index 0000000000..6b519ccc54 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_eznode_assignment_eznode_assignment_co_version.sql @@ -0,0 +1 @@ +CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_eznotification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_eznotification.sql new file mode 100644 index 0000000000..4850a0a117 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_eznotification.sql @@ -0,0 +1 @@ +CREATE TABLE eznotification (id SERIAL NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT 'true' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INT DEFAULT 0 NOT NULL, data TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_eznotification_eznotification_owner_is_pending.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_eznotification_eznotification_owner_is_pending.sql new file mode 100644 index 0000000000..862b80ddf5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_eznotification_eznotification_owner_is_pending.sql @@ -0,0 +1 @@ +CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_eznotification_eznotification_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_eznotification_eznotification_owner.sql new file mode 100644 index 0000000000..b621afd705 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_eznotification_eznotification_owner.sql @@ -0,0 +1 @@ +CREATE INDEX eznotification_owner ON eznotification (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ezpackage.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ezpackage.sql new file mode 100644 index 0000000000..675d8f105c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ezpackage.sql @@ -0,0 +1 @@ +CREATE TABLE ezpackage (id SERIAL NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ezpolicy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ezpolicy.sql new file mode 100644 index 0000000000..2fe0b4c43f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ezpolicy.sql @@ -0,0 +1 @@ +CREATE TABLE ezpolicy (id SERIAL NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ezpolicy_ezpolicy_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ezpolicy_ezpolicy_role_id.sql new file mode 100644 index 0000000000..366c989ec0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ezpolicy_ezpolicy_role_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ezpolicy_ezpolicy_original_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ezpolicy_ezpolicy_original_id.sql new file mode 100644 index 0000000000..9a3d4f8171 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ezpolicy_ezpolicy_original_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ezpolicy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ezpolicy_limitation.sql new file mode 100644 index 0000000000..5e7abb39e5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ezpolicy_limitation.sql @@ -0,0 +1 @@ +CREATE TABLE ezpolicy_limitation (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ezpolicy_limitation_policy_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ezpolicy_limitation_policy_id.sql new file mode 100644 index 0000000000..6640c10ce8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ezpolicy_limitation_policy_id.sql @@ -0,0 +1 @@ +CREATE INDEX policy_id ON ezpolicy_limitation (policy_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ezpolicy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ezpolicy_limitation_value.sql new file mode 100644 index 0000000000..a0f290af9d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ezpolicy_limitation_value.sql @@ -0,0 +1 @@ +CREATE TABLE ezpolicy_limitation_value (id SERIAL NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql new file mode 100644 index 0000000000..446a27fdaa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql new file mode 100644 index 0000000000..8c0458bdde --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql @@ -0,0 +1 @@ +CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ezpreferences.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ezpreferences.sql new file mode 100644 index 0000000000..6c23ca2fe5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ezpreferences.sql @@ -0,0 +1 @@ +CREATE TABLE ezpreferences (id SERIAL NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ezpreferences_ezpreferences_user_id_idx.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ezpreferences_ezpreferences_user_id_idx.sql new file mode 100644 index 0000000000..e8330b63d4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ezpreferences_ezpreferences_user_id_idx.sql @@ -0,0 +1 @@ +CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ezpreferences_ezpreferences_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ezpreferences_ezpreferences_name.sql new file mode 100644 index 0000000000..e33390d2a3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ezpreferences_ezpreferences_name.sql @@ -0,0 +1 @@ +CREATE INDEX ezpreferences_name ON ezpreferences (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ezrole.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ezrole.sql new file mode 100644 index 0000000000..3a828c94f8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ezrole.sql @@ -0,0 +1 @@ +CREATE TABLE ezrole (id SERIAL NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ezsearch_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ezsearch_object_word_link.sql new file mode 100644 index 0000000000..3fd4f08a00 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ezsearch_object_word_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezsearch_object_word_link (id SERIAL NOT NULL, contentclass_attribute_id INT DEFAULT 0 NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql new file mode 100644 index 0000000000..fb984de9f9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql new file mode 100644 index 0000000000..724819087d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql new file mode 100644 index 0000000000..9c46453535 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql new file mode 100644 index 0000000000..058c9b9de2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql new file mode 100644 index 0000000000..6864b9d5b8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ezsearch_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ezsearch_word.sql new file mode 100644 index 0000000000..c4ac6e1ae2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ezsearch_word.sql @@ -0,0 +1 @@ +CREATE TABLE ezsearch_word (id SERIAL NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ezsearch_word_ezsearch_word_word_i.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ezsearch_word_ezsearch_word_word_i.sql new file mode 100644 index 0000000000..d1f15870a4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ezsearch_word_ezsearch_word_word_i.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ezsearch_word_ezsearch_word_obj_count.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ezsearch_word_ezsearch_word_obj_count.sql new file mode 100644 index 0000000000..ee7a50072c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ezsearch_word_ezsearch_word_obj_count.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ezsection.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ezsection.sql new file mode 100644 index 0000000000..6bb9b22705 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ezsection.sql @@ -0,0 +1 @@ +CREATE TABLE ezsection (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ezsite_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ezsite_data.sql new file mode 100644 index 0000000000..51b1319beb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ezsite_data.sql @@ -0,0 +1 @@ +CREATE TABLE ezsite_data (name VARCHAR(60) DEFAULT '' NOT NULL, value TEXT NOT NULL, PRIMARY KEY(name)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ezurl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ezurl.sql new file mode 100644 index 0000000000..9f0b264139 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ezurl.sql @@ -0,0 +1 @@ +CREATE TABLE ezurl (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ezurl_ezurl_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ezurl_ezurl_url.sql new file mode 100644 index 0000000000..d49afdc63d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ezurl_ezurl_url.sql @@ -0,0 +1 @@ +CREATE INDEX ezurl_url ON ezurl (url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ezurl_object_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ezurl_object_link.sql new file mode 100644 index 0000000000..e9641de5ed --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ezurl_object_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezurl_object_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql new file mode 100644 index 0000000000..67e46a38fe --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ezurl_object_link_ezurl_ol_url_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ezurl_object_link_ezurl_ol_url_id.sql new file mode 100644 index 0000000000..6b9fa680c3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ezurl_object_link_ezurl_ol_url_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql new file mode 100644 index 0000000000..0160b9c1a3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql @@ -0,0 +1 @@ +CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql new file mode 100644 index 0000000000..e2b3d317a1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql @@ -0,0 +1 @@ +CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ezurlalias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ezurlalias.sql new file mode 100644 index 0000000000..3fc9158ca2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ezurlalias.sql @@ -0,0 +1 @@ +CREATE TABLE ezurlalias (id SERIAL NOT NULL, destination_url TEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url TEXT NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ezurlalias_ezurlalias_source_md5.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ezurlalias_ezurlalias_source_md5.sql new file mode 100644 index 0000000000..b447996855 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ezurlalias_ezurlalias_source_md5.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql new file mode 100644 index 0000000000..c884362677 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ezurlalias_ezurlalias_forward_to_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ezurlalias_ezurlalias_forward_to_id.sql new file mode 100644 index 0000000000..2cd160e33f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ezurlalias_ezurlalias_forward_to_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql new file mode 100644 index 0000000000..062366e854 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ezurlalias_ezurlalias_source_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ezurlalias_ezurlalias_source_url.sql new file mode 100644 index 0000000000..aa37643b1e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ezurlalias_ezurlalias_source_url.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ezurlalias_ezurlalias_desturl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ezurlalias_ezurlalias_desturl.sql new file mode 100644 index 0000000000..07e4107f82 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ezurlalias_ezurlalias_desturl.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ezurlalias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ezurlalias_ml.sql new file mode 100644 index 0000000000..498ed19ceb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ezurlalias_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ezurlalias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, action TEXT NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text TEXT NOT NULL, PRIMARY KEY(parent, text_md5)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql new file mode 100644 index 0000000000..84fd80638b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql new file mode 100644 index 0000000000..b33960fcad --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql new file mode 100644 index 0000000000..7ba3dc6750 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml (action, id, link, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql new file mode 100644 index 0000000000..8a9145ac6c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql new file mode 100644 index 0000000000..cbcd9b056a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml (action, is_original); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql new file mode 100644 index 0000000000..139b8c5f68 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql new file mode 100644 index 0000000000..5e0c908085 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql new file mode 100644 index 0000000000..91393fd7ee --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ezurlalias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ezurlalias_ml_incr.sql new file mode 100644 index 0000000000..80a0370490 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ezurlalias_ml_incr.sql @@ -0,0 +1 @@ +CREATE TABLE ezurlalias_ml_incr (id SERIAL NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ezurlwildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ezurlwildcard.sql new file mode 100644 index 0000000000..7de76a2918 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ezurlwildcard.sql @@ -0,0 +1 @@ +CREATE TABLE ezurlwildcard (id SERIAL NOT NULL, destination_url TEXT NOT NULL, source_url TEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ezuser_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ezuser_accountkey.sql new file mode 100644 index 0000000000..8de6d5dc85 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ezuser_accountkey.sql @@ -0,0 +1 @@ +CREATE TABLE ezuser_accountkey (id SERIAL NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ezuser_accountkey_hash_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ezuser_accountkey_hash_key.sql new file mode 100644 index 0000000000..b6d4c50c07 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ezuser_accountkey_hash_key.sql @@ -0,0 +1 @@ +CREATE INDEX hash_key ON ezuser_accountkey (hash_key); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ezuser_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ezuser_role.sql new file mode 100644 index 0000000000..f7ce47113b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ezuser_role.sql @@ -0,0 +1 @@ +CREATE TABLE ezuser_role (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ezuser_role_ezuser_role_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ezuser_role_ezuser_role_role_id.sql new file mode 100644 index 0000000000..2224306ce1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ezuser_role_ezuser_role_role_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ezuser_role_ezuser_role_contentobject_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ezuser_role_ezuser_role_contentobject_id.sql new file mode 100644 index 0000000000..2f779bf8a1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ezuser_role_ezuser_role_contentobject_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ezuser_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ezuser_setting.sql new file mode 100644 index 0000000000..1c4fed4d8c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ezuser_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ezuser_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql new file mode 100644 index 0000000000..d3ae1af8b3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_setting (id SERIAL NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql new file mode 100644 index 0000000000..d6f3d3b0dc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_setting_id ON ibexa_setting (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql new file mode 100644 index 0000000000..e2a05c6a8d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql new file mode 100644 index 0000000000..34e08782fb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token_type (id SERIAL NOT NULL, identifier VARCHAR(64) NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql new file mode 100644 index 0000000000..17f4b2cf68 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql new file mode 100644 index 0000000000..a67a678e35 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token (id SERIAL NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql new file mode 100644 index 0000000000..8217faeab1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql @@ -0,0 +1 @@ +CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql new file mode 100644 index 0000000000..1d13c98da4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql new file mode 100644 index 0000000000..612b0012d2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql new file mode 100644 index 0000000000..f9e3a7a770 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql new file mode 100644 index 0000000000..a13558b04b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql new file mode 100644 index 0000000000..973e602987 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ezcobj_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ezcobj_state.sql new file mode 100644 index 0000000000..c17884a304 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ezcobj_state.sql @@ -0,0 +1,3 @@ +INSERT INTO "ezcobj_state" ("default_language_id", "group_id", "id", "identifier", "language_mask", "priority") +VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ezcobj_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ezcobj_state_group.sql new file mode 100644 index 0000000000..cc78821e78 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ezcobj_state_group.sql @@ -0,0 +1,2 @@ +INSERT INTO "ezcobj_state_group" ("default_language_id", "id", "identifier", "language_mask") +VALUES (2, 2, 'ez_lock', 3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ezcobj_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ezcobj_state_group_language.sql new file mode 100644 index 0000000000..609826a7c2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ezcobj_state_group_language.sql @@ -0,0 +1,2 @@ +INSERT INTO "ezcobj_state_group_language" ("contentobject_state_group_id", "description","language_id", "name", "real_language_id") +VALUES (2, '', 3, 'Lock', 2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ezcobj_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ezcobj_state_language.sql new file mode 100644 index 0000000000..db716c0d84 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ezcobj_state_language.sql @@ -0,0 +1,3 @@ +INSERT INTO "ezcobj_state_language" ("contentobject_state_id", "description", "language_id", "name") +VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ezcobj_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ezcobj_state_link.sql new file mode 100644 index 0000000000..a0d990da69 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ezcobj_state_link.sql @@ -0,0 +1,13 @@ +INSERT INTO "ezcobj_state_link" ("contentobject_id", "contentobject_state_id") +VALUES ( 1, 1), + ( 4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ezcontent_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ezcontent_language.sql new file mode 100644 index 0000000000..7c748fde7d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ezcontent_language.sql @@ -0,0 +1,2 @@ +INSERT INTO "ezcontent_language" ("disabled", "id", "locale", "name") +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ezcontentclass.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ezcontentclass.sql new file mode 100644 index 0000000000..792d15f4ce --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ezcontentclass.sql @@ -0,0 +1,7 @@ +INSERT INTO "ezcontentclass" ("always_available", "contentobject_name", "created", "creator_id", "id", "identifier", "initial_language_id", "is_container", "language_mask", "modified", "modifier_id", "remote_id", "serialized_description_list", "serialized_name_list", "sort_field", "sort_order", "url_alias_name", "version") +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:"eng-GB";s:6:"Folder";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:"eng-GB";s:7:"Article";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ezcontentclass_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ezcontentclass_attribute.sql new file mode 100644 index 0000000000..e00a5afc39 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ezcontentclass_attribute.sql @@ -0,0 +1,25 @@ +INSERT INTO "ezcontentclass_attribute" ("can_translate", "category", "contentclass_id", "data_float1", "data_float2", "data_float3", "data_float4", "data_int1", "data_int2", "data_int3", "data_int4", "data_text1", "data_text2", "data_text3", "data_text4", "data_text5", "data_type_string", "id", "identifier", "is_information_collector", "is_required", "is_searchable", "is_thumbnail", "placement", "serialized_data_text", "serialized_description_list", "serialized_name_list", "version") +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,FALSE,1,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:4:"Name";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:10:"First name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Last name";s:16:"always-available";s:6:"eng-GB";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:12:"User account";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:7:"Caption";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,TRUE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,FALSE,3,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:17:"Short description";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Intro";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,FALSE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Body";s:16:"always-available";s:6:"eng-GB";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,FALSE,6,NULL,NULL,'a:2:{s:6:"eng-GB";s:15:"Enable comments";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Short title";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:6:"Author";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,FALSE,7,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,FALSE,2,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:10:"Short name";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,FALSE,4,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:11:"Description";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,TRUE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ezcontentclass_classgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ezcontentclass_classgroup.sql new file mode 100644 index 0000000000..83aa440947 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ezcontentclass_classgroup.sql @@ -0,0 +1,7 @@ +INSERT INTO "ezcontentclass_classgroup" ("contentclass_id", "contentclass_version", "group_id", "group_name") +VALUES (1,0,1,'Content'), + (2,0,1,'Content'), + (3,0,2,'Users'), + (4,0,2,'Users'), + (5,0,3,'Media'), + (12,0,3,'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ezcontentclass_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ezcontentclass_name.sql new file mode 100644 index 0000000000..9ccdaaf91f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ezcontentclass_name.sql @@ -0,0 +1,7 @@ +INSERT INTO "ezcontentclass_name" ("contentclass_id", "contentclass_version", "language_id", "language_locale", "name") +VALUES (1,0,2,'eng-GB','Folder'), + (2,0,3,'eng-GB','Article'), + (3,0,3,'eng-GB','User group'), + (4,0,3,'eng-GB','User'), + (5,0,3,'eng-GB','Image'), + (12,0,3,'eng-GB','File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ezcontentclassgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ezcontentclassgroup.sql new file mode 100644 index 0000000000..0621f947ba --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ezcontentclassgroup.sql @@ -0,0 +1,4 @@ +INSERT INTO "ezcontentclassgroup" ("created", "creator_id", "id", "modified", "modifier_id", "name") +VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ezcontentobject.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ezcontentobject.sql new file mode 100644 index 0000000000..8d9a9b0b2a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ezcontentobject.sql @@ -0,0 +1,13 @@ +INSERT INTO "ezcontentobject" ("contentclass_id", "current_version", "id", "initial_language_id", "language_mask", "modified", "name", "owner_id", "published", "remote_id", "section_id", "status") +VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ezcontentobject_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ezcontentobject_attribute.sql new file mode 100644 index 0000000000..34b8980372 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ezcontentobject_attribute.sql @@ -0,0 +1,41 @@ +INSERT INTO "ezcontentobject_attribute" ("attribute_original_id", "contentclassattribute_id", "contentobject_id", "data_float", "data_int", "data_text", "data_type_string", "id", "language_code", "language_id", "sort_key_int", "sort_key_string", "version") +VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,E'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,E'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,E'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,E'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,E'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,E'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,E'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,E'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,E'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,E'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,E'\n\n','ezimage',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ezcontentobject_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ezcontentobject_name.sql new file mode 100644 index 0000000000..ac4544a1c6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ezcontentobject_name.sql @@ -0,0 +1,13 @@ +INSERT INTO "ezcontentobject_name" ("content_translation", "content_version", "contentobject_id", "language_id", "name", "real_translation") +VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ezcontentobject_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ezcontentobject_tree.sql new file mode 100644 index 0000000000..261cb89e36 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ezcontentobject_tree.sql @@ -0,0 +1,14 @@ +INSERT INTO "ezcontentobject_tree" ("contentobject_id", "contentobject_is_published", "contentobject_version", "depth", "is_hidden", "is_invisible", "main_node_id", "modified_subnode", "node_id", "parent_node_id", "path_identification_string", "path_string", "priority", "remote_id", "sort_field", "sort_order") +VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ezcontentobject_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ezcontentobject_version.sql new file mode 100644 index 0000000000..498e2577b1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ezcontentobject_version.sql @@ -0,0 +1,13 @@ +INSERT INTO "ezcontentobject_version" ("contentobject_id", "created", "creator_id", "id", "initial_language_id", "language_mask", "modified", "status", "user_id", "version", "workflow_event_pos") +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_eznode_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_eznode_assignment.sql new file mode 100644 index 0000000000..bf8f363666 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_eznode_assignment.sql @@ -0,0 +1,13 @@ +INSERT INTO "eznode_assignment" ("contentobject_id", "contentobject_version", "from_node_id", "id", "is_main", "op_code", "parent_node", "parent_remote_id", "remote_id", "sort_field", "sort_order", "priority", "is_hidden") +VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ezpolicy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ezpolicy.sql new file mode 100644 index 0000000000..17d9668f7f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ezpolicy.sql @@ -0,0 +1,9 @@ +INSERT INTO "ezpolicy" ("function_name", "id", "module_name", "original_id", "role_id") +VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ezpolicy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ezpolicy_limitation.sql new file mode 100644 index 0000000000..587bb93d15 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ezpolicy_limitation.sql @@ -0,0 +1,7 @@ +INSERT INTO "ezpolicy_limitation" ("id", "identifier", "policy_id") +VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ezpolicy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ezpolicy_limitation_value.sql new file mode 100644 index 0000000000..7c0e184943 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ezpolicy_limitation_value.sql @@ -0,0 +1,8 @@ +INSERT INTO "ezpolicy_limitation_value" ("id", "limitation_id", "value") +VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ezrole.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ezrole.sql new file mode 100644 index 0000000000..9d65153a4f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ezrole.sql @@ -0,0 +1,5 @@ +INSERT INTO "ezrole" ("id", "is_new", "name", "value", "version") +VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ezsection.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ezsection.sql new file mode 100644 index 0000000000..5b4c34ea06 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ezsection.sql @@ -0,0 +1,4 @@ +INSERT INTO "ezsection" ("id", "identifier", "locale", "name", "navigation_part_identifier") +VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ezsite_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ezsite_data.sql new file mode 100644 index 0000000000..92ea4ab159 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ezsite_data.sql @@ -0,0 +1,2 @@ +INSERT INTO "ezsite_data" ("name", "value") +VALUES ('ibexa-release','4.6'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ezurlalias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ezurlalias.sql new file mode 100644 index 0000000000..60f8aa7a42 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ezurlalias.sql @@ -0,0 +1,13 @@ +INSERT INTO "ezurlalias" ("destination_url", "forward_to_id", "id", "is_imported", "is_internal", "is_wildcard", "source_md5", "source_url") +VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ezurlalias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ezurlalias_ml.sql new file mode 100644 index 0000000000..125c3e3393 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ezurlalias_ml.sql @@ -0,0 +1,26 @@ +INSERT INTO "ezurlalias_ml" ("action", "action_type", "alias_redirects", "id", "is_alias", "is_original", "lang_mask", "link", "parent", "text", "text_md5") +VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ezurlalias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ezurlalias_ml_incr.sql new file mode 100644 index 0000000000..257e76532c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ezurlalias_ml_incr.sql @@ -0,0 +1,4 @@ +INSERT INTO "ezurlalias_ml_incr" ("id") +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ezuser.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ezuser.sql new file mode 100644 index 0000000000..dd2c144a37 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ezuser.sql @@ -0,0 +1,3 @@ +INSERT INTO "ezuser" ("contentobject_id", "email", "login", "password_hash", "password_hash_type") +VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ezuser_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ezuser_role.sql new file mode 100644 index 0000000000..9e5ff0b7d2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ezuser_role.sql @@ -0,0 +1,7 @@ +INSERT INTO "ezuser_role" ("contentobject_id", "id", "limit_identifier", "limit_value", "role_id") +VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ezuser_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ezuser_setting.sql new file mode 100644 index 0000000000..ba202749ca --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ezuser_setting.sql @@ -0,0 +1,3 @@ +INSERT INTO "ezuser_setting" ("is_enabled", "max_login", "user_id") +VALUES (1, 1000, 10), + (1, 10, 14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ezpreferences.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ezpreferences.sql new file mode 100644 index 0000000000..4b87da9303 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ezpreferences.sql @@ -0,0 +1,2 @@ +INSERT INTO "ezpreferences" ("name", "user_id", "value") +SELECT 'focus_mode', u.contentobject_id, '0' FROM "ezuser" u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ezcobj_state_group_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ezcobj_state_group_id_seq.sql new file mode 100644 index 0000000000..056312175f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ezcobj_state_group_id_seq.sql @@ -0,0 +1,2 @@ +-- Set proper sequence values after inserting data +SELECT SETVAL('ezcobj_state_group_id_seq', COALESCE(MAX(id), 1) ) FROM ezcobj_state_group; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ezcobj_state_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ezcobj_state_id_seq.sql new file mode 100644 index 0000000000..c8e051aa09 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ezcobj_state_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezcobj_state_id_seq', COALESCE(MAX(id), 1) ) FROM ezcobj_state; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ezcontentbrowsebookmark_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ezcontentbrowsebookmark_id_seq.sql new file mode 100644 index 0000000000..a488f42672 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ezcontentbrowsebookmark_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezcontentbrowsebookmark_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentbrowsebookmark; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ezcontentclass_attribute_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ezcontentclass_attribute_id_seq.sql new file mode 100644 index 0000000000..e7945c3bf6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ezcontentclass_attribute_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezcontentclass_attribute_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclass_attribute; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ezcontentclass_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ezcontentclass_id_seq.sql new file mode 100644 index 0000000000..1c15b1970e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ezcontentclass_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezcontentclass_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclass; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ezcontentclassgroup_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ezcontentclassgroup_id_seq.sql new file mode 100644 index 0000000000..67c66a320c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ezcontentclassgroup_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezcontentclassgroup_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclassgroup; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ezcontentobject_attribute_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ezcontentobject_attribute_id_seq.sql new file mode 100644 index 0000000000..d8f66b1c65 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ezcontentobject_attribute_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezcontentobject_attribute_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_attribute; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ezcontentobject_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ezcontentobject_id_seq.sql new file mode 100644 index 0000000000..b21db5ae2f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ezcontentobject_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezcontentobject_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ezcontentobject_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ezcontentobject_link_id_seq.sql new file mode 100644 index 0000000000..8800566349 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ezcontentobject_link_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezcontentobject_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ezcontentobject_tree_node_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ezcontentobject_tree_node_id_seq.sql new file mode 100644 index 0000000000..0308bdc43c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ezcontentobject_tree_node_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezcontentobject_tree_node_id_seq', COALESCE(MAX(node_id), 1) ) FROM ezcontentobject_tree; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ezcontentobject_version_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ezcontentobject_version_id_seq.sql new file mode 100644 index 0000000000..dfd67783fd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ezcontentobject_version_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezcontentobject_version_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_version; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ezimagefile_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ezimagefile_id_seq.sql new file mode 100644 index 0000000000..48b5dc9a8e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ezimagefile_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezimagefile_id_seq', COALESCE(MAX(id), 1) ) FROM ezimagefile; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ezkeyword_attribute_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ezkeyword_attribute_link_id_seq.sql new file mode 100644 index 0000000000..fa8e547c55 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ezkeyword_attribute_link_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezkeyword_attribute_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezkeyword_attribute_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ezkeyword_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ezkeyword_id_seq.sql new file mode 100644 index 0000000000..8a3f1a9ae0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ezkeyword_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezkeyword_id_seq', COALESCE(MAX(id), 1) ) FROM ezkeyword; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_eznode_assignment_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_eznode_assignment_id_seq.sql new file mode 100644 index 0000000000..1892a4da3d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_eznode_assignment_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('eznode_assignment_id_seq', COALESCE(MAX(id), 1) ) FROM eznode_assignment; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_eznotification_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_eznotification_id_seq.sql new file mode 100644 index 0000000000..f3e2e4c7a1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_eznotification_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('eznotification_id_seq', COALESCE(MAX(id), 1) ) FROM eznotification; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ezpackage_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ezpackage_id_seq.sql new file mode 100644 index 0000000000..a0590cbafe --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ezpackage_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezpackage_id_seq', COALESCE(MAX(id), 1) ) FROM ezpackage; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ezpolicy_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ezpolicy_id_seq.sql new file mode 100644 index 0000000000..bea26a1658 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ezpolicy_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezpolicy_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ezpolicy_limitation_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ezpolicy_limitation_id_seq.sql new file mode 100644 index 0000000000..32e1a5952c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ezpolicy_limitation_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezpolicy_limitation_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ezpolicy_limitation_value_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ezpolicy_limitation_value_id_seq.sql new file mode 100644 index 0000000000..809801b081 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ezpolicy_limitation_value_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezpolicy_limitation_value_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation_value; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ezpreferences_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ezpreferences_id_seq.sql new file mode 100644 index 0000000000..47287e5919 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ezpreferences_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezpreferences_id_seq', COALESCE(MAX(id), 1) ) FROM ezpreferences; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ezrole_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ezrole_id_seq.sql new file mode 100644 index 0000000000..994366ebbe --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ezrole_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezrole_id_seq', COALESCE(MAX(id), 1) ) FROM ezrole; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ezsearch_object_word_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ezsearch_object_word_link_id_seq.sql new file mode 100644 index 0000000000..6f91042d3b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ezsearch_object_word_link_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezsearch_object_word_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezsearch_object_word_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ezsearch_word_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ezsearch_word_id_seq.sql new file mode 100644 index 0000000000..2a9b0dee98 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ezsearch_word_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezsearch_word_id_seq', COALESCE(MAX(id), 1) ) FROM ezsearch_word; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ezsection_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ezsection_id_seq.sql new file mode 100644 index 0000000000..c5078959e5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ezsection_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezsection_id_seq', COALESCE(MAX(id), 1) ) FROM ezsection; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ezurl_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ezurl_id_seq.sql new file mode 100644 index 0000000000..f80598be3f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ezurl_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezurl_id_seq', COALESCE(MAX(id), 1) ) FROM ezurl; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ezurlalias_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ezurlalias_id_seq.sql new file mode 100644 index 0000000000..cd49369f7b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ezurlalias_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezurlalias_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlalias; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ezurlalias_ml_incr_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ezurlalias_ml_incr_id_seq.sql new file mode 100644 index 0000000000..277a5e62f8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ezurlalias_ml_incr_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezurlalias_ml_incr_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlalias_ml_incr; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ezurlwildcard_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ezurlwildcard_id_seq.sql new file mode 100644 index 0000000000..7969e16eea --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ezurlwildcard_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezurlwildcard_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlwildcard; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ezuser_accountkey_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ezuser_accountkey_id_seq.sql new file mode 100644 index 0000000000..f2557a86a4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ezuser_accountkey_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezuser_accountkey_id_seq', COALESCE(MAX(id), 1) ) FROM ezuser_accountkey; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ezuser_role_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ezuser_role_id_seq.sql new file mode 100644 index 0000000000..e2f0f7229c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ezuser_role_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ezuser_role_id_seq', COALESCE(MAX(id), 1) ) FROM ezuser_role; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ezbinaryfile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ezbinaryfile.sql new file mode 100644 index 0000000000..0bf69c19ad --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ezbinaryfile.sql @@ -0,0 +1 @@ +CREATE TABLE ezbinaryfile (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, download_count INTEGER DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ezcobj_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ezcobj_state.sql new file mode 100644 index 0000000000..b1708d93c6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ezcobj_state.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ezcobj_state_ezcobj_state_priority.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ezcobj_state_ezcobj_state_priority.sql new file mode 100644 index 0000000000..acd97e80ae --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ezcobj_state_ezcobj_state_priority.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ezcobj_state_ezcobj_state_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ezcobj_state_ezcobj_state_lmask.sql new file mode 100644 index 0000000000..6d6498dfa3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ezcobj_state_ezcobj_state_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ezcobj_state_ezcobj_state_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ezcobj_state_ezcobj_state_identifier.sql new file mode 100644 index 0000000000..a622a7319b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ezcobj_state_ezcobj_state_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ezcobj_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ezcobj_state_group.sql new file mode 100644 index 0000000000..a312f68826 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ezcobj_state_group.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state_group (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql new file mode 100644 index 0000000000..8693d6bab5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql new file mode 100644 index 0000000000..36481c9271 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ezcobj_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ezcobj_state_group_language.sql new file mode 100644 index 0000000000..bf099e3762 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ezcobj_state_group_language.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state_group_language (contentobject_state_group_id INTEGER DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ezcobj_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ezcobj_state_language.sql new file mode 100644 index 0000000000..e0c93b23f4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ezcobj_state_language.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state_language (contentobject_state_id INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ezcobj_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ezcobj_state_link.sql new file mode 100644 index 0000000000..ab29b826f2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ezcobj_state_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezcobj_state_link (contentobject_id INTEGER DEFAULT 0 NOT NULL, contentobject_state_id INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ezcontent_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ezcontent_language.sql new file mode 100644 index 0000000000..3f3f93dd8f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ezcontent_language.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontent_language (id BIGINT DEFAULT 0 NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ezcontent_language_ezcontent_language_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ezcontent_language_ezcontent_language_name.sql new file mode 100644 index 0000000000..0a236b1d78 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ezcontent_language_ezcontent_language_name.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontent_language_name ON ezcontent_language (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ezuser.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ezuser.sql new file mode 100644 index 0000000000..6f85547ed8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ezuser.sql @@ -0,0 +1 @@ +CREATE TABLE ezuser (contentobject_id INTEGER DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INTEGER DEFAULT 1 NOT NULL, password_updated_at INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ezuser_ezuser_login.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ezuser_ezuser_login.sql new file mode 100644 index 0000000000..382bc2fe6f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ezuser_ezuser_login.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ezuser_login ON ezuser (login); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ezcontentobject_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ezcontentobject_tree.sql new file mode 100644 index 0000000000..cd5fdd8520 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ezcontentobject_tree.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_tree (node_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_is_published INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql new file mode 100644 index 0000000000..7a3cbafefc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql new file mode 100644 index 0000000000..a0694b8c61 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql new file mode 100644 index 0000000000..80dcea65d9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql new file mode 100644 index 0000000000..9f76373cac --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql new file mode 100644 index 0000000000..d7b5136f63 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql new file mode 100644 index 0000000000..f0c7ac9ecc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ezcontentobject_tree_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ezcontentobject_tree_modified_subnode.sql new file mode 100644 index 0000000000..87676071e9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ezcontentobject_tree_modified_subnode.sql @@ -0,0 +1 @@ +CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql new file mode 100644 index 0000000000..22d066cdca --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ezcontentbrowsebookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ezcontentbrowsebookmark.sql new file mode 100644 index 0000000000..5e78454445 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ezcontentbrowsebookmark.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentbrowsebookmark (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, node_id INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE, CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql new file mode 100644 index 0000000000..659a26c514 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql new file mode 100644 index 0000000000..5b0696a7e8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql new file mode 100644 index 0000000000..6c77193029 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ezcontentclass.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ezcontentclass.sql new file mode 100644 index 0000000000..47fcb50231 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ezcontentclass.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, always_available INTEGER DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB DEFAULT NULL, sort_field INTEGER DEFAULT 1 NOT NULL, sort_order INTEGER DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ezcontentclass_ezcontentclass_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ezcontentclass_ezcontentclass_version.sql new file mode 100644 index 0000000000..7fd0e3cfa1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ezcontentclass_ezcontentclass_version.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentclass_version ON ezcontentclass (version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ezcontentclass_ezcontentclass_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ezcontentclass_ezcontentclass_identifier.sql new file mode 100644 index 0000000000..24c8111651 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ezcontentclass_ezcontentclass_identifier.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ezcontentclass_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ezcontentclass_attribute.sql new file mode 100644 index 0000000000..4afcafb110 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ezcontentclass_attribute.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass_attribute (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, can_translate INTEGER DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, contentclass_id INTEGER DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INTEGER DEFAULT NULL, data_int2 INTEGER DEFAULT NULL, data_int3 INTEGER DEFAULT NULL, data_int4 INTEGER DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INTEGER DEFAULT 0 NOT NULL, is_required INTEGER DEFAULT 0 NOT NULL, is_searchable INTEGER DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT '0' NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, serialized_data_text CLOB DEFAULT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql new file mode 100644 index 0000000000..7875734dae --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql new file mode 100644 index 0000000000..ba2700ac55 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ezcontentclass_attribute_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ezcontentclass_attribute_ml.sql new file mode 100644 index 0000000000..e94bd6f294 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ezcontentclass_attribute_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass_attribute_ml (contentclass_attribute_id INTEGER NOT NULL, version INTEGER NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description CLOB DEFAULT NULL, data_text CLOB DEFAULT NULL, data_json CLOB DEFAULT NULL, PRIMARY KEY(contentclass_attribute_id, version, language_id), CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql new file mode 100644 index 0000000000..f17be3c68c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ezcontentclass_classgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ezcontentclass_classgroup.sql new file mode 100644 index 0000000000..25cac4ef2a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ezcontentclass_classgroup.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass_classgroup (contentclass_id INTEGER DEFAULT 0 NOT NULL, contentclass_version INTEGER DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ezcontentclass_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ezcontentclass_name.sql new file mode 100644 index 0000000000..776d327767 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ezcontentclass_name.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclass_name (contentclass_id INTEGER DEFAULT 0 NOT NULL, contentclass_version INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ezcontentclassgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ezcontentclassgroup.sql new file mode 100644 index 0000000000..7a7cde12e8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ezcontentclassgroup.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentclassgroup (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ezcontentobject.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ezcontentobject.sql new file mode 100644 index 0000000000..f1364cf079 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ezcontentobject.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentclass_id INTEGER DEFAULT 0 NOT NULL, current_version INTEGER DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0, is_hidden BOOLEAN DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ezcontentobject_ezcontentobject_classid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ezcontentobject_ezcontentobject_classid.sql new file mode 100644 index 0000000000..5dddc18819 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ezcontentobject_ezcontentobject_classid.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ezcontentobject_ezcontentobject_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ezcontentobject_ezcontentobject_lmask.sql new file mode 100644 index 0000000000..6fd63f61d8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ezcontentobject_ezcontentobject_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ezcontentobject_ezcontentobject_pub.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ezcontentobject_ezcontentobject_pub.sql new file mode 100644 index 0000000000..022ffd1c54 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ezcontentobject_ezcontentobject_pub.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_pub ON ezcontentobject (published); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ezcontentobject_ezcontentobject_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ezcontentobject_ezcontentobject_section.sql new file mode 100644 index 0000000000..2459702346 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ezcontentobject_ezcontentobject_section.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ezcontentobject_ezcontentobject_currentversion.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ezcontentobject_ezcontentobject_currentversion.sql new file mode 100644 index 0000000000..cb0f62d824 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ezcontentobject_ezcontentobject_currentversion.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ezcontentobject_ezcontentobject_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ezcontentobject_ezcontentobject_owner.sql new file mode 100644 index 0000000000..17c73894b6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ezcontentobject_ezcontentobject_owner.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ezcontentobject_ezcontentobject_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ezcontentobject_ezcontentobject_status.sql new file mode 100644 index 0000000000..f68fa6262f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ezcontentobject_ezcontentobject_status.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_status ON ezcontentobject (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ezcontentobject_ezcontentobject_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ezcontentobject_ezcontentobject_remote_id.sql new file mode 100644 index 0000000000..6e86f88cfe --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ezcontentobject_ezcontentobject_remote_id.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ezcontentobject_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ezcontentobject_attribute.sql new file mode 100644 index 0000000000..13b2780ba6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ezcontentobject_attribute.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_attribute (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, attribute_original_id INTEGER DEFAULT 0, contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INTEGER DEFAULT NULL, data_text CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INTEGER DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql new file mode 100644 index 0000000000..6b23dbfdcb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql new file mode 100644 index 0000000000..c8391d6730 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ezcontentobject_attribute_sort_key_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ezcontentobject_attribute_sort_key_string.sql new file mode 100644 index 0000000000..320329b4f4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ezcontentobject_attribute_sort_key_string.sql @@ -0,0 +1 @@ +CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql new file mode 100644 index 0000000000..31e10963b6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ezcontentobject_attribute_sort_key_int.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ezcontentobject_attribute_sort_key_int.sql new file mode 100644 index 0000000000..d89a560a80 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ezcontentobject_attribute_sort_key_int.sql @@ -0,0 +1 @@ +CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql new file mode 100644 index 0000000000..3a0b46cb82 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ezcontentobject_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ezcontentobject_link.sql new file mode 100644 index 0000000000..9c80af1662 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ezcontentobject_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_version INTEGER DEFAULT 0 NOT NULL, relation_type INTEGER DEFAULT 1 NOT NULL, to_contentobject_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql new file mode 100644 index 0000000000..c09dfefbf0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ezcontentobject_link_ezco_link_from.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ezcontentobject_link_ezco_link_from.sql new file mode 100644 index 0000000000..5553d5dbb9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ezcontentobject_link_ezco_link_from.sql @@ -0,0 +1 @@ +CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ezcontentobject_link_ezco_link_cca_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ezcontentobject_link_ezco_link_cca_id.sql new file mode 100644 index 0000000000..576d349337 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ezcontentobject_link_ezco_link_cca_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ezcontentobject_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ezcontentobject_name.sql new file mode 100644 index 0000000000..330a997cdc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ezcontentobject_name.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_name (contentobject_id INTEGER DEFAULT 0 NOT NULL, content_version INTEGER DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql new file mode 100644 index 0000000000..a53893b840 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql new file mode 100644 index 0000000000..d47ec6ff06 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql new file mode 100644 index 0000000000..066bdd2ddf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ezcontentobject_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ezcontentobject_trash.sql new file mode 100644 index 0000000000..8cf7a78639 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ezcontentobject_trash.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_trash (node_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, trashed INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql new file mode 100644 index 0000000000..22a5480ee9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql new file mode 100644 index 0000000000..1b230d30c0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql new file mode 100644 index 0000000000..e97fae979c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql new file mode 100644 index 0000000000..4f2edf4230 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql new file mode 100644 index 0000000000..980553e6cc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql new file mode 100644 index 0000000000..41f87ea995 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ezcontentobject_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ezcontentobject_version.sql new file mode 100644 index 0000000000..73919870ef --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ezcontentobject_version.sql @@ -0,0 +1 @@ +CREATE TABLE ezcontentobject_version (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, workflow_event_pos INTEGER DEFAULT 0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ezcontentobject_version_ezcobj_version_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ezcontentobject_version_ezcobj_version_status.sql new file mode 100644 index 0000000000..eb1712c587 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ezcontentobject_version_ezcobj_version_status.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ezcontentobject_version_idx_object_version_objver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ezcontentobject_version_idx_object_version_objver.sql new file mode 100644 index 0000000000..d9ade282a1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ezcontentobject_version_idx_object_version_objver.sql @@ -0,0 +1 @@ +CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql new file mode 100644 index 0000000000..f8b3625958 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql @@ -0,0 +1 @@ +CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql new file mode 100644 index 0000000000..7ad71e9d33 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ezdfsfile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ezdfsfile.sql new file mode 100644 index 0000000000..0dc2e4d0ff --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ezdfsfile.sql @@ -0,0 +1 @@ +CREATE TABLE ezdfsfile (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name CLOB NOT NULL, name_trunk CLOB NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INTEGER DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT '0' NOT NULL, status BOOLEAN DEFAULT '0' NOT NULL, PRIMARY KEY(name_hash)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql new file mode 100644 index 0000000000..a52478c504 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql @@ -0,0 +1 @@ +CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ezdfsfile_ezdfsfile_expired_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ezdfsfile_ezdfsfile_expired_name.sql new file mode 100644 index 0000000000..b6a67a8141 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ezdfsfile_ezdfsfile_expired_name.sql @@ -0,0 +1 @@ +CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ezdfsfile_ezdfsfile_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ezdfsfile_ezdfsfile_name.sql new file mode 100644 index 0000000000..b1093dd031 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ezdfsfile_ezdfsfile_name.sql @@ -0,0 +1 @@ +CREATE INDEX ezdfsfile_name ON ezdfsfile (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ezdfsfile_ezdfsfile_mtime.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ezdfsfile_ezdfsfile_mtime.sql new file mode 100644 index 0000000000..74974918cf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ezdfsfile_ezdfsfile_mtime.sql @@ -0,0 +1 @@ +CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ezgmaplocation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ezgmaplocation.sql new file mode 100644 index 0000000000..a16efa09bf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ezgmaplocation.sql @@ -0,0 +1 @@ +CREATE TABLE ezgmaplocation (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_version INTEGER DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ezgmaplocation_latitude_longitude_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ezgmaplocation_latitude_longitude_key.sql new file mode 100644 index 0000000000..c71ce38856 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ezgmaplocation_latitude_longitude_key.sql @@ -0,0 +1 @@ +CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ezimagefile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ezimagefile.sql new file mode 100644 index 0000000000..f22ea4c070 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ezimagefile.sql @@ -0,0 +1 @@ +CREATE TABLE ezimagefile (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, filepath CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ezimagefile_ezimagefile_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ezimagefile_ezimagefile_file.sql new file mode 100644 index 0000000000..9fd53f1f99 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ezimagefile_ezimagefile_file.sql @@ -0,0 +1 @@ +CREATE INDEX ezimagefile_file ON ezimagefile (filepath); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ezimagefile_ezimagefile_coid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ezimagefile_ezimagefile_coid.sql new file mode 100644 index 0000000000..4aa9687e74 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ezimagefile_ezimagefile_coid.sql @@ -0,0 +1 @@ +CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ezkeyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ezkeyword.sql new file mode 100644 index 0000000000..5cba288e70 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ezkeyword.sql @@ -0,0 +1 @@ +CREATE TABLE ezkeyword (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, class_id INTEGER DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ezkeyword_ezkeyword_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ezkeyword_ezkeyword_keyword.sql new file mode 100644 index 0000000000..d8e144c201 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ezkeyword_ezkeyword_keyword.sql @@ -0,0 +1 @@ +CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ezkeyword_attribute_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ezkeyword_attribute_link.sql new file mode 100644 index 0000000000..cd675686ed --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ezkeyword_attribute_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezkeyword_attribute_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, keyword_id INTEGER DEFAULT 0 NOT NULL, objectattribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql new file mode 100644 index 0000000000..8d8572e8bd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql @@ -0,0 +1 @@ +CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql new file mode 100644 index 0000000000..f07b97d9ab --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql @@ -0,0 +1 @@ +CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql new file mode 100644 index 0000000000..0404bc617b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ezmedia.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ezmedia.sql new file mode 100644 index 0000000000..5cc240e09b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ezmedia.sql @@ -0,0 +1 @@ +CREATE TABLE ezmedia (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INTEGER DEFAULT 0, height INTEGER DEFAULT NULL, is_autoplay INTEGER DEFAULT 0, is_loop INTEGER DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_eznode_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_eznode_assignment.sql new file mode 100644 index 0000000000..5e822ef0c9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_eznode_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE eznode_assignment (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, from_node_id INTEGER DEFAULT 0, is_main INTEGER DEFAULT 0 NOT NULL, op_code INTEGER DEFAULT 0 NOT NULL, parent_node INTEGER DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, priority INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_eznode_assignment_eznode_assignment_is_main.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_eznode_assignment_eznode_assignment_is_main.sql new file mode 100644 index 0000000000..5e5ed94263 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_eznode_assignment_eznode_assignment_is_main.sql @@ -0,0 +1 @@ +CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql new file mode 100644 index 0000000000..987539c281 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql @@ -0,0 +1 @@ +CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_eznode_assignment_eznode_assignment_parent_node.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_eznode_assignment_eznode_assignment_parent_node.sql new file mode 100644 index 0000000000..7c7225c18d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_eznode_assignment_eznode_assignment_parent_node.sql @@ -0,0 +1 @@ +CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_eznode_assignment_eznode_assignment_co_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_eznode_assignment_eznode_assignment_co_version.sql new file mode 100644 index 0000000000..6b519ccc54 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_eznode_assignment_eznode_assignment_co_version.sql @@ -0,0 +1 @@ +CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_eznotification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_eznotification.sql new file mode 100644 index 0000000000..3f6a172e7c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_eznotification.sql @@ -0,0 +1 @@ +CREATE TABLE eznotification (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT '1' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INTEGER DEFAULT 0 NOT NULL, data CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_eznotification_eznotification_owner_is_pending.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_eznotification_eznotification_owner_is_pending.sql new file mode 100644 index 0000000000..862b80ddf5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_eznotification_eznotification_owner_is_pending.sql @@ -0,0 +1 @@ +CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_eznotification_eznotification_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_eznotification_eznotification_owner.sql new file mode 100644 index 0000000000..b621afd705 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_eznotification_eznotification_owner.sql @@ -0,0 +1 @@ +CREATE INDEX eznotification_owner ON eznotification (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ezpackage.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ezpackage.sql new file mode 100644 index 0000000000..18c04aae4b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ezpackage.sql @@ -0,0 +1 @@ +CREATE TABLE ezpackage (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, install_date INTEGER DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ezpolicy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ezpolicy.sql new file mode 100644 index 0000000000..0ea197813d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ezpolicy.sql @@ -0,0 +1 @@ +CREATE TABLE ezpolicy (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INTEGER DEFAULT 0 NOT NULL, role_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ezpolicy_ezpolicy_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ezpolicy_ezpolicy_role_id.sql new file mode 100644 index 0000000000..366c989ec0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ezpolicy_ezpolicy_role_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ezpolicy_ezpolicy_original_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ezpolicy_ezpolicy_original_id.sql new file mode 100644 index 0000000000..9a3d4f8171 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ezpolicy_ezpolicy_original_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ezpolicy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ezpolicy_limitation.sql new file mode 100644 index 0000000000..79c443ef85 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ezpolicy_limitation.sql @@ -0,0 +1 @@ +CREATE TABLE ezpolicy_limitation (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ezpolicy_limitation_policy_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ezpolicy_limitation_policy_id.sql new file mode 100644 index 0000000000..6640c10ce8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ezpolicy_limitation_policy_id.sql @@ -0,0 +1 @@ +CREATE INDEX policy_id ON ezpolicy_limitation (policy_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ezpolicy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ezpolicy_limitation_value.sql new file mode 100644 index 0000000000..08bd1cf9d0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ezpolicy_limitation_value.sql @@ -0,0 +1 @@ +CREATE TABLE ezpolicy_limitation_value (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, limitation_id INTEGER DEFAULT NULL, value VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql new file mode 100644 index 0000000000..446a27fdaa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql new file mode 100644 index 0000000000..8c0458bdde --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql @@ -0,0 +1 @@ +CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ezpreferences.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ezpreferences.sql new file mode 100644 index 0000000000..3b64a2bfba --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ezpreferences.sql @@ -0,0 +1 @@ +CREATE TABLE ezpreferences (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INTEGER DEFAULT 0 NOT NULL, value CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ezpreferences_ezpreferences_user_id_idx.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ezpreferences_ezpreferences_user_id_idx.sql new file mode 100644 index 0000000000..e8330b63d4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ezpreferences_ezpreferences_user_id_idx.sql @@ -0,0 +1 @@ +CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ezpreferences_ezpreferences_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ezpreferences_ezpreferences_name.sql new file mode 100644 index 0000000000..e33390d2a3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ezpreferences_ezpreferences_name.sql @@ -0,0 +1 @@ +CREATE INDEX ezpreferences_name ON ezpreferences (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ezrole.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ezrole.sql new file mode 100644 index 0000000000..a712365e6b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ezrole.sql @@ -0,0 +1 @@ +CREATE TABLE ezrole (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, is_new INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INTEGER DEFAULT 0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ezsearch_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ezsearch_object_word_link.sql new file mode 100644 index 0000000000..568edef679 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ezsearch_object_word_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezsearch_object_word_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentclass_attribute_id INTEGER DEFAULT 0 NOT NULL, contentclass_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INTEGER DEFAULT 0 NOT NULL, next_word_id INTEGER DEFAULT 0 NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, prev_word_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, section_id INTEGER DEFAULT 0 NOT NULL, word_id INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql new file mode 100644 index 0000000000..fb984de9f9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql new file mode 100644 index 0000000000..724819087d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql new file mode 100644 index 0000000000..9c46453535 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql new file mode 100644 index 0000000000..058c9b9de2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql new file mode 100644 index 0000000000..6864b9d5b8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ezsearch_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ezsearch_word.sql new file mode 100644 index 0000000000..bea025a97c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ezsearch_word.sql @@ -0,0 +1 @@ +CREATE TABLE ezsearch_word (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, object_count INTEGER DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ezsearch_word_ezsearch_word_word_i.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ezsearch_word_ezsearch_word_word_i.sql new file mode 100644 index 0000000000..d1f15870a4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ezsearch_word_ezsearch_word_word_i.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ezsearch_word_ezsearch_word_obj_count.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ezsearch_word_ezsearch_word_obj_count.sql new file mode 100644 index 0000000000..ee7a50072c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ezsearch_word_ezsearch_word_obj_count.sql @@ -0,0 +1 @@ +CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ezsection.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ezsection.sql new file mode 100644 index 0000000000..6e77c80b0a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ezsection.sql @@ -0,0 +1 @@ +CREATE TABLE ezsection (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ezsite_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ezsite_data.sql new file mode 100644 index 0000000000..0cabe9726b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ezsite_data.sql @@ -0,0 +1 @@ +CREATE TABLE ezsite_data (name VARCHAR(60) DEFAULT '' NOT NULL, value CLOB NOT NULL, PRIMARY KEY(name)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ezurl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ezurl.sql new file mode 100644 index 0000000000..40720c87df --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ezurl.sql @@ -0,0 +1 @@ +CREATE TABLE ezurl (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, is_valid INTEGER DEFAULT 1 NOT NULL, last_checked INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ezurl_ezurl_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ezurl_ezurl_url.sql new file mode 100644 index 0000000000..d49afdc63d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ezurl_ezurl_url.sql @@ -0,0 +1 @@ +CREATE INDEX ezurl_url ON ezurl (url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ezurl_object_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ezurl_object_link.sql new file mode 100644 index 0000000000..4457d5a9ca --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ezurl_object_link.sql @@ -0,0 +1 @@ +CREATE TABLE ezurl_object_link (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_attribute_version INTEGER DEFAULT 0 NOT NULL, url_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql new file mode 100644 index 0000000000..67e46a38fe --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ezurl_object_link_ezurl_ol_url_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ezurl_object_link_ezurl_ol_url_id.sql new file mode 100644 index 0000000000..6b9fa680c3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ezurl_object_link_ezurl_ol_url_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql new file mode 100644 index 0000000000..0160b9c1a3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql @@ -0,0 +1 @@ +CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql new file mode 100644 index 0000000000..e2b3d317a1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql @@ -0,0 +1 @@ +CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ezurlalias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ezurlalias.sql new file mode 100644 index 0000000000..46fd22ba70 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ezurlalias.sql @@ -0,0 +1 @@ +CREATE TABLE ezurlalias (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, forward_to_id INTEGER DEFAULT 0 NOT NULL, is_imported INTEGER DEFAULT 0 NOT NULL, is_internal INTEGER DEFAULT 1 NOT NULL, is_wildcard INTEGER DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ezurlalias_ezurlalias_source_md5.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ezurlalias_ezurlalias_source_md5.sql new file mode 100644 index 0000000000..b447996855 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ezurlalias_ezurlalias_source_md5.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql new file mode 100644 index 0000000000..c884362677 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ezurlalias_ezurlalias_forward_to_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ezurlalias_ezurlalias_forward_to_id.sql new file mode 100644 index 0000000000..2cd160e33f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ezurlalias_ezurlalias_forward_to_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql new file mode 100644 index 0000000000..062366e854 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ezurlalias_ezurlalias_source_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ezurlalias_ezurlalias_source_url.sql new file mode 100644 index 0000000000..aa37643b1e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ezurlalias_ezurlalias_source_url.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ezurlalias_ezurlalias_desturl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ezurlalias_ezurlalias_desturl.sql new file mode 100644 index 0000000000..07e4107f82 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ezurlalias_ezurlalias_desturl.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ezurlalias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ezurlalias_ml.sql new file mode 100644 index 0000000000..fc7ced0139 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ezurlalias_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ezurlalias_ml (parent INTEGER DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, "action" CLOB NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INTEGER DEFAULT 1 NOT NULL, id INTEGER DEFAULT 0 NOT NULL, is_alias INTEGER DEFAULT 0 NOT NULL, is_original INTEGER DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INTEGER DEFAULT 0 NOT NULL, text CLOB NOT NULL, PRIMARY KEY(parent, text_md5)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql new file mode 100644 index 0000000000..84fd80638b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql new file mode 100644 index 0000000000..b33960fcad --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql new file mode 100644 index 0000000000..c3f47f4bb7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml ("action", id, link, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql new file mode 100644 index 0000000000..8a9145ac6c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql new file mode 100644 index 0000000000..2a952aa64e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml ("action", is_original); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql new file mode 100644 index 0000000000..139b8c5f68 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql new file mode 100644 index 0000000000..5e0c908085 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql new file mode 100644 index 0000000000..91393fd7ee --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ezurlalias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ezurlalias_ml_incr.sql new file mode 100644 index 0000000000..b559dae946 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ezurlalias_ml_incr.sql @@ -0,0 +1 @@ +CREATE TABLE ezurlalias_ml_incr (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ezurlwildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ezurlwildcard.sql new file mode 100644 index 0000000000..4fef3f6bce --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ezurlwildcard.sql @@ -0,0 +1 @@ +CREATE TABLE ezurlwildcard (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, source_url CLOB NOT NULL, type INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ezuser_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ezuser_accountkey.sql new file mode 100644 index 0000000000..0644e63339 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ezuser_accountkey.sql @@ -0,0 +1 @@ +CREATE TABLE ezuser_accountkey (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ezuser_accountkey_hash_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ezuser_accountkey_hash_key.sql new file mode 100644 index 0000000000..b6d4c50c07 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ezuser_accountkey_hash_key.sql @@ -0,0 +1 @@ +CREATE INDEX hash_key ON ezuser_accountkey (hash_key); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ezuser_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ezuser_role.sql new file mode 100644 index 0000000000..045b996bbd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ezuser_role.sql @@ -0,0 +1 @@ +CREATE TABLE ezuser_role (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ezuser_role_ezuser_role_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ezuser_role_ezuser_role_role_id.sql new file mode 100644 index 0000000000..2224306ce1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ezuser_role_ezuser_role_role_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ezuser_role_ezuser_role_contentobject_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ezuser_role_ezuser_role_contentobject_id.sql new file mode 100644 index 0000000000..2f779bf8a1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ezuser_role_ezuser_role_contentobject_id.sql @@ -0,0 +1 @@ +CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ezuser_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ezuser_setting.sql new file mode 100644 index 0000000000..5d10f19c92 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ezuser_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ezuser_setting (user_id INTEGER DEFAULT 0 NOT NULL, is_enabled INTEGER DEFAULT 0 NOT NULL, max_login INTEGER DEFAULT NULL, PRIMARY KEY(user_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql new file mode 100644 index 0000000000..8d12ee2b45 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql @@ -0,0 +1,2 @@ +CREATE TABLE ibexa_setting (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value CLOB NOT NULL --(DC2Type:json) +); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql new file mode 100644 index 0000000000..d6f3d3b0dc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_setting_id ON ibexa_setting (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql new file mode 100644 index 0000000000..e2a05c6a8d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql new file mode 100644 index 0000000000..56545a77df --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token_type (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql new file mode 100644 index 0000000000..17f4b2cf68 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql new file mode 100644 index 0000000000..4ccb1fc31a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, type_id INTEGER NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, expires INTEGER DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT '0' NOT NULL, CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql new file mode 100644 index 0000000000..8217faeab1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql @@ -0,0 +1 @@ +CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql new file mode 100644 index 0000000000..1d13c98da4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ezcobj_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ezcobj_state.sql new file mode 100644 index 0000000000..64e0eacdd1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ezcobj_state.sql @@ -0,0 +1,3 @@ +INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) +VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ezcobj_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ezcobj_state_group.sql new file mode 100644 index 0000000000..677a43ca5c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ezcobj_state_group.sql @@ -0,0 +1,2 @@ +INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) +VALUES (2,2,'ez_lock',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ezcobj_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ezcobj_state_group_language.sql new file mode 100644 index 0000000000..9930341865 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ezcobj_state_group_language.sql @@ -0,0 +1,2 @@ +INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) +VALUES (2,'',3,'Lock',2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ezcobj_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ezcobj_state_language.sql new file mode 100644 index 0000000000..dc7872d95b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ezcobj_state_language.sql @@ -0,0 +1,3 @@ +INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) +VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ezcobj_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ezcobj_state_link.sql new file mode 100644 index 0000000000..9a0dd8d0e9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ezcobj_state_link.sql @@ -0,0 +1,13 @@ +INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) +VALUES (1, 1), + (4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ezcontent_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ezcontent_language.sql new file mode 100644 index 0000000000..97bfa86644 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ezcontent_language.sql @@ -0,0 +1,2 @@ +INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ezcontentclass.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ezcontentclass.sql new file mode 100644 index 0000000000..540efcb3ef --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ezcontentclass.sql @@ -0,0 +1,7 @@ +INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ezcontentclass_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ezcontentclass_attribute.sql new file mode 100644 index 0000000000..30ad516ff8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ezcontentclass_attribute.sql @@ -0,0 +1,25 @@ +INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ezcontentclass_classgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ezcontentclass_classgroup.sql new file mode 100644 index 0000000000..ffa17693b0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ezcontentclass_classgroup.sql @@ -0,0 +1,7 @@ +INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) +VALUES (1, 0, 1, 'Content'), + (2, 0, 1, 'Content'), + (3, 0, 2, 'Users'), + (4, 0, 2, 'Users'), + (5, 0, 3, 'Media'), + (12, 0, 3, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ezcontentclass_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ezcontentclass_name.sql new file mode 100644 index 0000000000..1f517c87e3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ezcontentclass_name.sql @@ -0,0 +1,7 @@ +INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) +VALUES (1, 0, 2, 'eng-GB', 'Folder'), + (2, 0, 3, 'eng-GB', 'Article'), + (3, 0, 3, 'eng-GB', 'User group'), + (4, 0, 3, 'eng-GB', 'User'), + (5, 0, 3, 'eng-GB', 'Image'), + (12, 0, 3, 'eng-GB', 'File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ezcontentclassgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ezcontentclassgroup.sql new file mode 100644 index 0000000000..61aea82715 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ezcontentclassgroup.sql @@ -0,0 +1,4 @@ +INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) +VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ezcontentobject.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ezcontentobject.sql new file mode 100644 index 0000000000..c18bc54f7d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ezcontentobject.sql @@ -0,0 +1,13 @@ +INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) +VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ezcontentobject_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ezcontentobject_attribute.sql new file mode 100644 index 0000000000..d2ec35a36f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ezcontentobject_attribute.sql @@ -0,0 +1,41 @@ +INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) +VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ezcontentobject_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ezcontentobject_name.sql new file mode 100644 index 0000000000..fc75852a7c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ezcontentobject_name.sql @@ -0,0 +1,13 @@ +INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) +VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ezcontentobject_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ezcontentobject_tree.sql new file mode 100644 index 0000000000..1cfc2b9049 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ezcontentobject_tree.sql @@ -0,0 +1,14 @@ +INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) +VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ezcontentobject_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ezcontentobject_version.sql new file mode 100644 index 0000000000..f8ba2fe49d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ezcontentobject_version.sql @@ -0,0 +1,13 @@ +INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_eznode_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_eznode_assignment.sql new file mode 100644 index 0000000000..b69e8a455f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_eznode_assignment.sql @@ -0,0 +1,13 @@ +INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) +VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ezpolicy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ezpolicy.sql new file mode 100644 index 0000000000..7e0d289d2b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ezpolicy.sql @@ -0,0 +1,9 @@ +INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) +VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ezpolicy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ezpolicy_limitation.sql new file mode 100644 index 0000000000..d1dfc57ee9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ezpolicy_limitation.sql @@ -0,0 +1,7 @@ +INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) +VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ezpolicy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ezpolicy_limitation_value.sql new file mode 100644 index 0000000000..26ef009ea8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ezpolicy_limitation_value.sql @@ -0,0 +1,8 @@ +INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) +VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ezrole.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ezrole.sql new file mode 100644 index 0000000000..16605e3ee2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ezrole.sql @@ -0,0 +1,5 @@ +INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) +VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ezsection.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ezsection.sql new file mode 100644 index 0000000000..a12ae3cbfb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ezsection.sql @@ -0,0 +1,4 @@ +INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) +VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ezsite_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ezsite_data.sql new file mode 100644 index 0000000000..82536384d3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ezsite_data.sql @@ -0,0 +1,2 @@ +INSERT INTO `ezsite_data` (`name`, `value`) +VALUES ('ibexa-release','4.6'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ezurlalias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ezurlalias.sql new file mode 100644 index 0000000000..dbdfab1b74 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ezurlalias.sql @@ -0,0 +1,13 @@ +INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) +VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ezurlalias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ezurlalias_ml.sql new file mode 100644 index 0000000000..1a3fce42c5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ezurlalias_ml.sql @@ -0,0 +1,26 @@ +INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) +VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ezurlalias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ezurlalias_ml_incr.sql new file mode 100644 index 0000000000..60ee1309ce --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ezurlalias_ml_incr.sql @@ -0,0 +1,4 @@ +INSERT INTO `ezurlalias_ml_incr` (`id`) +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ezuser.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ezuser.sql new file mode 100644 index 0000000000..151e4f6fa4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ezuser.sql @@ -0,0 +1,3 @@ +INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) +VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ezuser_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ezuser_role.sql new file mode 100644 index 0000000000..5ad1f12f1e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ezuser_role.sql @@ -0,0 +1,7 @@ +INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) +VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ezuser_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ezuser_setting.sql new file mode 100644 index 0000000000..c87f9291dd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ezuser_setting.sql @@ -0,0 +1,3 @@ +INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) +VALUES (1,1000,10), + (1,10,14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ezpreferences.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ezpreferences.sql new file mode 100644 index 0000000000..5a44f420f9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ezpreferences.sql @@ -0,0 +1,2 @@ +INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) +SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin'; diff --git a/tests/bundle/RepositoryInstaller/DependencyInjection/Compiler/InstallerTagPassTest.php b/tests/bundle/RepositoryInstaller/DependencyInjection/Compiler/InstallerTagPassTest.php deleted file mode 100644 index 0582363709..0000000000 --- a/tests/bundle/RepositoryInstaller/DependencyInjection/Compiler/InstallerTagPassTest.php +++ /dev/null @@ -1,58 +0,0 @@ -setDefinition( - InstallPlatformCommand::class, - new Definition(InstallPlatformCommand::class, ['$installers' => []]) - ); - $definition = new Definition(); - $definition->addTag( - InstallerTagPass::INSTALLER_TAG, - [ - 'type' => 'installer_type', - ] - ); - - $this->setDefinition('service_id', $definition); - $this->compile(); - - $this->assertContainerBuilderHasServiceDefinitionWithArgument( - InstallPlatformCommand::class, - '$installers', - [ - 'installer_type' => new Reference('service_id'), - ] - ); - } - - protected function registerCompilerPass(ContainerBuilder $container): void - { - $container->addCompilerPass(new InstallerTagPass()); - } -} - -class_alias(InstallerTagPassTest::class, 'EzSystems\PlatformInstallerBundleTests\DependencyInjection\Compiler\InstallerTagPassTest'); diff --git a/tests/bundle/RepositoryInstaller/DependencyInjection/IbexaInstallerExtensionTest.php b/tests/bundle/RepositoryInstaller/DependencyInjection/IbexaInstallerExtensionTest.php index 19ff4e77d1..ef93b0dbf8 100644 --- a/tests/bundle/RepositoryInstaller/DependencyInjection/IbexaInstallerExtensionTest.php +++ b/tests/bundle/RepositoryInstaller/DependencyInjection/IbexaInstallerExtensionTest.php @@ -9,7 +9,6 @@ namespace Ibexa\Tests\Bundle\RepositoryInstaller\DependencyInjection; use Ibexa\Bundle\RepositoryInstaller\Command\InstallPlatformCommand; -use Ibexa\Bundle\RepositoryInstaller\DependencyInjection\Compiler\InstallerTagPass; use Ibexa\Bundle\RepositoryInstaller\DependencyInjection\IbexaRepositoryInstallerExtension; use Ibexa\Bundle\RepositoryInstaller\Installer\CoreInstaller; use Ibexa\Bundle\RepositoryInstaller\Installer\DbBasedInstaller; @@ -32,7 +31,7 @@ public function testLoadLoadsTaggedCoreInstaller(): void ); $this->assertContainerBuilderHasServiceDefinitionWithTag( CoreInstaller::class, - InstallerTagPass::INSTALLER_TAG, + 'ibexa.installer', ['type' => 'clean'] ); } diff --git a/tests/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundleTest.php b/tests/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundleTest.php index 323370c693..fec8749159 100644 --- a/tests/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundleTest.php +++ b/tests/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundleTest.php @@ -9,10 +9,8 @@ namespace Ibexa\Tests\Bundle\RepositoryInstaller; use Ibexa\Bundle\DoctrineSchema\DependencyInjection\DoctrineSchemaExtension; -use Ibexa\Bundle\RepositoryInstaller\DependencyInjection\Compiler\InstallerTagPass; use Ibexa\Bundle\RepositoryInstaller\IbexaRepositoryInstallerBundle; use PHPUnit\Framework\TestCase; -use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Exception\RuntimeException; @@ -33,17 +31,10 @@ public function testBuild(): void { $container = new ContainerBuilder(); $container->registerExtension(new DoctrineSchemaExtension()); + $this->bundle->build($container); - // check if InstallerTagPass was added - self::assertNotEmpty( - array_filter( - $container->getCompilerPassConfig()->getPasses(), - static function (CompilerPassInterface $compilerPass) { - return $compilerPass instanceof InstallerTagPass; - } - ) - ); + $this->expectNotToPerformAssertions(); } /** From c7bcdf40924e02e0e6d2f3bb81e89d1ee14a8326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Fri, 17 Jul 2026 10:04:41 +0200 Subject: [PATCH 02/38] Fixed PHPStan generics error on ServiceLocator Symfony\Component\DependencyInjection\ServiceLocator is not a generic class, so PHPStan rejects the ServiceLocator PHPDoc type used for InstallPlatformCommand::$installers. Removed the invalid generic parameter; the type-hint itself (plain ServiceLocator) is unaffected. --- .../RepositoryInstaller/Command/InstallPlatformCommand.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php b/src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php index f9f62de371..567f33680a 100644 --- a/src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php +++ b/src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php @@ -34,7 +34,6 @@ final class InstallPlatformCommand extends Command implements BackwardCompatible private string $environment; - /** @var \Symfony\Component\DependencyInjection\ServiceLocator<\Ibexa\Bundle\RepositoryInstaller\Installer\Installer> */ private ServiceLocator $installers; private RepositoryConfigurationProvider $repositoryConfigurationProvider; @@ -44,9 +43,6 @@ final class InstallPlatformCommand extends Command implements BackwardCompatible public const EXIT_UNKNOWN_INSTALL_TYPE = 6; public const EXIT_MISSING_PERMISSIONS = 7; - /** - * @param \Symfony\Component\DependencyInjection\ServiceLocator<\Ibexa\Bundle\RepositoryInstaller\Installer\Installer> $installers - */ public function __construct( Connection $connection, ServiceLocator $installers, From d070699de9cbe9e425654a9f114f7275c1fb1161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Fri, 17 Jul 2026 12:42:50 +0200 Subject: [PATCH 03/38] [Doctrine Migrations] Inlined SQL directly into migration classes Converts InstallSchemaMigration and ImportDataMigration from Ibexa\Contracts\DoctrineMigrations\Migrations\AbstractVersion (which loads its SQL from a YAML manifest + one-statement-per-file pairs at runtime) to Doctrine\Migrations\AbstractMigration directly, with every statement inlined as an addSql() call in up(), branching on $this->platform (MySqlPlatform/PostgreSqlPlatform/SqlitePlatform). Both still implement IbexaMigrationInterface and are tagged with IbexaMigrationTag::TAG in services.yml, so they remain discoverable by TaggedMigrationsRunner/ServiceMigrationsRepository/IbexaOnlyDependencyFactory exactly as before - no other part of the installer changes. Removes the entire Resources/migrations/ YAML+SQL-file tree (509 files), generated from the same schema.yaml/cleandata.sql sources as before. --- .../Migration/ImportDataMigration.php | 883 +++++++++++++++++- .../Migration/InstallSchemaMigration.php | 413 +++++++- .../Resources/migrations/import_data.yaml | 243 ----- .../Resources/migrations/install_schema.yaml | 773 --------------- .../sql/mysql/0001_create_ezbinaryfile.sql | 1 - .../sql/mysql/0002_create_ezcobj_state.sql | 1 - .../mysql/0003_create_ezcobj_state_group.sql | 1 - ...004_create_ezcobj_state_group_language.sql | 1 - .../0005_create_ezcobj_state_language.sql | 1 - .../mysql/0006_create_ezcobj_state_link.sql | 1 - .../mysql/0007_create_ezcontent_language.sql | 1 - .../sql/mysql/0008_create_ezuser.sql | 1 - .../0009_create_ezcontentobject_tree.sql | 1 - .../0010_create_ezcontentbrowsebookmark.sql | 1 - .../sql/mysql/0011_create_ezcontentclass.sql | 1 - .../0012_create_ezcontentclass_attribute.sql | 1 - ...013_create_ezcontentclass_attribute_ml.sql | 1 - .../0014_create_ezcontentclass_classgroup.sql | 1 - .../mysql/0015_create_ezcontentclass_name.sql | 1 - .../mysql/0016_create_ezcontentclassgroup.sql | 1 - .../sql/mysql/0017_create_ezcontentobject.sql | 1 - .../0018_create_ezcontentobject_attribute.sql | 1 - .../0019_create_ezcontentobject_link.sql | 1 - .../0020_create_ezcontentobject_name.sql | 1 - .../0021_create_ezcontentobject_trash.sql | 1 - .../0022_create_ezcontentobject_version.sql | 1 - .../sql/mysql/0023_create_ezdfsfile.sql | 1 - .../sql/mysql/0024_create_ezgmaplocation.sql | 1 - .../sql/mysql/0025_create_ezimagefile.sql | 1 - .../sql/mysql/0026_create_ezkeyword.sql | 1 - .../0027_create_ezkeyword_attribute_link.sql | 1 - .../sql/mysql/0028_create_ezmedia.sql | 1 - .../mysql/0029_create_eznode_assignment.sql | 1 - .../sql/mysql/0030_create_eznotification.sql | 1 - .../sql/mysql/0031_create_ezpackage.sql | 1 - .../sql/mysql/0032_create_ezpolicy.sql | 1 - .../mysql/0033_create_ezpolicy_limitation.sql | 1 - .../0034_create_ezpolicy_limitation_value.sql | 1 - .../sql/mysql/0035_create_ezpreferences.sql | 1 - .../sql/mysql/0036_create_ezrole.sql | 1 - .../0037_create_ezsearch_object_word_link.sql | 1 - .../sql/mysql/0038_create_ezsearch_word.sql | 1 - .../sql/mysql/0039_create_ezsection.sql | 1 - .../sql/mysql/0040_create_ezsite_data.sql | 1 - .../sql/mysql/0041_create_ezurl.sql | 1 - .../mysql/0042_create_ezurl_object_link.sql | 1 - .../sql/mysql/0043_create_ezurlalias.sql | 1 - .../sql/mysql/0044_create_ezurlalias_ml.sql | 1 - .../mysql/0045_create_ezurlalias_ml_incr.sql | 1 - .../sql/mysql/0046_create_ezurlwildcard.sql | 1 - .../mysql/0047_create_ezuser_accountkey.sql | 1 - .../sql/mysql/0048_create_ezuser_role.sql | 1 - .../sql/mysql/0049_create_ezuser_setting.sql | 1 - .../sql/mysql/0050_create_ibexa_setting.sql | 1 - .../mysql/0051_create_ibexa_token_type.sql | 1 - .../sql/mysql/0052_create_ibexa_token.sql | 1 - ...rk_ezcontentbrowsebookmark_location_fk.sql | 1 - ...okmark_ezcontentbrowsebookmark_user_fk.sql | 1 - ...ml_ezcontentclass_attribute_ml_lang_fk.sql | 1 - ..._fk_ibexa_token_ibexa_token_type_id_fk.sql | 1 - .../mysql/data/0001_insert_ezcobj_state.sql | 3 - .../data/0002_insert_ezcobj_state_group.sql | 2 - ...003_insert_ezcobj_state_group_language.sql | 2 - .../0004_insert_ezcobj_state_language.sql | 3 - .../data/0005_insert_ezcobj_state_link.sql | 13 - .../data/0006_insert_ezcontent_language.sql | 2 - .../mysql/data/0007_insert_ezcontentclass.sql | 7 - .../0008_insert_ezcontentclass_attribute.sql | 25 - .../0009_insert_ezcontentclass_classgroup.sql | 7 - .../data/0010_insert_ezcontentclass_name.sql | 7 - .../data/0011_insert_ezcontentclassgroup.sql | 4 - .../data/0012_insert_ezcontentobject.sql | 13 - .../0013_insert_ezcontentobject_attribute.sql | 41 - .../data/0014_insert_ezcontentobject_name.sql | 13 - .../data/0015_insert_ezcontentobject_tree.sql | 14 - .../0016_insert_ezcontentobject_version.sql | 13 - .../data/0017_insert_eznode_assignment.sql | 13 - .../sql/mysql/data/0018_insert_ezpolicy.sql | 9 - .../data/0019_insert_ezpolicy_limitation.sql | 7 - .../0020_insert_ezpolicy_limitation_value.sql | 8 - .../sql/mysql/data/0021_insert_ezrole.sql | 5 - .../sql/mysql/data/0022_insert_ezsection.sql | 4 - .../mysql/data/0023_insert_ezsite_data.sql | 2 - .../sql/mysql/data/0024_insert_ezurlalias.sql | 13 - .../mysql/data/0025_insert_ezurlalias_ml.sql | 26 - .../data/0026_insert_ezurlalias_ml_incr.sql | 4 - .../sql/mysql/data/0027_insert_ezuser.sql | 3 - .../mysql/data/0028_insert_ezuser_role.sql | 7 - .../mysql/data/0029_insert_ezuser_setting.sql | 3 - .../mysql/data/0030_insert_ezpreferences.sql | 2 - .../postgresql/0001_create_ezbinaryfile.sql | 1 - .../postgresql/0002_create_ezcobj_state.sql | 1 - ...dex_ezcobj_state_ezcobj_state_priority.sql | 1 - ..._index_ezcobj_state_ezcobj_state_lmask.sql | 1 - ...x_ezcobj_state_ezcobj_state_identifier.sql | 1 - .../0006_create_ezcobj_state_group.sql | 1 - ...j_state_group_ezcobj_state_group_lmask.sql | 1 - ...te_group_ezcobj_state_group_identifier.sql | 1 - ...009_create_ezcobj_state_group_language.sql | 1 - .../0010_create_ezcobj_state_language.sql | 1 - .../0011_create_ezcobj_state_link.sql | 1 - .../0012_create_ezcontent_language.sql | 1 - ...ntent_language_ezcontent_language_name.sql | 1 - .../sql/postgresql/0014_create_ezuser.sql | 1 - .../0015_index_ezuser_ezuser_login.sql | 1 - .../0016_create_ezcontentobject_tree.sql | 1 - ...ct_tree_ezcontentobject_tree_p_node_id.sql | 1 - ...t_tree_ezcontentobject_tree_path_ident.sql | 1 - ...ject_tree_contentobject_id_path_string.sql | 1 - ...object_tree_ezcontentobject_tree_co_id.sql | 1 - ...object_tree_ezcontentobject_tree_depth.sql | 1 - ...tobject_tree_ezcontentobject_tree_path.sql | 1 - ..._ezcontentobject_tree_modified_subnode.sql | 1 - ...ct_tree_ezcontentobject_tree_remote_id.sql | 1 - .../0025_create_ezcontentbrowsebookmark.sql | 1 - ...kmark_ezcontentbrowsebookmark_location.sql | 1 - ...ebookmark_ezcontentbrowsebookmark_user.sql | 1 - ..._ezcontentbrowsebookmark_user_location.sql | 1 - .../postgresql/0029_create_ezcontentclass.sql | 1 - ..._ezcontentclass_ezcontentclass_version.sql | 1 - ...contentclass_ezcontentclass_identifier.sql | 1 - .../0032_create_ezcontentclass_attribute.sql | 1 - ...ass_attribute_ezcontentclass_attr_ccid.sql | 1 - ...lass_attribute_ezcontentclass_attr_dts.sql | 1 - ...035_create_ezcontentclass_attribute_ml.sql | 1 - ...ml_ezcontentclass_attribute_ml_lang_fk.sql | 1 - .../0037_create_ezcontentclass_classgroup.sql | 1 - .../0038_create_ezcontentclass_name.sql | 1 - .../0039_create_ezcontentclassgroup.sql | 1 - .../0040_create_ezcontentobject.sql | 1 - ...zcontentobject_ezcontentobject_classid.sql | 1 - ..._ezcontentobject_ezcontentobject_lmask.sql | 1 - ...ex_ezcontentobject_ezcontentobject_pub.sql | 1 - ...zcontentobject_ezcontentobject_section.sql | 1 - ...tobject_ezcontentobject_currentversion.sql | 1 - ..._ezcontentobject_ezcontentobject_owner.sql | 1 - ...ezcontentobject_ezcontentobject_status.sql | 1 - ...ontentobject_ezcontentobject_remote_id.sql | 1 - .../0049_create_ezcontentobject_attribute.sql | 1 - ...ntobject_attribute_co_id_ver_lang_code.sql | 1 - ...attribute_ezcontentobject_classattr_id.sql | 1 - ...ontentobject_attribute_sort_key_string.sql | 1 - ...zcontentobject_attribute_language_code.sql | 1 - ...ezcontentobject_attribute_sort_key_int.sql | 1 - ...te_ezcontentobject_attribute_co_id_ver.sql | 1 - .../0056_create_ezcontentobject_link.sql | 1 - ...zcontentobject_link_ezco_link_to_co_id.sql | 1 - ...ex_ezcontentobject_link_ezco_link_from.sql | 1 - ..._ezcontentobject_link_ezco_link_cca_id.sql | 1 - .../0060_create_ezcontentobject_name.sql | 1 - ...ject_name_ezcontentobject_name_lang_id.sql | 1 - ...bject_name_ezcontentobject_name_cov_id.sql | 1 - ...tobject_name_ezcontentobject_name_name.sql | 1 - .../0064_create_ezcontentobject_trash.sql | 1 - ...contentobject_trash_ezcobj_trash_depth.sql | 1 - ...entobject_trash_ezcobj_trash_p_node_id.sql | 1 - ...ntobject_trash_ezcobj_trash_path_ident.sql | 1 - ...contentobject_trash_ezcobj_trash_co_id.sql | 1 - ...ct_trash_ezcobj_trash_modified_subnode.sql | 1 - ...zcontentobject_trash_ezcobj_trash_path.sql | 1 - .../0071_create_ezcontentobject_version.sql | 1 - ...ntobject_version_ezcobj_version_status.sql | 1 - ...ject_version_idx_object_version_objver.sql | 1 - ...t_version_ezcontobj_version_obj_status.sql | 1 - ...ject_version_ezcobj_version_creator_id.sql | 1 - .../sql/postgresql/0076_create_ezdfsfile.sql | 1 - ...7_index_ezdfsfile_ezdfsfile_name_trunk.sql | 1 - ...index_ezdfsfile_ezdfsfile_expired_name.sql | 1 - .../0079_index_ezdfsfile_ezdfsfile_name.sql | 1 - .../0080_index_ezdfsfile_ezdfsfile_mtime.sql | 1 - .../postgresql/0081_create_ezgmaplocation.sql | 1 - ..._ezgmaplocation_latitude_longitude_key.sql | 1 - .../postgresql/0083_create_ezimagefile.sql | 1 - ...084_index_ezimagefile_ezimagefile_file.sql | 1 - ...085_index_ezimagefile_ezimagefile_coid.sql | 1 - .../sql/postgresql/0086_create_ezkeyword.sql | 1 - ...0087_index_ezkeyword_ezkeyword_keyword.sql | 1 - .../0088_create_ezkeyword_attribute_link.sql | 1 - ...ttribute_link_ezkeyword_attr_link_oaid.sql | 1 - ...bute_link_ezkeyword_attr_link_kid_oaid.sql | 1 - ...bute_link_ezkeyword_attr_link_oaid_ver.sql | 1 - .../sql/postgresql/0092_create_ezmedia.sql | 1 - .../0093_create_eznode_assignment.sql | 1 - ...e_assignment_eznode_assignment_is_main.sql | 1 - ..._assignment_eznode_assignment_coid_cov.sql | 1 - ...signment_eznode_assignment_parent_node.sql | 1 - ...ssignment_eznode_assignment_co_version.sql | 1 - .../postgresql/0098_create_eznotification.sql | 1 - ...cation_eznotification_owner_is_pending.sql | 1 - ...ex_eznotification_eznotification_owner.sql | 1 - .../sql/postgresql/0101_create_ezpackage.sql | 1 - .../sql/postgresql/0102_create_ezpolicy.sql | 1 - .../0103_index_ezpolicy_ezpolicy_role_id.sql | 1 - ...04_index_ezpolicy_ezpolicy_original_id.sql | 1 - .../0105_create_ezpolicy_limitation.sql | 1 - ...06_index_ezpolicy_limitation_policy_id.sql | 1 - .../0107_create_ezpolicy_limitation_value.sql | 1 - ...on_value_ezpolicy_limit_value_limit_id.sql | 1 - ...on_value_ezpolicy_limitation_value_val.sql | 1 - .../postgresql/0110_create_ezpreferences.sql | 1 - ...zpreferences_ezpreferences_user_id_idx.sql | 1 - ...index_ezpreferences_ezpreferences_name.sql | 1 - .../sql/postgresql/0113_create_ezrole.sql | 1 - .../0114_create_ezsearch_object_word_link.sql | 1 - ..._link_ezsearch_object_word_link_object.sql | 1 - ...k_ezsearch_object_word_link_identifier.sql | 1 - ...zsearch_object_word_link_integer_value.sql | 1 - ...rd_link_ezsearch_object_word_link_word.sql | 1 - ...nk_ezsearch_object_word_link_frequency.sql | 1 - .../postgresql/0120_create_ezsearch_word.sql | 1 - ...dex_ezsearch_word_ezsearch_word_word_i.sql | 1 - ..._ezsearch_word_ezsearch_word_obj_count.sql | 1 - .../sql/postgresql/0123_create_ezsection.sql | 1 - .../postgresql/0124_create_ezsite_data.sql | 1 - .../sql/postgresql/0125_create_ezurl.sql | 1 - .../postgresql/0126_index_ezurl_ezurl_url.sql | 1 - .../0127_create_ezurl_object_link.sql | 1 - ...ndex_ezurl_object_link_ezurl_ol_coa_id.sql | 1 - ...ndex_ezurl_object_link_ezurl_ol_url_id.sql | 1 - ...ezurl_object_link_ezurl_ol_coa_version.sql | 1 - ..._ezurl_object_link_ezurl_ol_coa_id_cav.sql | 1 - .../sql/postgresql/0132_create_ezurlalias.sql | 1 - ...index_ezurlalias_ezurlalias_source_md5.sql | 1 - ..._index_ezurlalias_ezurlalias_wcard_fwd.sql | 1 - ...ex_ezurlalias_ezurlalias_forward_to_id.sql | 1 - ...ex_ezurlalias_ezurlalias_imp_wcard_fwd.sql | 1 - ...index_ezurlalias_ezurlalias_source_url.sql | 1 - ...38_index_ezurlalias_ezurlalias_desturl.sql | 1 - .../postgresql/0139_create_ezurlalias_ml.sql | 1 - ...zurlalias_ml_ezurlalias_ml_actt_org_al.sql | 1 - ..._ezurlalias_ml_ezurlalias_ml_text_lang.sql | 1 - ...lalias_ml_ezurlalias_ml_par_act_id_lnk.sql | 1 - ...zurlalias_ml_ezurlalias_ml_par_lnk_txt.sql | 1 - ...ex_ezurlalias_ml_ezurlalias_ml_act_org.sql | 1 - ...index_ezurlalias_ml_ezurlalias_ml_text.sql | 1 - ...index_ezurlalias_ml_ezurlalias_ml_link.sql | 1 - ...7_index_ezurlalias_ml_ezurlalias_ml_id.sql | 1 - .../0148_create_ezurlalias_ml_incr.sql | 1 - .../postgresql/0149_create_ezurlwildcard.sql | 1 - .../0150_create_ezuser_accountkey.sql | 1 - .../0151_index_ezuser_accountkey_hash_key.sql | 1 - .../postgresql/0152_create_ezuser_role.sql | 1 - ..._index_ezuser_role_ezuser_role_role_id.sql | 1 - ...user_role_ezuser_role_contentobject_id.sql | 1 - .../postgresql/0155_create_ezuser_setting.sql | 1 - .../postgresql/0156_create_ibexa_setting.sql | 1 - ...7_index_ibexa_setting_ibexa_setting_id.sql | 1 - ...setting_ibexa_setting_group_identifier.sql | 1 - .../0159_create_ibexa_token_type.sql | 1 - ...exa_token_type_ibexa_token_type_unique.sql | 1 - .../postgresql/0161_create_ibexa_token.sql | 1 - ...index_ibexa_token_IDX_B5412887C54C8C93.sql | 1 - ...3_index_ibexa_token_ibexa_token_unique.sql | 1 - ...rk_ezcontentbrowsebookmark_location_fk.sql | 1 - ...okmark_ezcontentbrowsebookmark_user_fk.sql | 1 - ...ml_ezcontentclass_attribute_ml_lang_fk.sql | 1 - ..._fk_ibexa_token_ibexa_token_type_id_fk.sql | 1 - .../data/0001_insert_ezcobj_state.sql | 3 - .../data/0002_insert_ezcobj_state_group.sql | 2 - ...003_insert_ezcobj_state_group_language.sql | 2 - .../0004_insert_ezcobj_state_language.sql | 3 - .../data/0005_insert_ezcobj_state_link.sql | 13 - .../data/0006_insert_ezcontent_language.sql | 2 - .../data/0007_insert_ezcontentclass.sql | 7 - .../0008_insert_ezcontentclass_attribute.sql | 25 - .../0009_insert_ezcontentclass_classgroup.sql | 7 - .../data/0010_insert_ezcontentclass_name.sql | 7 - .../data/0011_insert_ezcontentclassgroup.sql | 4 - .../data/0012_insert_ezcontentobject.sql | 13 - .../0013_insert_ezcontentobject_attribute.sql | 41 - .../data/0014_insert_ezcontentobject_name.sql | 13 - .../data/0015_insert_ezcontentobject_tree.sql | 14 - .../0016_insert_ezcontentobject_version.sql | 13 - .../data/0017_insert_eznode_assignment.sql | 13 - .../postgresql/data/0018_insert_ezpolicy.sql | 9 - .../data/0019_insert_ezpolicy_limitation.sql | 7 - .../0020_insert_ezpolicy_limitation_value.sql | 8 - .../postgresql/data/0021_insert_ezrole.sql | 5 - .../postgresql/data/0022_insert_ezsection.sql | 4 - .../data/0023_insert_ezsite_data.sql | 2 - .../data/0024_insert_ezurlalias.sql | 13 - .../data/0025_insert_ezurlalias_ml.sql | 26 - .../data/0026_insert_ezurlalias_ml_incr.sql | 4 - .../postgresql/data/0027_insert_ezuser.sql | 3 - .../data/0028_insert_ezuser_role.sql | 7 - .../data/0029_insert_ezuser_setting.sql | 3 - .../data/0030_insert_ezpreferences.sql | 2 - .../0031_setval_ezcobj_state_group_id_seq.sql | 2 - .../data/0032_setval_ezcobj_state_id_seq.sql | 1 - ..._setval_ezcontentbrowsebookmark_id_seq.sql | 1 - ...setval_ezcontentclass_attribute_id_seq.sql | 1 - .../0035_setval_ezcontentclass_id_seq.sql | 1 - ...0036_setval_ezcontentclassgroup_id_seq.sql | 1 - ...etval_ezcontentobject_attribute_id_seq.sql | 1 - .../0038_setval_ezcontentobject_id_seq.sql | 1 - ...039_setval_ezcontentobject_link_id_seq.sql | 1 - ...etval_ezcontentobject_tree_node_id_seq.sql | 1 - ..._setval_ezcontentobject_version_id_seq.sql | 1 - .../data/0042_setval_ezimagefile_id_seq.sql | 1 - ...setval_ezkeyword_attribute_link_id_seq.sql | 1 - .../data/0044_setval_ezkeyword_id_seq.sql | 1 - .../0045_setval_eznode_assignment_id_seq.sql | 1 - .../0046_setval_eznotification_id_seq.sql | 1 - .../data/0047_setval_ezpackage_id_seq.sql | 1 - .../data/0048_setval_ezpolicy_id_seq.sql | 1 - ...0049_setval_ezpolicy_limitation_id_seq.sql | 1 - ...etval_ezpolicy_limitation_value_id_seq.sql | 1 - .../data/0051_setval_ezpreferences_id_seq.sql | 1 - .../data/0052_setval_ezrole_id_seq.sql | 1 - ...etval_ezsearch_object_word_link_id_seq.sql | 1 - .../data/0054_setval_ezsearch_word_id_seq.sql | 1 - .../data/0055_setval_ezsection_id_seq.sql | 1 - .../data/0056_setval_ezurl_id_seq.sql | 1 - .../data/0057_setval_ezurlalias_id_seq.sql | 1 - .../0058_setval_ezurlalias_ml_incr_id_seq.sql | 1 - .../data/0059_setval_ezurlwildcard_id_seq.sql | 1 - .../0060_setval_ezuser_accountkey_id_seq.sql | 1 - .../data/0061_setval_ezuser_role_id_seq.sql | 1 - .../sql/sqlite/0001_create_ezbinaryfile.sql | 1 - .../sql/sqlite/0002_create_ezcobj_state.sql | 1 - ...dex_ezcobj_state_ezcobj_state_priority.sql | 1 - ..._index_ezcobj_state_ezcobj_state_lmask.sql | 1 - ...x_ezcobj_state_ezcobj_state_identifier.sql | 1 - .../sqlite/0006_create_ezcobj_state_group.sql | 1 - ...j_state_group_ezcobj_state_group_lmask.sql | 1 - ...te_group_ezcobj_state_group_identifier.sql | 1 - ...009_create_ezcobj_state_group_language.sql | 1 - .../0010_create_ezcobj_state_language.sql | 1 - .../sqlite/0011_create_ezcobj_state_link.sql | 1 - .../sqlite/0012_create_ezcontent_language.sql | 1 - ...ntent_language_ezcontent_language_name.sql | 1 - .../sql/sqlite/0014_create_ezuser.sql | 1 - .../sqlite/0015_index_ezuser_ezuser_login.sql | 1 - .../0016_create_ezcontentobject_tree.sql | 1 - ...ct_tree_ezcontentobject_tree_p_node_id.sql | 1 - ...t_tree_ezcontentobject_tree_path_ident.sql | 1 - ...ject_tree_contentobject_id_path_string.sql | 1 - ...object_tree_ezcontentobject_tree_co_id.sql | 1 - ...object_tree_ezcontentobject_tree_depth.sql | 1 - ...tobject_tree_ezcontentobject_tree_path.sql | 1 - ..._ezcontentobject_tree_modified_subnode.sql | 1 - ...ct_tree_ezcontentobject_tree_remote_id.sql | 1 - .../0025_create_ezcontentbrowsebookmark.sql | 1 - ...kmark_ezcontentbrowsebookmark_location.sql | 1 - ...ebookmark_ezcontentbrowsebookmark_user.sql | 1 - ..._ezcontentbrowsebookmark_user_location.sql | 1 - .../sql/sqlite/0029_create_ezcontentclass.sql | 1 - ..._ezcontentclass_ezcontentclass_version.sql | 1 - ...contentclass_ezcontentclass_identifier.sql | 1 - .../0032_create_ezcontentclass_attribute.sql | 1 - ...ass_attribute_ezcontentclass_attr_ccid.sql | 1 - ...lass_attribute_ezcontentclass_attr_dts.sql | 1 - ...035_create_ezcontentclass_attribute_ml.sql | 1 - ...ml_ezcontentclass_attribute_ml_lang_fk.sql | 1 - .../0037_create_ezcontentclass_classgroup.sql | 1 - .../0038_create_ezcontentclass_name.sql | 1 - .../0039_create_ezcontentclassgroup.sql | 1 - .../sqlite/0040_create_ezcontentobject.sql | 1 - ...zcontentobject_ezcontentobject_classid.sql | 1 - ..._ezcontentobject_ezcontentobject_lmask.sql | 1 - ...ex_ezcontentobject_ezcontentobject_pub.sql | 1 - ...zcontentobject_ezcontentobject_section.sql | 1 - ...tobject_ezcontentobject_currentversion.sql | 1 - ..._ezcontentobject_ezcontentobject_owner.sql | 1 - ...ezcontentobject_ezcontentobject_status.sql | 1 - ...ontentobject_ezcontentobject_remote_id.sql | 1 - .../0049_create_ezcontentobject_attribute.sql | 1 - ...ntobject_attribute_co_id_ver_lang_code.sql | 1 - ...attribute_ezcontentobject_classattr_id.sql | 1 - ...ontentobject_attribute_sort_key_string.sql | 1 - ...zcontentobject_attribute_language_code.sql | 1 - ...ezcontentobject_attribute_sort_key_int.sql | 1 - ...te_ezcontentobject_attribute_co_id_ver.sql | 1 - .../0056_create_ezcontentobject_link.sql | 1 - ...zcontentobject_link_ezco_link_to_co_id.sql | 1 - ...ex_ezcontentobject_link_ezco_link_from.sql | 1 - ..._ezcontentobject_link_ezco_link_cca_id.sql | 1 - .../0060_create_ezcontentobject_name.sql | 1 - ...ject_name_ezcontentobject_name_lang_id.sql | 1 - ...bject_name_ezcontentobject_name_cov_id.sql | 1 - ...tobject_name_ezcontentobject_name_name.sql | 1 - .../0064_create_ezcontentobject_trash.sql | 1 - ...contentobject_trash_ezcobj_trash_depth.sql | 1 - ...entobject_trash_ezcobj_trash_p_node_id.sql | 1 - ...ntobject_trash_ezcobj_trash_path_ident.sql | 1 - ...contentobject_trash_ezcobj_trash_co_id.sql | 1 - ...ct_trash_ezcobj_trash_modified_subnode.sql | 1 - ...zcontentobject_trash_ezcobj_trash_path.sql | 1 - .../0071_create_ezcontentobject_version.sql | 1 - ...ntobject_version_ezcobj_version_status.sql | 1 - ...ject_version_idx_object_version_objver.sql | 1 - ...t_version_ezcontobj_version_obj_status.sql | 1 - ...ject_version_ezcobj_version_creator_id.sql | 1 - .../sql/sqlite/0076_create_ezdfsfile.sql | 1 - ...7_index_ezdfsfile_ezdfsfile_name_trunk.sql | 1 - ...index_ezdfsfile_ezdfsfile_expired_name.sql | 1 - .../0079_index_ezdfsfile_ezdfsfile_name.sql | 1 - .../0080_index_ezdfsfile_ezdfsfile_mtime.sql | 1 - .../sql/sqlite/0081_create_ezgmaplocation.sql | 1 - ..._ezgmaplocation_latitude_longitude_key.sql | 1 - .../sql/sqlite/0083_create_ezimagefile.sql | 1 - ...084_index_ezimagefile_ezimagefile_file.sql | 1 - ...085_index_ezimagefile_ezimagefile_coid.sql | 1 - .../sql/sqlite/0086_create_ezkeyword.sql | 1 - ...0087_index_ezkeyword_ezkeyword_keyword.sql | 1 - .../0088_create_ezkeyword_attribute_link.sql | 1 - ...ttribute_link_ezkeyword_attr_link_oaid.sql | 1 - ...bute_link_ezkeyword_attr_link_kid_oaid.sql | 1 - ...bute_link_ezkeyword_attr_link_oaid_ver.sql | 1 - .../sql/sqlite/0092_create_ezmedia.sql | 1 - .../sqlite/0093_create_eznode_assignment.sql | 1 - ...e_assignment_eznode_assignment_is_main.sql | 1 - ..._assignment_eznode_assignment_coid_cov.sql | 1 - ...signment_eznode_assignment_parent_node.sql | 1 - ...ssignment_eznode_assignment_co_version.sql | 1 - .../sql/sqlite/0098_create_eznotification.sql | 1 - ...cation_eznotification_owner_is_pending.sql | 1 - ...ex_eznotification_eznotification_owner.sql | 1 - .../sql/sqlite/0101_create_ezpackage.sql | 1 - .../sql/sqlite/0102_create_ezpolicy.sql | 1 - .../0103_index_ezpolicy_ezpolicy_role_id.sql | 1 - ...04_index_ezpolicy_ezpolicy_original_id.sql | 1 - .../0105_create_ezpolicy_limitation.sql | 1 - ...06_index_ezpolicy_limitation_policy_id.sql | 1 - .../0107_create_ezpolicy_limitation_value.sql | 1 - ...on_value_ezpolicy_limit_value_limit_id.sql | 1 - ...on_value_ezpolicy_limitation_value_val.sql | 1 - .../sql/sqlite/0110_create_ezpreferences.sql | 1 - ...zpreferences_ezpreferences_user_id_idx.sql | 1 - ...index_ezpreferences_ezpreferences_name.sql | 1 - .../sql/sqlite/0113_create_ezrole.sql | 1 - .../0114_create_ezsearch_object_word_link.sql | 1 - ..._link_ezsearch_object_word_link_object.sql | 1 - ...k_ezsearch_object_word_link_identifier.sql | 1 - ...zsearch_object_word_link_integer_value.sql | 1 - ...rd_link_ezsearch_object_word_link_word.sql | 1 - ...nk_ezsearch_object_word_link_frequency.sql | 1 - .../sql/sqlite/0120_create_ezsearch_word.sql | 1 - ...dex_ezsearch_word_ezsearch_word_word_i.sql | 1 - ..._ezsearch_word_ezsearch_word_obj_count.sql | 1 - .../sql/sqlite/0123_create_ezsection.sql | 1 - .../sql/sqlite/0124_create_ezsite_data.sql | 1 - .../sql/sqlite/0125_create_ezurl.sql | 1 - .../sql/sqlite/0126_index_ezurl_ezurl_url.sql | 1 - .../sqlite/0127_create_ezurl_object_link.sql | 1 - ...ndex_ezurl_object_link_ezurl_ol_coa_id.sql | 1 - ...ndex_ezurl_object_link_ezurl_ol_url_id.sql | 1 - ...ezurl_object_link_ezurl_ol_coa_version.sql | 1 - ..._ezurl_object_link_ezurl_ol_coa_id_cav.sql | 1 - .../sql/sqlite/0132_create_ezurlalias.sql | 1 - ...index_ezurlalias_ezurlalias_source_md5.sql | 1 - ..._index_ezurlalias_ezurlalias_wcard_fwd.sql | 1 - ...ex_ezurlalias_ezurlalias_forward_to_id.sql | 1 - ...ex_ezurlalias_ezurlalias_imp_wcard_fwd.sql | 1 - ...index_ezurlalias_ezurlalias_source_url.sql | 1 - ...38_index_ezurlalias_ezurlalias_desturl.sql | 1 - .../sql/sqlite/0139_create_ezurlalias_ml.sql | 1 - ...zurlalias_ml_ezurlalias_ml_actt_org_al.sql | 1 - ..._ezurlalias_ml_ezurlalias_ml_text_lang.sql | 1 - ...lalias_ml_ezurlalias_ml_par_act_id_lnk.sql | 1 - ...zurlalias_ml_ezurlalias_ml_par_lnk_txt.sql | 1 - ...ex_ezurlalias_ml_ezurlalias_ml_act_org.sql | 1 - ...index_ezurlalias_ml_ezurlalias_ml_text.sql | 1 - ...index_ezurlalias_ml_ezurlalias_ml_link.sql | 1 - ...7_index_ezurlalias_ml_ezurlalias_ml_id.sql | 1 - .../sqlite/0148_create_ezurlalias_ml_incr.sql | 1 - .../sql/sqlite/0149_create_ezurlwildcard.sql | 1 - .../sqlite/0150_create_ezuser_accountkey.sql | 1 - .../0151_index_ezuser_accountkey_hash_key.sql | 1 - .../sql/sqlite/0152_create_ezuser_role.sql | 1 - ..._index_ezuser_role_ezuser_role_role_id.sql | 1 - ...user_role_ezuser_role_contentobject_id.sql | 1 - .../sql/sqlite/0155_create_ezuser_setting.sql | 1 - .../sql/sqlite/0156_create_ibexa_setting.sql | 2 - ...7_index_ibexa_setting_ibexa_setting_id.sql | 1 - ...setting_ibexa_setting_group_identifier.sql | 1 - .../sqlite/0159_create_ibexa_token_type.sql | 1 - ...exa_token_type_ibexa_token_type_unique.sql | 1 - .../sql/sqlite/0161_create_ibexa_token.sql | 1 - ...index_ibexa_token_IDX_B5412887C54C8C93.sql | 1 - ...3_index_ibexa_token_ibexa_token_unique.sql | 1 - .../sqlite/data/0001_insert_ezcobj_state.sql | 3 - .../data/0002_insert_ezcobj_state_group.sql | 2 - ...003_insert_ezcobj_state_group_language.sql | 2 - .../0004_insert_ezcobj_state_language.sql | 3 - .../data/0005_insert_ezcobj_state_link.sql | 13 - .../data/0006_insert_ezcontent_language.sql | 2 - .../data/0007_insert_ezcontentclass.sql | 7 - .../0008_insert_ezcontentclass_attribute.sql | 25 - .../0009_insert_ezcontentclass_classgroup.sql | 7 - .../data/0010_insert_ezcontentclass_name.sql | 7 - .../data/0011_insert_ezcontentclassgroup.sql | 4 - .../data/0012_insert_ezcontentobject.sql | 13 - .../0013_insert_ezcontentobject_attribute.sql | 41 - .../data/0014_insert_ezcontentobject_name.sql | 13 - .../data/0015_insert_ezcontentobject_tree.sql | 14 - .../0016_insert_ezcontentobject_version.sql | 13 - .../data/0017_insert_eznode_assignment.sql | 13 - .../sql/sqlite/data/0018_insert_ezpolicy.sql | 9 - .../data/0019_insert_ezpolicy_limitation.sql | 7 - .../0020_insert_ezpolicy_limitation_value.sql | 8 - .../sql/sqlite/data/0021_insert_ezrole.sql | 5 - .../sql/sqlite/data/0022_insert_ezsection.sql | 4 - .../sqlite/data/0023_insert_ezsite_data.sql | 2 - .../sqlite/data/0024_insert_ezurlalias.sql | 13 - .../sqlite/data/0025_insert_ezurlalias_ml.sql | 26 - .../data/0026_insert_ezurlalias_ml_incr.sql | 4 - .../sql/sqlite/data/0027_insert_ezuser.sql | 3 - .../sqlite/data/0028_insert_ezuser_role.sql | 7 - .../data/0029_insert_ezuser_setting.sql | 3 - .../sqlite/data/0030_insert_ezpreferences.sql | 2 - 511 files changed, 1270 insertions(+), 2286 deletions(-) delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ezbinaryfile.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ezcobj_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ezcobj_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ezcobj_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ezcobj_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ezcobj_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ezcontent_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ezuser.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ezcontentobject_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ezcontentbrowsebookmark.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ezcontentclass.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ezcontentclass_attribute.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ezcontentclass_attribute_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ezcontentclass_classgroup.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ezcontentclass_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ezcontentclassgroup.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ezcontentobject.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ezcontentobject_attribute.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ezcontentobject_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ezcontentobject_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ezcontentobject_trash.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ezcontentobject_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ezdfsfile.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ezgmaplocation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ezimagefile.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ezkeyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ezkeyword_attribute_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ezmedia.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_eznode_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_eznotification.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ezpackage.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ezpolicy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ezpolicy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ezpolicy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ezpreferences.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ezrole.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ezsearch_object_word_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ezsearch_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ezsection.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ezsite_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ezurl.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ezurl_object_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ezurlalias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ezurlalias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ezurlalias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ezurlwildcard.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ezuser_accountkey.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ezuser_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ezuser_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ezcobj_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ezcobj_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ezcobj_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ezcobj_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ezcobj_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ezcontent_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ezcontentclass.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ezcontentclass_attribute.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ezcontentclass_classgroup.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ezcontentclass_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ezcontentclassgroup.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ezcontentobject.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ezcontentobject_attribute.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ezcontentobject_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ezcontentobject_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ezcontentobject_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_eznode_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ezpolicy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ezpolicy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ezpolicy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ezrole.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ezsection.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ezsite_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ezurlalias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ezurlalias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ezurlalias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ezuser.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ezuser_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ezuser_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ezpreferences.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ezbinaryfile.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ezcobj_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ezcobj_state_ezcobj_state_priority.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ezcobj_state_ezcobj_state_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ezcobj_state_ezcobj_state_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ezcobj_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ezcobj_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ezcobj_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ezcobj_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ezcontent_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ezcontent_language_ezcontent_language_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ezuser.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ezuser_ezuser_login.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ezcontentobject_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ezcontentobject_tree_modified_subnode.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ezcontentbrowsebookmark.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ezcontentclass.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ezcontentclass_ezcontentclass_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ezcontentclass_ezcontentclass_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ezcontentclass_attribute.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ezcontentclass_attribute_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ezcontentclass_classgroup.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ezcontentclass_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ezcontentclassgroup.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ezcontentobject.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ezcontentobject_ezcontentobject_classid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ezcontentobject_ezcontentobject_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ezcontentobject_ezcontentobject_pub.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ezcontentobject_ezcontentobject_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ezcontentobject_ezcontentobject_currentversion.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ezcontentobject_ezcontentobject_owner.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ezcontentobject_ezcontentobject_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ezcontentobject_ezcontentobject_remote_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ezcontentobject_attribute.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ezcontentobject_attribute_sort_key_string.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ezcontentobject_attribute_sort_key_int.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ezcontentobject_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ezcontentobject_link_ezco_link_from.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ezcontentobject_link_ezco_link_cca_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ezcontentobject_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ezcontentobject_trash.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ezcontentobject_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ezcontentobject_version_ezcobj_version_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ezcontentobject_version_idx_object_version_objver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ezdfsfile.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ezdfsfile_ezdfsfile_expired_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ezdfsfile_ezdfsfile_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ezdfsfile_ezdfsfile_mtime.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ezgmaplocation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ezgmaplocation_latitude_longitude_key.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ezimagefile.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ezimagefile_ezimagefile_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ezimagefile_ezimagefile_coid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ezkeyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ezkeyword_ezkeyword_keyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ezkeyword_attribute_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ezmedia.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_eznode_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_eznode_assignment_eznode_assignment_is_main.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_eznode_assignment_eznode_assignment_parent_node.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_eznode_assignment_eznode_assignment_co_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_eznotification.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_eznotification_eznotification_owner_is_pending.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_eznotification_eznotification_owner.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ezpackage.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ezpolicy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ezpolicy_ezpolicy_role_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ezpolicy_ezpolicy_original_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ezpolicy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ezpolicy_limitation_policy_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ezpolicy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ezpreferences.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ezpreferences_ezpreferences_user_id_idx.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ezpreferences_ezpreferences_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ezrole.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ezsearch_object_word_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ezsearch_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ezsearch_word_ezsearch_word_word_i.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ezsearch_word_ezsearch_word_obj_count.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ezsection.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ezsite_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ezurl.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ezurl_ezurl_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ezurl_object_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ezurl_object_link_ezurl_ol_url_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ezurlalias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ezurlalias_ezurlalias_source_md5.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ezurlalias_ezurlalias_forward_to_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ezurlalias_ezurlalias_source_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ezurlalias_ezurlalias_desturl.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ezurlalias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ezurlalias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ezurlwildcard.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ezuser_accountkey.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ezuser_accountkey_hash_key.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ezuser_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ezuser_role_ezuser_role_role_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ezuser_role_ezuser_role_contentobject_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ezuser_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ezcobj_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ezcobj_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ezcobj_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ezcobj_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ezcobj_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ezcontent_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ezcontentclass.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ezcontentclass_attribute.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ezcontentclass_classgroup.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ezcontentclass_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ezcontentclassgroup.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ezcontentobject.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ezcontentobject_attribute.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ezcontentobject_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ezcontentobject_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ezcontentobject_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_eznode_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ezpolicy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ezpolicy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ezpolicy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ezrole.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ezsection.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ezsite_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ezurlalias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ezurlalias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ezurlalias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ezuser.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ezuser_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ezuser_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ezpreferences.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ezcobj_state_group_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ezcobj_state_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ezcontentbrowsebookmark_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ezcontentclass_attribute_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ezcontentclass_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ezcontentclassgroup_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ezcontentobject_attribute_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ezcontentobject_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ezcontentobject_link_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ezcontentobject_tree_node_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ezcontentobject_version_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ezimagefile_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ezkeyword_attribute_link_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ezkeyword_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_eznode_assignment_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_eznotification_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ezpackage_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ezpolicy_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ezpolicy_limitation_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ezpolicy_limitation_value_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ezpreferences_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ezrole_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ezsearch_object_word_link_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ezsearch_word_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ezsection_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ezurl_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ezurlalias_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ezurlalias_ml_incr_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ezurlwildcard_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ezuser_accountkey_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ezuser_role_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ezbinaryfile.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ezcobj_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ezcobj_state_ezcobj_state_priority.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ezcobj_state_ezcobj_state_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ezcobj_state_ezcobj_state_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ezcobj_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ezcobj_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ezcobj_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ezcobj_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ezcontent_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ezcontent_language_ezcontent_language_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ezuser.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ezuser_ezuser_login.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ezcontentobject_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ezcontentobject_tree_modified_subnode.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ezcontentbrowsebookmark.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ezcontentclass.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ezcontentclass_ezcontentclass_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ezcontentclass_ezcontentclass_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ezcontentclass_attribute.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ezcontentclass_attribute_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ezcontentclass_classgroup.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ezcontentclass_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ezcontentclassgroup.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ezcontentobject.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ezcontentobject_ezcontentobject_classid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ezcontentobject_ezcontentobject_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ezcontentobject_ezcontentobject_pub.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ezcontentobject_ezcontentobject_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ezcontentobject_ezcontentobject_currentversion.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ezcontentobject_ezcontentobject_owner.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ezcontentobject_ezcontentobject_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ezcontentobject_ezcontentobject_remote_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ezcontentobject_attribute.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ezcontentobject_attribute_sort_key_string.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ezcontentobject_attribute_sort_key_int.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ezcontentobject_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ezcontentobject_link_ezco_link_from.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ezcontentobject_link_ezco_link_cca_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ezcontentobject_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ezcontentobject_trash.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ezcontentobject_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ezcontentobject_version_ezcobj_version_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ezcontentobject_version_idx_object_version_objver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ezdfsfile.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ezdfsfile_ezdfsfile_expired_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ezdfsfile_ezdfsfile_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ezdfsfile_ezdfsfile_mtime.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ezgmaplocation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ezgmaplocation_latitude_longitude_key.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ezimagefile.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ezimagefile_ezimagefile_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ezimagefile_ezimagefile_coid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ezkeyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ezkeyword_ezkeyword_keyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ezkeyword_attribute_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ezmedia.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_eznode_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_eznode_assignment_eznode_assignment_is_main.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_eznode_assignment_eznode_assignment_parent_node.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_eznode_assignment_eznode_assignment_co_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_eznotification.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_eznotification_eznotification_owner_is_pending.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_eznotification_eznotification_owner.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ezpackage.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ezpolicy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ezpolicy_ezpolicy_role_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ezpolicy_ezpolicy_original_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ezpolicy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ezpolicy_limitation_policy_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ezpolicy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ezpreferences.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ezpreferences_ezpreferences_user_id_idx.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ezpreferences_ezpreferences_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ezrole.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ezsearch_object_word_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ezsearch_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ezsearch_word_ezsearch_word_word_i.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ezsearch_word_ezsearch_word_obj_count.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ezsection.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ezsite_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ezurl.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ezurl_ezurl_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ezurl_object_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ezurl_object_link_ezurl_ol_url_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ezurlalias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ezurlalias_ezurlalias_source_md5.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ezurlalias_ezurlalias_forward_to_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ezurlalias_ezurlalias_source_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ezurlalias_ezurlalias_desturl.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ezurlalias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ezurlalias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ezurlwildcard.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ezuser_accountkey.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ezuser_accountkey_hash_key.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ezuser_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ezuser_role_ezuser_role_role_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ezuser_role_ezuser_role_contentobject_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ezuser_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ezcobj_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ezcobj_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ezcobj_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ezcobj_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ezcobj_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ezcontent_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ezcontentclass.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ezcontentclass_attribute.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ezcontentclass_classgroup.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ezcontentclass_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ezcontentclassgroup.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ezcontentobject.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ezcontentobject_attribute.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ezcontentobject_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ezcontentobject_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ezcontentobject_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_eznode_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ezpolicy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ezpolicy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ezpolicy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ezrole.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ezsection.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ezsite_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ezurlalias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ezurlalias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ezurlalias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ezuser.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ezuser_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ezuser_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ezpreferences.sql diff --git a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php index bd312b5608..f3ebfa20a9 100644 --- a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php @@ -9,19 +9,14 @@ namespace Ibexa\Bundle\RepositoryInstaller\Migration; use DateTimeImmutable; -use Ibexa\Contracts\DoctrineMigrations\Migrations\AbstractVersion; +use Doctrine\DBAL\Platforms\MySqlPlatform; +use Doctrine\DBAL\Platforms\PostgreSqlPlatform; +use Doctrine\DBAL\Platforms\SqlitePlatform; +use Doctrine\DBAL\Schema\Schema; +use Doctrine\Migrations\AbstractMigration; use Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationInterface; -/** - * Imports the core Ibexa bootstrap data (default languages, sections, roles, ...), used by - * {@see \Ibexa\Bundle\RepositoryInstaller\Installer\CoreInstaller} to install a fresh database. - * - * Tagged with {@see \Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG} (see services.yml) so - * it is discoverable by the Doctrine Migrations pipeline like any other Ibexa migration. Its target version and - * creation date place it right after {@see InstallSchemaMigration} in {@see \Ibexa\Bundle\DoctrineMigrations\Comparator\IbexaMigrationComparator} - * order, since it inserts data into the tables that migration creates. - */ -final class ImportDataMigration extends AbstractVersion implements IbexaMigrationInterface +final class ImportDataMigration extends AbstractMigration implements IbexaMigrationInterface { public function getDescription(): string { @@ -38,8 +33,870 @@ public static function getCreationDate(): DateTimeImmutable return new DateTimeImmutable('2026-07-16 00:00:01'); } - protected function getYamlFilePath(): string + public function up(Schema $schema): void { - return __DIR__ . '/../Resources/migrations/import_data.yaml'; + if ($this->platform instanceof MySqlPlatform) { + $this->addSql('INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) +VALUES (2, 2, 1, \'not_locked\', 3, 0), + (2, 2, 2, \'locked\', 3, 1)'); + $this->addSql('INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) +VALUES (2,2,\'ez_lock\',3)'); + $this->addSql('INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) +VALUES (2,\'\',3,\'Lock\',2)'); + $this->addSql('INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) +VALUES (1,\'\',3,\'Not locked\'), + (2,\'\',3,\'Locked\')'); + $this->addSql('INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) +VALUES (1, 1), + (4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1)'); + $this->addSql('INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) +VALUES (0, 2, \'eng-GB\', \'English (United Kingdom)\')'); + $this->addSql('INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) +VALUES (1,\'\',1024392098,14,1,\'folder\',2,1,2,1448831672,14,\'a3d405b81be900468eb153d774f4f0d2\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:6:\\"Folder\\";}\',1,1,NULL,0), + (0,\'\',1024392098,14,2,\'article\',2,1,3,1082454989,14,\'c15b600eb9198b1924063b5a68758232\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:7:\\"Article\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), + (1,\'\',1024392098,14,3,\'user_group\',2,1,3,1048494743,14,\'25b4268cdcd01921b808a0d854b877ef\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:10:\\"User group\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), + (1,\' \',1024392098,14,4,\'user\',2,0,3,1082018364,14,\'40faa822edc579b02c25f6bb7beec3ad\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"User\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), + (1,\'\',1031484992,14,5,\'image\',2,0,3,1048494784,14,\'f6df12aa74e36230eb675f364fccd25a\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), + (1,\'\',1052385472,14,12,\'file\',2,0,3,1052385669,14,\'637d58bfddf164627bdfd265733280a0\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"File\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0)'); + $this->addSql('INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) +VALUES (1,\'\',2,0,0,0,0,255,0,0,0,\'New article\',\'\',\'\',\'\',\'\',\'ezstring\',1,\'title\',0,1,1,1,0,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Title\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,\'Folder\',NULL,NULL,NULL,NULL,\'ezstring\',4,\'name\',0,1,1,0,1,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:4:\\"Name\\";}\',0), + (1,\'\',3,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',6,\'name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',3,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',7,\'description\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:11:\\"Description\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',4,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',8,\'first_name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:10:\\"First name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',4,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',9,\'last_name\',0,1,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:9:\\"Last name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (0,\'\',4,0,0,0,0,7,10,0,0,\'\',\'^[^@]+$\',\'\',\'\',\'\',\'ezuser\',12,\'user_account\',0,1,0,0,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:12:\\"User account\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',5,0,0,0,0,150,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',116,\'name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',5,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezrichtext\',117,\'caption\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:7:\\"Caption\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',5,10.0,0,0,0,0,0,0,0,\'MB\',\'\',\'\',\'\',NULL,\'ezimage\',118,\'image\',0,0,1,1,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezrichtext\',119,\'short_description\',0,0,1,0,3,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:17:\\"Short description\\";}\',0), + (1,\'\',2,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezrichtext\',120,\'intro\',0,1,1,0,4,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Intro\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',2,0,0,0,0,20,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezrichtext\',121,\'body\',0,0,1,0,5,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Body\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (0,\'\',2,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezboolean\',123,\'enable_comments\',0,0,0,0,6,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:15:\\"Enable comments\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',12,0,0,0,0,0,0,0,0,\'New file\',\'\',\'\',\'\',NULL,\'ezstring\',146,\'name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',12,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezrichtext\',147,\'description\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:11:\\"Description\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',12,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezbinaryfile\',148,\'file\',0,1,0,0,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"File\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',2,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',152,\'short_title\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:11:\\"Short title\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',2,0,0,0,0,1,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezauthor\',153,\'author\',0,0,0,0,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:6:\\"Author\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',2,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezobjectrelation\',154,\'image\',0,0,1,0,7,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezstring\',155,\'short_name\',0,0,1,0,2,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:10:\\"Short name\\";}\',0), + (1,\'\',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezrichtext\',156,\'description\',0,0,1,0,4,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:11:\\"Description\\";}\',0), + (1,\'\',4,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',\'\',\'eztext\',179,\'signature\',0,0,1,0,4,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:9:\\"Signature\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',4,10.0,0,0,0,0,0,0,0,\'MB\',\'\',\'\',\'\',\'\',\'ezimage\',180,\'image\',0,0,0,1,5,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0)'); + $this->addSql('INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) +VALUES (1, 0, 1, \'Content\'), + (2, 0, 1, \'Content\'), + (3, 0, 2, \'Users\'), + (4, 0, 2, \'Users\'), + (5, 0, 3, \'Media\'), + (12, 0, 3, \'Media\')'); + $this->addSql('INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) +VALUES (1, 0, 2, \'eng-GB\', \'Folder\'), + (2, 0, 3, \'eng-GB\', \'Article\'), + (3, 0, 3, \'eng-GB\', \'User group\'), + (4, 0, 3, \'eng-GB\', \'User\'), + (5, 0, 3, \'eng-GB\', \'Image\'), + (12, 0, 3, \'eng-GB\', \'File\')'); + $this->addSql('INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) +VALUES (1031216928, 14, 1, 1033922106, 14, \'Content\'), + (1031216941, 14, 2, 1033922113, 14, \'Users\'), + (1032009743, 14, 3, 1033922120, 14, \'Media\')'); + $this->addSql('INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) +VALUES (1,9,1,2,3,1448889046,\'Ibexa Platform\',14,1448889046,\'9459d3c29e15006e45197295722c7ade\',1,1), + (3,1,4,2,3,1033917596,\'Users\',14,1033917596,\'f5c88a2209584891056f987fd965b0ba\',2,1), + (4,2,10,2,3,1072180405,\'Anonymous User\',14,1033920665,\'faaeb9be3bd98ed09f606fc16d144eca\',2,1), + (3,1,11,2,3,1033920746,\'Guest accounts\',14,1033920746,\'5f7f0bdb3381d6a461d8c29ff53d908f\',2,1), + (3,1,12,2,3,1033920775,\'Administrator users\',14,1033920775,\'9b47a45624b023b1a76c73b74d704acf\',2,1), + (3,1,13,2,3,1033920794,\'Editors\',14,1033920794,\'3c160cca19fb135f83bd02d911f04db2\',2,1), + (4,3,14,2,3,1301062024,\'Administrator User\',14,1033920830,\'1bb4fe25487f05527efa8bfd394cecc7\',2,1), + (1,1,41,2,3,1060695457,\'Media\',14,1060695457,\'a6e35cbcb7cd6ae4b691f3eee30cd262\',3,1), + (3,1,42,2,3,1072180330,\'Anonymous users\',14,1072180330,\'15b256dbea2ae72418ff5facc999e8f9\',2,1), + (1,1,49,2,3,1080220197,\'Images\',14,1080220197,\'e7ff633c6b8e0fd3531e74c6e712bead\',3,1), + (1,1,50,2,3,1080220220,\'Files\',14,1080220220,\'732a5acd01b51a6fe6eab448ad4138a9\',3,1), + (1,1,51,2,3,1080220233,\'Multimedia\',14,1080220233,\'09082deb98662a104f325aaa8c4933d3\',3,1)'); + $this->addSql('INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) +VALUES (0,4,1,NULL,NULL,\'Ibexa Platform\',\'ezstring\',1,\'eng-GB\',3,0,\'ibexa platform\',9), + (0,119,1,NULL,NULL,\'
You are now ready to start your project.
\',\'ezrichtext\',2,\'eng-GB\',3,0,\'\',9), + (0,7,4,NULL,NULL,\'Main group\',\'ezstring\',7,\'eng-GB\',3,0,\'\',1), + (0,6,4,NULL,NULL,\'Users\',\'ezstring\',8,\'eng-GB\',3,0,\'\',1), + (0,8,10,0,0,\'Anonymous\',\'ezstring\',19,\'eng-GB\',3,0,\'anonymous\',2), + (0,9,10,0,0,\'User\',\'ezstring\',20,\'eng-GB\',3,0,\'user\',2), + (0,12,10,0,0,\'\',\'ezuser\',21,\'eng-GB\',3,0,\'\',2), + (0,6,11,0,0,\'Guest accounts\',\'ezstring\',22,\'eng-GB\',3,0,\'\',1), + (0,7,11,0,0,\'\',\'ezstring\',23,\'eng-GB\',3,0,\'\',1), + (0,6,12,0,0,\'Administrator users\',\'ezstring\',24,\'eng-GB\',3,0,\'\',1), + (0,7,12,0,0,\'\',\'ezstring\',25,\'eng-GB\',3,0,\'\',1), + (0,6,13,0,0,\'Editors\',\'ezstring\',26,\'eng-GB\',3,0,\'\',1), + (0,7,13,0,0,\'\',\'ezstring\',27,\'eng-GB\',3,0,\'\',1), + (0,8,14,0,0,\'Administrator\',\'ezstring\',28,\'eng-GB\',3,0,\'administrator\',3), + (0,9,14,0,0,\'User\',\'ezstring\',29,\'eng-GB\',3,0,\'user\',3), + (30,12,14,0,0,\'\',\'ezuser\',30,\'eng-GB\',3,0,\'\',3), + (0,4,41,0,0,\'Media\',\'ezstring\',98,\'eng-GB\',3,0,\'\',1), + (0,119,41,0,1045487555,\'\\n
\\n\',\'ezrichtext\',99,\'eng-GB\',3,0,\'\',1), + (0,6,42,0,0,\'Anonymous users\',\'ezstring\',100,\'eng-GB\',3,0,\'anonymous users\',1), + (0,7,42,0,0,\'User group for the anonymous user\',\'ezstring\',101,\'eng-GB\',3,0,\'user group for the anonymous user\',1), + (0,155,1,NULL,NULL,\'Ibexa Platform\',\'ezstring\',102,\'eng-GB\',3,0,\'ibexa platform\',9), + (0,155,41,0,0,\'\',\'ezstring\',103,\'eng-GB\',3,0,\'\',1), + (0,156,1,NULL,NULL,\'
This is the clean installation coming with Ibexa Platform.It\'\'s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
\',\'ezrichtext\',104,\'eng-GB\',3,0,\'\',9), + (0,156,41,0,1045487555,\'\\n
\\n\',\'ezrichtext\',105,\'eng-GB\',3,0,\'\',1), + (0,4,49,0,0,\'Images\',\'ezstring\',142,\'eng-GB\',3,0,\'images\',1), + (0,155,49,0,0,\'\',\'ezstring\',143,\'eng-GB\',3,0,\'\',1), + (0,119,49,0,1045487555,\'\\n
\\n\',\'ezrichtext\',144,\'eng-GB\',3,0,\'\',1), + (0,156,49,0,1045487555,\'\\n
\\n\',\'ezrichtext\',145,\'eng-GB\',3,0,\'\',1), + (0,4,50,0,0,\'Files\',\'ezstring\',147,\'eng-GB\',3,0,\'files\',1), + (0,155,50,0,0,\'\',\'ezstring\',148,\'eng-GB\',3,0,\'\',1), + (0,119,50,0,1045487555,\'\\n
\\n\',\'ezrichtext\',149,\'eng-GB\',3,0,\'\',1), + (0,156,50,0,1045487555,\'\\n
\\n\',\'ezrichtext\',150,\'eng-GB\',3,0,\'\',1), + (0,4,51,0,0,\'Multimedia\',\'ezstring\',152,\'eng-GB\',3,0,\'multimedia\',1), + (0,155,51,0,0,\'\',\'ezstring\',153,\'eng-GB\',3,0,\'\',1), + (0,119,51,0,1045487555,\'\\n
\\n\',\'ezrichtext\',154,\'eng-GB\',3,0,\'\',1), + (0,156,51,0,1045487555,\'\\n
\\n\',\'ezrichtext\',155,\'eng-GB\',3,0,\'\',1), + (0,179,10,0,0,\'\',\'eztext\',177,\'eng-GB\',3,0,\'\',2), + (0,179,14,0,0,\'\',\'eztext\',178,\'eng-GB\',3,0,\'\',3), + (0,180,10,0,0,\'\',\'ezimage\',179,\'eng-GB\',3,0,\'\',2), + (0,180,14,0,0,\'\\n\\n\',\'ezimage\',180,\'eng-GB\',3,0,\'\',3)'); + $this->addSql('INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) +VALUES (\'eng-GB\',9,1,2,\'Ibexa Platform\',\'eng-GB\'), + (\'eng-GB\',1,4,3,\'Users\',\'eng-GB\'), + (\'eng-GB\',2,10,3,\'Anonymous User\',\'eng-GB\'), + (\'eng-GB\',1,11,3,\'Guest accounts\',\'eng-GB\'), + (\'eng-GB\',1,12,3,\'Administrator users\',\'eng-GB\'), + (\'eng-GB\',1,13,3,\'Editors\',\'eng-GB\'), + (\'eng-GB\',3,14,3,\'Administrator User\',\'eng-GB\'), + (\'eng-GB\',1,41,3,\'Media\',\'eng-GB\'), + (\'eng-GB\',1,42,3,\'Anonymous users\',\'eng-GB\'), + (\'eng-GB\',1,49,3,\'Images\',\'eng-GB\'), + (\'eng-GB\',1,50,3,\'Files\',\'eng-GB\'), + (\'eng-GB\',1,51,3,\'Multimedia\',\'eng-GB\')'); + $this->addSql('INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) +VALUES (0,1,1,0,0,0,1,1448999778,1,1,\'\',\'/1/\',0,\'629709ba256fe317c3ddcee35453a96a\',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,\'node_2\',\'/1/2/\',0,\'f3e90596361e31d496d4026eb624c983\',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,\'users\',\'/1/5/\',0,\'3f6d92f8044aed134f32153517850f5a\',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,\'users/guest_accounts\',\'/1/5/12/\',0,\'602dcf84765e56b7f999eaafd3821dd3\',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,\'users/administrator_users\',\'/1/5/13/\',0,\'769380b7aa94541679167eab817ca893\',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,\'users/editors\',\'/1/5/14/\',0,\'f7dda2854fc68f7c8455d9cb14bd04a9\',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,\'users/administrator_users/administrator_user\',\'/1/5/13/15/\',0,\'e5161a99f733200b9ed4e80f9c16187b\',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,\'media\',\'/1/43/\',0,\'75c715a51699d2d309a924eca6a95145\',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,\'users/anonymous_users\',\'/1/5/44/\',0,\'4fdf0072da953bb276c0c7e0141c5c9b\',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,\'users/anonymous_users/anonymous_user\',\'/1/5/44/45/\',0,\'2cf8343bee7b482bab82b269d8fecd76\',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,\'media/images\',\'/1/43/51/\',0,\'1b26c0454b09bb49dfb1b9190ffd67cb\',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,\'media/files\',\'/1/43/52/\',0,\'0b113a208f7890f9ad3c24444ff5988c\',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,\'media/multimedia\',\'/1/43/53/\',0,\'4f18b82c75f10aad476cae5adf98c11f\',9,1)'); + $this->addSql('INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0)'); + $this->addSql('INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) +VALUES (8,2,0,4,1,2,5,\'\',\'0\',1,1,0,0), + (42,1,0,5,1,2,5,\'\',\'0\',9,1,0,0), + (10,2,-1,6,1,2,44,\'\',\'0\',9,1,0,0), + (4,1,0,7,1,2,1,\'\',\'0\',1,1,0,0), + (12,1,0,8,1,2,5,\'\',\'0\',1,1,0,0), + (13,1,0,9,1,2,5,\'\',\'0\',1,1,0,0), + (41,1,0,11,1,2,1,\'\',\'0\',1,1,0,0), + (11,1,0,12,1,2,5,\'\',\'0\',1,1,0,0), + (49,1,0,27,1,2,43,\'\',\'0\',9,1,0,0), + (50,1,0,28,1,2,43,\'\',\'0\',9,1,0,0), + (51,1,0,29,1,2,43,\'\',\'0\',9,1,0,0), + (14,3,-1,38,1,2,13,\'\',\'0\',1,1,0,0)'); + $this->addSql('INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) +VALUES (\'*\',317,\'content\',0,3), + (\'login\',319,\'user\',0,3), + (\'read\',328,\'content\',0,1), + (\'login\',331,\'user\',0,1), + (\'*\',332,\'*\',0,2), + (\'read\',333,\'content\',0,4), + (\'view_embed\',334,\'content\',0,1), + (\'*\',340,\'url\',0,3)'); + $this->addSql('INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) +VALUES (251,\'Section\',328), + (252,\'Section\',329), + (253,\'SiteAccess\',331), + (254,\'Class\',333), + (255,\'Owner\',333), + (256,\'Class\',334)'); + $this->addSql('INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) +VALUES (477,251,\'1\'), + (478,252,\'1\'), + (479,253,\'1766001124\'), + (480,254,\'4\'), + (481,255,\'1\'), + (482,256,\'5\'), + (483,256,\'12\')'); + $this->addSql('INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) +VALUES (1,0,\'Anonymous\',\'\',0), + (2,0,\'Administrator\',\'0\',0), + (3,0,\'Editor\',\'\',0), + (4,0,\'Member\',\'\',0)'); + $this->addSql('INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) +VALUES (1,\'standard\',\'\',\'Standard\',\'ezcontentnavigationpart\'), + (2,\'users\',\'\',\'Users\',\'ezusernavigationpart\'), + (3,\'media\',\'\',\'Media\',\'ezmedianavigationpart\')'); + $this->addSql('INSERT INTO `ezsite_data` (`name`, `value`) +VALUES (\'ibexa-release\',\'4.6\')'); + $this->addSql('INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) +VALUES (\'content/view/full/2\',0,12,1,1,0,\'d41d8cd98f00b204e9800998ecf8427e\',\'\'), + (\'content/view/full/5\',0,13,1,1,0,\'9bc65c2abec141778ffaa729489f3e87\',\'users\'), + (\'content/view/full/12\',0,15,1,1,0,\'02d4e844e3a660857a3f81585995ffe1\',\'users/guest_accounts\'), + (\'content/view/full/13\',0,16,1,1,0,\'1b1d79c16700fd6003ea7be233e754ba\',\'users/administrator_users\'), + (\'content/view/full/14\',0,17,1,1,0,\'0bb9dd665c96bbc1cf36b79180786dea\',\'users/editors\'), + (\'content/view/full/15\',0,18,1,1,0,\'f1305ac5f327a19b451d82719e0c3f5d\',\'users/administrator_users/administrator_user\'), + (\'content/view/full/43\',0,20,1,1,0,\'62933a2951ef01f4eafd9bdf4d3cd2f0\',\'media\'), + (\'content/view/full/44\',0,21,1,1,0,\'3ae1aac958e1c82013689d917d34967a\',\'users/anonymous_users\'), + (\'content/view/full/45\',0,22,1,1,0,\'aad93975f09371695ba08292fd9698db\',\'users/anonymous_users/anonymous_user\'), + (\'content/view/full/51\',0,28,1,1,0,\'38985339d4a5aadfc41ab292b4527046\',\'media/images\'), + (\'content/view/full/52\',0,29,1,1,0,\'ad5a8c6f6aac3b1b9df267fe22e7aef6\',\'media/files\'), + (\'content/view/full/53\',0,30,1,1,0,\'562a0ac498571c6c3529173184a2657c\',\'media/multimedia\')'); + $this->addSql('INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) +VALUES (\'nop:\',\'nop\',1,17,0,0,1,17,0,\'media2\',\'50e2736330de124f6edea9b008556fe6\'), + (\'eznode:43\',\'eznode\',1,9,0,1,3,9,0,\'Media\',\'62933a2951ef01f4eafd9bdf4d3cd2f0\'), + (\'nop:\',\'nop\',1,3,0,0,1,3,0,\'users2\',\'86425c35a33507d479f71ade53a669aa\'), + (\'eznode:5\',\'eznode\',1,2,0,1,3,2,0,\'Users\',\'9bc65c2abec141778ffaa729489f3e87\'), + (\'eznode:2\',\'eznode\',1,1,0,1,3,1,0,\'\',\'d41d8cd98f00b204e9800998ecf8427e\'), + (\'eznode:14\',\'eznode\',1,6,0,1,3,6,2,\'Editors\',\'a147e136bfa717592f2bd70bd4b53b17\'), + (\'eznode:44\',\'eznode\',1,10,0,1,3,10,2,\'Anonymous-Users\',\'c2803c3fa1b0b5423237b4e018cae755\'), + (\'eznode:12\',\'eznode\',1,4,0,1,3,4,2,\'Guest-accounts\',\'e57843d836e3af8ab611fde9e2139b3a\'), + (\'eznode:13\',\'eznode\',1,5,0,1,3,5,2,\'Administrator-users\',\'f89fad7f8a3abc8c09e1deb46a420007\'), + (\'nop:\',\'nop\',1,11,0,0,1,11,3,\'anonymous_users2\',\'505e93077a6dde9034ad97a14ab022b1\'), + (\'eznode:12\',\'eznode\',1,26,0,0,1,4,3,\'guest_accounts\',\'70bb992820e73638731aa8de79b3329e\'), + (\'eznode:14\',\'eznode\',1,29,0,0,1,6,3,\'editors\',\'a147e136bfa717592f2bd70bd4b53b17\'), + (\'nop:\',\'nop\',1,7,0,0,1,7,3,\'administrator_users2\',\'a7da338c20bf65f9f789c87296379c2a\'), + (\'eznode:13\',\'eznode\',1,27,0,0,1,5,3,\'administrator_users\',\'aeb8609aa933b0899aa012c71139c58c\'), + (\'eznode:44\',\'eznode\',1,30,0,0,1,10,3,\'anonymous_users\',\'e9e5ad0c05ee1a43715572e5cc545926\'), + (\'eznode:15\',\'eznode\',1,8,0,1,3,8,5,\'Administrator-User\',\'5a9d7b0ec93173ef4fedee023209cb61\'), + (\'eznode:15\',\'eznode\',1,28,0,0,0,8,7,\'administrator_user\',\'a3cca2de936df1e2f805710399989971\'), + (\'eznode:53\',\'eznode\',1,20,0,1,3,20,9,\'Multimedia\',\'2e5bc8831f7ae6a29530e7f1bbf2de9c\'), + (\'eznode:52\',\'eznode\',1,19,0,1,3,19,9,\'Files\',\'45b963397aa40d4a0063e0d85e4fe7a1\'), + (\'eznode:51\',\'eznode\',1,18,0,1,3,18,9,\'Images\',\'59b514174bffe4ae402b3d63aad79fe0\'), + (\'eznode:45\',\'eznode\',1,12,0,1,3,12,10,\'Anonymous-User\',\'ccb62ebca03a31272430bc414bd5cd5b\'), + (\'eznode:45\',\'eznode\',1,31,0,0,1,12,11,\'anonymous_user\',\'c593ec85293ecb0e02d50d4c5c6c20eb\'), + (\'eznode:53\',\'eznode\',1,34,0,0,1,20,17,\'multimedia\',\'2e5bc8831f7ae6a29530e7f1bbf2de9c\'), + (\'eznode:52\',\'eznode\',1,33,0,0,1,19,17,\'files\',\'45b963397aa40d4a0063e0d85e4fe7a1\'), + (\'eznode:51\',\'eznode\',1,32,0,0,1,18,17,\'images\',\'59b514174bffe4ae402b3d63aad79fe0\')'); + $this->addSql('INSERT INTO `ezurlalias_ml_incr` (`id`) +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37)'); + $this->addSql('INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) +VALUES (10,\'anonymous@link.invalid\',\'anonymous\',\'$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC\',7), + (14,\'admin@link.invalid\',\'admin\',\'$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy\',7)'); + $this->addSql('INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) +VALUES (11,28,\'\',\'\',1), + (42,31,\'\',\'\',1), + (13,32,\'Subtree\',\'/1/2/\',3), + (13,33,\'Subtree\',\'/1/43/\',3), + (12,34,\'\',\'\',2), + (13,35,\'\',\'\',4)'); + $this->addSql('INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) +VALUES (1,1000,10), + (1,10,14)'); + $this->addSql('INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) +SELECT \'focus_mode\', u.contentobject_id, \'0\' FROM `ezuser` u WHERE u.login = \'admin\''); + } elseif ($this->platform instanceof PostgreSqlPlatform) { + $this->addSql('INSERT INTO "ezcobj_state" ("default_language_id", "group_id", "id", "identifier", "language_mask", "priority") +VALUES (2, 2, 1, \'not_locked\', 3, 0), + (2, 2, 2, \'locked\', 3, 1)'); + $this->addSql('INSERT INTO "ezcobj_state_group" ("default_language_id", "id", "identifier", "language_mask") +VALUES (2, 2, \'ez_lock\', 3)'); + $this->addSql('INSERT INTO "ezcobj_state_group_language" ("contentobject_state_group_id", "description","language_id", "name", "real_language_id") +VALUES (2, \'\', 3, \'Lock\', 2)'); + $this->addSql('INSERT INTO "ezcobj_state_language" ("contentobject_state_id", "description", "language_id", "name") +VALUES (1,\'\',3,\'Not locked\'), + (2,\'\',3,\'Locked\')'); + $this->addSql('INSERT INTO "ezcobj_state_link" ("contentobject_id", "contentobject_state_id") +VALUES ( 1, 1), + ( 4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1)'); + $this->addSql('INSERT INTO "ezcontent_language" ("disabled", "id", "locale", "name") +VALUES (0, 2, \'eng-GB\', \'English (United Kingdom)\')'); + $this->addSql('INSERT INTO "ezcontentclass" ("always_available", "contentobject_name", "created", "creator_id", "id", "identifier", "initial_language_id", "is_container", "language_mask", "modified", "modifier_id", "remote_id", "serialized_description_list", "serialized_name_list", "sort_field", "sort_order", "url_alias_name", "version") +VALUES (1,\'\',1024392098,14,1,\'folder\',2,1,2,1448831672,14,\'a3d405b81be900468eb153d774f4f0d2\',\'a:0:{}\',\'a:1:{s:6:"eng-GB";s:6:"Folder";}\',1,1,NULL,0), + (0,\'\',1024392098,14,2,\'article\',2,1,3,1082454989,14,\'c15b600eb9198b1924063b5a68758232\',NULL,\'a:2:{s:6:"eng-GB";s:7:"Article";s:16:"always-available";s:6:"eng-GB";}\',1,1,NULL,0), + (1,\'\',1024392098,14,3,\'user_group\',2,1,3,1048494743,14,\'25b4268cdcd01921b808a0d854b877ef\',NULL,\'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}\',1,1,NULL,0), + (1,\' \',1024392098,14,4,\'user\',2,0,3,1082018364,14,\'40faa822edc579b02c25f6bb7beec3ad\',NULL,\'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}\',1,1,NULL,0), + (1,\'\',1031484992,14,5,\'image\',2,0,3,1048494784,14,\'f6df12aa74e36230eb675f364fccd25a\',NULL,\'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}\',1,1,NULL,0), + (1,\'\',1052385472,14,12,\'file\',2,0,3,1052385669,14,\'637d58bfddf164627bdfd265733280a0\',NULL,\'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}\',1,1,NULL,0)'); + $this->addSql('INSERT INTO "ezcontentclass_attribute" ("can_translate", "category", "contentclass_id", "data_float1", "data_float2", "data_float3", "data_float4", "data_int1", "data_int2", "data_int3", "data_int4", "data_text1", "data_text2", "data_text3", "data_text4", "data_text5", "data_type_string", "id", "identifier", "is_information_collector", "is_required", "is_searchable", "is_thumbnail", "placement", "serialized_data_text", "serialized_description_list", "serialized_name_list", "version") +VALUES (1,\'\',2,0,0,0,0,255,0,0,0,\'New article\',\'\',\'\',\'\',\'\',\'ezstring\',1,\'title\',0,1,1,FALSE,1,NULL,NULL,\'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,\'Folder\',NULL,NULL,NULL,NULL,\'ezstring\',4,\'name\',0,1,1,FALSE,1,\'N;\',\'a:0:{}\',\'a:1:{s:6:"eng-GB";s:4:"Name";}\',0), + (1,\'\',3,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',6,\'name\',0,1,1,FALSE,1,NULL,NULL,\'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',3,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',7,\'description\',0,0,1,FALSE,2,NULL,NULL,\'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',4,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',8,\'first_name\',0,1,1,FALSE,1,NULL,NULL,\'a:2:{s:6:"eng-GB";s:10:"First name";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',4,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',9,\'last_name\',0,1,1,FALSE,2,NULL,NULL,\'a:2:{s:6:"eng-GB";s:9:"Last name";s:16:"always-available";s:6:"eng-GB";}\',0), + (0,\'\',4,0,0,0,0,7,10,0,0,\'\',\'^[^@]+$\',\'\',\'\',\'\',\'ezuser\',12,\'user_account\',0,1,0,FALSE,3,NULL,NULL,\'a:2:{s:6:"eng-GB";s:12:"User account";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',5,0,0,0,0,150,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',116,\'name\',0,1,1,FALSE,1,NULL,NULL,\'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',5,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezrichtext\',117,\'caption\',0,0,1,FALSE,2,NULL,NULL,\'a:2:{s:6:"eng-GB";s:7:"Caption";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',5,10.0,0,0,0,0,0,0,0,\'MB\',\'\',\'\',\'\',NULL,\'ezimage\',118,\'image\',0,0,1,TRUE,3,NULL,NULL,\'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezrichtext\',119,\'short_description\',0,0,1,FALSE,3,\'N;\',\'a:0:{}\',\'a:1:{s:6:"eng-GB";s:17:"Short description";}\',0), + (1,\'\',2,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezrichtext\',120,\'intro\',0,1,1,FALSE,4,NULL,NULL,\'a:2:{s:6:"eng-GB";s:5:"Intro";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',2,0,0,0,0,20,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezrichtext\',121,\'body\',0,0,1,FALSE,5,NULL,NULL,\'a:2:{s:6:"eng-GB";s:4:"Body";s:16:"always-available";s:6:"eng-GB";}\',0), + (0,\'\',2,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezboolean\',123,\'enable_comments\',0,0,0,FALSE,6,NULL,NULL,\'a:2:{s:6:"eng-GB";s:15:"Enable comments";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',12,0,0,0,0,0,0,0,0,\'New file\',\'\',\'\',\'\',NULL,\'ezstring\',146,\'name\',0,1,1,FALSE,1,NULL,NULL,\'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',12,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezrichtext\',147,\'description\',0,0,1,FALSE,2,NULL,NULL,\'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',12,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezbinaryfile\',148,\'file\',0,1,0,FALSE,3,NULL,NULL,\'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',2,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',152,\'short_title\',0,0,1,FALSE,2,NULL,NULL,\'a:2:{s:6:"eng-GB";s:11:"Short title";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',2,0,0,0,0,1,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezauthor\',153,\'author\',0,0,0,FALSE,3,NULL,NULL,\'a:2:{s:6:"eng-GB";s:6:"Author";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',2,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezobjectrelation\',154,\'image\',0,0,1,FALSE,7,NULL,NULL,\'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezstring\',155,\'short_name\',0,0,1,FALSE,2,\'N;\',\'a:0:{}\',\'a:1:{s:6:"eng-GB";s:10:"Short name";}\',0), + (1,\'\',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezrichtext\',156,\'description\',0,0,1,FALSE,4,\'N;\',\'a:0:{}\',\'a:1:{s:6:"eng-GB";s:11:"Description";}\',0), + (1,\'\',4,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',\'\',\'eztext\',179,\'signature\',0,0,1,FALSE,4,NULL,NULL,\'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}\',0), + (1,\'\',4,10.0,0,0,0,0,0,0,0,\'MB\',\'\',\'\',\'\',\'\',\'ezimage\',180,\'image\',0,0,0,TRUE,5,NULL,NULL,\'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}\',0)'); + $this->addSql('INSERT INTO "ezcontentclass_classgroup" ("contentclass_id", "contentclass_version", "group_id", "group_name") +VALUES (1,0,1,\'Content\'), + (2,0,1,\'Content\'), + (3,0,2,\'Users\'), + (4,0,2,\'Users\'), + (5,0,3,\'Media\'), + (12,0,3,\'Media\')'); + $this->addSql('INSERT INTO "ezcontentclass_name" ("contentclass_id", "contentclass_version", "language_id", "language_locale", "name") +VALUES (1,0,2,\'eng-GB\',\'Folder\'), + (2,0,3,\'eng-GB\',\'Article\'), + (3,0,3,\'eng-GB\',\'User group\'), + (4,0,3,\'eng-GB\',\'User\'), + (5,0,3,\'eng-GB\',\'Image\'), + (12,0,3,\'eng-GB\',\'File\')'); + $this->addSql('INSERT INTO "ezcontentclassgroup" ("created", "creator_id", "id", "modified", "modifier_id", "name") +VALUES (1031216928, 14, 1, 1033922106, 14, \'Content\'), + (1031216941, 14, 2, 1033922113, 14, \'Users\'), + (1032009743, 14, 3, 1033922120, 14, \'Media\')'); + $this->addSql('INSERT INTO "ezcontentobject" ("contentclass_id", "current_version", "id", "initial_language_id", "language_mask", "modified", "name", "owner_id", "published", "remote_id", "section_id", "status") +VALUES (1,9,1,2,3,1448889046,\'Ibexa Platform\',14,1448889046,\'9459d3c29e15006e45197295722c7ade\',1,1), + (3,1,4,2,3,1033917596,\'Users\',14,1033917596,\'f5c88a2209584891056f987fd965b0ba\',2,1), + (4,2,10,2,3,1072180405,\'Anonymous User\',14,1033920665,\'faaeb9be3bd98ed09f606fc16d144eca\',2,1), + (3,1,11,2,3,1033920746,\'Guest accounts\',14,1033920746,\'5f7f0bdb3381d6a461d8c29ff53d908f\',2,1), + (3,1,12,2,3,1033920775,\'Administrator users\',14,1033920775,\'9b47a45624b023b1a76c73b74d704acf\',2,1), + (3,1,13,2,3,1033920794,\'Editors\',14,1033920794,\'3c160cca19fb135f83bd02d911f04db2\',2,1), + (4,3,14,2,3,1301062024,\'Administrator User\',14,1033920830,\'1bb4fe25487f05527efa8bfd394cecc7\',2,1), + (1,1,41,2,3,1060695457,\'Media\',14,1060695457,\'a6e35cbcb7cd6ae4b691f3eee30cd262\',3,1), + (3,1,42,2,3,1072180330,\'Anonymous users\',14,1072180330,\'15b256dbea2ae72418ff5facc999e8f9\',2,1), + (1,1,49,2,3,1080220197,\'Images\',14,1080220197,\'e7ff633c6b8e0fd3531e74c6e712bead\',3,1), + (1,1,50,2,3,1080220220,\'Files\',14,1080220220,\'732a5acd01b51a6fe6eab448ad4138a9\',3,1), + (1,1,51,2,3,1080220233,\'Multimedia\',14,1080220233,\'09082deb98662a104f325aaa8c4933d3\',3,1)'); + $this->addSql('INSERT INTO "ezcontentobject_attribute" ("attribute_original_id", "contentclassattribute_id", "contentobject_id", "data_float", "data_int", "data_text", "data_type_string", "id", "language_code", "language_id", "sort_key_int", "sort_key_string", "version") +VALUES (0,4,1,NULL,NULL,\'Ibexa Platform\',\'ezstring\',1,\'eng-GB\',3,0,\'ibexa platform\',9), + (0,119,1,NULL,NULL,E\'
You are now ready to start your project.
\',\'ezrichtext\',2,\'eng-GB\',3,0,\'\',9), + (0,7,4,NULL,NULL,\'Main group\',\'ezstring\',7,\'eng-GB\',3,0,\'\',1), + (0,6,4,NULL,NULL,\'Users\',\'ezstring\',8,\'eng-GB\',3,0,\'\',1), + (0,8,10,0,0,\'Anonymous\',\'ezstring\',19,\'eng-GB\',3,0,\'anonymous\',2), + (0,9,10,0,0,\'User\',\'ezstring\',20,\'eng-GB\',3,0,\'user\',2), + (0,12,10,0,0,\'\',\'ezuser\',21,\'eng-GB\',3,0,\'\',2), + (0,6,11,0,0,\'Guest accounts\',\'ezstring\',22,\'eng-GB\',3,0,\'\',1), + (0,7,11,0,0,\'\',\'ezstring\',23,\'eng-GB\',3,0,\'\',1), + (0,6,12,0,0,\'Administrator users\',\'ezstring\',24,\'eng-GB\',3,0,\'\',1), + (0,7,12,0,0,\'\',\'ezstring\',25,\'eng-GB\',3,0,\'\',1), + (0,6,13,0,0,\'Editors\',\'ezstring\',26,\'eng-GB\',3,0,\'\',1), + (0,7,13,0,0,\'\',\'ezstring\',27,\'eng-GB\',3,0,\'\',1), + (0,8,14,0,0,\'Administrator\',\'ezstring\',28,\'eng-GB\',3,0,\'administrator\',3), + (0,9,14,0,0,\'User\',\'ezstring\',29,\'eng-GB\',3,0,\'user\',3), + (30,12,14,0,0,\'\',\'ezuser\',30,\'eng-GB\',3,0,\'\',3), + (0,4,41,0,0,\'Media\',\'ezstring\',98,\'eng-GB\',3,0,\'\',1), + (0,119,41,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',99,\'eng-GB\',3,0,\'\',1), + (0,6,42,0,0,\'Anonymous users\',\'ezstring\',100,\'eng-GB\',3,0,\'anonymous users\',1), + (0,7,42,0,0,\'User group for the anonymous user\',\'ezstring\',101,\'eng-GB\',3,0,\'user group for the anonymous user\',1), + (0,155,1,NULL,NULL,\'Ibexa Platform\',\'ezstring\',102,\'eng-GB\',3,0,\'ibexa platform\',9), + (0,155,41,0,0,\'\',\'ezstring\',103,\'eng-GB\',3,0,\'\',1), + (0,156,1,NULL,NULL,E\'
This is the clean installation coming with Ibexa Platform.It\'\'s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
\',\'ezrichtext\',104,\'eng-GB\',3,0,\'\',9), + (0,156,41,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',105,\'eng-GB\',3,0,\'\',1), + (0,4,49,0,0,\'Images\',\'ezstring\',142,\'eng-GB\',3,0,\'images\',1), + (0,155,49,0,0,\'\',\'ezstring\',143,\'eng-GB\',3,0,\'\',1), + (0,119,49,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',144,\'eng-GB\',3,0,\'\',1), + (0,156,49,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',145,\'eng-GB\',3,0,\'\',1), + (0,4,50,0,0,\'Files\',\'ezstring\',147,\'eng-GB\',3,0,\'files\',1), + (0,155,50,0,0,\'\',\'ezstring\',148,\'eng-GB\',3,0,\'\',1), + (0,119,50,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',149,\'eng-GB\',3,0,\'\',1), + (0,156,50,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',150,\'eng-GB\',3,0,\'\',1), + (0,4,51,0,0,\'Multimedia\',\'ezstring\',152,\'eng-GB\',3,0,\'multimedia\',1), + (0,155,51,0,0,\'\',\'ezstring\',153,\'eng-GB\',3,0,\'\',1), + (0,119,51,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',154,\'eng-GB\',3,0,\'\',1), + (0,156,51,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',155,\'eng-GB\',3,0,\'\',1), + (0,179,10,0,0,\'\',\'eztext\',177,\'eng-GB\',3,0,\'\',2), + (0,179,14,0,0,\'\',\'eztext\',178,\'eng-GB\',3,0,\'\',3), + (0,180,10,0,0,\'\',\'ezimage\',179,\'eng-GB\',3,0,\'\',2), + (0,180,14,0,0,E\'\\n\\n\',\'ezimage\',180,\'eng-GB\',3,0,\'\',3)'); + $this->addSql('INSERT INTO "ezcontentobject_name" ("content_translation", "content_version", "contentobject_id", "language_id", "name", "real_translation") +VALUES (\'eng-GB\',9,1,2,\'Ibexa Platform\',\'eng-GB\'), + (\'eng-GB\',1,4,3,\'Users\',\'eng-GB\'), + (\'eng-GB\',2,10,3,\'Anonymous User\',\'eng-GB\'), + (\'eng-GB\',1,11,3,\'Guest accounts\',\'eng-GB\'), + (\'eng-GB\',1,12,3,\'Administrator users\',\'eng-GB\'), + (\'eng-GB\',1,13,3,\'Editors\',\'eng-GB\'), + (\'eng-GB\',3,14,3,\'Administrator User\',\'eng-GB\'), + (\'eng-GB\',1,41,3,\'Media\',\'eng-GB\'), + (\'eng-GB\',1,42,3,\'Anonymous users\',\'eng-GB\'), + (\'eng-GB\',1,49,3,\'Images\',\'eng-GB\'), + (\'eng-GB\',1,50,3,\'Files\',\'eng-GB\'), + (\'eng-GB\',1,51,3,\'Multimedia\',\'eng-GB\')'); + $this->addSql('INSERT INTO "ezcontentobject_tree" ("contentobject_id", "contentobject_is_published", "contentobject_version", "depth", "is_hidden", "is_invisible", "main_node_id", "modified_subnode", "node_id", "parent_node_id", "path_identification_string", "path_string", "priority", "remote_id", "sort_field", "sort_order") +VALUES (0,1,1,0,0,0,1,1448999778,1,1,\'\',\'/1/\',0,\'629709ba256fe317c3ddcee35453a96a\',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,\'node_2\',\'/1/2/\',0,\'f3e90596361e31d496d4026eb624c983\',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,\'users\',\'/1/5/\',0,\'3f6d92f8044aed134f32153517850f5a\',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,\'users/guest_accounts\',\'/1/5/12/\',0,\'602dcf84765e56b7f999eaafd3821dd3\',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,\'users/administrator_users\',\'/1/5/13/\',0,\'769380b7aa94541679167eab817ca893\',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,\'users/editors\',\'/1/5/14/\',0,\'f7dda2854fc68f7c8455d9cb14bd04a9\',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,\'users/administrator_users/administrator_user\',\'/1/5/13/15/\',0,\'e5161a99f733200b9ed4e80f9c16187b\',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,\'media\',\'/1/43/\',0,\'75c715a51699d2d309a924eca6a95145\',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,\'users/anonymous_users\',\'/1/5/44/\',0,\'4fdf0072da953bb276c0c7e0141c5c9b\',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,\'users/anonymous_users/anonymous_user\',\'/1/5/44/45/\',0,\'2cf8343bee7b482bab82b269d8fecd76\',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,\'media/images\',\'/1/43/51/\',0,\'1b26c0454b09bb49dfb1b9190ffd67cb\',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,\'media/files\',\'/1/43/52/\',0,\'0b113a208f7890f9ad3c24444ff5988c\',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,\'media/multimedia\',\'/1/43/53/\',0,\'4f18b82c75f10aad476cae5adf98c11f\',9,1)'); + $this->addSql('INSERT INTO "ezcontentobject_version" ("contentobject_id", "created", "creator_id", "id", "initial_language_id", "language_mask", "modified", "status", "user_id", "version", "workflow_event_pos") +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0)'); + $this->addSql('INSERT INTO "eznode_assignment" ("contentobject_id", "contentobject_version", "from_node_id", "id", "is_main", "op_code", "parent_node", "parent_remote_id", "remote_id", "sort_field", "sort_order", "priority", "is_hidden") +VALUES (8,2,0,4,1,2,5,\'\',\'0\',1,1,0,0), + (42,1,0,5,1,2,5,\'\',\'0\',9,1,0,0), + (10,2,-1,6,1,2,44,\'\',\'0\',9,1,0,0), + (4,1,0,7,1,2,1,\'\',\'0\',1,1,0,0), + (12,1,0,8,1,2,5,\'\',\'0\',1,1,0,0), + (13,1,0,9,1,2,5,\'\',\'0\',1,1,0,0), + (41,1,0,11,1,2,1,\'\',\'0\',1,1,0,0), + (11,1,0,12,1,2,5,\'\',\'0\',1,1,0,0), + (49,1,0,27,1,2,43,\'\',\'0\',9,1,0,0), + (50,1,0,28,1,2,43,\'\',\'0\',9,1,0,0), + (51,1,0,29,1,2,43,\'\',\'0\',9,1,0,0), + (14,3,-1,38,1,2,13,\'\',\'0\',1,1,0,0)'); + $this->addSql('INSERT INTO "ezpolicy" ("function_name", "id", "module_name", "original_id", "role_id") +VALUES (\'*\',317,\'content\',0,3), + (\'login\',319,\'user\',0,3), + (\'read\',328,\'content\',0,1), + (\'login\',331,\'user\',0,1), + (\'*\',332,\'*\',0,2), + (\'read\',333,\'content\',0,4), + (\'view_embed\',334,\'content\',0,1), + (\'*\',340,\'url\',0,3)'); + $this->addSql('INSERT INTO "ezpolicy_limitation" ("id", "identifier", "policy_id") +VALUES (251,\'Section\',328), + (252,\'Section\',329), + (253,\'SiteAccess\',331), + (254,\'Class\',333), + (255,\'Owner\',333), + (256,\'Class\',334)'); + $this->addSql('INSERT INTO "ezpolicy_limitation_value" ("id", "limitation_id", "value") +VALUES (477,251,\'1\'), + (478,252,\'1\'), + (479,253,\'1766001124\'), + (480,254,\'4\'), + (481,255,\'1\'), + (482,256,\'5\'), + (483,256,\'12\')'); + $this->addSql('INSERT INTO "ezrole" ("id", "is_new", "name", "value", "version") +VALUES (1,0,\'Anonymous\',\'\',0), + (2,0,\'Administrator\',\'0\',0), + (3,0,\'Editor\',\'\',0), + (4,0,\'Member\',\'\',0)'); + $this->addSql('INSERT INTO "ezsection" ("id", "identifier", "locale", "name", "navigation_part_identifier") +VALUES (1,\'standard\',\'\',\'Standard\',\'ezcontentnavigationpart\'), + (2,\'users\',\'\',\'Users\',\'ezusernavigationpart\'), + (3,\'media\',\'\',\'Media\',\'ezmedianavigationpart\')'); + $this->addSql('INSERT INTO "ezsite_data" ("name", "value") +VALUES (\'ibexa-release\',\'4.6\')'); + $this->addSql('INSERT INTO "ezurlalias" ("destination_url", "forward_to_id", "id", "is_imported", "is_internal", "is_wildcard", "source_md5", "source_url") +VALUES (\'content/view/full/2\',0,12,1,1,0,\'d41d8cd98f00b204e9800998ecf8427e\',\'\'), + (\'content/view/full/5\',0,13,1,1,0,\'9bc65c2abec141778ffaa729489f3e87\',\'users\'), + (\'content/view/full/12\',0,15,1,1,0,\'02d4e844e3a660857a3f81585995ffe1\',\'users/guest_accounts\'), + (\'content/view/full/13\',0,16,1,1,0,\'1b1d79c16700fd6003ea7be233e754ba\',\'users/administrator_users\'), + (\'content/view/full/14\',0,17,1,1,0,\'0bb9dd665c96bbc1cf36b79180786dea\',\'users/editors\'), + (\'content/view/full/15\',0,18,1,1,0,\'f1305ac5f327a19b451d82719e0c3f5d\',\'users/administrator_users/administrator_user\'), + (\'content/view/full/43\',0,20,1,1,0,\'62933a2951ef01f4eafd9bdf4d3cd2f0\',\'media\'), + (\'content/view/full/44\',0,21,1,1,0,\'3ae1aac958e1c82013689d917d34967a\',\'users/anonymous_users\'), + (\'content/view/full/45\',0,22,1,1,0,\'aad93975f09371695ba08292fd9698db\',\'users/anonymous_users/anonymous_user\'), + (\'content/view/full/51\',0,28,1,1,0,\'38985339d4a5aadfc41ab292b4527046\',\'media/images\'), + (\'content/view/full/52\',0,29,1,1,0,\'ad5a8c6f6aac3b1b9df267fe22e7aef6\',\'media/files\'), + (\'content/view/full/53\',0,30,1,1,0,\'562a0ac498571c6c3529173184a2657c\',\'media/multimedia\')'); + $this->addSql('INSERT INTO "ezurlalias_ml" ("action", "action_type", "alias_redirects", "id", "is_alias", "is_original", "lang_mask", "link", "parent", "text", "text_md5") +VALUES (\'nop:\',\'nop\',1,17,0,0,1,17,0,\'media2\',\'50e2736330de124f6edea9b008556fe6\'), + (\'eznode:43\',\'eznode\',1,9,0,1,3,9,0,\'Media\',\'62933a2951ef01f4eafd9bdf4d3cd2f0\'), + (\'nop:\',\'nop\',1,3,0,0,1,3,0,\'users2\',\'86425c35a33507d479f71ade53a669aa\'), + (\'eznode:5\',\'eznode\',1,2,0,1,3,2,0,\'Users\',\'9bc65c2abec141778ffaa729489f3e87\'), + (\'eznode:2\',\'eznode\',1,1,0,1,3,1,0,\'\',\'d41d8cd98f00b204e9800998ecf8427e\'), + (\'eznode:14\',\'eznode\',1,6,0,1,3,6,2,\'Editors\',\'a147e136bfa717592f2bd70bd4b53b17\'), + (\'eznode:44\',\'eznode\',1,10,0,1,3,10,2,\'Anonymous-Users\',\'c2803c3fa1b0b5423237b4e018cae755\'), + (\'eznode:12\',\'eznode\',1,4,0,1,3,4,2,\'Guest-accounts\',\'e57843d836e3af8ab611fde9e2139b3a\'), + (\'eznode:13\',\'eznode\',1,5,0,1,3,5,2,\'Administrator-users\',\'f89fad7f8a3abc8c09e1deb46a420007\'), + (\'nop:\',\'nop\',1,11,0,0,1,11,3,\'anonymous_users2\',\'505e93077a6dde9034ad97a14ab022b1\'), + (\'eznode:12\',\'eznode\',1,26,0,0,1,4,3,\'guest_accounts\',\'70bb992820e73638731aa8de79b3329e\'), + (\'eznode:14\',\'eznode\',1,29,0,0,1,6,3,\'editors\',\'a147e136bfa717592f2bd70bd4b53b17\'), + (\'nop:\',\'nop\',1,7,0,0,1,7,3,\'administrator_users2\',\'a7da338c20bf65f9f789c87296379c2a\'), + (\'eznode:13\',\'eznode\',1,27,0,0,1,5,3,\'administrator_users\',\'aeb8609aa933b0899aa012c71139c58c\'), + (\'eznode:44\',\'eznode\',1,30,0,0,1,10,3,\'anonymous_users\',\'e9e5ad0c05ee1a43715572e5cc545926\'), + (\'eznode:15\',\'eznode\',1,8,0,1,3,8,5,\'Administrator-User\',\'5a9d7b0ec93173ef4fedee023209cb61\'), + (\'eznode:15\',\'eznode\',1,28,0,0,0,8,7,\'administrator_user\',\'a3cca2de936df1e2f805710399989971\'), + (\'eznode:53\',\'eznode\',1,20,0,1,3,20,9,\'Multimedia\',\'2e5bc8831f7ae6a29530e7f1bbf2de9c\'), + (\'eznode:52\',\'eznode\',1,19,0,1,3,19,9,\'Files\',\'45b963397aa40d4a0063e0d85e4fe7a1\'), + (\'eznode:51\',\'eznode\',1,18,0,1,3,18,9,\'Images\',\'59b514174bffe4ae402b3d63aad79fe0\'), + (\'eznode:45\',\'eznode\',1,12,0,1,3,12,10,\'Anonymous-User\',\'ccb62ebca03a31272430bc414bd5cd5b\'), + (\'eznode:45\',\'eznode\',1,31,0,0,1,12,11,\'anonymous_user\',\'c593ec85293ecb0e02d50d4c5c6c20eb\'), + (\'eznode:53\',\'eznode\',1,34,0,0,1,20,17,\'multimedia\',\'2e5bc8831f7ae6a29530e7f1bbf2de9c\'), + (\'eznode:52\',\'eznode\',1,33,0,0,1,19,17,\'files\',\'45b963397aa40d4a0063e0d85e4fe7a1\'), + (\'eznode:51\',\'eznode\',1,32,0,0,1,18,17,\'images\',\'59b514174bffe4ae402b3d63aad79fe0\')'); + $this->addSql('INSERT INTO "ezurlalias_ml_incr" ("id") +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37)'); + $this->addSql('INSERT INTO "ezuser" ("contentobject_id", "email", "login", "password_hash", "password_hash_type") +VALUES (10,\'anonymous@link.invalid\',\'anonymous\',\'$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC\',7), + (14,\'admin@link.invalid\',\'admin\',\'$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy\',7)'); + $this->addSql('INSERT INTO "ezuser_role" ("contentobject_id", "id", "limit_identifier", "limit_value", "role_id") +VALUES (11,28,\'\',\'\',1), + (42,31,\'\',\'\',1), + (13,32,\'Subtree\',\'/1/2/\',3), + (13,33,\'Subtree\',\'/1/43/\',3), + (12,34,\'\',\'\',2), + (13,35,\'\',\'\',4)'); + $this->addSql('INSERT INTO "ezuser_setting" ("is_enabled", "max_login", "user_id") +VALUES (1, 1000, 10), + (1, 10, 14)'); + $this->addSql('INSERT INTO "ezpreferences" ("name", "user_id", "value") +SELECT \'focus_mode\', u.contentobject_id, \'0\' FROM "ezuser" u WHERE u.login = \'admin\''); + $this->addSql('-- Set proper sequence values after inserting data +SELECT SETVAL(\'ezcobj_state_group_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcobj_state_group'); + $this->addSql('SELECT SETVAL(\'ezcobj_state_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcobj_state'); + $this->addSql('SELECT SETVAL(\'ezcontentbrowsebookmark_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentbrowsebookmark'); + $this->addSql('SELECT SETVAL(\'ezcontentclass_attribute_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentclass_attribute'); + $this->addSql('SELECT SETVAL(\'ezcontentclass_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentclass'); + $this->addSql('SELECT SETVAL(\'ezcontentclassgroup_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentclassgroup'); + $this->addSql('SELECT SETVAL(\'ezcontentobject_attribute_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentobject_attribute'); + $this->addSql('SELECT SETVAL(\'ezcontentobject_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentobject'); + $this->addSql('SELECT SETVAL(\'ezcontentobject_link_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentobject_link'); + $this->addSql('SELECT SETVAL(\'ezcontentobject_tree_node_id_seq\', COALESCE(MAX(node_id), 1) ) FROM ezcontentobject_tree'); + $this->addSql('SELECT SETVAL(\'ezcontentobject_version_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentobject_version'); + $this->addSql('SELECT SETVAL(\'ezimagefile_id_seq\', COALESCE(MAX(id), 1) ) FROM ezimagefile'); + $this->addSql('SELECT SETVAL(\'ezkeyword_attribute_link_id_seq\', COALESCE(MAX(id), 1) ) FROM ezkeyword_attribute_link'); + $this->addSql('SELECT SETVAL(\'ezkeyword_id_seq\', COALESCE(MAX(id), 1) ) FROM ezkeyword'); + $this->addSql('SELECT SETVAL(\'eznode_assignment_id_seq\', COALESCE(MAX(id), 1) ) FROM eznode_assignment'); + $this->addSql('SELECT SETVAL(\'eznotification_id_seq\', COALESCE(MAX(id), 1) ) FROM eznotification'); + $this->addSql('SELECT SETVAL(\'ezpackage_id_seq\', COALESCE(MAX(id), 1) ) FROM ezpackage'); + $this->addSql('SELECT SETVAL(\'ezpolicy_id_seq\', COALESCE(MAX(id), 1) ) FROM ezpolicy'); + $this->addSql('SELECT SETVAL(\'ezpolicy_limitation_id_seq\', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation'); + $this->addSql('SELECT SETVAL(\'ezpolicy_limitation_value_id_seq\', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation_value'); + $this->addSql('SELECT SETVAL(\'ezpreferences_id_seq\', COALESCE(MAX(id), 1) ) FROM ezpreferences'); + $this->addSql('SELECT SETVAL(\'ezrole_id_seq\', COALESCE(MAX(id), 1) ) FROM ezrole'); + $this->addSql('SELECT SETVAL(\'ezsearch_object_word_link_id_seq\', COALESCE(MAX(id), 1) ) FROM ezsearch_object_word_link'); + $this->addSql('SELECT SETVAL(\'ezsearch_word_id_seq\', COALESCE(MAX(id), 1) ) FROM ezsearch_word'); + $this->addSql('SELECT SETVAL(\'ezsection_id_seq\', COALESCE(MAX(id), 1) ) FROM ezsection'); + $this->addSql('SELECT SETVAL(\'ezurl_id_seq\', COALESCE(MAX(id), 1) ) FROM ezurl'); + $this->addSql('SELECT SETVAL(\'ezurlalias_id_seq\', COALESCE(MAX(id), 1) ) FROM ezurlalias'); + $this->addSql('SELECT SETVAL(\'ezurlalias_ml_incr_id_seq\', COALESCE(MAX(id), 1) ) FROM ezurlalias_ml_incr'); + $this->addSql('SELECT SETVAL(\'ezurlwildcard_id_seq\', COALESCE(MAX(id), 1) ) FROM ezurlwildcard'); + $this->addSql('SELECT SETVAL(\'ezuser_accountkey_id_seq\', COALESCE(MAX(id), 1) ) FROM ezuser_accountkey'); + $this->addSql('SELECT SETVAL(\'ezuser_role_id_seq\', COALESCE(MAX(id), 1) ) FROM ezuser_role'); + } elseif ($this->platform instanceof SqlitePlatform) { + $this->addSql('INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) +VALUES (2, 2, 1, \'not_locked\', 3, 0), + (2, 2, 2, \'locked\', 3, 1)'); + $this->addSql('INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) +VALUES (2,2,\'ez_lock\',3)'); + $this->addSql('INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) +VALUES (2,\'\',3,\'Lock\',2)'); + $this->addSql('INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) +VALUES (1,\'\',3,\'Not locked\'), + (2,\'\',3,\'Locked\')'); + $this->addSql('INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) +VALUES (1, 1), + (4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1)'); + $this->addSql('INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) +VALUES (0, 2, \'eng-GB\', \'English (United Kingdom)\')'); + $this->addSql('INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) +VALUES (1,\'\',1024392098,14,1,\'folder\',2,1,2,1448831672,14,\'a3d405b81be900468eb153d774f4f0d2\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:6:\\"Folder\\";}\',1,1,NULL,0), + (0,\'\',1024392098,14,2,\'article\',2,1,3,1082454989,14,\'c15b600eb9198b1924063b5a68758232\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:7:\\"Article\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), + (1,\'\',1024392098,14,3,\'user_group\',2,1,3,1048494743,14,\'25b4268cdcd01921b808a0d854b877ef\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:10:\\"User group\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), + (1,\' \',1024392098,14,4,\'user\',2,0,3,1082018364,14,\'40faa822edc579b02c25f6bb7beec3ad\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"User\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), + (1,\'\',1031484992,14,5,\'image\',2,0,3,1048494784,14,\'f6df12aa74e36230eb675f364fccd25a\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), + (1,\'\',1052385472,14,12,\'file\',2,0,3,1052385669,14,\'637d58bfddf164627bdfd265733280a0\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"File\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0)'); + $this->addSql('INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) +VALUES (1,\'\',2,0,0,0,0,255,0,0,0,\'New article\',\'\',\'\',\'\',\'\',\'ezstring\',1,\'title\',0,1,1,1,0,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Title\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,\'Folder\',NULL,NULL,NULL,NULL,\'ezstring\',4,\'name\',0,1,1,0,1,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:4:\\"Name\\";}\',0), + (1,\'\',3,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',6,\'name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',3,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',7,\'description\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:11:\\"Description\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',4,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',8,\'first_name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:10:\\"First name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',4,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',9,\'last_name\',0,1,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:9:\\"Last name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (0,\'\',4,0,0,0,0,7,10,0,0,\'\',\'^[^@]+$\',\'\',\'\',\'\',\'ezuser\',12,\'user_account\',0,1,0,0,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:12:\\"User account\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',5,0,0,0,0,150,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',116,\'name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',5,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezrichtext\',117,\'caption\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:7:\\"Caption\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',5,10.0,0,0,0,0,0,0,0,\'MB\',\'\',\'\',\'\',NULL,\'ezimage\',118,\'image\',0,0,1,1,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezrichtext\',119,\'short_description\',0,0,1,0,3,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:17:\\"Short description\\";}\',0), + (1,\'\',2,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezrichtext\',120,\'intro\',0,1,1,0,4,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Intro\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',2,0,0,0,0,20,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezrichtext\',121,\'body\',0,0,1,0,5,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Body\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (0,\'\',2,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezboolean\',123,\'enable_comments\',0,0,0,0,6,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:15:\\"Enable comments\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',12,0,0,0,0,0,0,0,0,\'New file\',\'\',\'\',\'\',NULL,\'ezstring\',146,\'name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',12,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezrichtext\',147,\'description\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:11:\\"Description\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',12,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezbinaryfile\',148,\'file\',0,1,0,0,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"File\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',2,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',152,\'short_title\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:11:\\"Short title\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',2,0,0,0,0,1,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezauthor\',153,\'author\',0,0,0,0,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:6:\\"Author\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',2,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezobjectrelation\',154,\'image\',0,0,1,0,7,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezstring\',155,\'short_name\',0,0,1,0,2,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:10:\\"Short name\\";}\',0), + (1,\'\',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezrichtext\',156,\'description\',0,0,1,0,4,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:11:\\"Description\\";}\',0), + (1,\'\',4,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',\'\',\'eztext\',179,\'signature\',0,0,1,0,4,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:9:\\"Signature\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), + (1,\'\',4,10.0,0,0,0,0,0,0,0,\'MB\',\'\',\'\',\'\',\'\',\'ezimage\',180,\'image\',0,0,0,1,5,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0)'); + $this->addSql('INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) +VALUES (1, 0, 1, \'Content\'), + (2, 0, 1, \'Content\'), + (3, 0, 2, \'Users\'), + (4, 0, 2, \'Users\'), + (5, 0, 3, \'Media\'), + (12, 0, 3, \'Media\')'); + $this->addSql('INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) +VALUES (1, 0, 2, \'eng-GB\', \'Folder\'), + (2, 0, 3, \'eng-GB\', \'Article\'), + (3, 0, 3, \'eng-GB\', \'User group\'), + (4, 0, 3, \'eng-GB\', \'User\'), + (5, 0, 3, \'eng-GB\', \'Image\'), + (12, 0, 3, \'eng-GB\', \'File\')'); + $this->addSql('INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) +VALUES (1031216928, 14, 1, 1033922106, 14, \'Content\'), + (1031216941, 14, 2, 1033922113, 14, \'Users\'), + (1032009743, 14, 3, 1033922120, 14, \'Media\')'); + $this->addSql('INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) +VALUES (1,9,1,2,3,1448889046,\'Ibexa Platform\',14,1448889046,\'9459d3c29e15006e45197295722c7ade\',1,1), + (3,1,4,2,3,1033917596,\'Users\',14,1033917596,\'f5c88a2209584891056f987fd965b0ba\',2,1), + (4,2,10,2,3,1072180405,\'Anonymous User\',14,1033920665,\'faaeb9be3bd98ed09f606fc16d144eca\',2,1), + (3,1,11,2,3,1033920746,\'Guest accounts\',14,1033920746,\'5f7f0bdb3381d6a461d8c29ff53d908f\',2,1), + (3,1,12,2,3,1033920775,\'Administrator users\',14,1033920775,\'9b47a45624b023b1a76c73b74d704acf\',2,1), + (3,1,13,2,3,1033920794,\'Editors\',14,1033920794,\'3c160cca19fb135f83bd02d911f04db2\',2,1), + (4,3,14,2,3,1301062024,\'Administrator User\',14,1033920830,\'1bb4fe25487f05527efa8bfd394cecc7\',2,1), + (1,1,41,2,3,1060695457,\'Media\',14,1060695457,\'a6e35cbcb7cd6ae4b691f3eee30cd262\',3,1), + (3,1,42,2,3,1072180330,\'Anonymous users\',14,1072180330,\'15b256dbea2ae72418ff5facc999e8f9\',2,1), + (1,1,49,2,3,1080220197,\'Images\',14,1080220197,\'e7ff633c6b8e0fd3531e74c6e712bead\',3,1), + (1,1,50,2,3,1080220220,\'Files\',14,1080220220,\'732a5acd01b51a6fe6eab448ad4138a9\',3,1), + (1,1,51,2,3,1080220233,\'Multimedia\',14,1080220233,\'09082deb98662a104f325aaa8c4933d3\',3,1)'); + $this->addSql('INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) +VALUES (0,4,1,NULL,NULL,\'Ibexa Platform\',\'ezstring\',1,\'eng-GB\',3,0,\'ibexa platform\',9), + (0,119,1,NULL,NULL,\'
You are now ready to start your project.
\',\'ezrichtext\',2,\'eng-GB\',3,0,\'\',9), + (0,7,4,NULL,NULL,\'Main group\',\'ezstring\',7,\'eng-GB\',3,0,\'\',1), + (0,6,4,NULL,NULL,\'Users\',\'ezstring\',8,\'eng-GB\',3,0,\'\',1), + (0,8,10,0,0,\'Anonymous\',\'ezstring\',19,\'eng-GB\',3,0,\'anonymous\',2), + (0,9,10,0,0,\'User\',\'ezstring\',20,\'eng-GB\',3,0,\'user\',2), + (0,12,10,0,0,\'\',\'ezuser\',21,\'eng-GB\',3,0,\'\',2), + (0,6,11,0,0,\'Guest accounts\',\'ezstring\',22,\'eng-GB\',3,0,\'\',1), + (0,7,11,0,0,\'\',\'ezstring\',23,\'eng-GB\',3,0,\'\',1), + (0,6,12,0,0,\'Administrator users\',\'ezstring\',24,\'eng-GB\',3,0,\'\',1), + (0,7,12,0,0,\'\',\'ezstring\',25,\'eng-GB\',3,0,\'\',1), + (0,6,13,0,0,\'Editors\',\'ezstring\',26,\'eng-GB\',3,0,\'\',1), + (0,7,13,0,0,\'\',\'ezstring\',27,\'eng-GB\',3,0,\'\',1), + (0,8,14,0,0,\'Administrator\',\'ezstring\',28,\'eng-GB\',3,0,\'administrator\',3), + (0,9,14,0,0,\'User\',\'ezstring\',29,\'eng-GB\',3,0,\'user\',3), + (30,12,14,0,0,\'\',\'ezuser\',30,\'eng-GB\',3,0,\'\',3), + (0,4,41,0,0,\'Media\',\'ezstring\',98,\'eng-GB\',3,0,\'\',1), + (0,119,41,0,1045487555,\'\\n
\\n\',\'ezrichtext\',99,\'eng-GB\',3,0,\'\',1), + (0,6,42,0,0,\'Anonymous users\',\'ezstring\',100,\'eng-GB\',3,0,\'anonymous users\',1), + (0,7,42,0,0,\'User group for the anonymous user\',\'ezstring\',101,\'eng-GB\',3,0,\'user group for the anonymous user\',1), + (0,155,1,NULL,NULL,\'Ibexa Platform\',\'ezstring\',102,\'eng-GB\',3,0,\'ibexa platform\',9), + (0,155,41,0,0,\'\',\'ezstring\',103,\'eng-GB\',3,0,\'\',1), + (0,156,1,NULL,NULL,\'
This is the clean installation coming with Ibexa Platform.It\'\'s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
\',\'ezrichtext\',104,\'eng-GB\',3,0,\'\',9), + (0,156,41,0,1045487555,\'\\n
\\n\',\'ezrichtext\',105,\'eng-GB\',3,0,\'\',1), + (0,4,49,0,0,\'Images\',\'ezstring\',142,\'eng-GB\',3,0,\'images\',1), + (0,155,49,0,0,\'\',\'ezstring\',143,\'eng-GB\',3,0,\'\',1), + (0,119,49,0,1045487555,\'\\n
\\n\',\'ezrichtext\',144,\'eng-GB\',3,0,\'\',1), + (0,156,49,0,1045487555,\'\\n
\\n\',\'ezrichtext\',145,\'eng-GB\',3,0,\'\',1), + (0,4,50,0,0,\'Files\',\'ezstring\',147,\'eng-GB\',3,0,\'files\',1), + (0,155,50,0,0,\'\',\'ezstring\',148,\'eng-GB\',3,0,\'\',1), + (0,119,50,0,1045487555,\'\\n
\\n\',\'ezrichtext\',149,\'eng-GB\',3,0,\'\',1), + (0,156,50,0,1045487555,\'\\n
\\n\',\'ezrichtext\',150,\'eng-GB\',3,0,\'\',1), + (0,4,51,0,0,\'Multimedia\',\'ezstring\',152,\'eng-GB\',3,0,\'multimedia\',1), + (0,155,51,0,0,\'\',\'ezstring\',153,\'eng-GB\',3,0,\'\',1), + (0,119,51,0,1045487555,\'\\n
\\n\',\'ezrichtext\',154,\'eng-GB\',3,0,\'\',1), + (0,156,51,0,1045487555,\'\\n
\\n\',\'ezrichtext\',155,\'eng-GB\',3,0,\'\',1), + (0,179,10,0,0,\'\',\'eztext\',177,\'eng-GB\',3,0,\'\',2), + (0,179,14,0,0,\'\',\'eztext\',178,\'eng-GB\',3,0,\'\',3), + (0,180,10,0,0,\'\',\'ezimage\',179,\'eng-GB\',3,0,\'\',2), + (0,180,14,0,0,\'\\n\\n\',\'ezimage\',180,\'eng-GB\',3,0,\'\',3)'); + $this->addSql('INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) +VALUES (\'eng-GB\',9,1,2,\'Ibexa Platform\',\'eng-GB\'), + (\'eng-GB\',1,4,3,\'Users\',\'eng-GB\'), + (\'eng-GB\',2,10,3,\'Anonymous User\',\'eng-GB\'), + (\'eng-GB\',1,11,3,\'Guest accounts\',\'eng-GB\'), + (\'eng-GB\',1,12,3,\'Administrator users\',\'eng-GB\'), + (\'eng-GB\',1,13,3,\'Editors\',\'eng-GB\'), + (\'eng-GB\',3,14,3,\'Administrator User\',\'eng-GB\'), + (\'eng-GB\',1,41,3,\'Media\',\'eng-GB\'), + (\'eng-GB\',1,42,3,\'Anonymous users\',\'eng-GB\'), + (\'eng-GB\',1,49,3,\'Images\',\'eng-GB\'), + (\'eng-GB\',1,50,3,\'Files\',\'eng-GB\'), + (\'eng-GB\',1,51,3,\'Multimedia\',\'eng-GB\')'); + $this->addSql('INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) +VALUES (0,1,1,0,0,0,1,1448999778,1,1,\'\',\'/1/\',0,\'629709ba256fe317c3ddcee35453a96a\',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,\'node_2\',\'/1/2/\',0,\'f3e90596361e31d496d4026eb624c983\',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,\'users\',\'/1/5/\',0,\'3f6d92f8044aed134f32153517850f5a\',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,\'users/guest_accounts\',\'/1/5/12/\',0,\'602dcf84765e56b7f999eaafd3821dd3\',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,\'users/administrator_users\',\'/1/5/13/\',0,\'769380b7aa94541679167eab817ca893\',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,\'users/editors\',\'/1/5/14/\',0,\'f7dda2854fc68f7c8455d9cb14bd04a9\',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,\'users/administrator_users/administrator_user\',\'/1/5/13/15/\',0,\'e5161a99f733200b9ed4e80f9c16187b\',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,\'media\',\'/1/43/\',0,\'75c715a51699d2d309a924eca6a95145\',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,\'users/anonymous_users\',\'/1/5/44/\',0,\'4fdf0072da953bb276c0c7e0141c5c9b\',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,\'users/anonymous_users/anonymous_user\',\'/1/5/44/45/\',0,\'2cf8343bee7b482bab82b269d8fecd76\',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,\'media/images\',\'/1/43/51/\',0,\'1b26c0454b09bb49dfb1b9190ffd67cb\',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,\'media/files\',\'/1/43/52/\',0,\'0b113a208f7890f9ad3c24444ff5988c\',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,\'media/multimedia\',\'/1/43/53/\',0,\'4f18b82c75f10aad476cae5adf98c11f\',9,1)'); + $this->addSql('INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0)'); + $this->addSql('INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) +VALUES (8,2,0,4,1,2,5,\'\',\'0\',1,1,0,0), + (42,1,0,5,1,2,5,\'\',\'0\',9,1,0,0), + (10,2,-1,6,1,2,44,\'\',\'0\',9,1,0,0), + (4,1,0,7,1,2,1,\'\',\'0\',1,1,0,0), + (12,1,0,8,1,2,5,\'\',\'0\',1,1,0,0), + (13,1,0,9,1,2,5,\'\',\'0\',1,1,0,0), + (41,1,0,11,1,2,1,\'\',\'0\',1,1,0,0), + (11,1,0,12,1,2,5,\'\',\'0\',1,1,0,0), + (49,1,0,27,1,2,43,\'\',\'0\',9,1,0,0), + (50,1,0,28,1,2,43,\'\',\'0\',9,1,0,0), + (51,1,0,29,1,2,43,\'\',\'0\',9,1,0,0), + (14,3,-1,38,1,2,13,\'\',\'0\',1,1,0,0)'); + $this->addSql('INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) +VALUES (\'*\',317,\'content\',0,3), + (\'login\',319,\'user\',0,3), + (\'read\',328,\'content\',0,1), + (\'login\',331,\'user\',0,1), + (\'*\',332,\'*\',0,2), + (\'read\',333,\'content\',0,4), + (\'view_embed\',334,\'content\',0,1), + (\'*\',340,\'url\',0,3)'); + $this->addSql('INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) +VALUES (251,\'Section\',328), + (252,\'Section\',329), + (253,\'SiteAccess\',331), + (254,\'Class\',333), + (255,\'Owner\',333), + (256,\'Class\',334)'); + $this->addSql('INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) +VALUES (477,251,\'1\'), + (478,252,\'1\'), + (479,253,\'1766001124\'), + (480,254,\'4\'), + (481,255,\'1\'), + (482,256,\'5\'), + (483,256,\'12\')'); + $this->addSql('INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) +VALUES (1,0,\'Anonymous\',\'\',0), + (2,0,\'Administrator\',\'0\',0), + (3,0,\'Editor\',\'\',0), + (4,0,\'Member\',\'\',0)'); + $this->addSql('INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) +VALUES (1,\'standard\',\'\',\'Standard\',\'ezcontentnavigationpart\'), + (2,\'users\',\'\',\'Users\',\'ezusernavigationpart\'), + (3,\'media\',\'\',\'Media\',\'ezmedianavigationpart\')'); + $this->addSql('INSERT INTO `ezsite_data` (`name`, `value`) +VALUES (\'ibexa-release\',\'4.6\')'); + $this->addSql('INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) +VALUES (\'content/view/full/2\',0,12,1,1,0,\'d41d8cd98f00b204e9800998ecf8427e\',\'\'), + (\'content/view/full/5\',0,13,1,1,0,\'9bc65c2abec141778ffaa729489f3e87\',\'users\'), + (\'content/view/full/12\',0,15,1,1,0,\'02d4e844e3a660857a3f81585995ffe1\',\'users/guest_accounts\'), + (\'content/view/full/13\',0,16,1,1,0,\'1b1d79c16700fd6003ea7be233e754ba\',\'users/administrator_users\'), + (\'content/view/full/14\',0,17,1,1,0,\'0bb9dd665c96bbc1cf36b79180786dea\',\'users/editors\'), + (\'content/view/full/15\',0,18,1,1,0,\'f1305ac5f327a19b451d82719e0c3f5d\',\'users/administrator_users/administrator_user\'), + (\'content/view/full/43\',0,20,1,1,0,\'62933a2951ef01f4eafd9bdf4d3cd2f0\',\'media\'), + (\'content/view/full/44\',0,21,1,1,0,\'3ae1aac958e1c82013689d917d34967a\',\'users/anonymous_users\'), + (\'content/view/full/45\',0,22,1,1,0,\'aad93975f09371695ba08292fd9698db\',\'users/anonymous_users/anonymous_user\'), + (\'content/view/full/51\',0,28,1,1,0,\'38985339d4a5aadfc41ab292b4527046\',\'media/images\'), + (\'content/view/full/52\',0,29,1,1,0,\'ad5a8c6f6aac3b1b9df267fe22e7aef6\',\'media/files\'), + (\'content/view/full/53\',0,30,1,1,0,\'562a0ac498571c6c3529173184a2657c\',\'media/multimedia\')'); + $this->addSql('INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) +VALUES (\'nop:\',\'nop\',1,17,0,0,1,17,0,\'media2\',\'50e2736330de124f6edea9b008556fe6\'), + (\'eznode:43\',\'eznode\',1,9,0,1,3,9,0,\'Media\',\'62933a2951ef01f4eafd9bdf4d3cd2f0\'), + (\'nop:\',\'nop\',1,3,0,0,1,3,0,\'users2\',\'86425c35a33507d479f71ade53a669aa\'), + (\'eznode:5\',\'eznode\',1,2,0,1,3,2,0,\'Users\',\'9bc65c2abec141778ffaa729489f3e87\'), + (\'eznode:2\',\'eznode\',1,1,0,1,3,1,0,\'\',\'d41d8cd98f00b204e9800998ecf8427e\'), + (\'eznode:14\',\'eznode\',1,6,0,1,3,6,2,\'Editors\',\'a147e136bfa717592f2bd70bd4b53b17\'), + (\'eznode:44\',\'eznode\',1,10,0,1,3,10,2,\'Anonymous-Users\',\'c2803c3fa1b0b5423237b4e018cae755\'), + (\'eznode:12\',\'eznode\',1,4,0,1,3,4,2,\'Guest-accounts\',\'e57843d836e3af8ab611fde9e2139b3a\'), + (\'eznode:13\',\'eznode\',1,5,0,1,3,5,2,\'Administrator-users\',\'f89fad7f8a3abc8c09e1deb46a420007\'), + (\'nop:\',\'nop\',1,11,0,0,1,11,3,\'anonymous_users2\',\'505e93077a6dde9034ad97a14ab022b1\'), + (\'eznode:12\',\'eznode\',1,26,0,0,1,4,3,\'guest_accounts\',\'70bb992820e73638731aa8de79b3329e\'), + (\'eznode:14\',\'eznode\',1,29,0,0,1,6,3,\'editors\',\'a147e136bfa717592f2bd70bd4b53b17\'), + (\'nop:\',\'nop\',1,7,0,0,1,7,3,\'administrator_users2\',\'a7da338c20bf65f9f789c87296379c2a\'), + (\'eznode:13\',\'eznode\',1,27,0,0,1,5,3,\'administrator_users\',\'aeb8609aa933b0899aa012c71139c58c\'), + (\'eznode:44\',\'eznode\',1,30,0,0,1,10,3,\'anonymous_users\',\'e9e5ad0c05ee1a43715572e5cc545926\'), + (\'eznode:15\',\'eznode\',1,8,0,1,3,8,5,\'Administrator-User\',\'5a9d7b0ec93173ef4fedee023209cb61\'), + (\'eznode:15\',\'eznode\',1,28,0,0,0,8,7,\'administrator_user\',\'a3cca2de936df1e2f805710399989971\'), + (\'eznode:53\',\'eznode\',1,20,0,1,3,20,9,\'Multimedia\',\'2e5bc8831f7ae6a29530e7f1bbf2de9c\'), + (\'eznode:52\',\'eznode\',1,19,0,1,3,19,9,\'Files\',\'45b963397aa40d4a0063e0d85e4fe7a1\'), + (\'eznode:51\',\'eznode\',1,18,0,1,3,18,9,\'Images\',\'59b514174bffe4ae402b3d63aad79fe0\'), + (\'eznode:45\',\'eznode\',1,12,0,1,3,12,10,\'Anonymous-User\',\'ccb62ebca03a31272430bc414bd5cd5b\'), + (\'eznode:45\',\'eznode\',1,31,0,0,1,12,11,\'anonymous_user\',\'c593ec85293ecb0e02d50d4c5c6c20eb\'), + (\'eznode:53\',\'eznode\',1,34,0,0,1,20,17,\'multimedia\',\'2e5bc8831f7ae6a29530e7f1bbf2de9c\'), + (\'eznode:52\',\'eznode\',1,33,0,0,1,19,17,\'files\',\'45b963397aa40d4a0063e0d85e4fe7a1\'), + (\'eznode:51\',\'eznode\',1,32,0,0,1,18,17,\'images\',\'59b514174bffe4ae402b3d63aad79fe0\')'); + $this->addSql('INSERT INTO `ezurlalias_ml_incr` (`id`) +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37)'); + $this->addSql('INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) +VALUES (10,\'anonymous@link.invalid\',\'anonymous\',\'$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC\',7), + (14,\'admin@link.invalid\',\'admin\',\'$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy\',7)'); + $this->addSql('INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) +VALUES (11,28,\'\',\'\',1), + (42,31,\'\',\'\',1), + (13,32,\'Subtree\',\'/1/2/\',3), + (13,33,\'Subtree\',\'/1/43/\',3), + (12,34,\'\',\'\',2), + (13,35,\'\',\'\',4)'); + $this->addSql('INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) +VALUES (1,1000,10), + (1,10,14)'); + $this->addSql('INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) +SELECT \'focus_mode\', u.contentobject_id, \'0\' FROM `ezuser` u WHERE u.login = \'admin\''); + } else { + $this->abortIf(true, sprintf('Unsupported platform "%s".', $this->platform->getName())); + } } } diff --git a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php index f58e4c8860..f10165ccc5 100644 --- a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php @@ -9,19 +9,14 @@ namespace Ibexa\Bundle\RepositoryInstaller\Migration; use DateTimeImmutable; -use Ibexa\Contracts\DoctrineMigrations\Migrations\AbstractVersion; +use Doctrine\DBAL\Platforms\MySqlPlatform; +use Doctrine\DBAL\Platforms\PostgreSqlPlatform; +use Doctrine\DBAL\Platforms\SqlitePlatform; +use Doctrine\DBAL\Schema\Schema; +use Doctrine\Migrations\AbstractMigration; use Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationInterface; -/** - * Creates the core Ibexa database schema, used by {@see \Ibexa\Bundle\RepositoryInstaller\Installer\CoreInstaller} - * to install a fresh database. - * - * Tagged with {@see \Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG} (see services.yml) so - * it is discoverable by the Doctrine Migrations pipeline like any other Ibexa migration. It is also run directly - * by {@see \Ibexa\Bundle\RepositoryInstaller\Installer\CoreInstaller}, which records its execution in the same - * migrations versioning table so it isn't re-applied by a later `doctrine:migrations:migrate` run. - */ -final class InstallSchemaMigration extends AbstractVersion implements IbexaMigrationInterface +final class InstallSchemaMigration extends AbstractMigration implements IbexaMigrationInterface { public function getDescription(): string { @@ -38,8 +33,400 @@ public static function getCreationDate(): DateTimeImmutable return new DateTimeImmutable('2026-07-16 00:00:00'); } - protected function getYamlFilePath(): string + public function up(Schema $schema): void { - return __DIR__ . '/../Resources/migrations/install_schema.yaml'; + if ($this->platform instanceof MySqlPlatform) { + $this->addSql('CREATE TABLE ezbinaryfile (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT \'\' NOT NULL, mime_type VARCHAR(255) DEFAULT \'\' NOT NULL, original_filename VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcobj_state (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT \'\' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, INDEX ezcobj_state_priority (priority), INDEX ezcobj_state_lmask (language_mask), UNIQUE INDEX ezcobj_state_identifier (group_id, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcobj_state_group (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT \'\' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ezcobj_state_group_lmask (language_mask), UNIQUE INDEX ezcobj_state_group_identifier (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcobj_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcobj_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, name VARCHAR(45) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcobj_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontent_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT \'\' NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, INDEX ezcontent_language_name (name(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezuser (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT \'\' NOT NULL, login VARCHAR(150) DEFAULT \'\' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, UNIQUE INDEX ezuser_login (login), PRIMARY KEY(contentobject_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentobject_tree (node_id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT \'\' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, INDEX ezcontentobject_tree_p_node_id (parent_node_id), INDEX ezcontentobject_tree_path_ident (path_identification_string(50)), INDEX ezcontentobject_tree_contentobject_id_path_string (path_string(191), contentobject_id), INDEX ezcontentobject_tree_co_id (contentobject_id), INDEX ezcontentobject_tree_depth (depth), INDEX ezcontentobject_tree_path (path_string(191)), INDEX modified_subnode (modified_subnode), INDEX ezcontentobject_tree_remote_id (remote_id), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentbrowsebookmark (id INT AUTO_INCREMENT NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, INDEX ezcontentbrowsebookmark_location (node_id), INDEX ezcontentbrowsebookmark_user (user_id), INDEX ezcontentbrowsebookmark_user_location (user_id, node_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentclass (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT \'\' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, INDEX ezcontentclass_version (version), INDEX ezcontentclass_identifier (identifier, version), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentclass_attribute (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT \'\' NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT \'\' NOT NULL, identifier VARCHAR(50) DEFAULT \'\' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail TINYINT(1) DEFAULT \'0\' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text LONGTEXT DEFAULT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT NOT NULL, INDEX ezcontentclass_attr_ccid (contentclass_id), INDEX ezcontentclass_attr_dts (data_type_string), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentclass_attribute_ml (contentclass_attribute_id INT NOT NULL, version INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, INDEX ezcontentclass_attribute_ml_lang_fk (language_id), PRIMARY KEY(contentclass_attribute_id, version, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentclass_classgroup (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentclass_name (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT \'\' NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentclassgroup (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system TINYINT(1) DEFAULT \'0\' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentobject (id INT AUTO_INCREMENT NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden TINYINT(1) DEFAULT \'0\' NOT NULL, INDEX ezcontentobject_classid (contentclass_id), INDEX ezcontentobject_lmask (language_mask), INDEX ezcontentobject_pub (published), INDEX ezcontentobject_section (section_id), INDEX ezcontentobject_currentversion (current_version), INDEX ezcontentobject_owner (owner_id), INDEX ezcontentobject_status (status), UNIQUE INDEX ezcontentobject_remote_id (remote_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentobject_attribute (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, contentclassattribute_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT \'\', language_code VARCHAR(20) DEFAULT \'\' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT \'\' NOT NULL, INDEX ezcontentobject_attribute_co_id_ver_lang_code (contentobject_id, version, language_code), INDEX ezcontentobject_classattr_id (contentclassattribute_id), INDEX sort_key_string (sort_key_string(191)), INDEX ezcontentobject_attribute_language_code (language_code), INDEX sort_key_int (sort_key_int), INDEX ezcontentobject_attribute_co_id_ver (contentobject_id, version), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentobject_link (id INT AUTO_INCREMENT NOT NULL, contentclassattribute_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, INDEX ezco_link_to_co_id (to_contentobject_id), INDEX ezco_link_from (from_contentobject_id, from_contentobject_version, contentclassattribute_id), INDEX ezco_link_cca_id (contentclassattribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentobject_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT \'\' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, INDEX ezcontentobject_name_lang_id (language_id), INDEX ezcontentobject_name_cov_id (content_version), INDEX ezcontentobject_name_name (name(191)), PRIMARY KEY(contentobject_id, content_version, content_translation)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentobject_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT \'\' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, INDEX ezcobj_trash_depth (depth), INDEX ezcobj_trash_p_node_id (parent_node_id), INDEX ezcobj_trash_path_ident (path_identification_string(50)), INDEX ezcobj_trash_co_id (contentobject_id), INDEX ezcobj_trash_modified_subnode (modified_subnode), INDEX ezcobj_trash_path (path_string(191)), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezcontentobject_version (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, INDEX ezcobj_version_status (status), INDEX idx_object_version_objver (contentobject_id, version), INDEX ezcontobj_version_obj_status (contentobject_id, status), INDEX ezcobj_version_creator_id (creator_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezdfsfile (name_hash VARCHAR(34) DEFAULT \'\' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT \'application/octet-stream\' NOT NULL, scope VARCHAR(25) DEFAULT \'\' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired TINYINT(1) DEFAULT \'0\' NOT NULL, status TINYINT(1) DEFAULT \'0\' NOT NULL, INDEX ezdfsfile_name_trunk (name_trunk(191)), INDEX ezdfsfile_expired_name (expired, name(191)), INDEX ezdfsfile_name (name(191)), INDEX ezdfsfile_mtime (mtime), PRIMARY KEY(name_hash)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezgmaplocation (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT \'0\' NOT NULL, longitude DOUBLE PRECISION DEFAULT \'0\' NOT NULL, address VARCHAR(150) DEFAULT NULL, INDEX latitude_longitude_key (latitude, longitude), PRIMARY KEY(contentobject_attribute_id, contentobject_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezimagefile (id INT AUTO_INCREMENT NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath LONGTEXT NOT NULL, INDEX ezimagefile_file (filepath(191)), INDEX ezimagefile_coid (contentobject_attribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezkeyword (id INT AUTO_INCREMENT NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, INDEX ezkeyword_keyword (keyword(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezkeyword_attribute_link (id INT AUTO_INCREMENT NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, INDEX ezkeyword_attr_link_oaid (objectattribute_id), INDEX ezkeyword_attr_link_kid_oaid (keyword_id, objectattribute_id), INDEX ezkeyword_attr_link_oaid_ver (objectattribute_id, version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezmedia (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT \'\' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT \'\' NOT NULL, original_filename VARCHAR(255) DEFAULT \'\' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE eznode_assignment (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, remote_id VARCHAR(100) DEFAULT \'0\' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, INDEX eznode_assignment_is_main (is_main), INDEX eznode_assignment_coid_cov (contentobject_id, contentobject_version), INDEX eznode_assignment_parent_node (parent_node), INDEX eznode_assignment_co_version (contentobject_version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE eznotification (id INT AUTO_INCREMENT NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending TINYINT(1) DEFAULT \'1\' NOT NULL, type VARCHAR(128) DEFAULT \'\' NOT NULL, created INT DEFAULT 0 NOT NULL, data LONGTEXT DEFAULT NULL, INDEX eznotification_owner_is_pending (owner_id, is_pending), INDEX eznotification_owner (owner_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezpackage (id INT AUTO_INCREMENT NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT \'\' NOT NULL, version VARCHAR(30) DEFAULT \'0\' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezpolicy (id INT AUTO_INCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, INDEX ezpolicy_role_id (role_id), INDEX ezpolicy_original_id (original_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezpolicy_limitation (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT \'\' NOT NULL, policy_id INT DEFAULT NULL, INDEX policy_id (policy_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezpolicy_limitation_value (id INT AUTO_INCREMENT NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, INDEX ezpolicy_limit_value_limit_id (limitation_id), INDEX ezpolicy_limitation_value_val (value(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezpreferences (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value LONGTEXT DEFAULT NULL, INDEX ezpreferences_user_id_idx (user_id, name), INDEX ezpreferences_name (name), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezrole (id INT AUTO_INCREMENT NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezsearch_object_word_link (id INT AUTO_INCREMENT NOT NULL, contentclass_attribute_id INT DEFAULT 0 NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT \'0\' NOT NULL, identifier VARCHAR(255) DEFAULT \'\' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ezsearch_object_word_link_object (contentobject_id), INDEX ezsearch_object_word_link_identifier (identifier(191)), INDEX ezsearch_object_word_link_integer_value (integer_value), INDEX ezsearch_object_word_link_word (word_id), INDEX ezsearch_object_word_link_frequency (frequency), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezsearch_word (id INT AUTO_INCREMENT NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, INDEX ezsearch_word_word_i (word), INDEX ezsearch_word_obj_count (object_count), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezsection (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT \'ezcontentnavigationpart\', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezsite_data (name VARCHAR(60) DEFAULT \'\' NOT NULL, value LONGTEXT NOT NULL, PRIMARY KEY(name)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezurl (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT \'\' NOT NULL, url LONGTEXT DEFAULT NULL, INDEX ezurl_url (url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezurl_object_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL, INDEX ezurl_ol_coa_id (contentobject_attribute_id), INDEX ezurl_ol_url_id (url_id), INDEX ezurl_ol_coa_version (contentobject_attribute_version), INDEX ezurl_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezurlalias (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url LONGTEXT NOT NULL, INDEX ezurlalias_source_md5 (source_md5), INDEX ezurlalias_wcard_fwd (is_wildcard, forward_to_id), INDEX ezurlalias_forward_to_id (forward_to_id), INDEX ezurlalias_imp_wcard_fwd (is_imported, is_wildcard, forward_to_id), INDEX ezurlalias_source_url (source_url(191)), INDEX ezurlalias_desturl (destination_url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezurlalias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT \'\' NOT NULL, action LONGTEXT NOT NULL, action_type VARCHAR(32) DEFAULT \'\' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text LONGTEXT NOT NULL, INDEX ezurlalias_ml_actt_org_al (action_type, is_original, is_alias), INDEX ezurlalias_ml_text_lang (text(32), lang_mask, parent), INDEX ezurlalias_ml_par_act_id_lnk (action(32), id, link, parent), INDEX ezurlalias_ml_par_lnk_txt (parent, text(32), link), INDEX ezurlalias_ml_act_org (action(32), is_original), INDEX ezurlalias_ml_text (text(32), id, link), INDEX ezurlalias_ml_link (link), INDEX ezurlalias_ml_id (id), PRIMARY KEY(parent, text_md5)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezurlalias_ml_incr (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezurlwildcard (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, source_url LONGTEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezuser_accountkey (id INT AUTO_INCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT \'\' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, INDEX hash_key (hash_key), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezuser_role (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT \'\', limit_value VARCHAR(255) DEFAULT \'\', role_id INT DEFAULT NULL, INDEX ezuser_role_role_id (role_id), INDEX ezuser_role_contentobject_id (contentobject_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ezuser_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ibexa_setting (id INT AUTO_INCREMENT NOT NULL, `group` VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, INDEX ibexa_setting_id (id), UNIQUE INDEX ibexa_setting_group_identifier (`group`, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ibexa_token_type (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL, UNIQUE INDEX ibexa_token_type_unique (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('CREATE TABLE ibexa_token (id INT AUTO_INCREMENT NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked TINYINT(1) DEFAULT \'0\' NOT NULL, INDEX IDX_B5412887C54C8C93 (type_id), UNIQUE INDEX ibexa_token_unique (token, identifier, type_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); + $this->addSql('ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE'); + $this->addSql('ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE'); + $this->addSql('ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE'); + $this->addSql('ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE'); + } elseif ($this->platform instanceof PostgreSqlPlatform) { + $this->addSql('CREATE TABLE ezbinaryfile (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT \'\' NOT NULL, mime_type VARCHAR(255) DEFAULT \'\' NOT NULL, original_filename VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version))'); + $this->addSql('CREATE TABLE ezcobj_state (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT \'\' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority)'); + $this->addSql('CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask)'); + $this->addSql('CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier)'); + $this->addSql('CREATE TABLE ezcobj_state_group (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT \'\' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask)'); + $this->addSql('CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier)'); + $this->addSql('CREATE TABLE ezcobj_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id))'); + $this->addSql('CREATE TABLE ezcobj_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, name VARCHAR(45) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id))'); + $this->addSql('CREATE TABLE ezcobj_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id))'); + $this->addSql('CREATE TABLE ezcontent_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT \'\' NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezcontent_language_name ON ezcontent_language (name)'); + $this->addSql('CREATE TABLE ezuser (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT \'\' NOT NULL, login VARCHAR(150) DEFAULT \'\' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, PRIMARY KEY(contentobject_id))'); + $this->addSql('CREATE UNIQUE INDEX ezuser_login ON ezuser (login)'); + $this->addSql('CREATE TABLE ezcontentobject_tree (node_id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT \'\' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, PRIMARY KEY(node_id))'); + $this->addSql('CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string)'); + $this->addSql('CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id)'); + $this->addSql('CREATE TABLE ezcontentbrowsebookmark (id SERIAL NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id)'); + $this->addSql('CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id)'); + $this->addSql('CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id)'); + $this->addSql('CREATE TABLE ezcontentclass (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT \'\' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id, version))'); + $this->addSql('CREATE INDEX ezcontentclass_version ON ezcontentclass (version)'); + $this->addSql('CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version)'); + $this->addSql('CREATE TABLE ezcontentclass_attribute (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT \'\' NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT \'\' NOT NULL, identifier VARCHAR(50) DEFAULT \'\' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT \'false\' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text TEXT DEFAULT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT NOT NULL, PRIMARY KEY(id, version))'); + $this->addSql('CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id)'); + $this->addSql('CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string)'); + $this->addSql('CREATE TABLE ezcontentclass_attribute_ml (contentclass_attribute_id INT NOT NULL, version INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, PRIMARY KEY(contentclass_attribute_id, version, language_id))'); + $this->addSql('CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id)'); + $this->addSql('CREATE TABLE ezcontentclass_classgroup (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id))'); + $this->addSql('CREATE TABLE ezcontentclass_name (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT \'\' NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id))'); + $this->addSql('CREATE TABLE ezcontentclassgroup (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT \'false\' NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE TABLE ezcontentobject (id SERIAL NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden BOOLEAN DEFAULT \'false\' NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id)'); + $this->addSql('CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask)'); + $this->addSql('CREATE INDEX ezcontentobject_pub ON ezcontentobject (published)'); + $this->addSql('CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id)'); + $this->addSql('CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version)'); + $this->addSql('CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id)'); + $this->addSql('CREATE INDEX ezcontentobject_status ON ezcontentobject (status)'); + $this->addSql('CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id)'); + $this->addSql('CREATE TABLE ezcontentobject_attribute (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, contentclassattribute_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT \'\', language_code VARCHAR(20) DEFAULT \'\' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(id, version))'); + $this->addSql('CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code)'); + $this->addSql('CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id)'); + $this->addSql('CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string)'); + $this->addSql('CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code)'); + $this->addSql('CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int)'); + $this->addSql('CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version)'); + $this->addSql('CREATE TABLE ezcontentobject_link (id SERIAL NOT NULL, contentclassattribute_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id)'); + $this->addSql('CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id)'); + $this->addSql('CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id)'); + $this->addSql('CREATE TABLE ezcontentobject_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT \'\' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation))'); + $this->addSql('CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id)'); + $this->addSql('CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version)'); + $this->addSql('CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name)'); + $this->addSql('CREATE TABLE ezcontentobject_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT \'\' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, PRIMARY KEY(node_id))'); + $this->addSql('CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth)'); + $this->addSql('CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id)'); + $this->addSql('CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string)'); + $this->addSql('CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id)'); + $this->addSql('CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode)'); + $this->addSql('CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string)'); + $this->addSql('CREATE TABLE ezcontentobject_version (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status)'); + $this->addSql('CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version)'); + $this->addSql('CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status)'); + $this->addSql('CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id)'); + $this->addSql('CREATE TABLE ezdfsfile (name_hash VARCHAR(34) DEFAULT \'\' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT \'application/octet-stream\' NOT NULL, scope VARCHAR(25) DEFAULT \'\' NOT NULL, size BIGINT DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT \'false\' NOT NULL, status BOOLEAN DEFAULT \'false\' NOT NULL, PRIMARY KEY(name_hash))'); + $this->addSql('CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk)'); + $this->addSql('CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name)'); + $this->addSql('CREATE INDEX ezdfsfile_name ON ezdfsfile (name)'); + $this->addSql('CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime)'); + $this->addSql('CREATE TABLE ezgmaplocation (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT \'0\' NOT NULL, longitude DOUBLE PRECISION DEFAULT \'0\' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version))'); + $this->addSql('CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude)'); + $this->addSql('CREATE TABLE ezimagefile (id SERIAL NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath TEXT NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezimagefile_file ON ezimagefile (filepath)'); + $this->addSql('CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id)'); + $this->addSql('CREATE TABLE ezkeyword (id SERIAL NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword)'); + $this->addSql('CREATE TABLE ezkeyword_attribute_link (id SERIAL NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id)'); + $this->addSql('CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id)'); + $this->addSql('CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version)'); + $this->addSql('CREATE TABLE ezmedia (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT \'\' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT \'\' NOT NULL, original_filename VARCHAR(255) DEFAULT \'\' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version))'); + $this->addSql('CREATE TABLE eznode_assignment (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, remote_id VARCHAR(100) DEFAULT \'0\' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main)'); + $this->addSql('CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version)'); + $this->addSql('CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node)'); + $this->addSql('CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version)'); + $this->addSql('CREATE TABLE eznotification (id SERIAL NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT \'true\' NOT NULL, type VARCHAR(128) DEFAULT \'\' NOT NULL, created INT DEFAULT 0 NOT NULL, data TEXT DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending)'); + $this->addSql('CREATE INDEX eznotification_owner ON eznotification (owner_id)'); + $this->addSql('CREATE TABLE ezpackage (id SERIAL NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT \'\' NOT NULL, version VARCHAR(30) DEFAULT \'0\' NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE TABLE ezpolicy (id SERIAL NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id)'); + $this->addSql('CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id)'); + $this->addSql('CREATE TABLE ezpolicy_limitation (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT \'\' NOT NULL, policy_id INT DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX policy_id ON ezpolicy_limitation (policy_id)'); + $this->addSql('CREATE TABLE ezpolicy_limitation_value (id SERIAL NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id)'); + $this->addSql('CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value)'); + $this->addSql('CREATE TABLE ezpreferences (id SERIAL NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value TEXT DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name)'); + $this->addSql('CREATE INDEX ezpreferences_name ON ezpreferences (name)'); + $this->addSql('CREATE TABLE ezrole (id SERIAL NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id))'); + $this->addSql('CREATE TABLE ezsearch_object_word_link (id SERIAL NOT NULL, contentclass_attribute_id INT DEFAULT 0 NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT \'0\' NOT NULL, identifier VARCHAR(255) DEFAULT \'\' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id)'); + $this->addSql('CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier)'); + $this->addSql('CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value)'); + $this->addSql('CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id)'); + $this->addSql('CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency)'); + $this->addSql('CREATE TABLE ezsearch_word (id SERIAL NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word)'); + $this->addSql('CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count)'); + $this->addSql('CREATE TABLE ezsection (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT \'ezcontentnavigationpart\', PRIMARY KEY(id))'); + $this->addSql('CREATE TABLE ezsite_data (name VARCHAR(60) DEFAULT \'\' NOT NULL, value TEXT NOT NULL, PRIMARY KEY(name))'); + $this->addSql('CREATE TABLE ezurl (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT \'\' NOT NULL, url TEXT DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezurl_url ON ezurl (url)'); + $this->addSql('CREATE TABLE ezurl_object_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL)'); + $this->addSql('CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id)'); + $this->addSql('CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id)'); + $this->addSql('CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version)'); + $this->addSql('CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version)'); + $this->addSql('CREATE TABLE ezurlalias (id SERIAL NOT NULL, destination_url TEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url TEXT NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5)'); + $this->addSql('CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id)'); + $this->addSql('CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id)'); + $this->addSql('CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id)'); + $this->addSql('CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url)'); + $this->addSql('CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url)'); + $this->addSql('CREATE TABLE ezurlalias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT \'\' NOT NULL, action TEXT NOT NULL, action_type VARCHAR(32) DEFAULT \'\' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text TEXT NOT NULL, PRIMARY KEY(parent, text_md5))'); + $this->addSql('CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias)'); + $this->addSql('CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent)'); + $this->addSql('CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml (action, id, link, parent)'); + $this->addSql('CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link)'); + $this->addSql('CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml (action, is_original)'); + $this->addSql('CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link)'); + $this->addSql('CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link)'); + $this->addSql('CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id)'); + $this->addSql('CREATE TABLE ezurlalias_ml_incr (id SERIAL NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE TABLE ezurlwildcard (id SERIAL NOT NULL, destination_url TEXT NOT NULL, source_url TEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE TABLE ezuser_accountkey (id SERIAL NOT NULL, hash_key VARCHAR(32) DEFAULT \'\' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX hash_key ON ezuser_accountkey (hash_key)'); + $this->addSql('CREATE TABLE ezuser_role (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT \'\', limit_value VARCHAR(255) DEFAULT \'\', role_id INT DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id)'); + $this->addSql('CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id)'); + $this->addSql('CREATE TABLE ezuser_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id))'); + $this->addSql('CREATE TABLE ibexa_setting (id SERIAL NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ibexa_setting_id ON ibexa_setting (id)'); + $this->addSql('CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier)'); + $this->addSql('CREATE TABLE ibexa_token_type (id SERIAL NOT NULL, identifier VARCHAR(64) NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier)'); + $this->addSql('CREATE TABLE ibexa_token (id SERIAL NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT \'false\' NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id)'); + $this->addSql('CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id)'); + $this->addSql('ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); + $this->addSql('ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); + $this->addSql('ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); + $this->addSql('ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); + } elseif ($this->platform instanceof SqlitePlatform) { + $this->addSql('CREATE TABLE ezbinaryfile (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, download_count INTEGER DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT \'\' NOT NULL, mime_type VARCHAR(255) DEFAULT \'\' NOT NULL, original_filename VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version))'); + $this->addSql('CREATE TABLE ezcobj_state (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT \'\' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql('CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority)'); + $this->addSql('CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask)'); + $this->addSql('CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier)'); + $this->addSql('CREATE TABLE ezcobj_state_group (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT \'\' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL)'); + $this->addSql('CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask)'); + $this->addSql('CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier)'); + $this->addSql('CREATE TABLE ezcobj_state_group_language (contentobject_state_group_id INTEGER DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id))'); + $this->addSql('CREATE TABLE ezcobj_state_language (contentobject_state_id INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, name VARCHAR(45) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id))'); + $this->addSql('CREATE TABLE ezcobj_state_link (contentobject_id INTEGER DEFAULT 0 NOT NULL, contentobject_state_id INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id))'); + $this->addSql('CREATE TABLE ezcontent_language (id BIGINT DEFAULT 0 NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT \'\' NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(id))'); + $this->addSql('CREATE INDEX ezcontent_language_name ON ezcontent_language (name)'); + $this->addSql('CREATE TABLE ezuser (contentobject_id INTEGER DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT \'\' NOT NULL, login VARCHAR(150) DEFAULT \'\' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INTEGER DEFAULT 1 NOT NULL, password_updated_at INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_id))'); + $this->addSql('CREATE UNIQUE INDEX ezuser_login ON ezuser (login)'); + $this->addSql('CREATE TABLE ezcontentobject_tree (node_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_is_published INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT \'\' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string)'); + $this->addSql('CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode)'); + $this->addSql('CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id)'); + $this->addSql('CREATE TABLE ezcontentbrowsebookmark (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, node_id INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE, CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE)'); + $this->addSql('CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id)'); + $this->addSql('CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id)'); + $this->addSql('CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id)'); + $this->addSql('CREATE TABLE ezcontentclass (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, always_available INTEGER DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT \'\' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB DEFAULT NULL, sort_field INTEGER DEFAULT 1 NOT NULL, sort_order INTEGER DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL)'); + $this->addSql('CREATE INDEX ezcontentclass_version ON ezcontentclass (version)'); + $this->addSql('CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version)'); + $this->addSql('CREATE TABLE ezcontentclass_attribute (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, can_translate INTEGER DEFAULT 1, category VARCHAR(25) DEFAULT \'\' NOT NULL, contentclass_id INTEGER DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INTEGER DEFAULT NULL, data_int2 INTEGER DEFAULT NULL, data_int3 INTEGER DEFAULT NULL, data_int4 INTEGER DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT \'\' NOT NULL, identifier VARCHAR(50) DEFAULT \'\' NOT NULL, is_information_collector INTEGER DEFAULT 0 NOT NULL, is_required INTEGER DEFAULT 0 NOT NULL, is_searchable INTEGER DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT \'0\' NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, serialized_data_text CLOB DEFAULT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB NOT NULL)'); + $this->addSql('CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id)'); + $this->addSql('CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string)'); + $this->addSql('CREATE TABLE ezcontentclass_attribute_ml (contentclass_attribute_id INTEGER NOT NULL, version INTEGER NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description CLOB DEFAULT NULL, data_text CLOB DEFAULT NULL, data_json CLOB DEFAULT NULL, PRIMARY KEY(contentclass_attribute_id, version, language_id), CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE)'); + $this->addSql('CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id)'); + $this->addSql('CREATE TABLE ezcontentclass_classgroup (contentclass_id INTEGER DEFAULT 0 NOT NULL, contentclass_version INTEGER DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id))'); + $this->addSql('CREATE TABLE ezcontentclass_name (contentclass_id INTEGER DEFAULT 0 NOT NULL, contentclass_version INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT \'\' NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id))'); + $this->addSql('CREATE TABLE ezcontentclassgroup (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT \'0\' NOT NULL)'); + $this->addSql('CREATE TABLE ezcontentobject (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentclass_id INTEGER DEFAULT 0 NOT NULL, current_version INTEGER DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0, is_hidden BOOLEAN DEFAULT \'0\' NOT NULL)'); + $this->addSql('CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id)'); + $this->addSql('CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask)'); + $this->addSql('CREATE INDEX ezcontentobject_pub ON ezcontentobject (published)'); + $this->addSql('CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id)'); + $this->addSql('CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version)'); + $this->addSql('CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id)'); + $this->addSql('CREATE INDEX ezcontentobject_status ON ezcontentobject (status)'); + $this->addSql('CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id)'); + $this->addSql('CREATE TABLE ezcontentobject_attribute (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, attribute_original_id INTEGER DEFAULT 0, contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INTEGER DEFAULT NULL, data_text CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT \'\', language_code VARCHAR(20) DEFAULT \'\' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INTEGER DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT \'\' NOT NULL)'); + $this->addSql('CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code)'); + $this->addSql('CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id)'); + $this->addSql('CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string)'); + $this->addSql('CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code)'); + $this->addSql('CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int)'); + $this->addSql('CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version)'); + $this->addSql('CREATE TABLE ezcontentobject_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_version INTEGER DEFAULT 0 NOT NULL, relation_type INTEGER DEFAULT 1 NOT NULL, to_contentobject_id INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql('CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id)'); + $this->addSql('CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id)'); + $this->addSql('CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id)'); + $this->addSql('CREATE TABLE ezcontentobject_name (contentobject_id INTEGER DEFAULT 0 NOT NULL, content_version INTEGER DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT \'\' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation))'); + $this->addSql('CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id)'); + $this->addSql('CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version)'); + $this->addSql('CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name)'); + $this->addSql('CREATE TABLE ezcontentobject_trash (node_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT \'\' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, trashed INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(node_id))'); + $this->addSql('CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth)'); + $this->addSql('CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id)'); + $this->addSql('CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string)'); + $this->addSql('CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id)'); + $this->addSql('CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode)'); + $this->addSql('CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string)'); + $this->addSql('CREATE TABLE ezcontentobject_version (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, workflow_event_pos INTEGER DEFAULT 0)'); + $this->addSql('CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status)'); + $this->addSql('CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version)'); + $this->addSql('CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status)'); + $this->addSql('CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id)'); + $this->addSql('CREATE TABLE ezdfsfile (name_hash VARCHAR(34) DEFAULT \'\' NOT NULL, name CLOB NOT NULL, name_trunk CLOB NOT NULL, datatype VARCHAR(255) DEFAULT \'application/octet-stream\' NOT NULL, scope VARCHAR(25) DEFAULT \'\' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INTEGER DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT \'0\' NOT NULL, status BOOLEAN DEFAULT \'0\' NOT NULL, PRIMARY KEY(name_hash))'); + $this->addSql('CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk)'); + $this->addSql('CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name)'); + $this->addSql('CREATE INDEX ezdfsfile_name ON ezdfsfile (name)'); + $this->addSql('CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime)'); + $this->addSql('CREATE TABLE ezgmaplocation (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_version INTEGER DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT \'0\' NOT NULL, longitude DOUBLE PRECISION DEFAULT \'0\' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version))'); + $this->addSql('CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude)'); + $this->addSql('CREATE TABLE ezimagefile (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, filepath CLOB NOT NULL)'); + $this->addSql('CREATE INDEX ezimagefile_file ON ezimagefile (filepath)'); + $this->addSql('CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id)'); + $this->addSql('CREATE TABLE ezkeyword (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, class_id INTEGER DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL)'); + $this->addSql('CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword)'); + $this->addSql('CREATE TABLE ezkeyword_attribute_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, keyword_id INTEGER DEFAULT 0 NOT NULL, objectattribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql('CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id)'); + $this->addSql('CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id)'); + $this->addSql('CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version)'); + $this->addSql('CREATE TABLE ezmedia (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT \'\' NOT NULL, has_controller INTEGER DEFAULT 0, height INTEGER DEFAULT NULL, is_autoplay INTEGER DEFAULT 0, is_loop INTEGER DEFAULT 0, mime_type VARCHAR(50) DEFAULT \'\' NOT NULL, original_filename VARCHAR(255) DEFAULT \'\' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version))'); + $this->addSql('CREATE TABLE eznode_assignment (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, from_node_id INTEGER DEFAULT 0, is_main INTEGER DEFAULT 0 NOT NULL, op_code INTEGER DEFAULT 0 NOT NULL, parent_node INTEGER DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, remote_id VARCHAR(100) DEFAULT \'0\' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, priority INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql('CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main)'); + $this->addSql('CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version)'); + $this->addSql('CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node)'); + $this->addSql('CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version)'); + $this->addSql('CREATE TABLE eznotification (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT \'1\' NOT NULL, type VARCHAR(128) DEFAULT \'\' NOT NULL, created INTEGER DEFAULT 0 NOT NULL, data CLOB DEFAULT NULL)'); + $this->addSql('CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending)'); + $this->addSql('CREATE INDEX eznotification_owner ON eznotification (owner_id)'); + $this->addSql('CREATE TABLE ezpackage (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, install_date INTEGER DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT \'\' NOT NULL, version VARCHAR(30) DEFAULT \'0\' NOT NULL)'); + $this->addSql('CREATE TABLE ezpolicy (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INTEGER DEFAULT 0 NOT NULL, role_id INTEGER DEFAULT NULL)'); + $this->addSql('CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id)'); + $this->addSql('CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id)'); + $this->addSql('CREATE TABLE ezpolicy_limitation (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT \'\' NOT NULL, policy_id INTEGER DEFAULT NULL)'); + $this->addSql('CREATE INDEX policy_id ON ezpolicy_limitation (policy_id)'); + $this->addSql('CREATE TABLE ezpolicy_limitation_value (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, limitation_id INTEGER DEFAULT NULL, value VARCHAR(255) DEFAULT NULL)'); + $this->addSql('CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id)'); + $this->addSql('CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value)'); + $this->addSql('CREATE TABLE ezpreferences (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INTEGER DEFAULT 0 NOT NULL, value CLOB DEFAULT NULL)'); + $this->addSql('CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name)'); + $this->addSql('CREATE INDEX ezpreferences_name ON ezpreferences (name)'); + $this->addSql('CREATE TABLE ezrole (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, is_new INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, value CHAR(1) DEFAULT NULL, version INTEGER DEFAULT 0)'); + $this->addSql('CREATE TABLE ezsearch_object_word_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentclass_attribute_id INTEGER DEFAULT 0 NOT NULL, contentclass_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT \'0\' NOT NULL, identifier VARCHAR(255) DEFAULT \'\' NOT NULL, integer_value INTEGER DEFAULT 0 NOT NULL, next_word_id INTEGER DEFAULT 0 NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, prev_word_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, section_id INTEGER DEFAULT 0 NOT NULL, word_id INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL)'); + $this->addSql('CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id)'); + $this->addSql('CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier)'); + $this->addSql('CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value)'); + $this->addSql('CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id)'); + $this->addSql('CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency)'); + $this->addSql('CREATE TABLE ezsearch_word (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, object_count INTEGER DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL)'); + $this->addSql('CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word)'); + $this->addSql('CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count)'); + $this->addSql('CREATE TABLE ezsection (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT \'ezcontentnavigationpart\')'); + $this->addSql('CREATE TABLE ezsite_data (name VARCHAR(60) DEFAULT \'\' NOT NULL, value CLOB NOT NULL, PRIMARY KEY(name))'); + $this->addSql('CREATE TABLE ezurl (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, is_valid INTEGER DEFAULT 1 NOT NULL, last_checked INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT \'\' NOT NULL, url CLOB DEFAULT NULL)'); + $this->addSql('CREATE INDEX ezurl_url ON ezurl (url)'); + $this->addSql('CREATE TABLE ezurl_object_link (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_attribute_version INTEGER DEFAULT 0 NOT NULL, url_id INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql('CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id)'); + $this->addSql('CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id)'); + $this->addSql('CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version)'); + $this->addSql('CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version)'); + $this->addSql('CREATE TABLE ezurlalias (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, forward_to_id INTEGER DEFAULT 0 NOT NULL, is_imported INTEGER DEFAULT 0 NOT NULL, is_internal INTEGER DEFAULT 1 NOT NULL, is_wildcard INTEGER DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url CLOB NOT NULL)'); + $this->addSql('CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5)'); + $this->addSql('CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id)'); + $this->addSql('CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id)'); + $this->addSql('CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id)'); + $this->addSql('CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url)'); + $this->addSql('CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url)'); + $this->addSql('CREATE TABLE ezurlalias_ml (parent INTEGER DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT \'\' NOT NULL, "action" CLOB NOT NULL, action_type VARCHAR(32) DEFAULT \'\' NOT NULL, alias_redirects INTEGER DEFAULT 1 NOT NULL, id INTEGER DEFAULT 0 NOT NULL, is_alias INTEGER DEFAULT 0 NOT NULL, is_original INTEGER DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INTEGER DEFAULT 0 NOT NULL, text CLOB NOT NULL, PRIMARY KEY(parent, text_md5))'); + $this->addSql('CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias)'); + $this->addSql('CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent)'); + $this->addSql('CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml ("action", id, link, parent)'); + $this->addSql('CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link)'); + $this->addSql('CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml ("action", is_original)'); + $this->addSql('CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link)'); + $this->addSql('CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link)'); + $this->addSql('CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id)'); + $this->addSql('CREATE TABLE ezurlalias_ml_incr (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)'); + $this->addSql('CREATE TABLE ezurlwildcard (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, source_url CLOB NOT NULL, type INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql('CREATE TABLE ezuser_accountkey (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT \'\' NOT NULL, time INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql('CREATE INDEX hash_key ON ezuser_accountkey (hash_key)'); + $this->addSql('CREATE TABLE ezuser_role (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT \'\', limit_value VARCHAR(255) DEFAULT \'\', role_id INTEGER DEFAULT NULL)'); + $this->addSql('CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id)'); + $this->addSql('CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id)'); + $this->addSql('CREATE TABLE ezuser_setting (user_id INTEGER DEFAULT 0 NOT NULL, is_enabled INTEGER DEFAULT 0 NOT NULL, max_login INTEGER DEFAULT NULL, PRIMARY KEY(user_id))'); + $this->addSql('CREATE TABLE ibexa_setting (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value CLOB NOT NULL --(DC2Type:json) +)'); + $this->addSql('CREATE INDEX ibexa_setting_id ON ibexa_setting (id)'); + $this->addSql('CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier)'); + $this->addSql('CREATE TABLE ibexa_token_type (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL)'); + $this->addSql('CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier)'); + $this->addSql('CREATE TABLE ibexa_token (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, type_id INTEGER NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, expires INTEGER DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT \'0\' NOT NULL, CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE)'); + $this->addSql('CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id)'); + $this->addSql('CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id)'); + } else { + $this->abortIf(true, sprintf('Unsupported platform "%s".', $this->platform->getName())); + } } } diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml b/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml deleted file mode 100644 index d7c5b372ce..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml +++ /dev/null @@ -1,243 +0,0 @@ -up: - - file: 'sql/mysql/data/0001_insert_ezcobj_state.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0001_insert_ezcobj_state.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0001_insert_ezcobj_state.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0002_insert_ezcobj_state_group.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0002_insert_ezcobj_state_group.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0002_insert_ezcobj_state_group.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0003_insert_ezcobj_state_group_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0003_insert_ezcobj_state_group_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0003_insert_ezcobj_state_group_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0004_insert_ezcobj_state_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0004_insert_ezcobj_state_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0004_insert_ezcobj_state_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0005_insert_ezcobj_state_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0005_insert_ezcobj_state_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0005_insert_ezcobj_state_link.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0006_insert_ezcontent_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0006_insert_ezcontent_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0006_insert_ezcontent_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0007_insert_ezcontentclass.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0007_insert_ezcontentclass.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0007_insert_ezcontentclass.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0008_insert_ezcontentclass_attribute.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0008_insert_ezcontentclass_attribute.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0008_insert_ezcontentclass_attribute.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0009_insert_ezcontentclass_classgroup.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0009_insert_ezcontentclass_classgroup.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0009_insert_ezcontentclass_classgroup.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0010_insert_ezcontentclass_name.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0010_insert_ezcontentclass_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0010_insert_ezcontentclass_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0011_insert_ezcontentclassgroup.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0011_insert_ezcontentclassgroup.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0011_insert_ezcontentclassgroup.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0012_insert_ezcontentobject.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0012_insert_ezcontentobject.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0012_insert_ezcontentobject.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0013_insert_ezcontentobject_attribute.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0013_insert_ezcontentobject_attribute.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0013_insert_ezcontentobject_attribute.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0014_insert_ezcontentobject_name.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0014_insert_ezcontentobject_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0014_insert_ezcontentobject_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0015_insert_ezcontentobject_tree.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0015_insert_ezcontentobject_tree.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0015_insert_ezcontentobject_tree.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0016_insert_ezcontentobject_version.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0016_insert_ezcontentobject_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0016_insert_ezcontentobject_version.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0017_insert_eznode_assignment.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0017_insert_eznode_assignment.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0017_insert_eznode_assignment.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0018_insert_ezpolicy.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0018_insert_ezpolicy.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0018_insert_ezpolicy.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0019_insert_ezpolicy_limitation.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0019_insert_ezpolicy_limitation.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0019_insert_ezpolicy_limitation.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0020_insert_ezpolicy_limitation_value.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0020_insert_ezpolicy_limitation_value.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0020_insert_ezpolicy_limitation_value.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0021_insert_ezrole.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0021_insert_ezrole.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0021_insert_ezrole.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0022_insert_ezsection.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0022_insert_ezsection.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0022_insert_ezsection.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0023_insert_ezsite_data.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0023_insert_ezsite_data.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0023_insert_ezsite_data.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0024_insert_ezurlalias.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0024_insert_ezurlalias.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0024_insert_ezurlalias.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0025_insert_ezurlalias_ml.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0025_insert_ezurlalias_ml.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0025_insert_ezurlalias_ml.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0026_insert_ezurlalias_ml_incr.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0026_insert_ezurlalias_ml_incr.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0026_insert_ezurlalias_ml_incr.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0027_insert_ezuser.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0027_insert_ezuser.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0027_insert_ezuser.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0028_insert_ezuser_role.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0028_insert_ezuser_role.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0028_insert_ezuser_role.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0029_insert_ezuser_setting.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0029_insert_ezuser_setting.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0029_insert_ezuser_setting.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0030_insert_ezpreferences.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0030_insert_ezpreferences.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0030_insert_ezpreferences.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/data/0031_setval_ezcobj_state_group_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0032_setval_ezcobj_state_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0033_setval_ezcontentbrowsebookmark_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0034_setval_ezcontentclass_attribute_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0035_setval_ezcontentclass_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0036_setval_ezcontentclassgroup_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0037_setval_ezcontentobject_attribute_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0038_setval_ezcontentobject_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0039_setval_ezcontentobject_link_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0040_setval_ezcontentobject_tree_node_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0041_setval_ezcontentobject_version_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0042_setval_ezimagefile_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0043_setval_ezkeyword_attribute_link_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0044_setval_ezkeyword_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0045_setval_eznode_assignment_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0046_setval_eznotification_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0047_setval_ezpackage_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0048_setval_ezpolicy_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0049_setval_ezpolicy_limitation_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0050_setval_ezpolicy_limitation_value_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0051_setval_ezpreferences_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0052_setval_ezrole_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0053_setval_ezsearch_object_word_link_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0054_setval_ezsearch_word_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0055_setval_ezsection_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0056_setval_ezurl_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0057_setval_ezurlalias_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0058_setval_ezurlalias_ml_incr_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0059_setval_ezurlwildcard_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0060_setval_ezuser_accountkey_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0061_setval_ezuser_role_id_seq.sql' - platforms: 'postgresql' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml b/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml deleted file mode 100644 index 1aca414724..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml +++ /dev/null @@ -1,773 +0,0 @@ -up: - - file: 'sql/mysql/0001_create_ezbinaryfile.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0001_create_ezbinaryfile.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0001_create_ezbinaryfile.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0002_create_ezcobj_state.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0002_create_ezcobj_state.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0002_create_ezcobj_state.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0003_index_ezcobj_state_ezcobj_state_priority.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0003_index_ezcobj_state_ezcobj_state_priority.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0004_index_ezcobj_state_ezcobj_state_lmask.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0004_index_ezcobj_state_ezcobj_state_lmask.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0005_index_ezcobj_state_ezcobj_state_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0005_index_ezcobj_state_ezcobj_state_identifier.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0003_create_ezcobj_state_group.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0006_create_ezcobj_state_group.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0006_create_ezcobj_state_group.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0004_create_ezcobj_state_group_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0009_create_ezcobj_state_group_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0009_create_ezcobj_state_group_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0005_create_ezcobj_state_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0010_create_ezcobj_state_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0010_create_ezcobj_state_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0006_create_ezcobj_state_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0011_create_ezcobj_state_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0011_create_ezcobj_state_link.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0007_create_ezcontent_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0012_create_ezcontent_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0012_create_ezcontent_language.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0013_index_ezcontent_language_ezcontent_language_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0013_index_ezcontent_language_ezcontent_language_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0008_create_ezuser.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0014_create_ezuser.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0014_create_ezuser.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0015_index_ezuser_ezuser_login.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0015_index_ezuser_ezuser_login.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0009_create_ezcontentobject_tree.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0016_create_ezcontentobject_tree.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0016_create_ezcontentobject_tree.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0023_index_ezcontentobject_tree_modified_subnode.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0023_index_ezcontentobject_tree_modified_subnode.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0010_create_ezcontentbrowsebookmark.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0025_create_ezcontentbrowsebookmark.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0025_create_ezcontentbrowsebookmark.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0011_create_ezcontentclass.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0029_create_ezcontentclass.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0029_create_ezcontentclass.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0030_index_ezcontentclass_ezcontentclass_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0030_index_ezcontentclass_ezcontentclass_version.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0031_index_ezcontentclass_ezcontentclass_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0031_index_ezcontentclass_ezcontentclass_identifier.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0012_create_ezcontentclass_attribute.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0032_create_ezcontentclass_attribute.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0032_create_ezcontentclass_attribute.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0013_create_ezcontentclass_attribute_ml.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0035_create_ezcontentclass_attribute_ml.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0035_create_ezcontentclass_attribute_ml.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0014_create_ezcontentclass_classgroup.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0037_create_ezcontentclass_classgroup.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0037_create_ezcontentclass_classgroup.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0015_create_ezcontentclass_name.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0038_create_ezcontentclass_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0038_create_ezcontentclass_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0016_create_ezcontentclassgroup.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0039_create_ezcontentclassgroup.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0039_create_ezcontentclassgroup.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0017_create_ezcontentobject.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0040_create_ezcontentobject.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0040_create_ezcontentobject.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0041_index_ezcontentobject_ezcontentobject_classid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0041_index_ezcontentobject_ezcontentobject_classid.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0042_index_ezcontentobject_ezcontentobject_lmask.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0042_index_ezcontentobject_ezcontentobject_lmask.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0043_index_ezcontentobject_ezcontentobject_pub.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0043_index_ezcontentobject_ezcontentobject_pub.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0044_index_ezcontentobject_ezcontentobject_section.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0044_index_ezcontentobject_ezcontentobject_section.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0045_index_ezcontentobject_ezcontentobject_currentversion.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0045_index_ezcontentobject_ezcontentobject_currentversion.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0046_index_ezcontentobject_ezcontentobject_owner.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0046_index_ezcontentobject_ezcontentobject_owner.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0047_index_ezcontentobject_ezcontentobject_status.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0047_index_ezcontentobject_ezcontentobject_status.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0048_index_ezcontentobject_ezcontentobject_remote_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0048_index_ezcontentobject_ezcontentobject_remote_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0018_create_ezcontentobject_attribute.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0049_create_ezcontentobject_attribute.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0049_create_ezcontentobject_attribute.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0052_index_ezcontentobject_attribute_sort_key_string.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0052_index_ezcontentobject_attribute_sort_key_string.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0054_index_ezcontentobject_attribute_sort_key_int.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0054_index_ezcontentobject_attribute_sort_key_int.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0019_create_ezcontentobject_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0056_create_ezcontentobject_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0056_create_ezcontentobject_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0058_index_ezcontentobject_link_ezco_link_from.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0058_index_ezcontentobject_link_ezco_link_from.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0059_index_ezcontentobject_link_ezco_link_cca_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0059_index_ezcontentobject_link_ezco_link_cca_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0020_create_ezcontentobject_name.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0060_create_ezcontentobject_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0060_create_ezcontentobject_name.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0021_create_ezcontentobject_trash.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0064_create_ezcontentobject_trash.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0064_create_ezcontentobject_trash.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0022_create_ezcontentobject_version.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0071_create_ezcontentobject_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0071_create_ezcontentobject_version.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0072_index_ezcontentobject_version_ezcobj_version_status.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0072_index_ezcontentobject_version_ezcobj_version_status.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0073_index_ezcontentobject_version_idx_object_version_objver.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0073_index_ezcontentobject_version_idx_object_version_objver.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0023_create_ezdfsfile.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0076_create_ezdfsfile.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0076_create_ezdfsfile.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0078_index_ezdfsfile_ezdfsfile_expired_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0078_index_ezdfsfile_ezdfsfile_expired_name.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0079_index_ezdfsfile_ezdfsfile_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0079_index_ezdfsfile_ezdfsfile_name.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0080_index_ezdfsfile_ezdfsfile_mtime.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0080_index_ezdfsfile_ezdfsfile_mtime.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0024_create_ezgmaplocation.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0081_create_ezgmaplocation.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0081_create_ezgmaplocation.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0082_index_ezgmaplocation_latitude_longitude_key.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0082_index_ezgmaplocation_latitude_longitude_key.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0025_create_ezimagefile.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0083_create_ezimagefile.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0083_create_ezimagefile.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0084_index_ezimagefile_ezimagefile_file.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0084_index_ezimagefile_ezimagefile_file.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0085_index_ezimagefile_ezimagefile_coid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0085_index_ezimagefile_ezimagefile_coid.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0026_create_ezkeyword.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0086_create_ezkeyword.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0086_create_ezkeyword.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0087_index_ezkeyword_ezkeyword_keyword.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0087_index_ezkeyword_ezkeyword_keyword.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0027_create_ezkeyword_attribute_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0088_create_ezkeyword_attribute_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0088_create_ezkeyword_attribute_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0028_create_ezmedia.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0092_create_ezmedia.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0092_create_ezmedia.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0029_create_eznode_assignment.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0093_create_eznode_assignment.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0093_create_eznode_assignment.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0094_index_eznode_assignment_eznode_assignment_is_main.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0094_index_eznode_assignment_eznode_assignment_is_main.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0096_index_eznode_assignment_eznode_assignment_parent_node.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0096_index_eznode_assignment_eznode_assignment_parent_node.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0097_index_eznode_assignment_eznode_assignment_co_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0097_index_eznode_assignment_eznode_assignment_co_version.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0030_create_eznotification.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0098_create_eznotification.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0098_create_eznotification.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0099_index_eznotification_eznotification_owner_is_pending.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0099_index_eznotification_eznotification_owner_is_pending.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0100_index_eznotification_eznotification_owner.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0100_index_eznotification_eznotification_owner.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0031_create_ezpackage.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0101_create_ezpackage.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0101_create_ezpackage.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0032_create_ezpolicy.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0102_create_ezpolicy.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0102_create_ezpolicy.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0103_index_ezpolicy_ezpolicy_role_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0103_index_ezpolicy_ezpolicy_role_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0104_index_ezpolicy_ezpolicy_original_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0104_index_ezpolicy_ezpolicy_original_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0033_create_ezpolicy_limitation.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0105_create_ezpolicy_limitation.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0105_create_ezpolicy_limitation.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0106_index_ezpolicy_limitation_policy_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0106_index_ezpolicy_limitation_policy_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0034_create_ezpolicy_limitation_value.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0107_create_ezpolicy_limitation_value.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0107_create_ezpolicy_limitation_value.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0035_create_ezpreferences.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0110_create_ezpreferences.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0110_create_ezpreferences.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0111_index_ezpreferences_ezpreferences_user_id_idx.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0111_index_ezpreferences_ezpreferences_user_id_idx.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0112_index_ezpreferences_ezpreferences_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0112_index_ezpreferences_ezpreferences_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0036_create_ezrole.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0113_create_ezrole.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0113_create_ezrole.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0037_create_ezsearch_object_word_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0114_create_ezsearch_object_word_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0114_create_ezsearch_object_word_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0038_create_ezsearch_word.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0120_create_ezsearch_word.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0120_create_ezsearch_word.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0121_index_ezsearch_word_ezsearch_word_word_i.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0121_index_ezsearch_word_ezsearch_word_word_i.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0122_index_ezsearch_word_ezsearch_word_obj_count.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0122_index_ezsearch_word_ezsearch_word_obj_count.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0039_create_ezsection.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0123_create_ezsection.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0123_create_ezsection.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0040_create_ezsite_data.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0124_create_ezsite_data.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0124_create_ezsite_data.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0041_create_ezurl.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0125_create_ezurl.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0125_create_ezurl.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0126_index_ezurl_ezurl_url.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0126_index_ezurl_ezurl_url.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0042_create_ezurl_object_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0127_create_ezurl_object_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0127_create_ezurl_object_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0129_index_ezurl_object_link_ezurl_ol_url_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0129_index_ezurl_object_link_ezurl_ol_url_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0043_create_ezurlalias.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0132_create_ezurlalias.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0132_create_ezurlalias.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0133_index_ezurlalias_ezurlalias_source_md5.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0133_index_ezurlalias_ezurlalias_source_md5.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0135_index_ezurlalias_ezurlalias_forward_to_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0135_index_ezurlalias_ezurlalias_forward_to_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0137_index_ezurlalias_ezurlalias_source_url.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0137_index_ezurlalias_ezurlalias_source_url.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0138_index_ezurlalias_ezurlalias_desturl.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0138_index_ezurlalias_ezurlalias_desturl.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0044_create_ezurlalias_ml.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0139_create_ezurlalias_ml.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0139_create_ezurlalias_ml.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0045_create_ezurlalias_ml_incr.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0148_create_ezurlalias_ml_incr.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0148_create_ezurlalias_ml_incr.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0046_create_ezurlwildcard.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0149_create_ezurlwildcard.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0149_create_ezurlwildcard.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0047_create_ezuser_accountkey.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0150_create_ezuser_accountkey.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0150_create_ezuser_accountkey.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0151_index_ezuser_accountkey_hash_key.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0151_index_ezuser_accountkey_hash_key.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0048_create_ezuser_role.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0152_create_ezuser_role.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0152_create_ezuser_role.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0153_index_ezuser_role_ezuser_role_role_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0153_index_ezuser_role_ezuser_role_role_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0154_index_ezuser_role_ezuser_role_contentobject_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0154_index_ezuser_role_ezuser_role_contentobject_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0049_create_ezuser_setting.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0155_create_ezuser_setting.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0155_create_ezuser_setting.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0050_create_ibexa_setting.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0156_create_ibexa_setting.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0156_create_ibexa_setting.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0051_create_ibexa_token_type.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0159_create_ibexa_token_type.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0159_create_ibexa_token_type.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0052_create_ibexa_token.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0161_create_ibexa_token.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0161_create_ibexa_token.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0053_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0164_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql' - platforms: 'postgresql' - - file: 'sql/mysql/0054_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0165_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql' - platforms: 'postgresql' - - file: 'sql/mysql/0055_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0166_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql' - platforms: 'postgresql' - - file: 'sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql' - platforms: 'postgresql' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ezbinaryfile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ezbinaryfile.sql deleted file mode 100644 index 4550a8fde8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ezbinaryfile.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezbinaryfile (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ezcobj_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ezcobj_state.sql deleted file mode 100644 index b7b2dcff8a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ezcobj_state.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, INDEX ezcobj_state_priority (priority), INDEX ezcobj_state_lmask (language_mask), UNIQUE INDEX ezcobj_state_identifier (group_id, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ezcobj_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ezcobj_state_group.sql deleted file mode 100644 index 8db47cc4fe..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ezcobj_state_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state_group (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ezcobj_state_group_lmask (language_mask), UNIQUE INDEX ezcobj_state_group_identifier (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ezcobj_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ezcobj_state_group_language.sql deleted file mode 100644 index 7d6cb0efc5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ezcobj_state_group_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ezcobj_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ezcobj_state_language.sql deleted file mode 100644 index ce7fbc900b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ezcobj_state_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ezcobj_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ezcobj_state_link.sql deleted file mode 100644 index 8905130d9f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ezcobj_state_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ezcontent_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ezcontent_language.sql deleted file mode 100644 index d314ccc990..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ezcontent_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontent_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ezcontent_language_name (name(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ezuser.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ezuser.sql deleted file mode 100644 index 902d1740c8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ezuser.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezuser (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, UNIQUE INDEX ezuser_login (login), PRIMARY KEY(contentobject_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ezcontentobject_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ezcontentobject_tree.sql deleted file mode 100644 index ba5486f96c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ezcontentobject_tree.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_tree (node_id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, INDEX ezcontentobject_tree_p_node_id (parent_node_id), INDEX ezcontentobject_tree_path_ident (path_identification_string(50)), INDEX ezcontentobject_tree_contentobject_id_path_string (path_string(191), contentobject_id), INDEX ezcontentobject_tree_co_id (contentobject_id), INDEX ezcontentobject_tree_depth (depth), INDEX ezcontentobject_tree_path (path_string(191)), INDEX modified_subnode (modified_subnode), INDEX ezcontentobject_tree_remote_id (remote_id), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ezcontentbrowsebookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ezcontentbrowsebookmark.sql deleted file mode 100644 index f7d7851f12..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ezcontentbrowsebookmark.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentbrowsebookmark (id INT AUTO_INCREMENT NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ezcontentbrowsebookmark_location (node_id), INDEX ezcontentbrowsebookmark_user (user_id), INDEX ezcontentbrowsebookmark_user_location (user_id, node_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ezcontentclass.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ezcontentclass.sql deleted file mode 100644 index 333a9e52f4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ezcontentclass.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, INDEX ezcontentclass_version (version), INDEX ezcontentclass_identifier (identifier, version), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ezcontentclass_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ezcontentclass_attribute.sql deleted file mode 100644 index b222dde913..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ezcontentclass_attribute.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass_attribute (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail TINYINT(1) DEFAULT '0' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text LONGTEXT DEFAULT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT NOT NULL, INDEX ezcontentclass_attr_ccid (contentclass_id), INDEX ezcontentclass_attr_dts (data_type_string), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ezcontentclass_attribute_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ezcontentclass_attribute_ml.sql deleted file mode 100644 index 8e6a1f9070..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ezcontentclass_attribute_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass_attribute_ml (contentclass_attribute_id INT NOT NULL, version INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, INDEX ezcontentclass_attribute_ml_lang_fk (language_id), PRIMARY KEY(contentclass_attribute_id, version, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ezcontentclass_classgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ezcontentclass_classgroup.sql deleted file mode 100644 index f5a3c2d20a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ezcontentclass_classgroup.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass_classgroup (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ezcontentclass_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ezcontentclass_name.sql deleted file mode 100644 index c6e7644e14..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ezcontentclass_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass_name (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ezcontentclassgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ezcontentclassgroup.sql deleted file mode 100644 index e39f7864f8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ezcontentclassgroup.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclassgroup (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system TINYINT(1) DEFAULT '0' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ezcontentobject.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ezcontentobject.sql deleted file mode 100644 index 0e84bc9642..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ezcontentobject.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject (id INT AUTO_INCREMENT NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden TINYINT(1) DEFAULT '0' NOT NULL, INDEX ezcontentobject_classid (contentclass_id), INDEX ezcontentobject_lmask (language_mask), INDEX ezcontentobject_pub (published), INDEX ezcontentobject_section (section_id), INDEX ezcontentobject_currentversion (current_version), INDEX ezcontentobject_owner (owner_id), INDEX ezcontentobject_status (status), UNIQUE INDEX ezcontentobject_remote_id (remote_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ezcontentobject_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ezcontentobject_attribute.sql deleted file mode 100644 index a15e961c0c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ezcontentobject_attribute.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_attribute (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, contentclassattribute_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, INDEX ezcontentobject_attribute_co_id_ver_lang_code (contentobject_id, version, language_code), INDEX ezcontentobject_classattr_id (contentclassattribute_id), INDEX sort_key_string (sort_key_string(191)), INDEX ezcontentobject_attribute_language_code (language_code), INDEX sort_key_int (sort_key_int), INDEX ezcontentobject_attribute_co_id_ver (contentobject_id, version), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ezcontentobject_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ezcontentobject_link.sql deleted file mode 100644 index b41b6b97cb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ezcontentobject_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_link (id INT AUTO_INCREMENT NOT NULL, contentclassattribute_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, INDEX ezco_link_to_co_id (to_contentobject_id), INDEX ezco_link_from (from_contentobject_id, from_contentobject_version, contentclassattribute_id), INDEX ezco_link_cca_id (contentclassattribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ezcontentobject_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ezcontentobject_name.sql deleted file mode 100644 index 8031fb6dce..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ezcontentobject_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, INDEX ezcontentobject_name_lang_id (language_id), INDEX ezcontentobject_name_cov_id (content_version), INDEX ezcontentobject_name_name (name(191)), PRIMARY KEY(contentobject_id, content_version, content_translation)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ezcontentobject_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ezcontentobject_trash.sql deleted file mode 100644 index a6a8e86f13..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ezcontentobject_trash.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, INDEX ezcobj_trash_depth (depth), INDEX ezcobj_trash_p_node_id (parent_node_id), INDEX ezcobj_trash_path_ident (path_identification_string(50)), INDEX ezcobj_trash_co_id (contentobject_id), INDEX ezcobj_trash_modified_subnode (modified_subnode), INDEX ezcobj_trash_path (path_string(191)), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ezcontentobject_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ezcontentobject_version.sql deleted file mode 100644 index 50606c73b6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ezcontentobject_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_version (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, INDEX ezcobj_version_status (status), INDEX idx_object_version_objver (contentobject_id, version), INDEX ezcontobj_version_obj_status (contentobject_id, status), INDEX ezcobj_version_creator_id (creator_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ezdfsfile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ezdfsfile.sql deleted file mode 100644 index 165177694f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ezdfsfile.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezdfsfile (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired TINYINT(1) DEFAULT '0' NOT NULL, status TINYINT(1) DEFAULT '0' NOT NULL, INDEX ezdfsfile_name_trunk (name_trunk(191)), INDEX ezdfsfile_expired_name (expired, name(191)), INDEX ezdfsfile_name (name(191)), INDEX ezdfsfile_mtime (mtime), PRIMARY KEY(name_hash)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ezgmaplocation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ezgmaplocation.sql deleted file mode 100644 index 096c46dd2d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ezgmaplocation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezgmaplocation (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, INDEX latitude_longitude_key (latitude, longitude), PRIMARY KEY(contentobject_attribute_id, contentobject_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ezimagefile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ezimagefile.sql deleted file mode 100644 index 5b9e6d2c2c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ezimagefile.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezimagefile (id INT AUTO_INCREMENT NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath LONGTEXT NOT NULL, INDEX ezimagefile_file (filepath(191)), INDEX ezimagefile_coid (contentobject_attribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ezkeyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ezkeyword.sql deleted file mode 100644 index 2a586c9192..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ezkeyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezkeyword (id INT AUTO_INCREMENT NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, INDEX ezkeyword_keyword (keyword(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ezkeyword_attribute_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ezkeyword_attribute_link.sql deleted file mode 100644 index 3cd519f470..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ezkeyword_attribute_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezkeyword_attribute_link (id INT AUTO_INCREMENT NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, INDEX ezkeyword_attr_link_oaid (objectattribute_id), INDEX ezkeyword_attr_link_kid_oaid (keyword_id, objectattribute_id), INDEX ezkeyword_attr_link_oaid_ver (objectattribute_id, version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ezmedia.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ezmedia.sql deleted file mode 100644 index 2b9c743704..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ezmedia.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezmedia (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_eznode_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_eznode_assignment.sql deleted file mode 100644 index e7765ae00a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_eznode_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE eznode_assignment (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, INDEX eznode_assignment_is_main (is_main), INDEX eznode_assignment_coid_cov (contentobject_id, contentobject_version), INDEX eznode_assignment_parent_node (parent_node), INDEX eznode_assignment_co_version (contentobject_version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_eznotification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_eznotification.sql deleted file mode 100644 index 20edb16ebd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_eznotification.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE eznotification (id INT AUTO_INCREMENT NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending TINYINT(1) DEFAULT '1' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INT DEFAULT 0 NOT NULL, data LONGTEXT DEFAULT NULL, INDEX eznotification_owner_is_pending (owner_id, is_pending), INDEX eznotification_owner (owner_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ezpackage.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ezpackage.sql deleted file mode 100644 index adba6500dd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ezpackage.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpackage (id INT AUTO_INCREMENT NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ezpolicy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ezpolicy.sql deleted file mode 100644 index a8130e913a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ezpolicy.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpolicy (id INT AUTO_INCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, INDEX ezpolicy_role_id (role_id), INDEX ezpolicy_original_id (original_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ezpolicy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ezpolicy_limitation.sql deleted file mode 100644 index 992c1aba35..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ezpolicy_limitation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpolicy_limitation (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, INDEX policy_id (policy_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ezpolicy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ezpolicy_limitation_value.sql deleted file mode 100644 index d354086aa4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ezpolicy_limitation_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpolicy_limitation_value (id INT AUTO_INCREMENT NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, INDEX ezpolicy_limit_value_limit_id (limitation_id), INDEX ezpolicy_limitation_value_val (value(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ezpreferences.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ezpreferences.sql deleted file mode 100644 index 67795da3c0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ezpreferences.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpreferences (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value LONGTEXT DEFAULT NULL, INDEX ezpreferences_user_id_idx (user_id, name), INDEX ezpreferences_name (name), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ezrole.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ezrole.sql deleted file mode 100644 index ae9d6d1647..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ezrole.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezrole (id INT AUTO_INCREMENT NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ezsearch_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ezsearch_object_word_link.sql deleted file mode 100644 index 5bc76956bd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ezsearch_object_word_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezsearch_object_word_link (id INT AUTO_INCREMENT NOT NULL, contentclass_attribute_id INT DEFAULT 0 NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ezsearch_object_word_link_object (contentobject_id), INDEX ezsearch_object_word_link_identifier (identifier(191)), INDEX ezsearch_object_word_link_integer_value (integer_value), INDEX ezsearch_object_word_link_word (word_id), INDEX ezsearch_object_word_link_frequency (frequency), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ezsearch_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ezsearch_word.sql deleted file mode 100644 index 07b9e3eeb0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ezsearch_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezsearch_word (id INT AUTO_INCREMENT NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, INDEX ezsearch_word_word_i (word), INDEX ezsearch_word_obj_count (object_count), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ezsection.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ezsection.sql deleted file mode 100644 index 9c6a91c30d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ezsection.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezsection (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ezsite_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ezsite_data.sql deleted file mode 100644 index 6ed8657e61..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ezsite_data.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezsite_data (name VARCHAR(60) DEFAULT '' NOT NULL, value LONGTEXT NOT NULL, PRIMARY KEY(name)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ezurl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ezurl.sql deleted file mode 100644 index bd531c02d4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ezurl.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurl (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url LONGTEXT DEFAULT NULL, INDEX ezurl_url (url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ezurl_object_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ezurl_object_link.sql deleted file mode 100644 index a795d1afba..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ezurl_object_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurl_object_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL, INDEX ezurl_ol_coa_id (contentobject_attribute_id), INDEX ezurl_ol_url_id (url_id), INDEX ezurl_ol_coa_version (contentobject_attribute_version), INDEX ezurl_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ezurlalias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ezurlalias.sql deleted file mode 100644 index 10be1ded9d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ezurlalias.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurlalias (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url LONGTEXT NOT NULL, INDEX ezurlalias_source_md5 (source_md5), INDEX ezurlalias_wcard_fwd (is_wildcard, forward_to_id), INDEX ezurlalias_forward_to_id (forward_to_id), INDEX ezurlalias_imp_wcard_fwd (is_imported, is_wildcard, forward_to_id), INDEX ezurlalias_source_url (source_url(191)), INDEX ezurlalias_desturl (destination_url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ezurlalias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ezurlalias_ml.sql deleted file mode 100644 index f60a5debf8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ezurlalias_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurlalias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, action LONGTEXT NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text LONGTEXT NOT NULL, INDEX ezurlalias_ml_actt_org_al (action_type, is_original, is_alias), INDEX ezurlalias_ml_text_lang (text(32), lang_mask, parent), INDEX ezurlalias_ml_par_act_id_lnk (action(32), id, link, parent), INDEX ezurlalias_ml_par_lnk_txt (parent, text(32), link), INDEX ezurlalias_ml_act_org (action(32), is_original), INDEX ezurlalias_ml_text (text(32), id, link), INDEX ezurlalias_ml_link (link), INDEX ezurlalias_ml_id (id), PRIMARY KEY(parent, text_md5)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ezurlalias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ezurlalias_ml_incr.sql deleted file mode 100644 index 0e028a410a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ezurlalias_ml_incr.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurlalias_ml_incr (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ezurlwildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ezurlwildcard.sql deleted file mode 100644 index 49e6fdb7cc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ezurlwildcard.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurlwildcard (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, source_url LONGTEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ezuser_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ezuser_accountkey.sql deleted file mode 100644 index 0bca83a3b6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ezuser_accountkey.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezuser_accountkey (id INT AUTO_INCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, INDEX hash_key (hash_key), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ezuser_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ezuser_role.sql deleted file mode 100644 index 89f78ae40d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ezuser_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezuser_role (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, INDEX ezuser_role_role_id (role_id), INDEX ezuser_role_contentobject_id (contentobject_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ezuser_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ezuser_setting.sql deleted file mode 100644 index c3c035a3ea..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ezuser_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezuser_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql deleted file mode 100644 index d664bb1bf9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_setting (id INT AUTO_INCREMENT NOT NULL, `group` VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, INDEX ibexa_setting_id (id), UNIQUE INDEX ibexa_setting_group_identifier (`group`, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql deleted file mode 100644 index 050286548c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token_type (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL, UNIQUE INDEX ibexa_token_type_unique (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql deleted file mode 100644 index 2cc774c11a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token (id INT AUTO_INCREMENT NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked TINYINT(1) DEFAULT '0' NOT NULL, INDEX IDX_B5412887C54C8C93 (type_id), UNIQUE INDEX ibexa_token_unique (token, identifier, type_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql deleted file mode 100644 index fd2f319c2a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql deleted file mode 100644 index a4fe1c30db..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql deleted file mode 100644 index 9d8fb82dc7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql deleted file mode 100644 index f8e58ffca0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ezcobj_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ezcobj_state.sql deleted file mode 100644 index 64e0eacdd1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ezcobj_state.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) -VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ezcobj_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ezcobj_state_group.sql deleted file mode 100644 index 677a43ca5c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ezcobj_state_group.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) -VALUES (2,2,'ez_lock',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ezcobj_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ezcobj_state_group_language.sql deleted file mode 100644 index 9930341865..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ezcobj_state_group_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) -VALUES (2,'',3,'Lock',2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ezcobj_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ezcobj_state_language.sql deleted file mode 100644 index dc7872d95b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ezcobj_state_language.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) -VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ezcobj_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ezcobj_state_link.sql deleted file mode 100644 index 9a0dd8d0e9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ezcobj_state_link.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) -VALUES (1, 1), - (4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ezcontent_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ezcontent_language.sql deleted file mode 100644 index 97bfa86644..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ezcontent_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) -VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ezcontentclass.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ezcontentclass.sql deleted file mode 100644 index 540efcb3ef..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ezcontentclass.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) -VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ezcontentclass_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ezcontentclass_attribute.sql deleted file mode 100644 index 30ad516ff8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ezcontentclass_attribute.sql +++ /dev/null @@ -1,25 +0,0 @@ -INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) -VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ezcontentclass_classgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ezcontentclass_classgroup.sql deleted file mode 100644 index ffa17693b0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ezcontentclass_classgroup.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) -VALUES (1, 0, 1, 'Content'), - (2, 0, 1, 'Content'), - (3, 0, 2, 'Users'), - (4, 0, 2, 'Users'), - (5, 0, 3, 'Media'), - (12, 0, 3, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ezcontentclass_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ezcontentclass_name.sql deleted file mode 100644 index 1f517c87e3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ezcontentclass_name.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) -VALUES (1, 0, 2, 'eng-GB', 'Folder'), - (2, 0, 3, 'eng-GB', 'Article'), - (3, 0, 3, 'eng-GB', 'User group'), - (4, 0, 3, 'eng-GB', 'User'), - (5, 0, 3, 'eng-GB', 'Image'), - (12, 0, 3, 'eng-GB', 'File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ezcontentclassgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ezcontentclassgroup.sql deleted file mode 100644 index 61aea82715..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ezcontentclassgroup.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) -VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), - (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ezcontentobject.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ezcontentobject.sql deleted file mode 100644 index c18bc54f7d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ezcontentobject.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) -VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), - (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), - (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), - (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), - (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), - (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), - (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), - (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), - (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), - (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), - (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ezcontentobject_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ezcontentobject_attribute.sql deleted file mode 100644 index d2ec35a36f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ezcontentobject_attribute.sql +++ /dev/null @@ -1,41 +0,0 @@ -INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) -VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), - (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), - (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), - (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), - (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), - (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), - (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), - (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), - (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), - (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), - (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), - (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), - (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), - (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), - (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), - (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), - (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), - (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), - (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), - (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), - (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), - (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), - (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), - (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), - (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), - (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), - (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), - (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), - (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), - (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), - (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ezcontentobject_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ezcontentobject_name.sql deleted file mode 100644 index fc75852a7c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ezcontentobject_name.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) -VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), - ('eng-GB',1,4,3,'Users','eng-GB'), - ('eng-GB',2,10,3,'Anonymous User','eng-GB'), - ('eng-GB',1,11,3,'Guest accounts','eng-GB'), - ('eng-GB',1,12,3,'Administrator users','eng-GB'), - ('eng-GB',1,13,3,'Editors','eng-GB'), - ('eng-GB',3,14,3,'Administrator User','eng-GB'), - ('eng-GB',1,41,3,'Media','eng-GB'), - ('eng-GB',1,42,3,'Anonymous users','eng-GB'), - ('eng-GB',1,49,3,'Images','eng-GB'), - ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ezcontentobject_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ezcontentobject_tree.sql deleted file mode 100644 index 1cfc2b9049..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ezcontentobject_tree.sql +++ /dev/null @@ -1,14 +0,0 @@ -INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) -VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ezcontentobject_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ezcontentobject_version.sql deleted file mode 100644 index f8ba2fe49d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ezcontentobject_version.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) -VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_eznode_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_eznode_assignment.sql deleted file mode 100644 index b69e8a455f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_eznode_assignment.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) -VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), - (42,1,0,5,1,2,5,'','0',9,1,0,0), - (10,2,-1,6,1,2,44,'','0',9,1,0,0), - (4,1,0,7,1,2,1,'','0',1,1,0,0), - (12,1,0,8,1,2,5,'','0',1,1,0,0), - (13,1,0,9,1,2,5,'','0',1,1,0,0), - (41,1,0,11,1,2,1,'','0',1,1,0,0), - (11,1,0,12,1,2,5,'','0',1,1,0,0), - (49,1,0,27,1,2,43,'','0',9,1,0,0), - (50,1,0,28,1,2,43,'','0',9,1,0,0), - (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ezpolicy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ezpolicy.sql deleted file mode 100644 index 7e0d289d2b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ezpolicy.sql +++ /dev/null @@ -1,9 +0,0 @@ -INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) -VALUES ('*',317,'content',0,3), - ('login',319,'user',0,3), - ('read',328,'content',0,1), - ('login',331,'user',0,1), - ('*',332,'*',0,2), - ('read',333,'content',0,4), - ('view_embed',334,'content',0,1), - ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ezpolicy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ezpolicy_limitation.sql deleted file mode 100644 index d1dfc57ee9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ezpolicy_limitation.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) -VALUES (251,'Section',328), - (252,'Section',329), - (253,'SiteAccess',331), - (254,'Class',333), - (255,'Owner',333), - (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ezpolicy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ezpolicy_limitation_value.sql deleted file mode 100644 index 26ef009ea8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ezpolicy_limitation_value.sql +++ /dev/null @@ -1,8 +0,0 @@ -INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) -VALUES (477,251,'1'), - (478,252,'1'), - (479,253,'1766001124'), - (480,254,'4'), - (481,255,'1'), - (482,256,'5'), - (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ezrole.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ezrole.sql deleted file mode 100644 index 16605e3ee2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ezrole.sql +++ /dev/null @@ -1,5 +0,0 @@ -INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) -VALUES (1,0,'Anonymous','',0), - (2,0,'Administrator','0',0), - (3,0,'Editor','',0), - (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ezsection.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ezsection.sql deleted file mode 100644 index a12ae3cbfb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ezsection.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) -VALUES (1,'standard','','Standard','ezcontentnavigationpart'), - (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ezsite_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ezsite_data.sql deleted file mode 100644 index 82536384d3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ezsite_data.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ezsite_data` (`name`, `value`) -VALUES ('ibexa-release','4.6'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ezurlalias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ezurlalias.sql deleted file mode 100644 index dbdfab1b74..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ezurlalias.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) -VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), - ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), - ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), - ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), - ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), - ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), - ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), - ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), - ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), - ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), - ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ezurlalias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ezurlalias_ml.sql deleted file mode 100644 index 1a3fce42c5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ezurlalias_ml.sql +++ /dev/null @@ -1,26 +0,0 @@ -INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) -VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), - ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), - ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), - ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), - ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), - ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), - ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), - ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), - ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), - ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), - ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), - ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), - ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), - ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), - ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), - ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), - ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), - ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), - ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), - ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), - ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ezurlalias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ezurlalias_ml_incr.sql deleted file mode 100644 index 60ee1309ce..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ezurlalias_ml_incr.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ezurlalias_ml_incr` (`id`) -VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ezuser.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ezuser.sql deleted file mode 100644 index 151e4f6fa4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ezuser.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) -VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ezuser_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ezuser_role.sql deleted file mode 100644 index 5ad1f12f1e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ezuser_role.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) -VALUES (11,28,'','',1), - (42,31,'','',1), - (13,32,'Subtree','/1/2/',3), - (13,33,'Subtree','/1/43/',3), - (12,34,'','',2), - (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ezuser_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ezuser_setting.sql deleted file mode 100644 index c87f9291dd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ezuser_setting.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) -VALUES (1,1000,10), - (1,10,14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ezpreferences.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ezpreferences.sql deleted file mode 100644 index 5a44f420f9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ezpreferences.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) -SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ezbinaryfile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ezbinaryfile.sql deleted file mode 100644 index 14531f39f5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ezbinaryfile.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezbinaryfile (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ezcobj_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ezcobj_state.sql deleted file mode 100644 index 16d6b76be3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ezcobj_state.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ezcobj_state_ezcobj_state_priority.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ezcobj_state_ezcobj_state_priority.sql deleted file mode 100644 index acd97e80ae..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ezcobj_state_ezcobj_state_priority.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ezcobj_state_ezcobj_state_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ezcobj_state_ezcobj_state_lmask.sql deleted file mode 100644 index 6d6498dfa3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ezcobj_state_ezcobj_state_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ezcobj_state_ezcobj_state_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ezcobj_state_ezcobj_state_identifier.sql deleted file mode 100644 index a622a7319b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ezcobj_state_ezcobj_state_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ezcobj_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ezcobj_state_group.sql deleted file mode 100644 index aa60df6bbf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ezcobj_state_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state_group (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql deleted file mode 100644 index 8693d6bab5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql deleted file mode 100644 index 36481c9271..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ezcobj_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ezcobj_state_group_language.sql deleted file mode 100644 index e73ef9404d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ezcobj_state_group_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ezcobj_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ezcobj_state_language.sql deleted file mode 100644 index 75a6e90f82..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ezcobj_state_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ezcobj_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ezcobj_state_link.sql deleted file mode 100644 index f90c53635b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ezcobj_state_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ezcontent_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ezcontent_language.sql deleted file mode 100644 index fc7a9a2fdf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ezcontent_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontent_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ezcontent_language_ezcontent_language_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ezcontent_language_ezcontent_language_name.sql deleted file mode 100644 index 0a236b1d78..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ezcontent_language_ezcontent_language_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontent_language_name ON ezcontent_language (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ezuser.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ezuser.sql deleted file mode 100644 index aaf5f8ae89..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ezuser.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezuser (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, PRIMARY KEY(contentobject_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ezuser_ezuser_login.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ezuser_ezuser_login.sql deleted file mode 100644 index 382bc2fe6f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ezuser_ezuser_login.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ezuser_login ON ezuser (login); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ezcontentobject_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ezcontentobject_tree.sql deleted file mode 100644 index ebb309ad93..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ezcontentobject_tree.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_tree (node_id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql deleted file mode 100644 index 7a3cbafefc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql deleted file mode 100644 index a0694b8c61..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql deleted file mode 100644 index 80dcea65d9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql deleted file mode 100644 index 9f76373cac..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql deleted file mode 100644 index d7b5136f63..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql deleted file mode 100644 index f0c7ac9ecc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ezcontentobject_tree_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ezcontentobject_tree_modified_subnode.sql deleted file mode 100644 index 87676071e9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ezcontentobject_tree_modified_subnode.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql deleted file mode 100644 index 22d066cdca..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ezcontentbrowsebookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ezcontentbrowsebookmark.sql deleted file mode 100644 index c9c6672a2d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ezcontentbrowsebookmark.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentbrowsebookmark (id SERIAL NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql deleted file mode 100644 index 659a26c514..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql deleted file mode 100644 index 5b0696a7e8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql deleted file mode 100644 index 6c77193029..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ezcontentclass.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ezcontentclass.sql deleted file mode 100644 index d983cc5378..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ezcontentclass.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ezcontentclass_ezcontentclass_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ezcontentclass_ezcontentclass_version.sql deleted file mode 100644 index 7fd0e3cfa1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ezcontentclass_ezcontentclass_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentclass_version ON ezcontentclass (version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ezcontentclass_ezcontentclass_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ezcontentclass_ezcontentclass_identifier.sql deleted file mode 100644 index 24c8111651..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ezcontentclass_ezcontentclass_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ezcontentclass_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ezcontentclass_attribute.sql deleted file mode 100644 index 273341c716..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ezcontentclass_attribute.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass_attribute (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT 'false' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text TEXT DEFAULT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT NOT NULL, PRIMARY KEY(id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql deleted file mode 100644 index 7875734dae..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql deleted file mode 100644 index ba2700ac55..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ezcontentclass_attribute_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ezcontentclass_attribute_ml.sql deleted file mode 100644 index 8f5af634b4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ezcontentclass_attribute_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass_attribute_ml (contentclass_attribute_id INT NOT NULL, version INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, PRIMARY KEY(contentclass_attribute_id, version, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql deleted file mode 100644 index f17be3c68c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ezcontentclass_classgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ezcontentclass_classgroup.sql deleted file mode 100644 index 3a8d83fa44..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ezcontentclass_classgroup.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass_classgroup (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ezcontentclass_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ezcontentclass_name.sql deleted file mode 100644 index ebcc1e629b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ezcontentclass_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass_name (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ezcontentclassgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ezcontentclassgroup.sql deleted file mode 100644 index 4d31939956..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ezcontentclassgroup.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclassgroup (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ezcontentobject.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ezcontentobject.sql deleted file mode 100644 index 06925bdc48..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ezcontentobject.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject (id SERIAL NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ezcontentobject_ezcontentobject_classid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ezcontentobject_ezcontentobject_classid.sql deleted file mode 100644 index 5dddc18819..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ezcontentobject_ezcontentobject_classid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ezcontentobject_ezcontentobject_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ezcontentobject_ezcontentobject_lmask.sql deleted file mode 100644 index 6fd63f61d8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ezcontentobject_ezcontentobject_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ezcontentobject_ezcontentobject_pub.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ezcontentobject_ezcontentobject_pub.sql deleted file mode 100644 index 022ffd1c54..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ezcontentobject_ezcontentobject_pub.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_pub ON ezcontentobject (published); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ezcontentobject_ezcontentobject_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ezcontentobject_ezcontentobject_section.sql deleted file mode 100644 index 2459702346..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ezcontentobject_ezcontentobject_section.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ezcontentobject_ezcontentobject_currentversion.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ezcontentobject_ezcontentobject_currentversion.sql deleted file mode 100644 index cb0f62d824..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ezcontentobject_ezcontentobject_currentversion.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ezcontentobject_ezcontentobject_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ezcontentobject_ezcontentobject_owner.sql deleted file mode 100644 index 17c73894b6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ezcontentobject_ezcontentobject_owner.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ezcontentobject_ezcontentobject_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ezcontentobject_ezcontentobject_status.sql deleted file mode 100644 index f68fa6262f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ezcontentobject_ezcontentobject_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_status ON ezcontentobject (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ezcontentobject_ezcontentobject_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ezcontentobject_ezcontentobject_remote_id.sql deleted file mode 100644 index 6e86f88cfe..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ezcontentobject_ezcontentobject_remote_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ezcontentobject_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ezcontentobject_attribute.sql deleted file mode 100644 index 1d315de98a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ezcontentobject_attribute.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_attribute (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, contentclassattribute_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql deleted file mode 100644 index 6b23dbfdcb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql deleted file mode 100644 index c8391d6730..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ezcontentobject_attribute_sort_key_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ezcontentobject_attribute_sort_key_string.sql deleted file mode 100644 index 320329b4f4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ezcontentobject_attribute_sort_key_string.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql deleted file mode 100644 index 31e10963b6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ezcontentobject_attribute_sort_key_int.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ezcontentobject_attribute_sort_key_int.sql deleted file mode 100644 index d89a560a80..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ezcontentobject_attribute_sort_key_int.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql deleted file mode 100644 index 3a0b46cb82..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ezcontentobject_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ezcontentobject_link.sql deleted file mode 100644 index 26d2b46d1c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ezcontentobject_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_link (id SERIAL NOT NULL, contentclassattribute_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql deleted file mode 100644 index c09dfefbf0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ezcontentobject_link_ezco_link_from.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ezcontentobject_link_ezco_link_from.sql deleted file mode 100644 index 5553d5dbb9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ezcontentobject_link_ezco_link_from.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ezcontentobject_link_ezco_link_cca_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ezcontentobject_link_ezco_link_cca_id.sql deleted file mode 100644 index 576d349337..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ezcontentobject_link_ezco_link_cca_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ezcontentobject_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ezcontentobject_name.sql deleted file mode 100644 index fb0c9cf656..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ezcontentobject_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql deleted file mode 100644 index a53893b840..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql deleted file mode 100644 index d47ec6ff06..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql deleted file mode 100644 index 066bdd2ddf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ezcontentobject_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ezcontentobject_trash.sql deleted file mode 100644 index cbc1d75091..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ezcontentobject_trash.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql deleted file mode 100644 index 22a5480ee9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql deleted file mode 100644 index 1b230d30c0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql deleted file mode 100644 index e97fae979c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql deleted file mode 100644 index 4f2edf4230..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql deleted file mode 100644 index 980553e6cc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql deleted file mode 100644 index 41f87ea995..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ezcontentobject_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ezcontentobject_version.sql deleted file mode 100644 index 0379c24c58..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ezcontentobject_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_version (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ezcontentobject_version_ezcobj_version_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ezcontentobject_version_ezcobj_version_status.sql deleted file mode 100644 index eb1712c587..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ezcontentobject_version_ezcobj_version_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ezcontentobject_version_idx_object_version_objver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ezcontentobject_version_idx_object_version_objver.sql deleted file mode 100644 index d9ade282a1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ezcontentobject_version_idx_object_version_objver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql deleted file mode 100644 index f8b3625958..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql deleted file mode 100644 index 7ad71e9d33..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ezdfsfile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ezdfsfile.sql deleted file mode 100644 index 9c43e1a6d2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ezdfsfile.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezdfsfile (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT 'false' NOT NULL, status BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(name_hash)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql deleted file mode 100644 index a52478c504..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ezdfsfile_ezdfsfile_expired_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ezdfsfile_ezdfsfile_expired_name.sql deleted file mode 100644 index b6a67a8141..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ezdfsfile_ezdfsfile_expired_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ezdfsfile_ezdfsfile_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ezdfsfile_ezdfsfile_name.sql deleted file mode 100644 index b1093dd031..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ezdfsfile_ezdfsfile_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezdfsfile_name ON ezdfsfile (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ezdfsfile_ezdfsfile_mtime.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ezdfsfile_ezdfsfile_mtime.sql deleted file mode 100644 index 74974918cf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ezdfsfile_ezdfsfile_mtime.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ezgmaplocation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ezgmaplocation.sql deleted file mode 100644 index 7783fe956a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ezgmaplocation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezgmaplocation (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ezgmaplocation_latitude_longitude_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ezgmaplocation_latitude_longitude_key.sql deleted file mode 100644 index c71ce38856..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ezgmaplocation_latitude_longitude_key.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ezimagefile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ezimagefile.sql deleted file mode 100644 index 10daf6c34e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ezimagefile.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezimagefile (id SERIAL NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath TEXT NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ezimagefile_ezimagefile_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ezimagefile_ezimagefile_file.sql deleted file mode 100644 index 9fd53f1f99..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ezimagefile_ezimagefile_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezimagefile_file ON ezimagefile (filepath); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ezimagefile_ezimagefile_coid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ezimagefile_ezimagefile_coid.sql deleted file mode 100644 index 4aa9687e74..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ezimagefile_ezimagefile_coid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ezkeyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ezkeyword.sql deleted file mode 100644 index 15f8411056..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ezkeyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezkeyword (id SERIAL NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ezkeyword_ezkeyword_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ezkeyword_ezkeyword_keyword.sql deleted file mode 100644 index d8e144c201..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ezkeyword_ezkeyword_keyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ezkeyword_attribute_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ezkeyword_attribute_link.sql deleted file mode 100644 index 0f542cd006..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ezkeyword_attribute_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezkeyword_attribute_link (id SERIAL NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql deleted file mode 100644 index 8d8572e8bd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql deleted file mode 100644 index f07b97d9ab..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql deleted file mode 100644 index 0404bc617b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ezmedia.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ezmedia.sql deleted file mode 100644 index f2a1f54018..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ezmedia.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezmedia (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_eznode_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_eznode_assignment.sql deleted file mode 100644 index 9c81b2afb8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_eznode_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE eznode_assignment (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_eznode_assignment_eznode_assignment_is_main.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_eznode_assignment_eznode_assignment_is_main.sql deleted file mode 100644 index 5e5ed94263..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_eznode_assignment_eznode_assignment_is_main.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql deleted file mode 100644 index 987539c281..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_eznode_assignment_eznode_assignment_parent_node.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_eznode_assignment_eznode_assignment_parent_node.sql deleted file mode 100644 index 7c7225c18d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_eznode_assignment_eznode_assignment_parent_node.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_eznode_assignment_eznode_assignment_co_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_eznode_assignment_eznode_assignment_co_version.sql deleted file mode 100644 index 6b519ccc54..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_eznode_assignment_eznode_assignment_co_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_eznotification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_eznotification.sql deleted file mode 100644 index 4850a0a117..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_eznotification.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE eznotification (id SERIAL NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT 'true' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INT DEFAULT 0 NOT NULL, data TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_eznotification_eznotification_owner_is_pending.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_eznotification_eznotification_owner_is_pending.sql deleted file mode 100644 index 862b80ddf5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_eznotification_eznotification_owner_is_pending.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_eznotification_eznotification_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_eznotification_eznotification_owner.sql deleted file mode 100644 index b621afd705..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_eznotification_eznotification_owner.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX eznotification_owner ON eznotification (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ezpackage.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ezpackage.sql deleted file mode 100644 index 675d8f105c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ezpackage.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpackage (id SERIAL NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ezpolicy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ezpolicy.sql deleted file mode 100644 index 2fe0b4c43f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ezpolicy.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpolicy (id SERIAL NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ezpolicy_ezpolicy_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ezpolicy_ezpolicy_role_id.sql deleted file mode 100644 index 366c989ec0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ezpolicy_ezpolicy_role_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ezpolicy_ezpolicy_original_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ezpolicy_ezpolicy_original_id.sql deleted file mode 100644 index 9a3d4f8171..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ezpolicy_ezpolicy_original_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ezpolicy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ezpolicy_limitation.sql deleted file mode 100644 index 5e7abb39e5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ezpolicy_limitation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpolicy_limitation (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ezpolicy_limitation_policy_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ezpolicy_limitation_policy_id.sql deleted file mode 100644 index 6640c10ce8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ezpolicy_limitation_policy_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX policy_id ON ezpolicy_limitation (policy_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ezpolicy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ezpolicy_limitation_value.sql deleted file mode 100644 index a0f290af9d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ezpolicy_limitation_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpolicy_limitation_value (id SERIAL NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql deleted file mode 100644 index 446a27fdaa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql deleted file mode 100644 index 8c0458bdde..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ezpreferences.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ezpreferences.sql deleted file mode 100644 index 6c23ca2fe5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ezpreferences.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpreferences (id SERIAL NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ezpreferences_ezpreferences_user_id_idx.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ezpreferences_ezpreferences_user_id_idx.sql deleted file mode 100644 index e8330b63d4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ezpreferences_ezpreferences_user_id_idx.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ezpreferences_ezpreferences_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ezpreferences_ezpreferences_name.sql deleted file mode 100644 index e33390d2a3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ezpreferences_ezpreferences_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezpreferences_name ON ezpreferences (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ezrole.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ezrole.sql deleted file mode 100644 index 3a828c94f8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ezrole.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezrole (id SERIAL NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ezsearch_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ezsearch_object_word_link.sql deleted file mode 100644 index 3fd4f08a00..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ezsearch_object_word_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezsearch_object_word_link (id SERIAL NOT NULL, contentclass_attribute_id INT DEFAULT 0 NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql deleted file mode 100644 index fb984de9f9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql deleted file mode 100644 index 724819087d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql deleted file mode 100644 index 9c46453535..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql deleted file mode 100644 index 058c9b9de2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql deleted file mode 100644 index 6864b9d5b8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ezsearch_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ezsearch_word.sql deleted file mode 100644 index c4ac6e1ae2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ezsearch_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezsearch_word (id SERIAL NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ezsearch_word_ezsearch_word_word_i.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ezsearch_word_ezsearch_word_word_i.sql deleted file mode 100644 index d1f15870a4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ezsearch_word_ezsearch_word_word_i.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ezsearch_word_ezsearch_word_obj_count.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ezsearch_word_ezsearch_word_obj_count.sql deleted file mode 100644 index ee7a50072c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ezsearch_word_ezsearch_word_obj_count.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ezsection.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ezsection.sql deleted file mode 100644 index 6bb9b22705..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ezsection.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezsection (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ezsite_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ezsite_data.sql deleted file mode 100644 index 51b1319beb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ezsite_data.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezsite_data (name VARCHAR(60) DEFAULT '' NOT NULL, value TEXT NOT NULL, PRIMARY KEY(name)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ezurl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ezurl.sql deleted file mode 100644 index 9f0b264139..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ezurl.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurl (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ezurl_ezurl_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ezurl_ezurl_url.sql deleted file mode 100644 index d49afdc63d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ezurl_ezurl_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurl_url ON ezurl (url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ezurl_object_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ezurl_object_link.sql deleted file mode 100644 index e9641de5ed..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ezurl_object_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurl_object_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql deleted file mode 100644 index 67e46a38fe..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ezurl_object_link_ezurl_ol_url_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ezurl_object_link_ezurl_ol_url_id.sql deleted file mode 100644 index 6b9fa680c3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ezurl_object_link_ezurl_ol_url_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql deleted file mode 100644 index 0160b9c1a3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql deleted file mode 100644 index e2b3d317a1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ezurlalias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ezurlalias.sql deleted file mode 100644 index 3fc9158ca2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ezurlalias.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurlalias (id SERIAL NOT NULL, destination_url TEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url TEXT NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ezurlalias_ezurlalias_source_md5.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ezurlalias_ezurlalias_source_md5.sql deleted file mode 100644 index b447996855..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ezurlalias_ezurlalias_source_md5.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql deleted file mode 100644 index c884362677..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ezurlalias_ezurlalias_forward_to_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ezurlalias_ezurlalias_forward_to_id.sql deleted file mode 100644 index 2cd160e33f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ezurlalias_ezurlalias_forward_to_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql deleted file mode 100644 index 062366e854..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ezurlalias_ezurlalias_source_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ezurlalias_ezurlalias_source_url.sql deleted file mode 100644 index aa37643b1e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ezurlalias_ezurlalias_source_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ezurlalias_ezurlalias_desturl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ezurlalias_ezurlalias_desturl.sql deleted file mode 100644 index 07e4107f82..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ezurlalias_ezurlalias_desturl.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ezurlalias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ezurlalias_ml.sql deleted file mode 100644 index 498ed19ceb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ezurlalias_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurlalias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, action TEXT NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text TEXT NOT NULL, PRIMARY KEY(parent, text_md5)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql deleted file mode 100644 index 84fd80638b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql deleted file mode 100644 index b33960fcad..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql deleted file mode 100644 index 7ba3dc6750..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml (action, id, link, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql deleted file mode 100644 index 8a9145ac6c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql deleted file mode 100644 index cbcd9b056a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml (action, is_original); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql deleted file mode 100644 index 139b8c5f68..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql deleted file mode 100644 index 5e0c908085..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql deleted file mode 100644 index 91393fd7ee..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ezurlalias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ezurlalias_ml_incr.sql deleted file mode 100644 index 80a0370490..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ezurlalias_ml_incr.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurlalias_ml_incr (id SERIAL NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ezurlwildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ezurlwildcard.sql deleted file mode 100644 index 7de76a2918..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ezurlwildcard.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurlwildcard (id SERIAL NOT NULL, destination_url TEXT NOT NULL, source_url TEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ezuser_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ezuser_accountkey.sql deleted file mode 100644 index 8de6d5dc85..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ezuser_accountkey.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezuser_accountkey (id SERIAL NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ezuser_accountkey_hash_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ezuser_accountkey_hash_key.sql deleted file mode 100644 index b6d4c50c07..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ezuser_accountkey_hash_key.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX hash_key ON ezuser_accountkey (hash_key); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ezuser_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ezuser_role.sql deleted file mode 100644 index f7ce47113b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ezuser_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezuser_role (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ezuser_role_ezuser_role_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ezuser_role_ezuser_role_role_id.sql deleted file mode 100644 index 2224306ce1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ezuser_role_ezuser_role_role_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ezuser_role_ezuser_role_contentobject_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ezuser_role_ezuser_role_contentobject_id.sql deleted file mode 100644 index 2f779bf8a1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ezuser_role_ezuser_role_contentobject_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ezuser_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ezuser_setting.sql deleted file mode 100644 index 1c4fed4d8c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ezuser_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezuser_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql deleted file mode 100644 index d3ae1af8b3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_setting (id SERIAL NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql deleted file mode 100644 index d6f3d3b0dc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_setting_id ON ibexa_setting (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql deleted file mode 100644 index e2a05c6a8d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql deleted file mode 100644 index 34e08782fb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token_type (id SERIAL NOT NULL, identifier VARCHAR(64) NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql deleted file mode 100644 index 17f4b2cf68..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql deleted file mode 100644 index a67a678e35..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token (id SERIAL NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql deleted file mode 100644 index 8217faeab1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql deleted file mode 100644 index 1d13c98da4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql deleted file mode 100644 index 612b0012d2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql deleted file mode 100644 index f9e3a7a770..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql deleted file mode 100644 index a13558b04b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql deleted file mode 100644 index 973e602987..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ezcobj_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ezcobj_state.sql deleted file mode 100644 index c17884a304..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ezcobj_state.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO "ezcobj_state" ("default_language_id", "group_id", "id", "identifier", "language_mask", "priority") -VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ezcobj_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ezcobj_state_group.sql deleted file mode 100644 index cc78821e78..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ezcobj_state_group.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ezcobj_state_group" ("default_language_id", "id", "identifier", "language_mask") -VALUES (2, 2, 'ez_lock', 3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ezcobj_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ezcobj_state_group_language.sql deleted file mode 100644 index 609826a7c2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ezcobj_state_group_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ezcobj_state_group_language" ("contentobject_state_group_id", "description","language_id", "name", "real_language_id") -VALUES (2, '', 3, 'Lock', 2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ezcobj_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ezcobj_state_language.sql deleted file mode 100644 index db716c0d84..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ezcobj_state_language.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO "ezcobj_state_language" ("contentobject_state_id", "description", "language_id", "name") -VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ezcobj_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ezcobj_state_link.sql deleted file mode 100644 index a0d990da69..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ezcobj_state_link.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ezcobj_state_link" ("contentobject_id", "contentobject_state_id") -VALUES ( 1, 1), - ( 4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ezcontent_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ezcontent_language.sql deleted file mode 100644 index 7c748fde7d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ezcontent_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ezcontent_language" ("disabled", "id", "locale", "name") -VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ezcontentclass.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ezcontentclass.sql deleted file mode 100644 index 792d15f4ce..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ezcontentclass.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ezcontentclass" ("always_available", "contentobject_name", "created", "creator_id", "id", "identifier", "initial_language_id", "is_container", "language_mask", "modified", "modifier_id", "remote_id", "serialized_description_list", "serialized_name_list", "sort_field", "sort_order", "url_alias_name", "version") -VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:"eng-GB";s:6:"Folder";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:"eng-GB";s:7:"Article";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ezcontentclass_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ezcontentclass_attribute.sql deleted file mode 100644 index e00a5afc39..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ezcontentclass_attribute.sql +++ /dev/null @@ -1,25 +0,0 @@ -INSERT INTO "ezcontentclass_attribute" ("can_translate", "category", "contentclass_id", "data_float1", "data_float2", "data_float3", "data_float4", "data_int1", "data_int2", "data_int3", "data_int4", "data_text1", "data_text2", "data_text3", "data_text4", "data_text5", "data_type_string", "id", "identifier", "is_information_collector", "is_required", "is_searchable", "is_thumbnail", "placement", "serialized_data_text", "serialized_description_list", "serialized_name_list", "version") -VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,FALSE,1,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:4:"Name";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:10:"First name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Last name";s:16:"always-available";s:6:"eng-GB";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:12:"User account";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:7:"Caption";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,TRUE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,FALSE,3,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:17:"Short description";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Intro";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,FALSE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Body";s:16:"always-available";s:6:"eng-GB";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,FALSE,6,NULL,NULL,'a:2:{s:6:"eng-GB";s:15:"Enable comments";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Short title";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:6:"Author";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,FALSE,7,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,FALSE,2,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:10:"Short name";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,FALSE,4,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:11:"Description";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,TRUE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ezcontentclass_classgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ezcontentclass_classgroup.sql deleted file mode 100644 index 83aa440947..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ezcontentclass_classgroup.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ezcontentclass_classgroup" ("contentclass_id", "contentclass_version", "group_id", "group_name") -VALUES (1,0,1,'Content'), - (2,0,1,'Content'), - (3,0,2,'Users'), - (4,0,2,'Users'), - (5,0,3,'Media'), - (12,0,3,'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ezcontentclass_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ezcontentclass_name.sql deleted file mode 100644 index 9ccdaaf91f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ezcontentclass_name.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ezcontentclass_name" ("contentclass_id", "contentclass_version", "language_id", "language_locale", "name") -VALUES (1,0,2,'eng-GB','Folder'), - (2,0,3,'eng-GB','Article'), - (3,0,3,'eng-GB','User group'), - (4,0,3,'eng-GB','User'), - (5,0,3,'eng-GB','Image'), - (12,0,3,'eng-GB','File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ezcontentclassgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ezcontentclassgroup.sql deleted file mode 100644 index 0621f947ba..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ezcontentclassgroup.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO "ezcontentclassgroup" ("created", "creator_id", "id", "modified", "modifier_id", "name") -VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), - (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ezcontentobject.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ezcontentobject.sql deleted file mode 100644 index 8d9a9b0b2a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ezcontentobject.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ezcontentobject" ("contentclass_id", "current_version", "id", "initial_language_id", "language_mask", "modified", "name", "owner_id", "published", "remote_id", "section_id", "status") -VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), - (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), - (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), - (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), - (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), - (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), - (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), - (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), - (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), - (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), - (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ezcontentobject_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ezcontentobject_attribute.sql deleted file mode 100644 index 34b8980372..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ezcontentobject_attribute.sql +++ /dev/null @@ -1,41 +0,0 @@ -INSERT INTO "ezcontentobject_attribute" ("attribute_original_id", "contentclassattribute_id", "contentobject_id", "data_float", "data_int", "data_text", "data_type_string", "id", "language_code", "language_id", "sort_key_int", "sort_key_string", "version") -VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), - (0,119,1,NULL,NULL,E'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), - (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), - (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), - (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), - (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), - (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), - (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), - (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), - (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), - (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), - (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), - (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), - (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), - (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), - (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), - (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,E'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), - (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), - (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), - (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), - (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), - (0,156,1,NULL,NULL,E'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,E'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), - (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), - (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,E'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,E'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), - (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), - (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,E'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,E'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), - (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), - (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,E'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,E'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), - (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), - (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), - (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,E'\n\n','ezimage',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ezcontentobject_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ezcontentobject_name.sql deleted file mode 100644 index ac4544a1c6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ezcontentobject_name.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ezcontentobject_name" ("content_translation", "content_version", "contentobject_id", "language_id", "name", "real_translation") -VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), - ('eng-GB',1,4,3,'Users','eng-GB'), - ('eng-GB',2,10,3,'Anonymous User','eng-GB'), - ('eng-GB',1,11,3,'Guest accounts','eng-GB'), - ('eng-GB',1,12,3,'Administrator users','eng-GB'), - ('eng-GB',1,13,3,'Editors','eng-GB'), - ('eng-GB',3,14,3,'Administrator User','eng-GB'), - ('eng-GB',1,41,3,'Media','eng-GB'), - ('eng-GB',1,42,3,'Anonymous users','eng-GB'), - ('eng-GB',1,49,3,'Images','eng-GB'), - ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ezcontentobject_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ezcontentobject_tree.sql deleted file mode 100644 index 261cb89e36..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ezcontentobject_tree.sql +++ /dev/null @@ -1,14 +0,0 @@ -INSERT INTO "ezcontentobject_tree" ("contentobject_id", "contentobject_is_published", "contentobject_version", "depth", "is_hidden", "is_invisible", "main_node_id", "modified_subnode", "node_id", "parent_node_id", "path_identification_string", "path_string", "priority", "remote_id", "sort_field", "sort_order") -VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ezcontentobject_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ezcontentobject_version.sql deleted file mode 100644 index 498e2577b1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ezcontentobject_version.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ezcontentobject_version" ("contentobject_id", "created", "creator_id", "id", "initial_language_id", "language_mask", "modified", "status", "user_id", "version", "workflow_event_pos") -VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_eznode_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_eznode_assignment.sql deleted file mode 100644 index bf8f363666..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_eznode_assignment.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "eznode_assignment" ("contentobject_id", "contentobject_version", "from_node_id", "id", "is_main", "op_code", "parent_node", "parent_remote_id", "remote_id", "sort_field", "sort_order", "priority", "is_hidden") -VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), - (42,1,0,5,1,2,5,'','0',9,1,0,0), - (10,2,-1,6,1,2,44,'','0',9,1,0,0), - (4,1,0,7,1,2,1,'','0',1,1,0,0), - (12,1,0,8,1,2,5,'','0',1,1,0,0), - (13,1,0,9,1,2,5,'','0',1,1,0,0), - (41,1,0,11,1,2,1,'','0',1,1,0,0), - (11,1,0,12,1,2,5,'','0',1,1,0,0), - (49,1,0,27,1,2,43,'','0',9,1,0,0), - (50,1,0,28,1,2,43,'','0',9,1,0,0), - (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ezpolicy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ezpolicy.sql deleted file mode 100644 index 17d9668f7f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ezpolicy.sql +++ /dev/null @@ -1,9 +0,0 @@ -INSERT INTO "ezpolicy" ("function_name", "id", "module_name", "original_id", "role_id") -VALUES ('*',317,'content',0,3), - ('login',319,'user',0,3), - ('read',328,'content',0,1), - ('login',331,'user',0,1), - ('*',332,'*',0,2), - ('read',333,'content',0,4), - ('view_embed',334,'content',0,1), - ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ezpolicy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ezpolicy_limitation.sql deleted file mode 100644 index 587bb93d15..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ezpolicy_limitation.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ezpolicy_limitation" ("id", "identifier", "policy_id") -VALUES (251,'Section',328), - (252,'Section',329), - (253,'SiteAccess',331), - (254,'Class',333), - (255,'Owner',333), - (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ezpolicy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ezpolicy_limitation_value.sql deleted file mode 100644 index 7c0e184943..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ezpolicy_limitation_value.sql +++ /dev/null @@ -1,8 +0,0 @@ -INSERT INTO "ezpolicy_limitation_value" ("id", "limitation_id", "value") -VALUES (477,251,'1'), - (478,252,'1'), - (479,253,'1766001124'), - (480,254,'4'), - (481,255,'1'), - (482,256,'5'), - (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ezrole.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ezrole.sql deleted file mode 100644 index 9d65153a4f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ezrole.sql +++ /dev/null @@ -1,5 +0,0 @@ -INSERT INTO "ezrole" ("id", "is_new", "name", "value", "version") -VALUES (1,0,'Anonymous','',0), - (2,0,'Administrator','0',0), - (3,0,'Editor','',0), - (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ezsection.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ezsection.sql deleted file mode 100644 index 5b4c34ea06..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ezsection.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO "ezsection" ("id", "identifier", "locale", "name", "navigation_part_identifier") -VALUES (1,'standard','','Standard','ezcontentnavigationpart'), - (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ezsite_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ezsite_data.sql deleted file mode 100644 index 92ea4ab159..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ezsite_data.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ezsite_data" ("name", "value") -VALUES ('ibexa-release','4.6'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ezurlalias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ezurlalias.sql deleted file mode 100644 index 60f8aa7a42..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ezurlalias.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ezurlalias" ("destination_url", "forward_to_id", "id", "is_imported", "is_internal", "is_wildcard", "source_md5", "source_url") -VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), - ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), - ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), - ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), - ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), - ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), - ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), - ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), - ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), - ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), - ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ezurlalias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ezurlalias_ml.sql deleted file mode 100644 index 125c3e3393..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ezurlalias_ml.sql +++ /dev/null @@ -1,26 +0,0 @@ -INSERT INTO "ezurlalias_ml" ("action", "action_type", "alias_redirects", "id", "is_alias", "is_original", "lang_mask", "link", "parent", "text", "text_md5") -VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), - ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), - ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), - ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), - ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), - ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), - ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), - ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), - ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), - ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), - ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), - ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), - ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), - ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), - ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), - ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), - ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), - ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), - ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), - ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), - ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ezurlalias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ezurlalias_ml_incr.sql deleted file mode 100644 index 257e76532c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ezurlalias_ml_incr.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO "ezurlalias_ml_incr" ("id") -VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ezuser.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ezuser.sql deleted file mode 100644 index dd2c144a37..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ezuser.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO "ezuser" ("contentobject_id", "email", "login", "password_hash", "password_hash_type") -VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ezuser_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ezuser_role.sql deleted file mode 100644 index 9e5ff0b7d2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ezuser_role.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ezuser_role" ("contentobject_id", "id", "limit_identifier", "limit_value", "role_id") -VALUES (11,28,'','',1), - (42,31,'','',1), - (13,32,'Subtree','/1/2/',3), - (13,33,'Subtree','/1/43/',3), - (12,34,'','',2), - (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ezuser_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ezuser_setting.sql deleted file mode 100644 index ba202749ca..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ezuser_setting.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO "ezuser_setting" ("is_enabled", "max_login", "user_id") -VALUES (1, 1000, 10), - (1, 10, 14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ezpreferences.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ezpreferences.sql deleted file mode 100644 index 4b87da9303..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ezpreferences.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ezpreferences" ("name", "user_id", "value") -SELECT 'focus_mode', u.contentobject_id, '0' FROM "ezuser" u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ezcobj_state_group_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ezcobj_state_group_id_seq.sql deleted file mode 100644 index 056312175f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ezcobj_state_group_id_seq.sql +++ /dev/null @@ -1,2 +0,0 @@ --- Set proper sequence values after inserting data -SELECT SETVAL('ezcobj_state_group_id_seq', COALESCE(MAX(id), 1) ) FROM ezcobj_state_group; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ezcobj_state_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ezcobj_state_id_seq.sql deleted file mode 100644 index c8e051aa09..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ezcobj_state_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezcobj_state_id_seq', COALESCE(MAX(id), 1) ) FROM ezcobj_state; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ezcontentbrowsebookmark_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ezcontentbrowsebookmark_id_seq.sql deleted file mode 100644 index a488f42672..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ezcontentbrowsebookmark_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezcontentbrowsebookmark_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentbrowsebookmark; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ezcontentclass_attribute_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ezcontentclass_attribute_id_seq.sql deleted file mode 100644 index e7945c3bf6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ezcontentclass_attribute_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezcontentclass_attribute_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclass_attribute; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ezcontentclass_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ezcontentclass_id_seq.sql deleted file mode 100644 index 1c15b1970e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ezcontentclass_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezcontentclass_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclass; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ezcontentclassgroup_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ezcontentclassgroup_id_seq.sql deleted file mode 100644 index 67c66a320c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ezcontentclassgroup_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezcontentclassgroup_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclassgroup; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ezcontentobject_attribute_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ezcontentobject_attribute_id_seq.sql deleted file mode 100644 index d8f66b1c65..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ezcontentobject_attribute_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezcontentobject_attribute_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_attribute; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ezcontentobject_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ezcontentobject_id_seq.sql deleted file mode 100644 index b21db5ae2f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ezcontentobject_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezcontentobject_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ezcontentobject_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ezcontentobject_link_id_seq.sql deleted file mode 100644 index 8800566349..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ezcontentobject_link_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezcontentobject_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ezcontentobject_tree_node_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ezcontentobject_tree_node_id_seq.sql deleted file mode 100644 index 0308bdc43c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ezcontentobject_tree_node_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezcontentobject_tree_node_id_seq', COALESCE(MAX(node_id), 1) ) FROM ezcontentobject_tree; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ezcontentobject_version_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ezcontentobject_version_id_seq.sql deleted file mode 100644 index dfd67783fd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ezcontentobject_version_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezcontentobject_version_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_version; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ezimagefile_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ezimagefile_id_seq.sql deleted file mode 100644 index 48b5dc9a8e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ezimagefile_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezimagefile_id_seq', COALESCE(MAX(id), 1) ) FROM ezimagefile; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ezkeyword_attribute_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ezkeyword_attribute_link_id_seq.sql deleted file mode 100644 index fa8e547c55..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ezkeyword_attribute_link_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezkeyword_attribute_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezkeyword_attribute_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ezkeyword_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ezkeyword_id_seq.sql deleted file mode 100644 index 8a3f1a9ae0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ezkeyword_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezkeyword_id_seq', COALESCE(MAX(id), 1) ) FROM ezkeyword; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_eznode_assignment_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_eznode_assignment_id_seq.sql deleted file mode 100644 index 1892a4da3d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_eznode_assignment_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('eznode_assignment_id_seq', COALESCE(MAX(id), 1) ) FROM eznode_assignment; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_eznotification_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_eznotification_id_seq.sql deleted file mode 100644 index f3e2e4c7a1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_eznotification_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('eznotification_id_seq', COALESCE(MAX(id), 1) ) FROM eznotification; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ezpackage_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ezpackage_id_seq.sql deleted file mode 100644 index a0590cbafe..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ezpackage_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezpackage_id_seq', COALESCE(MAX(id), 1) ) FROM ezpackage; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ezpolicy_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ezpolicy_id_seq.sql deleted file mode 100644 index bea26a1658..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ezpolicy_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezpolicy_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ezpolicy_limitation_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ezpolicy_limitation_id_seq.sql deleted file mode 100644 index 32e1a5952c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ezpolicy_limitation_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezpolicy_limitation_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ezpolicy_limitation_value_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ezpolicy_limitation_value_id_seq.sql deleted file mode 100644 index 809801b081..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ezpolicy_limitation_value_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezpolicy_limitation_value_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation_value; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ezpreferences_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ezpreferences_id_seq.sql deleted file mode 100644 index 47287e5919..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ezpreferences_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezpreferences_id_seq', COALESCE(MAX(id), 1) ) FROM ezpreferences; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ezrole_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ezrole_id_seq.sql deleted file mode 100644 index 994366ebbe..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ezrole_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezrole_id_seq', COALESCE(MAX(id), 1) ) FROM ezrole; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ezsearch_object_word_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ezsearch_object_word_link_id_seq.sql deleted file mode 100644 index 6f91042d3b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ezsearch_object_word_link_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezsearch_object_word_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezsearch_object_word_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ezsearch_word_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ezsearch_word_id_seq.sql deleted file mode 100644 index 2a9b0dee98..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ezsearch_word_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezsearch_word_id_seq', COALESCE(MAX(id), 1) ) FROM ezsearch_word; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ezsection_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ezsection_id_seq.sql deleted file mode 100644 index c5078959e5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ezsection_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezsection_id_seq', COALESCE(MAX(id), 1) ) FROM ezsection; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ezurl_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ezurl_id_seq.sql deleted file mode 100644 index f80598be3f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ezurl_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezurl_id_seq', COALESCE(MAX(id), 1) ) FROM ezurl; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ezurlalias_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ezurlalias_id_seq.sql deleted file mode 100644 index cd49369f7b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ezurlalias_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezurlalias_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlalias; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ezurlalias_ml_incr_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ezurlalias_ml_incr_id_seq.sql deleted file mode 100644 index 277a5e62f8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ezurlalias_ml_incr_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezurlalias_ml_incr_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlalias_ml_incr; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ezurlwildcard_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ezurlwildcard_id_seq.sql deleted file mode 100644 index 7969e16eea..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ezurlwildcard_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezurlwildcard_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlwildcard; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ezuser_accountkey_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ezuser_accountkey_id_seq.sql deleted file mode 100644 index f2557a86a4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ezuser_accountkey_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezuser_accountkey_id_seq', COALESCE(MAX(id), 1) ) FROM ezuser_accountkey; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ezuser_role_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ezuser_role_id_seq.sql deleted file mode 100644 index e2f0f7229c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ezuser_role_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ezuser_role_id_seq', COALESCE(MAX(id), 1) ) FROM ezuser_role; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ezbinaryfile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ezbinaryfile.sql deleted file mode 100644 index 0bf69c19ad..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ezbinaryfile.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezbinaryfile (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, download_count INTEGER DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ezcobj_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ezcobj_state.sql deleted file mode 100644 index b1708d93c6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ezcobj_state.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ezcobj_state_ezcobj_state_priority.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ezcobj_state_ezcobj_state_priority.sql deleted file mode 100644 index acd97e80ae..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ezcobj_state_ezcobj_state_priority.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ezcobj_state_ezcobj_state_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ezcobj_state_ezcobj_state_lmask.sql deleted file mode 100644 index 6d6498dfa3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ezcobj_state_ezcobj_state_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ezcobj_state_ezcobj_state_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ezcobj_state_ezcobj_state_identifier.sql deleted file mode 100644 index a622a7319b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ezcobj_state_ezcobj_state_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ezcobj_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ezcobj_state_group.sql deleted file mode 100644 index a312f68826..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ezcobj_state_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state_group (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql deleted file mode 100644 index 8693d6bab5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ezcobj_state_group_ezcobj_state_group_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql deleted file mode 100644 index 36481c9271..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ezcobj_state_group_ezcobj_state_group_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ezcobj_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ezcobj_state_group_language.sql deleted file mode 100644 index bf099e3762..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ezcobj_state_group_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state_group_language (contentobject_state_group_id INTEGER DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ezcobj_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ezcobj_state_language.sql deleted file mode 100644 index e0c93b23f4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ezcobj_state_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state_language (contentobject_state_id INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ezcobj_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ezcobj_state_link.sql deleted file mode 100644 index ab29b826f2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ezcobj_state_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcobj_state_link (contentobject_id INTEGER DEFAULT 0 NOT NULL, contentobject_state_id INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ezcontent_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ezcontent_language.sql deleted file mode 100644 index 3f3f93dd8f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ezcontent_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontent_language (id BIGINT DEFAULT 0 NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ezcontent_language_ezcontent_language_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ezcontent_language_ezcontent_language_name.sql deleted file mode 100644 index 0a236b1d78..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ezcontent_language_ezcontent_language_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontent_language_name ON ezcontent_language (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ezuser.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ezuser.sql deleted file mode 100644 index 6f85547ed8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ezuser.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezuser (contentobject_id INTEGER DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INTEGER DEFAULT 1 NOT NULL, password_updated_at INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ezuser_ezuser_login.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ezuser_ezuser_login.sql deleted file mode 100644 index 382bc2fe6f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ezuser_ezuser_login.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ezuser_login ON ezuser (login); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ezcontentobject_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ezcontentobject_tree.sql deleted file mode 100644 index cd5fdd8520..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ezcontentobject_tree.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_tree (node_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_is_published INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql deleted file mode 100644 index 7a3cbafefc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ezcontentobject_tree_ezcontentobject_tree_p_node_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql deleted file mode 100644 index a0694b8c61..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ezcontentobject_tree_ezcontentobject_tree_path_ident.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql deleted file mode 100644 index 80dcea65d9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ezcontentobject_tree_ezcontentobject_tree_contentobject_id_path_string.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql deleted file mode 100644 index 9f76373cac..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ezcontentobject_tree_ezcontentobject_tree_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql deleted file mode 100644 index d7b5136f63..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ezcontentobject_tree_ezcontentobject_tree_depth.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql deleted file mode 100644 index f0c7ac9ecc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ezcontentobject_tree_ezcontentobject_tree_path.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ezcontentobject_tree_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ezcontentobject_tree_modified_subnode.sql deleted file mode 100644 index 87676071e9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ezcontentobject_tree_modified_subnode.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql deleted file mode 100644 index 22d066cdca..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ezcontentobject_tree_ezcontentobject_tree_remote_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ezcontentbrowsebookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ezcontentbrowsebookmark.sql deleted file mode 100644 index 5e78454445..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ezcontentbrowsebookmark.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentbrowsebookmark (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, node_id INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE, CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql deleted file mode 100644 index 659a26c514..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql deleted file mode 100644 index 5b0696a7e8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql deleted file mode 100644 index 6c77193029..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ezcontentbrowsebookmark_ezcontentbrowsebookmark_user_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ezcontentclass.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ezcontentclass.sql deleted file mode 100644 index 47fcb50231..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ezcontentclass.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, always_available INTEGER DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB DEFAULT NULL, sort_field INTEGER DEFAULT 1 NOT NULL, sort_order INTEGER DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ezcontentclass_ezcontentclass_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ezcontentclass_ezcontentclass_version.sql deleted file mode 100644 index 7fd0e3cfa1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ezcontentclass_ezcontentclass_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentclass_version ON ezcontentclass (version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ezcontentclass_ezcontentclass_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ezcontentclass_ezcontentclass_identifier.sql deleted file mode 100644 index 24c8111651..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ezcontentclass_ezcontentclass_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ezcontentclass_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ezcontentclass_attribute.sql deleted file mode 100644 index 4afcafb110..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ezcontentclass_attribute.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass_attribute (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, can_translate INTEGER DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, contentclass_id INTEGER DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INTEGER DEFAULT NULL, data_int2 INTEGER DEFAULT NULL, data_int3 INTEGER DEFAULT NULL, data_int4 INTEGER DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INTEGER DEFAULT 0 NOT NULL, is_required INTEGER DEFAULT 0 NOT NULL, is_searchable INTEGER DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT '0' NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, serialized_data_text CLOB DEFAULT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql deleted file mode 100644 index 7875734dae..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ezcontentclass_attribute_ezcontentclass_attr_ccid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql deleted file mode 100644 index ba2700ac55..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ezcontentclass_attribute_ezcontentclass_attr_dts.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ezcontentclass_attribute_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ezcontentclass_attribute_ml.sql deleted file mode 100644 index e94bd6f294..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ezcontentclass_attribute_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass_attribute_ml (contentclass_attribute_id INTEGER NOT NULL, version INTEGER NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description CLOB DEFAULT NULL, data_text CLOB DEFAULT NULL, data_json CLOB DEFAULT NULL, PRIMARY KEY(contentclass_attribute_id, version, language_id), CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql deleted file mode 100644 index f17be3c68c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ezcontentclass_attribute_ml_ezcontentclass_attribute_ml_lang_fk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ezcontentclass_classgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ezcontentclass_classgroup.sql deleted file mode 100644 index 25cac4ef2a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ezcontentclass_classgroup.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass_classgroup (contentclass_id INTEGER DEFAULT 0 NOT NULL, contentclass_version INTEGER DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ezcontentclass_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ezcontentclass_name.sql deleted file mode 100644 index 776d327767..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ezcontentclass_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclass_name (contentclass_id INTEGER DEFAULT 0 NOT NULL, contentclass_version INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ezcontentclassgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ezcontentclassgroup.sql deleted file mode 100644 index 7a7cde12e8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ezcontentclassgroup.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentclassgroup (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ezcontentobject.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ezcontentobject.sql deleted file mode 100644 index f1364cf079..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ezcontentobject.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentclass_id INTEGER DEFAULT 0 NOT NULL, current_version INTEGER DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0, is_hidden BOOLEAN DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ezcontentobject_ezcontentobject_classid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ezcontentobject_ezcontentobject_classid.sql deleted file mode 100644 index 5dddc18819..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ezcontentobject_ezcontentobject_classid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ezcontentobject_ezcontentobject_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ezcontentobject_ezcontentobject_lmask.sql deleted file mode 100644 index 6fd63f61d8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ezcontentobject_ezcontentobject_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ezcontentobject_ezcontentobject_pub.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ezcontentobject_ezcontentobject_pub.sql deleted file mode 100644 index 022ffd1c54..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ezcontentobject_ezcontentobject_pub.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_pub ON ezcontentobject (published); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ezcontentobject_ezcontentobject_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ezcontentobject_ezcontentobject_section.sql deleted file mode 100644 index 2459702346..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ezcontentobject_ezcontentobject_section.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ezcontentobject_ezcontentobject_currentversion.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ezcontentobject_ezcontentobject_currentversion.sql deleted file mode 100644 index cb0f62d824..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ezcontentobject_ezcontentobject_currentversion.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ezcontentobject_ezcontentobject_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ezcontentobject_ezcontentobject_owner.sql deleted file mode 100644 index 17c73894b6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ezcontentobject_ezcontentobject_owner.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ezcontentobject_ezcontentobject_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ezcontentobject_ezcontentobject_status.sql deleted file mode 100644 index f68fa6262f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ezcontentobject_ezcontentobject_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_status ON ezcontentobject (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ezcontentobject_ezcontentobject_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ezcontentobject_ezcontentobject_remote_id.sql deleted file mode 100644 index 6e86f88cfe..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ezcontentobject_ezcontentobject_remote_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ezcontentobject_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ezcontentobject_attribute.sql deleted file mode 100644 index 13b2780ba6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ezcontentobject_attribute.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_attribute (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, attribute_original_id INTEGER DEFAULT 0, contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INTEGER DEFAULT NULL, data_text CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INTEGER DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql deleted file mode 100644 index 6b23dbfdcb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver_lang_code.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql deleted file mode 100644 index c8391d6730..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ezcontentobject_attribute_ezcontentobject_classattr_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ezcontentobject_attribute_sort_key_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ezcontentobject_attribute_sort_key_string.sql deleted file mode 100644 index 320329b4f4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ezcontentobject_attribute_sort_key_string.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql deleted file mode 100644 index 31e10963b6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ezcontentobject_attribute_ezcontentobject_attribute_language_code.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ezcontentobject_attribute_sort_key_int.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ezcontentobject_attribute_sort_key_int.sql deleted file mode 100644 index d89a560a80..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ezcontentobject_attribute_sort_key_int.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql deleted file mode 100644 index 3a0b46cb82..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ezcontentobject_attribute_ezcontentobject_attribute_co_id_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ezcontentobject_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ezcontentobject_link.sql deleted file mode 100644 index 9c80af1662..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ezcontentobject_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_version INTEGER DEFAULT 0 NOT NULL, relation_type INTEGER DEFAULT 1 NOT NULL, to_contentobject_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql deleted file mode 100644 index c09dfefbf0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ezcontentobject_link_ezco_link_to_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ezcontentobject_link_ezco_link_from.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ezcontentobject_link_ezco_link_from.sql deleted file mode 100644 index 5553d5dbb9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ezcontentobject_link_ezco_link_from.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ezcontentobject_link_ezco_link_cca_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ezcontentobject_link_ezco_link_cca_id.sql deleted file mode 100644 index 576d349337..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ezcontentobject_link_ezco_link_cca_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ezcontentobject_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ezcontentobject_name.sql deleted file mode 100644 index 330a997cdc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ezcontentobject_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_name (contentobject_id INTEGER DEFAULT 0 NOT NULL, content_version INTEGER DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql deleted file mode 100644 index a53893b840..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ezcontentobject_name_ezcontentobject_name_lang_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql deleted file mode 100644 index d47ec6ff06..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ezcontentobject_name_ezcontentobject_name_cov_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql deleted file mode 100644 index 066bdd2ddf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ezcontentobject_name_ezcontentobject_name_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ezcontentobject_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ezcontentobject_trash.sql deleted file mode 100644 index 8cf7a78639..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ezcontentobject_trash.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_trash (node_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, trashed INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql deleted file mode 100644 index 22a5480ee9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ezcontentobject_trash_ezcobj_trash_depth.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql deleted file mode 100644 index 1b230d30c0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ezcontentobject_trash_ezcobj_trash_p_node_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql deleted file mode 100644 index e97fae979c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ezcontentobject_trash_ezcobj_trash_path_ident.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql deleted file mode 100644 index 4f2edf4230..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ezcontentobject_trash_ezcobj_trash_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql deleted file mode 100644 index 980553e6cc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ezcontentobject_trash_ezcobj_trash_modified_subnode.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql deleted file mode 100644 index 41f87ea995..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ezcontentobject_trash_ezcobj_trash_path.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ezcontentobject_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ezcontentobject_version.sql deleted file mode 100644 index 73919870ef..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ezcontentobject_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezcontentobject_version (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, workflow_event_pos INTEGER DEFAULT 0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ezcontentobject_version_ezcobj_version_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ezcontentobject_version_ezcobj_version_status.sql deleted file mode 100644 index eb1712c587..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ezcontentobject_version_ezcobj_version_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ezcontentobject_version_idx_object_version_objver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ezcontentobject_version_idx_object_version_objver.sql deleted file mode 100644 index d9ade282a1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ezcontentobject_version_idx_object_version_objver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql deleted file mode 100644 index f8b3625958..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ezcontentobject_version_ezcontobj_version_obj_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql deleted file mode 100644 index 7ad71e9d33..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ezcontentobject_version_ezcobj_version_creator_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ezdfsfile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ezdfsfile.sql deleted file mode 100644 index 0dc2e4d0ff..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ezdfsfile.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezdfsfile (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name CLOB NOT NULL, name_trunk CLOB NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INTEGER DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT '0' NOT NULL, status BOOLEAN DEFAULT '0' NOT NULL, PRIMARY KEY(name_hash)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql deleted file mode 100644 index a52478c504..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ezdfsfile_ezdfsfile_name_trunk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ezdfsfile_ezdfsfile_expired_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ezdfsfile_ezdfsfile_expired_name.sql deleted file mode 100644 index b6a67a8141..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ezdfsfile_ezdfsfile_expired_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ezdfsfile_ezdfsfile_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ezdfsfile_ezdfsfile_name.sql deleted file mode 100644 index b1093dd031..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ezdfsfile_ezdfsfile_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezdfsfile_name ON ezdfsfile (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ezdfsfile_ezdfsfile_mtime.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ezdfsfile_ezdfsfile_mtime.sql deleted file mode 100644 index 74974918cf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ezdfsfile_ezdfsfile_mtime.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ezgmaplocation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ezgmaplocation.sql deleted file mode 100644 index a16efa09bf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ezgmaplocation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezgmaplocation (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_version INTEGER DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ezgmaplocation_latitude_longitude_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ezgmaplocation_latitude_longitude_key.sql deleted file mode 100644 index c71ce38856..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ezgmaplocation_latitude_longitude_key.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ezimagefile.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ezimagefile.sql deleted file mode 100644 index f22ea4c070..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ezimagefile.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezimagefile (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, filepath CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ezimagefile_ezimagefile_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ezimagefile_ezimagefile_file.sql deleted file mode 100644 index 9fd53f1f99..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ezimagefile_ezimagefile_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezimagefile_file ON ezimagefile (filepath); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ezimagefile_ezimagefile_coid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ezimagefile_ezimagefile_coid.sql deleted file mode 100644 index 4aa9687e74..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ezimagefile_ezimagefile_coid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ezkeyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ezkeyword.sql deleted file mode 100644 index 5cba288e70..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ezkeyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezkeyword (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, class_id INTEGER DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ezkeyword_ezkeyword_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ezkeyword_ezkeyword_keyword.sql deleted file mode 100644 index d8e144c201..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ezkeyword_ezkeyword_keyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ezkeyword_attribute_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ezkeyword_attribute_link.sql deleted file mode 100644 index cd675686ed..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ezkeyword_attribute_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezkeyword_attribute_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, keyword_id INTEGER DEFAULT 0 NOT NULL, objectattribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql deleted file mode 100644 index 8d8572e8bd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql deleted file mode 100644 index f07b97d9ab..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ezkeyword_attribute_link_ezkeyword_attr_link_kid_oaid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql deleted file mode 100644 index 0404bc617b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ezkeyword_attribute_link_ezkeyword_attr_link_oaid_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ezmedia.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ezmedia.sql deleted file mode 100644 index 5cc240e09b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ezmedia.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezmedia (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INTEGER DEFAULT 0, height INTEGER DEFAULT NULL, is_autoplay INTEGER DEFAULT 0, is_loop INTEGER DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_eznode_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_eznode_assignment.sql deleted file mode 100644 index 5e822ef0c9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_eznode_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE eznode_assignment (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, from_node_id INTEGER DEFAULT 0, is_main INTEGER DEFAULT 0 NOT NULL, op_code INTEGER DEFAULT 0 NOT NULL, parent_node INTEGER DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, priority INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_eznode_assignment_eznode_assignment_is_main.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_eznode_assignment_eznode_assignment_is_main.sql deleted file mode 100644 index 5e5ed94263..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_eznode_assignment_eznode_assignment_is_main.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql deleted file mode 100644 index 987539c281..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_eznode_assignment_eznode_assignment_coid_cov.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_eznode_assignment_eznode_assignment_parent_node.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_eznode_assignment_eznode_assignment_parent_node.sql deleted file mode 100644 index 7c7225c18d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_eznode_assignment_eznode_assignment_parent_node.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_eznode_assignment_eznode_assignment_co_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_eznode_assignment_eznode_assignment_co_version.sql deleted file mode 100644 index 6b519ccc54..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_eznode_assignment_eznode_assignment_co_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_eznotification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_eznotification.sql deleted file mode 100644 index 3f6a172e7c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_eznotification.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE eznotification (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT '1' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INTEGER DEFAULT 0 NOT NULL, data CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_eznotification_eznotification_owner_is_pending.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_eznotification_eznotification_owner_is_pending.sql deleted file mode 100644 index 862b80ddf5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_eznotification_eznotification_owner_is_pending.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_eznotification_eznotification_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_eznotification_eznotification_owner.sql deleted file mode 100644 index b621afd705..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_eznotification_eznotification_owner.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX eznotification_owner ON eznotification (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ezpackage.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ezpackage.sql deleted file mode 100644 index 18c04aae4b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ezpackage.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpackage (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, install_date INTEGER DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ezpolicy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ezpolicy.sql deleted file mode 100644 index 0ea197813d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ezpolicy.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpolicy (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INTEGER DEFAULT 0 NOT NULL, role_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ezpolicy_ezpolicy_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ezpolicy_ezpolicy_role_id.sql deleted file mode 100644 index 366c989ec0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ezpolicy_ezpolicy_role_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ezpolicy_ezpolicy_original_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ezpolicy_ezpolicy_original_id.sql deleted file mode 100644 index 9a3d4f8171..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ezpolicy_ezpolicy_original_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ezpolicy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ezpolicy_limitation.sql deleted file mode 100644 index 79c443ef85..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ezpolicy_limitation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpolicy_limitation (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ezpolicy_limitation_policy_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ezpolicy_limitation_policy_id.sql deleted file mode 100644 index 6640c10ce8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ezpolicy_limitation_policy_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX policy_id ON ezpolicy_limitation (policy_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ezpolicy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ezpolicy_limitation_value.sql deleted file mode 100644 index 08bd1cf9d0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ezpolicy_limitation_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpolicy_limitation_value (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, limitation_id INTEGER DEFAULT NULL, value VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql deleted file mode 100644 index 446a27fdaa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ezpolicy_limitation_value_ezpolicy_limit_value_limit_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql deleted file mode 100644 index 8c0458bdde..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ezpolicy_limitation_value_ezpolicy_limitation_value_val.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ezpreferences.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ezpreferences.sql deleted file mode 100644 index 3b64a2bfba..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ezpreferences.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezpreferences (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INTEGER DEFAULT 0 NOT NULL, value CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ezpreferences_ezpreferences_user_id_idx.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ezpreferences_ezpreferences_user_id_idx.sql deleted file mode 100644 index e8330b63d4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ezpreferences_ezpreferences_user_id_idx.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ezpreferences_ezpreferences_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ezpreferences_ezpreferences_name.sql deleted file mode 100644 index e33390d2a3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ezpreferences_ezpreferences_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezpreferences_name ON ezpreferences (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ezrole.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ezrole.sql deleted file mode 100644 index a712365e6b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ezrole.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezrole (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, is_new INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INTEGER DEFAULT 0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ezsearch_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ezsearch_object_word_link.sql deleted file mode 100644 index 568edef679..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ezsearch_object_word_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezsearch_object_word_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentclass_attribute_id INTEGER DEFAULT 0 NOT NULL, contentclass_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INTEGER DEFAULT 0 NOT NULL, next_word_id INTEGER DEFAULT 0 NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, prev_word_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, section_id INTEGER DEFAULT 0 NOT NULL, word_id INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql deleted file mode 100644 index fb984de9f9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ezsearch_object_word_link_ezsearch_object_word_link_object.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql deleted file mode 100644 index 724819087d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ezsearch_object_word_link_ezsearch_object_word_link_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql deleted file mode 100644 index 9c46453535..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ezsearch_object_word_link_ezsearch_object_word_link_integer_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql deleted file mode 100644 index 058c9b9de2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ezsearch_object_word_link_ezsearch_object_word_link_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql deleted file mode 100644 index 6864b9d5b8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ezsearch_object_word_link_ezsearch_object_word_link_frequency.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ezsearch_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ezsearch_word.sql deleted file mode 100644 index bea025a97c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ezsearch_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezsearch_word (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, object_count INTEGER DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ezsearch_word_ezsearch_word_word_i.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ezsearch_word_ezsearch_word_word_i.sql deleted file mode 100644 index d1f15870a4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ezsearch_word_ezsearch_word_word_i.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ezsearch_word_ezsearch_word_obj_count.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ezsearch_word_ezsearch_word_obj_count.sql deleted file mode 100644 index ee7a50072c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ezsearch_word_ezsearch_word_obj_count.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ezsection.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ezsection.sql deleted file mode 100644 index 6e77c80b0a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ezsection.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezsection (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ezsite_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ezsite_data.sql deleted file mode 100644 index 0cabe9726b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ezsite_data.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezsite_data (name VARCHAR(60) DEFAULT '' NOT NULL, value CLOB NOT NULL, PRIMARY KEY(name)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ezurl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ezurl.sql deleted file mode 100644 index 40720c87df..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ezurl.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurl (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, is_valid INTEGER DEFAULT 1 NOT NULL, last_checked INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ezurl_ezurl_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ezurl_ezurl_url.sql deleted file mode 100644 index d49afdc63d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ezurl_ezurl_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurl_url ON ezurl (url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ezurl_object_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ezurl_object_link.sql deleted file mode 100644 index 4457d5a9ca..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ezurl_object_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurl_object_link (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_attribute_version INTEGER DEFAULT 0 NOT NULL, url_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql deleted file mode 100644 index 67e46a38fe..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ezurl_object_link_ezurl_ol_coa_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ezurl_object_link_ezurl_ol_url_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ezurl_object_link_ezurl_ol_url_id.sql deleted file mode 100644 index 6b9fa680c3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ezurl_object_link_ezurl_ol_url_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql deleted file mode 100644 index 0160b9c1a3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ezurl_object_link_ezurl_ol_coa_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql deleted file mode 100644 index e2b3d317a1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ezurl_object_link_ezurl_ol_coa_id_cav.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ezurlalias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ezurlalias.sql deleted file mode 100644 index 46fd22ba70..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ezurlalias.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurlalias (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, forward_to_id INTEGER DEFAULT 0 NOT NULL, is_imported INTEGER DEFAULT 0 NOT NULL, is_internal INTEGER DEFAULT 1 NOT NULL, is_wildcard INTEGER DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ezurlalias_ezurlalias_source_md5.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ezurlalias_ezurlalias_source_md5.sql deleted file mode 100644 index b447996855..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ezurlalias_ezurlalias_source_md5.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql deleted file mode 100644 index c884362677..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ezurlalias_ezurlalias_wcard_fwd.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ezurlalias_ezurlalias_forward_to_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ezurlalias_ezurlalias_forward_to_id.sql deleted file mode 100644 index 2cd160e33f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ezurlalias_ezurlalias_forward_to_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql deleted file mode 100644 index 062366e854..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ezurlalias_ezurlalias_imp_wcard_fwd.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ezurlalias_ezurlalias_source_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ezurlalias_ezurlalias_source_url.sql deleted file mode 100644 index aa37643b1e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ezurlalias_ezurlalias_source_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ezurlalias_ezurlalias_desturl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ezurlalias_ezurlalias_desturl.sql deleted file mode 100644 index 07e4107f82..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ezurlalias_ezurlalias_desturl.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ezurlalias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ezurlalias_ml.sql deleted file mode 100644 index fc7ced0139..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ezurlalias_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurlalias_ml (parent INTEGER DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, "action" CLOB NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INTEGER DEFAULT 1 NOT NULL, id INTEGER DEFAULT 0 NOT NULL, is_alias INTEGER DEFAULT 0 NOT NULL, is_original INTEGER DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INTEGER DEFAULT 0 NOT NULL, text CLOB NOT NULL, PRIMARY KEY(parent, text_md5)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql deleted file mode 100644 index 84fd80638b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ezurlalias_ml_ezurlalias_ml_actt_org_al.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql deleted file mode 100644 index b33960fcad..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ezurlalias_ml_ezurlalias_ml_text_lang.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql deleted file mode 100644 index c3f47f4bb7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ezurlalias_ml_ezurlalias_ml_par_act_id_lnk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml ("action", id, link, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql deleted file mode 100644 index 8a9145ac6c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ezurlalias_ml_ezurlalias_ml_par_lnk_txt.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql deleted file mode 100644 index 2a952aa64e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ezurlalias_ml_ezurlalias_ml_act_org.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml ("action", is_original); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql deleted file mode 100644 index 139b8c5f68..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ezurlalias_ml_ezurlalias_ml_text.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql deleted file mode 100644 index 5e0c908085..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ezurlalias_ml_ezurlalias_ml_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql deleted file mode 100644 index 91393fd7ee..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ezurlalias_ml_ezurlalias_ml_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ezurlalias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ezurlalias_ml_incr.sql deleted file mode 100644 index b559dae946..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ezurlalias_ml_incr.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurlalias_ml_incr (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ezurlwildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ezurlwildcard.sql deleted file mode 100644 index 4fef3f6bce..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ezurlwildcard.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezurlwildcard (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, source_url CLOB NOT NULL, type INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ezuser_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ezuser_accountkey.sql deleted file mode 100644 index 0644e63339..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ezuser_accountkey.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezuser_accountkey (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ezuser_accountkey_hash_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ezuser_accountkey_hash_key.sql deleted file mode 100644 index b6d4c50c07..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ezuser_accountkey_hash_key.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX hash_key ON ezuser_accountkey (hash_key); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ezuser_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ezuser_role.sql deleted file mode 100644 index 045b996bbd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ezuser_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezuser_role (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ezuser_role_ezuser_role_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ezuser_role_ezuser_role_role_id.sql deleted file mode 100644 index 2224306ce1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ezuser_role_ezuser_role_role_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ezuser_role_ezuser_role_contentobject_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ezuser_role_ezuser_role_contentobject_id.sql deleted file mode 100644 index 2f779bf8a1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ezuser_role_ezuser_role_contentobject_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ezuser_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ezuser_setting.sql deleted file mode 100644 index 5d10f19c92..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ezuser_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ezuser_setting (user_id INTEGER DEFAULT 0 NOT NULL, is_enabled INTEGER DEFAULT 0 NOT NULL, max_login INTEGER DEFAULT NULL, PRIMARY KEY(user_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql deleted file mode 100644 index 8d12ee2b45..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql +++ /dev/null @@ -1,2 +0,0 @@ -CREATE TABLE ibexa_setting (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value CLOB NOT NULL --(DC2Type:json) -); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql deleted file mode 100644 index d6f3d3b0dc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_setting_id ON ibexa_setting (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql deleted file mode 100644 index e2a05c6a8d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql deleted file mode 100644 index 56545a77df..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token_type (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql deleted file mode 100644 index 17f4b2cf68..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql deleted file mode 100644 index 4ccb1fc31a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, type_id INTEGER NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, expires INTEGER DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT '0' NOT NULL, CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql deleted file mode 100644 index 8217faeab1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql deleted file mode 100644 index 1d13c98da4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ezcobj_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ezcobj_state.sql deleted file mode 100644 index 64e0eacdd1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ezcobj_state.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) -VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ezcobj_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ezcobj_state_group.sql deleted file mode 100644 index 677a43ca5c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ezcobj_state_group.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) -VALUES (2,2,'ez_lock',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ezcobj_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ezcobj_state_group_language.sql deleted file mode 100644 index 9930341865..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ezcobj_state_group_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) -VALUES (2,'',3,'Lock',2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ezcobj_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ezcobj_state_language.sql deleted file mode 100644 index dc7872d95b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ezcobj_state_language.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) -VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ezcobj_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ezcobj_state_link.sql deleted file mode 100644 index 9a0dd8d0e9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ezcobj_state_link.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) -VALUES (1, 1), - (4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ezcontent_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ezcontent_language.sql deleted file mode 100644 index 97bfa86644..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ezcontent_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) -VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ezcontentclass.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ezcontentclass.sql deleted file mode 100644 index 540efcb3ef..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ezcontentclass.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) -VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ezcontentclass_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ezcontentclass_attribute.sql deleted file mode 100644 index 30ad516ff8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ezcontentclass_attribute.sql +++ /dev/null @@ -1,25 +0,0 @@ -INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) -VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ezcontentclass_classgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ezcontentclass_classgroup.sql deleted file mode 100644 index ffa17693b0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ezcontentclass_classgroup.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) -VALUES (1, 0, 1, 'Content'), - (2, 0, 1, 'Content'), - (3, 0, 2, 'Users'), - (4, 0, 2, 'Users'), - (5, 0, 3, 'Media'), - (12, 0, 3, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ezcontentclass_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ezcontentclass_name.sql deleted file mode 100644 index 1f517c87e3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ezcontentclass_name.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) -VALUES (1, 0, 2, 'eng-GB', 'Folder'), - (2, 0, 3, 'eng-GB', 'Article'), - (3, 0, 3, 'eng-GB', 'User group'), - (4, 0, 3, 'eng-GB', 'User'), - (5, 0, 3, 'eng-GB', 'Image'), - (12, 0, 3, 'eng-GB', 'File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ezcontentclassgroup.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ezcontentclassgroup.sql deleted file mode 100644 index 61aea82715..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ezcontentclassgroup.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) -VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), - (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ezcontentobject.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ezcontentobject.sql deleted file mode 100644 index c18bc54f7d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ezcontentobject.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) -VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), - (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), - (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), - (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), - (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), - (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), - (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), - (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), - (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), - (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), - (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ezcontentobject_attribute.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ezcontentobject_attribute.sql deleted file mode 100644 index d2ec35a36f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ezcontentobject_attribute.sql +++ /dev/null @@ -1,41 +0,0 @@ -INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) -VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), - (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), - (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), - (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), - (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), - (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), - (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), - (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), - (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), - (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), - (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), - (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), - (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), - (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), - (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), - (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), - (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), - (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), - (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), - (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), - (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), - (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), - (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), - (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), - (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), - (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), - (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), - (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), - (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), - (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), - (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ezcontentobject_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ezcontentobject_name.sql deleted file mode 100644 index fc75852a7c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ezcontentobject_name.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) -VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), - ('eng-GB',1,4,3,'Users','eng-GB'), - ('eng-GB',2,10,3,'Anonymous User','eng-GB'), - ('eng-GB',1,11,3,'Guest accounts','eng-GB'), - ('eng-GB',1,12,3,'Administrator users','eng-GB'), - ('eng-GB',1,13,3,'Editors','eng-GB'), - ('eng-GB',3,14,3,'Administrator User','eng-GB'), - ('eng-GB',1,41,3,'Media','eng-GB'), - ('eng-GB',1,42,3,'Anonymous users','eng-GB'), - ('eng-GB',1,49,3,'Images','eng-GB'), - ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ezcontentobject_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ezcontentobject_tree.sql deleted file mode 100644 index 1cfc2b9049..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ezcontentobject_tree.sql +++ /dev/null @@ -1,14 +0,0 @@ -INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) -VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ezcontentobject_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ezcontentobject_version.sql deleted file mode 100644 index f8ba2fe49d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ezcontentobject_version.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) -VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_eznode_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_eznode_assignment.sql deleted file mode 100644 index b69e8a455f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_eznode_assignment.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) -VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), - (42,1,0,5,1,2,5,'','0',9,1,0,0), - (10,2,-1,6,1,2,44,'','0',9,1,0,0), - (4,1,0,7,1,2,1,'','0',1,1,0,0), - (12,1,0,8,1,2,5,'','0',1,1,0,0), - (13,1,0,9,1,2,5,'','0',1,1,0,0), - (41,1,0,11,1,2,1,'','0',1,1,0,0), - (11,1,0,12,1,2,5,'','0',1,1,0,0), - (49,1,0,27,1,2,43,'','0',9,1,0,0), - (50,1,0,28,1,2,43,'','0',9,1,0,0), - (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ezpolicy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ezpolicy.sql deleted file mode 100644 index 7e0d289d2b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ezpolicy.sql +++ /dev/null @@ -1,9 +0,0 @@ -INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) -VALUES ('*',317,'content',0,3), - ('login',319,'user',0,3), - ('read',328,'content',0,1), - ('login',331,'user',0,1), - ('*',332,'*',0,2), - ('read',333,'content',0,4), - ('view_embed',334,'content',0,1), - ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ezpolicy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ezpolicy_limitation.sql deleted file mode 100644 index d1dfc57ee9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ezpolicy_limitation.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) -VALUES (251,'Section',328), - (252,'Section',329), - (253,'SiteAccess',331), - (254,'Class',333), - (255,'Owner',333), - (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ezpolicy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ezpolicy_limitation_value.sql deleted file mode 100644 index 26ef009ea8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ezpolicy_limitation_value.sql +++ /dev/null @@ -1,8 +0,0 @@ -INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) -VALUES (477,251,'1'), - (478,252,'1'), - (479,253,'1766001124'), - (480,254,'4'), - (481,255,'1'), - (482,256,'5'), - (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ezrole.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ezrole.sql deleted file mode 100644 index 16605e3ee2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ezrole.sql +++ /dev/null @@ -1,5 +0,0 @@ -INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) -VALUES (1,0,'Anonymous','',0), - (2,0,'Administrator','0',0), - (3,0,'Editor','',0), - (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ezsection.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ezsection.sql deleted file mode 100644 index a12ae3cbfb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ezsection.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) -VALUES (1,'standard','','Standard','ezcontentnavigationpart'), - (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ezsite_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ezsite_data.sql deleted file mode 100644 index 82536384d3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ezsite_data.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ezsite_data` (`name`, `value`) -VALUES ('ibexa-release','4.6'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ezurlalias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ezurlalias.sql deleted file mode 100644 index dbdfab1b74..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ezurlalias.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) -VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), - ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), - ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), - ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), - ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), - ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), - ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), - ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), - ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), - ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), - ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ezurlalias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ezurlalias_ml.sql deleted file mode 100644 index 1a3fce42c5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ezurlalias_ml.sql +++ /dev/null @@ -1,26 +0,0 @@ -INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) -VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), - ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), - ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), - ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), - ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), - ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), - ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), - ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), - ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), - ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), - ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), - ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), - ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), - ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), - ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), - ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), - ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), - ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), - ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), - ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), - ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ezurlalias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ezurlalias_ml_incr.sql deleted file mode 100644 index 60ee1309ce..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ezurlalias_ml_incr.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ezurlalias_ml_incr` (`id`) -VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ezuser.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ezuser.sql deleted file mode 100644 index 151e4f6fa4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ezuser.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) -VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ezuser_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ezuser_role.sql deleted file mode 100644 index 5ad1f12f1e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ezuser_role.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) -VALUES (11,28,'','',1), - (42,31,'','',1), - (13,32,'Subtree','/1/2/',3), - (13,33,'Subtree','/1/43/',3), - (12,34,'','',2), - (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ezuser_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ezuser_setting.sql deleted file mode 100644 index c87f9291dd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ezuser_setting.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) -VALUES (1,1000,10), - (1,10,14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ezpreferences.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ezpreferences.sql deleted file mode 100644 index 5a44f420f9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ezpreferences.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) -SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin'; From 20cb1048c7e8c0813f39be828c7ffdad13ec34eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Fri, 17 Jul 2026 12:53:44 +0200 Subject: [PATCH 04/38] [Doctrine Migrations] Reformatted long/multiline SQL using NOWDOC CREATE TABLE statements are now pretty-printed one column per line, and other long or naturally multi-line statements (multi-row INSERT, long ALTER TABLE ... ADD CONSTRAINT) use NOWDOC instead of a single escaped string literal, for readability. SQL content is unchanged. --- .../Migration/ImportDataMigration.php | 1836 +++++++------- .../Migration/InstallSchemaMigration.php | 2105 +++++++++++++++-- 2 files changed, 2950 insertions(+), 991 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php index f3ebfa20a9..47b68b5ddd 100644 --- a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php @@ -36,559 +36,681 @@ public static function getCreationDate(): DateTimeImmutable public function up(Schema $schema): void { if ($this->platform instanceof MySqlPlatform) { - $this->addSql('INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) -VALUES (2, 2, 1, \'not_locked\', 3, 0), - (2, 2, 2, \'locked\', 3, 1)'); - $this->addSql('INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) -VALUES (2,2,\'ez_lock\',3)'); - $this->addSql('INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) -VALUES (2,\'\',3,\'Lock\',2)'); - $this->addSql('INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) -VALUES (1,\'\',3,\'Not locked\'), - (2,\'\',3,\'Locked\')'); - $this->addSql('INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) -VALUES (1, 1), - (4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1)'); - $this->addSql('INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) -VALUES (0, 2, \'eng-GB\', \'English (United Kingdom)\')'); - $this->addSql('INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) -VALUES (1,\'\',1024392098,14,1,\'folder\',2,1,2,1448831672,14,\'a3d405b81be900468eb153d774f4f0d2\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:6:\\"Folder\\";}\',1,1,NULL,0), - (0,\'\',1024392098,14,2,\'article\',2,1,3,1082454989,14,\'c15b600eb9198b1924063b5a68758232\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:7:\\"Article\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), - (1,\'\',1024392098,14,3,\'user_group\',2,1,3,1048494743,14,\'25b4268cdcd01921b808a0d854b877ef\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:10:\\"User group\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), - (1,\' \',1024392098,14,4,\'user\',2,0,3,1082018364,14,\'40faa822edc579b02c25f6bb7beec3ad\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"User\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), - (1,\'\',1031484992,14,5,\'image\',2,0,3,1048494784,14,\'f6df12aa74e36230eb675f364fccd25a\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), - (1,\'\',1052385472,14,12,\'file\',2,0,3,1052385669,14,\'637d58bfddf164627bdfd265733280a0\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"File\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0)'); - $this->addSql('INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) -VALUES (1,\'\',2,0,0,0,0,255,0,0,0,\'New article\',\'\',\'\',\'\',\'\',\'ezstring\',1,\'title\',0,1,1,1,0,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Title\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,\'Folder\',NULL,NULL,NULL,NULL,\'ezstring\',4,\'name\',0,1,1,0,1,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:4:\\"Name\\";}\',0), - (1,\'\',3,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',6,\'name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',3,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',7,\'description\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:11:\\"Description\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',4,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',8,\'first_name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:10:\\"First name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',4,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',9,\'last_name\',0,1,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:9:\\"Last name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (0,\'\',4,0,0,0,0,7,10,0,0,\'\',\'^[^@]+$\',\'\',\'\',\'\',\'ezuser\',12,\'user_account\',0,1,0,0,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:12:\\"User account\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',5,0,0,0,0,150,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',116,\'name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',5,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezrichtext\',117,\'caption\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:7:\\"Caption\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',5,10.0,0,0,0,0,0,0,0,\'MB\',\'\',\'\',\'\',NULL,\'ezimage\',118,\'image\',0,0,1,1,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezrichtext\',119,\'short_description\',0,0,1,0,3,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:17:\\"Short description\\";}\',0), - (1,\'\',2,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezrichtext\',120,\'intro\',0,1,1,0,4,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Intro\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',2,0,0,0,0,20,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezrichtext\',121,\'body\',0,0,1,0,5,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Body\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (0,\'\',2,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezboolean\',123,\'enable_comments\',0,0,0,0,6,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:15:\\"Enable comments\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',12,0,0,0,0,0,0,0,0,\'New file\',\'\',\'\',\'\',NULL,\'ezstring\',146,\'name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',12,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezrichtext\',147,\'description\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:11:\\"Description\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',12,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezbinaryfile\',148,\'file\',0,1,0,0,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"File\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',2,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',152,\'short_title\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:11:\\"Short title\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',2,0,0,0,0,1,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezauthor\',153,\'author\',0,0,0,0,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:6:\\"Author\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',2,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezobjectrelation\',154,\'image\',0,0,1,0,7,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezstring\',155,\'short_name\',0,0,1,0,2,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:10:\\"Short name\\";}\',0), - (1,\'\',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezrichtext\',156,\'description\',0,0,1,0,4,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:11:\\"Description\\";}\',0), - (1,\'\',4,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',\'\',\'eztext\',179,\'signature\',0,0,1,0,4,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:9:\\"Signature\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',4,10.0,0,0,0,0,0,0,0,\'MB\',\'\',\'\',\'\',\'\',\'ezimage\',180,\'image\',0,0,0,1,5,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0)'); - $this->addSql('INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) -VALUES (1, 0, 1, \'Content\'), - (2, 0, 1, \'Content\'), - (3, 0, 2, \'Users\'), - (4, 0, 2, \'Users\'), - (5, 0, 3, \'Media\'), - (12, 0, 3, \'Media\')'); - $this->addSql('INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) -VALUES (1, 0, 2, \'eng-GB\', \'Folder\'), - (2, 0, 3, \'eng-GB\', \'Article\'), - (3, 0, 3, \'eng-GB\', \'User group\'), - (4, 0, 3, \'eng-GB\', \'User\'), - (5, 0, 3, \'eng-GB\', \'Image\'), - (12, 0, 3, \'eng-GB\', \'File\')'); - $this->addSql('INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) -VALUES (1031216928, 14, 1, 1033922106, 14, \'Content\'), - (1031216941, 14, 2, 1033922113, 14, \'Users\'), - (1032009743, 14, 3, 1033922120, 14, \'Media\')'); - $this->addSql('INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) -VALUES (1,9,1,2,3,1448889046,\'Ibexa Platform\',14,1448889046,\'9459d3c29e15006e45197295722c7ade\',1,1), - (3,1,4,2,3,1033917596,\'Users\',14,1033917596,\'f5c88a2209584891056f987fd965b0ba\',2,1), - (4,2,10,2,3,1072180405,\'Anonymous User\',14,1033920665,\'faaeb9be3bd98ed09f606fc16d144eca\',2,1), - (3,1,11,2,3,1033920746,\'Guest accounts\',14,1033920746,\'5f7f0bdb3381d6a461d8c29ff53d908f\',2,1), - (3,1,12,2,3,1033920775,\'Administrator users\',14,1033920775,\'9b47a45624b023b1a76c73b74d704acf\',2,1), - (3,1,13,2,3,1033920794,\'Editors\',14,1033920794,\'3c160cca19fb135f83bd02d911f04db2\',2,1), - (4,3,14,2,3,1301062024,\'Administrator User\',14,1033920830,\'1bb4fe25487f05527efa8bfd394cecc7\',2,1), - (1,1,41,2,3,1060695457,\'Media\',14,1060695457,\'a6e35cbcb7cd6ae4b691f3eee30cd262\',3,1), - (3,1,42,2,3,1072180330,\'Anonymous users\',14,1072180330,\'15b256dbea2ae72418ff5facc999e8f9\',2,1), - (1,1,49,2,3,1080220197,\'Images\',14,1080220197,\'e7ff633c6b8e0fd3531e74c6e712bead\',3,1), - (1,1,50,2,3,1080220220,\'Files\',14,1080220220,\'732a5acd01b51a6fe6eab448ad4138a9\',3,1), - (1,1,51,2,3,1080220233,\'Multimedia\',14,1080220233,\'09082deb98662a104f325aaa8c4933d3\',3,1)'); - $this->addSql('INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) -VALUES (0,4,1,NULL,NULL,\'Ibexa Platform\',\'ezstring\',1,\'eng-GB\',3,0,\'ibexa platform\',9), - (0,119,1,NULL,NULL,\'
You are now ready to start your project.
\',\'ezrichtext\',2,\'eng-GB\',3,0,\'\',9), - (0,7,4,NULL,NULL,\'Main group\',\'ezstring\',7,\'eng-GB\',3,0,\'\',1), - (0,6,4,NULL,NULL,\'Users\',\'ezstring\',8,\'eng-GB\',3,0,\'\',1), - (0,8,10,0,0,\'Anonymous\',\'ezstring\',19,\'eng-GB\',3,0,\'anonymous\',2), - (0,9,10,0,0,\'User\',\'ezstring\',20,\'eng-GB\',3,0,\'user\',2), - (0,12,10,0,0,\'\',\'ezuser\',21,\'eng-GB\',3,0,\'\',2), - (0,6,11,0,0,\'Guest accounts\',\'ezstring\',22,\'eng-GB\',3,0,\'\',1), - (0,7,11,0,0,\'\',\'ezstring\',23,\'eng-GB\',3,0,\'\',1), - (0,6,12,0,0,\'Administrator users\',\'ezstring\',24,\'eng-GB\',3,0,\'\',1), - (0,7,12,0,0,\'\',\'ezstring\',25,\'eng-GB\',3,0,\'\',1), - (0,6,13,0,0,\'Editors\',\'ezstring\',26,\'eng-GB\',3,0,\'\',1), - (0,7,13,0,0,\'\',\'ezstring\',27,\'eng-GB\',3,0,\'\',1), - (0,8,14,0,0,\'Administrator\',\'ezstring\',28,\'eng-GB\',3,0,\'administrator\',3), - (0,9,14,0,0,\'User\',\'ezstring\',29,\'eng-GB\',3,0,\'user\',3), - (30,12,14,0,0,\'\',\'ezuser\',30,\'eng-GB\',3,0,\'\',3), - (0,4,41,0,0,\'Media\',\'ezstring\',98,\'eng-GB\',3,0,\'\',1), - (0,119,41,0,1045487555,\'\\n
\\n\',\'ezrichtext\',99,\'eng-GB\',3,0,\'\',1), - (0,6,42,0,0,\'Anonymous users\',\'ezstring\',100,\'eng-GB\',3,0,\'anonymous users\',1), - (0,7,42,0,0,\'User group for the anonymous user\',\'ezstring\',101,\'eng-GB\',3,0,\'user group for the anonymous user\',1), - (0,155,1,NULL,NULL,\'Ibexa Platform\',\'ezstring\',102,\'eng-GB\',3,0,\'ibexa platform\',9), - (0,155,41,0,0,\'\',\'ezstring\',103,\'eng-GB\',3,0,\'\',1), - (0,156,1,NULL,NULL,\'
This is the clean installation coming with Ibexa Platform.It\'\'s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
\',\'ezrichtext\',104,\'eng-GB\',3,0,\'\',9), - (0,156,41,0,1045487555,\'\\n
\\n\',\'ezrichtext\',105,\'eng-GB\',3,0,\'\',1), - (0,4,49,0,0,\'Images\',\'ezstring\',142,\'eng-GB\',3,0,\'images\',1), - (0,155,49,0,0,\'\',\'ezstring\',143,\'eng-GB\',3,0,\'\',1), - (0,119,49,0,1045487555,\'\\n
\\n\',\'ezrichtext\',144,\'eng-GB\',3,0,\'\',1), - (0,156,49,0,1045487555,\'\\n
\\n\',\'ezrichtext\',145,\'eng-GB\',3,0,\'\',1), - (0,4,50,0,0,\'Files\',\'ezstring\',147,\'eng-GB\',3,0,\'files\',1), - (0,155,50,0,0,\'\',\'ezstring\',148,\'eng-GB\',3,0,\'\',1), - (0,119,50,0,1045487555,\'\\n
\\n\',\'ezrichtext\',149,\'eng-GB\',3,0,\'\',1), - (0,156,50,0,1045487555,\'\\n
\\n\',\'ezrichtext\',150,\'eng-GB\',3,0,\'\',1), - (0,4,51,0,0,\'Multimedia\',\'ezstring\',152,\'eng-GB\',3,0,\'multimedia\',1), - (0,155,51,0,0,\'\',\'ezstring\',153,\'eng-GB\',3,0,\'\',1), - (0,119,51,0,1045487555,\'\\n
\\n\',\'ezrichtext\',154,\'eng-GB\',3,0,\'\',1), - (0,156,51,0,1045487555,\'\\n
\\n\',\'ezrichtext\',155,\'eng-GB\',3,0,\'\',1), - (0,179,10,0,0,\'\',\'eztext\',177,\'eng-GB\',3,0,\'\',2), - (0,179,14,0,0,\'\',\'eztext\',178,\'eng-GB\',3,0,\'\',3), - (0,180,10,0,0,\'\',\'ezimage\',179,\'eng-GB\',3,0,\'\',2), - (0,180,14,0,0,\'\\n\\n\',\'ezimage\',180,\'eng-GB\',3,0,\'\',3)'); - $this->addSql('INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) -VALUES (\'eng-GB\',9,1,2,\'Ibexa Platform\',\'eng-GB\'), - (\'eng-GB\',1,4,3,\'Users\',\'eng-GB\'), - (\'eng-GB\',2,10,3,\'Anonymous User\',\'eng-GB\'), - (\'eng-GB\',1,11,3,\'Guest accounts\',\'eng-GB\'), - (\'eng-GB\',1,12,3,\'Administrator users\',\'eng-GB\'), - (\'eng-GB\',1,13,3,\'Editors\',\'eng-GB\'), - (\'eng-GB\',3,14,3,\'Administrator User\',\'eng-GB\'), - (\'eng-GB\',1,41,3,\'Media\',\'eng-GB\'), - (\'eng-GB\',1,42,3,\'Anonymous users\',\'eng-GB\'), - (\'eng-GB\',1,49,3,\'Images\',\'eng-GB\'), - (\'eng-GB\',1,50,3,\'Files\',\'eng-GB\'), - (\'eng-GB\',1,51,3,\'Multimedia\',\'eng-GB\')'); - $this->addSql('INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) -VALUES (0,1,1,0,0,0,1,1448999778,1,1,\'\',\'/1/\',0,\'629709ba256fe317c3ddcee35453a96a\',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,\'node_2\',\'/1/2/\',0,\'f3e90596361e31d496d4026eb624c983\',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,\'users\',\'/1/5/\',0,\'3f6d92f8044aed134f32153517850f5a\',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,\'users/guest_accounts\',\'/1/5/12/\',0,\'602dcf84765e56b7f999eaafd3821dd3\',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,\'users/administrator_users\',\'/1/5/13/\',0,\'769380b7aa94541679167eab817ca893\',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,\'users/editors\',\'/1/5/14/\',0,\'f7dda2854fc68f7c8455d9cb14bd04a9\',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,\'users/administrator_users/administrator_user\',\'/1/5/13/15/\',0,\'e5161a99f733200b9ed4e80f9c16187b\',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,\'media\',\'/1/43/\',0,\'75c715a51699d2d309a924eca6a95145\',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,\'users/anonymous_users\',\'/1/5/44/\',0,\'4fdf0072da953bb276c0c7e0141c5c9b\',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,\'users/anonymous_users/anonymous_user\',\'/1/5/44/45/\',0,\'2cf8343bee7b482bab82b269d8fecd76\',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,\'media/images\',\'/1/43/51/\',0,\'1b26c0454b09bb49dfb1b9190ffd67cb\',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,\'media/files\',\'/1/43/52/\',0,\'0b113a208f7890f9ad3c24444ff5988c\',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,\'media/multimedia\',\'/1/43/53/\',0,\'4f18b82c75f10aad476cae5adf98c11f\',9,1)'); - $this->addSql('INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) -VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0)'); - $this->addSql('INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) -VALUES (8,2,0,4,1,2,5,\'\',\'0\',1,1,0,0), - (42,1,0,5,1,2,5,\'\',\'0\',9,1,0,0), - (10,2,-1,6,1,2,44,\'\',\'0\',9,1,0,0), - (4,1,0,7,1,2,1,\'\',\'0\',1,1,0,0), - (12,1,0,8,1,2,5,\'\',\'0\',1,1,0,0), - (13,1,0,9,1,2,5,\'\',\'0\',1,1,0,0), - (41,1,0,11,1,2,1,\'\',\'0\',1,1,0,0), - (11,1,0,12,1,2,5,\'\',\'0\',1,1,0,0), - (49,1,0,27,1,2,43,\'\',\'0\',9,1,0,0), - (50,1,0,28,1,2,43,\'\',\'0\',9,1,0,0), - (51,1,0,29,1,2,43,\'\',\'0\',9,1,0,0), - (14,3,-1,38,1,2,13,\'\',\'0\',1,1,0,0)'); - $this->addSql('INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) -VALUES (\'*\',317,\'content\',0,3), - (\'login\',319,\'user\',0,3), - (\'read\',328,\'content\',0,1), - (\'login\',331,\'user\',0,1), - (\'*\',332,\'*\',0,2), - (\'read\',333,\'content\',0,4), - (\'view_embed\',334,\'content\',0,1), - (\'*\',340,\'url\',0,3)'); - $this->addSql('INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) -VALUES (251,\'Section\',328), - (252,\'Section\',329), - (253,\'SiteAccess\',331), - (254,\'Class\',333), - (255,\'Owner\',333), - (256,\'Class\',334)'); - $this->addSql('INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) -VALUES (477,251,\'1\'), - (478,252,\'1\'), - (479,253,\'1766001124\'), - (480,254,\'4\'), - (481,255,\'1\'), - (482,256,\'5\'), - (483,256,\'12\')'); - $this->addSql('INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) -VALUES (1,0,\'Anonymous\',\'\',0), - (2,0,\'Administrator\',\'0\',0), - (3,0,\'Editor\',\'\',0), - (4,0,\'Member\',\'\',0)'); - $this->addSql('INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) -VALUES (1,\'standard\',\'\',\'Standard\',\'ezcontentnavigationpart\'), - (2,\'users\',\'\',\'Users\',\'ezusernavigationpart\'), - (3,\'media\',\'\',\'Media\',\'ezmedianavigationpart\')'); - $this->addSql('INSERT INTO `ezsite_data` (`name`, `value`) -VALUES (\'ibexa-release\',\'4.6\')'); - $this->addSql('INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) -VALUES (\'content/view/full/2\',0,12,1,1,0,\'d41d8cd98f00b204e9800998ecf8427e\',\'\'), - (\'content/view/full/5\',0,13,1,1,0,\'9bc65c2abec141778ffaa729489f3e87\',\'users\'), - (\'content/view/full/12\',0,15,1,1,0,\'02d4e844e3a660857a3f81585995ffe1\',\'users/guest_accounts\'), - (\'content/view/full/13\',0,16,1,1,0,\'1b1d79c16700fd6003ea7be233e754ba\',\'users/administrator_users\'), - (\'content/view/full/14\',0,17,1,1,0,\'0bb9dd665c96bbc1cf36b79180786dea\',\'users/editors\'), - (\'content/view/full/15\',0,18,1,1,0,\'f1305ac5f327a19b451d82719e0c3f5d\',\'users/administrator_users/administrator_user\'), - (\'content/view/full/43\',0,20,1,1,0,\'62933a2951ef01f4eafd9bdf4d3cd2f0\',\'media\'), - (\'content/view/full/44\',0,21,1,1,0,\'3ae1aac958e1c82013689d917d34967a\',\'users/anonymous_users\'), - (\'content/view/full/45\',0,22,1,1,0,\'aad93975f09371695ba08292fd9698db\',\'users/anonymous_users/anonymous_user\'), - (\'content/view/full/51\',0,28,1,1,0,\'38985339d4a5aadfc41ab292b4527046\',\'media/images\'), - (\'content/view/full/52\',0,29,1,1,0,\'ad5a8c6f6aac3b1b9df267fe22e7aef6\',\'media/files\'), - (\'content/view/full/53\',0,30,1,1,0,\'562a0ac498571c6c3529173184a2657c\',\'media/multimedia\')'); - $this->addSql('INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) -VALUES (\'nop:\',\'nop\',1,17,0,0,1,17,0,\'media2\',\'50e2736330de124f6edea9b008556fe6\'), - (\'eznode:43\',\'eznode\',1,9,0,1,3,9,0,\'Media\',\'62933a2951ef01f4eafd9bdf4d3cd2f0\'), - (\'nop:\',\'nop\',1,3,0,0,1,3,0,\'users2\',\'86425c35a33507d479f71ade53a669aa\'), - (\'eznode:5\',\'eznode\',1,2,0,1,3,2,0,\'Users\',\'9bc65c2abec141778ffaa729489f3e87\'), - (\'eznode:2\',\'eznode\',1,1,0,1,3,1,0,\'\',\'d41d8cd98f00b204e9800998ecf8427e\'), - (\'eznode:14\',\'eznode\',1,6,0,1,3,6,2,\'Editors\',\'a147e136bfa717592f2bd70bd4b53b17\'), - (\'eznode:44\',\'eznode\',1,10,0,1,3,10,2,\'Anonymous-Users\',\'c2803c3fa1b0b5423237b4e018cae755\'), - (\'eznode:12\',\'eznode\',1,4,0,1,3,4,2,\'Guest-accounts\',\'e57843d836e3af8ab611fde9e2139b3a\'), - (\'eznode:13\',\'eznode\',1,5,0,1,3,5,2,\'Administrator-users\',\'f89fad7f8a3abc8c09e1deb46a420007\'), - (\'nop:\',\'nop\',1,11,0,0,1,11,3,\'anonymous_users2\',\'505e93077a6dde9034ad97a14ab022b1\'), - (\'eznode:12\',\'eznode\',1,26,0,0,1,4,3,\'guest_accounts\',\'70bb992820e73638731aa8de79b3329e\'), - (\'eznode:14\',\'eznode\',1,29,0,0,1,6,3,\'editors\',\'a147e136bfa717592f2bd70bd4b53b17\'), - (\'nop:\',\'nop\',1,7,0,0,1,7,3,\'administrator_users2\',\'a7da338c20bf65f9f789c87296379c2a\'), - (\'eznode:13\',\'eznode\',1,27,0,0,1,5,3,\'administrator_users\',\'aeb8609aa933b0899aa012c71139c58c\'), - (\'eznode:44\',\'eznode\',1,30,0,0,1,10,3,\'anonymous_users\',\'e9e5ad0c05ee1a43715572e5cc545926\'), - (\'eznode:15\',\'eznode\',1,8,0,1,3,8,5,\'Administrator-User\',\'5a9d7b0ec93173ef4fedee023209cb61\'), - (\'eznode:15\',\'eznode\',1,28,0,0,0,8,7,\'administrator_user\',\'a3cca2de936df1e2f805710399989971\'), - (\'eznode:53\',\'eznode\',1,20,0,1,3,20,9,\'Multimedia\',\'2e5bc8831f7ae6a29530e7f1bbf2de9c\'), - (\'eznode:52\',\'eznode\',1,19,0,1,3,19,9,\'Files\',\'45b963397aa40d4a0063e0d85e4fe7a1\'), - (\'eznode:51\',\'eznode\',1,18,0,1,3,18,9,\'Images\',\'59b514174bffe4ae402b3d63aad79fe0\'), - (\'eznode:45\',\'eznode\',1,12,0,1,3,12,10,\'Anonymous-User\',\'ccb62ebca03a31272430bc414bd5cd5b\'), - (\'eznode:45\',\'eznode\',1,31,0,0,1,12,11,\'anonymous_user\',\'c593ec85293ecb0e02d50d4c5c6c20eb\'), - (\'eznode:53\',\'eznode\',1,34,0,0,1,20,17,\'multimedia\',\'2e5bc8831f7ae6a29530e7f1bbf2de9c\'), - (\'eznode:52\',\'eznode\',1,33,0,0,1,19,17,\'files\',\'45b963397aa40d4a0063e0d85e4fe7a1\'), - (\'eznode:51\',\'eznode\',1,32,0,0,1,18,17,\'images\',\'59b514174bffe4ae402b3d63aad79fe0\')'); - $this->addSql('INSERT INTO `ezurlalias_ml_incr` (`id`) -VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37)'); - $this->addSql('INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) -VALUES (10,\'anonymous@link.invalid\',\'anonymous\',\'$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC\',7), - (14,\'admin@link.invalid\',\'admin\',\'$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy\',7)'); - $this->addSql('INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) -VALUES (11,28,\'\',\'\',1), - (42,31,\'\',\'\',1), - (13,32,\'Subtree\',\'/1/2/\',3), - (13,33,\'Subtree\',\'/1/43/\',3), - (12,34,\'\',\'\',2), - (13,35,\'\',\'\',4)'); - $this->addSql('INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) -VALUES (1,1000,10), - (1,10,14)'); - $this->addSql('INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) -SELECT \'focus_mode\', u.contentobject_id, \'0\' FROM `ezuser` u WHERE u.login = \'admin\''); + $this->addSql(<<<'SQL' + INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) + VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) + VALUES (2,2,'ez_lock',3) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) + VALUES (2,'',3,'Lock',2) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) + VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) + VALUES (1, 1), + (4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) + VALUES (0, 2, 'eng-GB', 'English (United Kingdom)') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) + VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) + VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) + VALUES (1, 0, 1, 'Content'), + (2, 0, 1, 'Content'), + (3, 0, 2, 'Users'), + (4, 0, 2, 'Users'), + (5, 0, 3, 'Media'), + (12, 0, 3, 'Media') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) + VALUES (1, 0, 2, 'eng-GB', 'Folder'), + (2, 0, 3, 'eng-GB', 'Article'), + (3, 0, 3, 'eng-GB', 'User group'), + (4, 0, 3, 'eng-GB', 'User'), + (5, 0, 3, 'eng-GB', 'Image'), + (12, 0, 3, 'eng-GB', 'File') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) + VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) + VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) + VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) + VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) + VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) + VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) + VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) + VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) + VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) + VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) + VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) + VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezsite_data` (`name`, `value`) + VALUES ('ibexa-release','4.6') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) + VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) + VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezurlalias_ml_incr` (`id`) + VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) + VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) + VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) + VALUES (1,1000,10), + (1,10,14) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) + SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin' + SQL); } elseif ($this->platform instanceof PostgreSqlPlatform) { - $this->addSql('INSERT INTO "ezcobj_state" ("default_language_id", "group_id", "id", "identifier", "language_mask", "priority") -VALUES (2, 2, 1, \'not_locked\', 3, 0), - (2, 2, 2, \'locked\', 3, 1)'); - $this->addSql('INSERT INTO "ezcobj_state_group" ("default_language_id", "id", "identifier", "language_mask") -VALUES (2, 2, \'ez_lock\', 3)'); - $this->addSql('INSERT INTO "ezcobj_state_group_language" ("contentobject_state_group_id", "description","language_id", "name", "real_language_id") -VALUES (2, \'\', 3, \'Lock\', 2)'); - $this->addSql('INSERT INTO "ezcobj_state_language" ("contentobject_state_id", "description", "language_id", "name") -VALUES (1,\'\',3,\'Not locked\'), - (2,\'\',3,\'Locked\')'); - $this->addSql('INSERT INTO "ezcobj_state_link" ("contentobject_id", "contentobject_state_id") -VALUES ( 1, 1), - ( 4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1)'); - $this->addSql('INSERT INTO "ezcontent_language" ("disabled", "id", "locale", "name") -VALUES (0, 2, \'eng-GB\', \'English (United Kingdom)\')'); - $this->addSql('INSERT INTO "ezcontentclass" ("always_available", "contentobject_name", "created", "creator_id", "id", "identifier", "initial_language_id", "is_container", "language_mask", "modified", "modifier_id", "remote_id", "serialized_description_list", "serialized_name_list", "sort_field", "sort_order", "url_alias_name", "version") -VALUES (1,\'\',1024392098,14,1,\'folder\',2,1,2,1448831672,14,\'a3d405b81be900468eb153d774f4f0d2\',\'a:0:{}\',\'a:1:{s:6:"eng-GB";s:6:"Folder";}\',1,1,NULL,0), - (0,\'\',1024392098,14,2,\'article\',2,1,3,1082454989,14,\'c15b600eb9198b1924063b5a68758232\',NULL,\'a:2:{s:6:"eng-GB";s:7:"Article";s:16:"always-available";s:6:"eng-GB";}\',1,1,NULL,0), - (1,\'\',1024392098,14,3,\'user_group\',2,1,3,1048494743,14,\'25b4268cdcd01921b808a0d854b877ef\',NULL,\'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}\',1,1,NULL,0), - (1,\' \',1024392098,14,4,\'user\',2,0,3,1082018364,14,\'40faa822edc579b02c25f6bb7beec3ad\',NULL,\'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}\',1,1,NULL,0), - (1,\'\',1031484992,14,5,\'image\',2,0,3,1048494784,14,\'f6df12aa74e36230eb675f364fccd25a\',NULL,\'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}\',1,1,NULL,0), - (1,\'\',1052385472,14,12,\'file\',2,0,3,1052385669,14,\'637d58bfddf164627bdfd265733280a0\',NULL,\'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}\',1,1,NULL,0)'); - $this->addSql('INSERT INTO "ezcontentclass_attribute" ("can_translate", "category", "contentclass_id", "data_float1", "data_float2", "data_float3", "data_float4", "data_int1", "data_int2", "data_int3", "data_int4", "data_text1", "data_text2", "data_text3", "data_text4", "data_text5", "data_type_string", "id", "identifier", "is_information_collector", "is_required", "is_searchable", "is_thumbnail", "placement", "serialized_data_text", "serialized_description_list", "serialized_name_list", "version") -VALUES (1,\'\',2,0,0,0,0,255,0,0,0,\'New article\',\'\',\'\',\'\',\'\',\'ezstring\',1,\'title\',0,1,1,FALSE,1,NULL,NULL,\'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,\'Folder\',NULL,NULL,NULL,NULL,\'ezstring\',4,\'name\',0,1,1,FALSE,1,\'N;\',\'a:0:{}\',\'a:1:{s:6:"eng-GB";s:4:"Name";}\',0), - (1,\'\',3,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',6,\'name\',0,1,1,FALSE,1,NULL,NULL,\'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',3,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',7,\'description\',0,0,1,FALSE,2,NULL,NULL,\'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',4,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',8,\'first_name\',0,1,1,FALSE,1,NULL,NULL,\'a:2:{s:6:"eng-GB";s:10:"First name";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',4,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',9,\'last_name\',0,1,1,FALSE,2,NULL,NULL,\'a:2:{s:6:"eng-GB";s:9:"Last name";s:16:"always-available";s:6:"eng-GB";}\',0), - (0,\'\',4,0,0,0,0,7,10,0,0,\'\',\'^[^@]+$\',\'\',\'\',\'\',\'ezuser\',12,\'user_account\',0,1,0,FALSE,3,NULL,NULL,\'a:2:{s:6:"eng-GB";s:12:"User account";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',5,0,0,0,0,150,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',116,\'name\',0,1,1,FALSE,1,NULL,NULL,\'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',5,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezrichtext\',117,\'caption\',0,0,1,FALSE,2,NULL,NULL,\'a:2:{s:6:"eng-GB";s:7:"Caption";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',5,10.0,0,0,0,0,0,0,0,\'MB\',\'\',\'\',\'\',NULL,\'ezimage\',118,\'image\',0,0,1,TRUE,3,NULL,NULL,\'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezrichtext\',119,\'short_description\',0,0,1,FALSE,3,\'N;\',\'a:0:{}\',\'a:1:{s:6:"eng-GB";s:17:"Short description";}\',0), - (1,\'\',2,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezrichtext\',120,\'intro\',0,1,1,FALSE,4,NULL,NULL,\'a:2:{s:6:"eng-GB";s:5:"Intro";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',2,0,0,0,0,20,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezrichtext\',121,\'body\',0,0,1,FALSE,5,NULL,NULL,\'a:2:{s:6:"eng-GB";s:4:"Body";s:16:"always-available";s:6:"eng-GB";}\',0), - (0,\'\',2,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezboolean\',123,\'enable_comments\',0,0,0,FALSE,6,NULL,NULL,\'a:2:{s:6:"eng-GB";s:15:"Enable comments";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',12,0,0,0,0,0,0,0,0,\'New file\',\'\',\'\',\'\',NULL,\'ezstring\',146,\'name\',0,1,1,FALSE,1,NULL,NULL,\'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',12,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezrichtext\',147,\'description\',0,0,1,FALSE,2,NULL,NULL,\'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',12,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezbinaryfile\',148,\'file\',0,1,0,FALSE,3,NULL,NULL,\'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',2,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',152,\'short_title\',0,0,1,FALSE,2,NULL,NULL,\'a:2:{s:6:"eng-GB";s:11:"Short title";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',2,0,0,0,0,1,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezauthor\',153,\'author\',0,0,0,FALSE,3,NULL,NULL,\'a:2:{s:6:"eng-GB";s:6:"Author";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',2,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezobjectrelation\',154,\'image\',0,0,1,FALSE,7,NULL,NULL,\'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezstring\',155,\'short_name\',0,0,1,FALSE,2,\'N;\',\'a:0:{}\',\'a:1:{s:6:"eng-GB";s:10:"Short name";}\',0), - (1,\'\',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezrichtext\',156,\'description\',0,0,1,FALSE,4,\'N;\',\'a:0:{}\',\'a:1:{s:6:"eng-GB";s:11:"Description";}\',0), - (1,\'\',4,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',\'\',\'eztext\',179,\'signature\',0,0,1,FALSE,4,NULL,NULL,\'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}\',0), - (1,\'\',4,10.0,0,0,0,0,0,0,0,\'MB\',\'\',\'\',\'\',\'\',\'ezimage\',180,\'image\',0,0,0,TRUE,5,NULL,NULL,\'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}\',0)'); - $this->addSql('INSERT INTO "ezcontentclass_classgroup" ("contentclass_id", "contentclass_version", "group_id", "group_name") -VALUES (1,0,1,\'Content\'), - (2,0,1,\'Content\'), - (3,0,2,\'Users\'), - (4,0,2,\'Users\'), - (5,0,3,\'Media\'), - (12,0,3,\'Media\')'); - $this->addSql('INSERT INTO "ezcontentclass_name" ("contentclass_id", "contentclass_version", "language_id", "language_locale", "name") -VALUES (1,0,2,\'eng-GB\',\'Folder\'), - (2,0,3,\'eng-GB\',\'Article\'), - (3,0,3,\'eng-GB\',\'User group\'), - (4,0,3,\'eng-GB\',\'User\'), - (5,0,3,\'eng-GB\',\'Image\'), - (12,0,3,\'eng-GB\',\'File\')'); - $this->addSql('INSERT INTO "ezcontentclassgroup" ("created", "creator_id", "id", "modified", "modifier_id", "name") -VALUES (1031216928, 14, 1, 1033922106, 14, \'Content\'), - (1031216941, 14, 2, 1033922113, 14, \'Users\'), - (1032009743, 14, 3, 1033922120, 14, \'Media\')'); - $this->addSql('INSERT INTO "ezcontentobject" ("contentclass_id", "current_version", "id", "initial_language_id", "language_mask", "modified", "name", "owner_id", "published", "remote_id", "section_id", "status") -VALUES (1,9,1,2,3,1448889046,\'Ibexa Platform\',14,1448889046,\'9459d3c29e15006e45197295722c7ade\',1,1), - (3,1,4,2,3,1033917596,\'Users\',14,1033917596,\'f5c88a2209584891056f987fd965b0ba\',2,1), - (4,2,10,2,3,1072180405,\'Anonymous User\',14,1033920665,\'faaeb9be3bd98ed09f606fc16d144eca\',2,1), - (3,1,11,2,3,1033920746,\'Guest accounts\',14,1033920746,\'5f7f0bdb3381d6a461d8c29ff53d908f\',2,1), - (3,1,12,2,3,1033920775,\'Administrator users\',14,1033920775,\'9b47a45624b023b1a76c73b74d704acf\',2,1), - (3,1,13,2,3,1033920794,\'Editors\',14,1033920794,\'3c160cca19fb135f83bd02d911f04db2\',2,1), - (4,3,14,2,3,1301062024,\'Administrator User\',14,1033920830,\'1bb4fe25487f05527efa8bfd394cecc7\',2,1), - (1,1,41,2,3,1060695457,\'Media\',14,1060695457,\'a6e35cbcb7cd6ae4b691f3eee30cd262\',3,1), - (3,1,42,2,3,1072180330,\'Anonymous users\',14,1072180330,\'15b256dbea2ae72418ff5facc999e8f9\',2,1), - (1,1,49,2,3,1080220197,\'Images\',14,1080220197,\'e7ff633c6b8e0fd3531e74c6e712bead\',3,1), - (1,1,50,2,3,1080220220,\'Files\',14,1080220220,\'732a5acd01b51a6fe6eab448ad4138a9\',3,1), - (1,1,51,2,3,1080220233,\'Multimedia\',14,1080220233,\'09082deb98662a104f325aaa8c4933d3\',3,1)'); - $this->addSql('INSERT INTO "ezcontentobject_attribute" ("attribute_original_id", "contentclassattribute_id", "contentobject_id", "data_float", "data_int", "data_text", "data_type_string", "id", "language_code", "language_id", "sort_key_int", "sort_key_string", "version") -VALUES (0,4,1,NULL,NULL,\'Ibexa Platform\',\'ezstring\',1,\'eng-GB\',3,0,\'ibexa platform\',9), - (0,119,1,NULL,NULL,E\'
You are now ready to start your project.
\',\'ezrichtext\',2,\'eng-GB\',3,0,\'\',9), - (0,7,4,NULL,NULL,\'Main group\',\'ezstring\',7,\'eng-GB\',3,0,\'\',1), - (0,6,4,NULL,NULL,\'Users\',\'ezstring\',8,\'eng-GB\',3,0,\'\',1), - (0,8,10,0,0,\'Anonymous\',\'ezstring\',19,\'eng-GB\',3,0,\'anonymous\',2), - (0,9,10,0,0,\'User\',\'ezstring\',20,\'eng-GB\',3,0,\'user\',2), - (0,12,10,0,0,\'\',\'ezuser\',21,\'eng-GB\',3,0,\'\',2), - (0,6,11,0,0,\'Guest accounts\',\'ezstring\',22,\'eng-GB\',3,0,\'\',1), - (0,7,11,0,0,\'\',\'ezstring\',23,\'eng-GB\',3,0,\'\',1), - (0,6,12,0,0,\'Administrator users\',\'ezstring\',24,\'eng-GB\',3,0,\'\',1), - (0,7,12,0,0,\'\',\'ezstring\',25,\'eng-GB\',3,0,\'\',1), - (0,6,13,0,0,\'Editors\',\'ezstring\',26,\'eng-GB\',3,0,\'\',1), - (0,7,13,0,0,\'\',\'ezstring\',27,\'eng-GB\',3,0,\'\',1), - (0,8,14,0,0,\'Administrator\',\'ezstring\',28,\'eng-GB\',3,0,\'administrator\',3), - (0,9,14,0,0,\'User\',\'ezstring\',29,\'eng-GB\',3,0,\'user\',3), - (30,12,14,0,0,\'\',\'ezuser\',30,\'eng-GB\',3,0,\'\',3), - (0,4,41,0,0,\'Media\',\'ezstring\',98,\'eng-GB\',3,0,\'\',1), - (0,119,41,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',99,\'eng-GB\',3,0,\'\',1), - (0,6,42,0,0,\'Anonymous users\',\'ezstring\',100,\'eng-GB\',3,0,\'anonymous users\',1), - (0,7,42,0,0,\'User group for the anonymous user\',\'ezstring\',101,\'eng-GB\',3,0,\'user group for the anonymous user\',1), - (0,155,1,NULL,NULL,\'Ibexa Platform\',\'ezstring\',102,\'eng-GB\',3,0,\'ibexa platform\',9), - (0,155,41,0,0,\'\',\'ezstring\',103,\'eng-GB\',3,0,\'\',1), - (0,156,1,NULL,NULL,E\'
This is the clean installation coming with Ibexa Platform.It\'\'s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
\',\'ezrichtext\',104,\'eng-GB\',3,0,\'\',9), - (0,156,41,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',105,\'eng-GB\',3,0,\'\',1), - (0,4,49,0,0,\'Images\',\'ezstring\',142,\'eng-GB\',3,0,\'images\',1), - (0,155,49,0,0,\'\',\'ezstring\',143,\'eng-GB\',3,0,\'\',1), - (0,119,49,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',144,\'eng-GB\',3,0,\'\',1), - (0,156,49,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',145,\'eng-GB\',3,0,\'\',1), - (0,4,50,0,0,\'Files\',\'ezstring\',147,\'eng-GB\',3,0,\'files\',1), - (0,155,50,0,0,\'\',\'ezstring\',148,\'eng-GB\',3,0,\'\',1), - (0,119,50,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',149,\'eng-GB\',3,0,\'\',1), - (0,156,50,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',150,\'eng-GB\',3,0,\'\',1), - (0,4,51,0,0,\'Multimedia\',\'ezstring\',152,\'eng-GB\',3,0,\'multimedia\',1), - (0,155,51,0,0,\'\',\'ezstring\',153,\'eng-GB\',3,0,\'\',1), - (0,119,51,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',154,\'eng-GB\',3,0,\'\',1), - (0,156,51,0,1045487555,E\'\\n
\\n\',\'ezrichtext\',155,\'eng-GB\',3,0,\'\',1), - (0,179,10,0,0,\'\',\'eztext\',177,\'eng-GB\',3,0,\'\',2), - (0,179,14,0,0,\'\',\'eztext\',178,\'eng-GB\',3,0,\'\',3), - (0,180,10,0,0,\'\',\'ezimage\',179,\'eng-GB\',3,0,\'\',2), - (0,180,14,0,0,E\'\\n\\n\',\'ezimage\',180,\'eng-GB\',3,0,\'\',3)'); - $this->addSql('INSERT INTO "ezcontentobject_name" ("content_translation", "content_version", "contentobject_id", "language_id", "name", "real_translation") -VALUES (\'eng-GB\',9,1,2,\'Ibexa Platform\',\'eng-GB\'), - (\'eng-GB\',1,4,3,\'Users\',\'eng-GB\'), - (\'eng-GB\',2,10,3,\'Anonymous User\',\'eng-GB\'), - (\'eng-GB\',1,11,3,\'Guest accounts\',\'eng-GB\'), - (\'eng-GB\',1,12,3,\'Administrator users\',\'eng-GB\'), - (\'eng-GB\',1,13,3,\'Editors\',\'eng-GB\'), - (\'eng-GB\',3,14,3,\'Administrator User\',\'eng-GB\'), - (\'eng-GB\',1,41,3,\'Media\',\'eng-GB\'), - (\'eng-GB\',1,42,3,\'Anonymous users\',\'eng-GB\'), - (\'eng-GB\',1,49,3,\'Images\',\'eng-GB\'), - (\'eng-GB\',1,50,3,\'Files\',\'eng-GB\'), - (\'eng-GB\',1,51,3,\'Multimedia\',\'eng-GB\')'); - $this->addSql('INSERT INTO "ezcontentobject_tree" ("contentobject_id", "contentobject_is_published", "contentobject_version", "depth", "is_hidden", "is_invisible", "main_node_id", "modified_subnode", "node_id", "parent_node_id", "path_identification_string", "path_string", "priority", "remote_id", "sort_field", "sort_order") -VALUES (0,1,1,0,0,0,1,1448999778,1,1,\'\',\'/1/\',0,\'629709ba256fe317c3ddcee35453a96a\',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,\'node_2\',\'/1/2/\',0,\'f3e90596361e31d496d4026eb624c983\',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,\'users\',\'/1/5/\',0,\'3f6d92f8044aed134f32153517850f5a\',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,\'users/guest_accounts\',\'/1/5/12/\',0,\'602dcf84765e56b7f999eaafd3821dd3\',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,\'users/administrator_users\',\'/1/5/13/\',0,\'769380b7aa94541679167eab817ca893\',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,\'users/editors\',\'/1/5/14/\',0,\'f7dda2854fc68f7c8455d9cb14bd04a9\',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,\'users/administrator_users/administrator_user\',\'/1/5/13/15/\',0,\'e5161a99f733200b9ed4e80f9c16187b\',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,\'media\',\'/1/43/\',0,\'75c715a51699d2d309a924eca6a95145\',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,\'users/anonymous_users\',\'/1/5/44/\',0,\'4fdf0072da953bb276c0c7e0141c5c9b\',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,\'users/anonymous_users/anonymous_user\',\'/1/5/44/45/\',0,\'2cf8343bee7b482bab82b269d8fecd76\',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,\'media/images\',\'/1/43/51/\',0,\'1b26c0454b09bb49dfb1b9190ffd67cb\',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,\'media/files\',\'/1/43/52/\',0,\'0b113a208f7890f9ad3c24444ff5988c\',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,\'media/multimedia\',\'/1/43/53/\',0,\'4f18b82c75f10aad476cae5adf98c11f\',9,1)'); - $this->addSql('INSERT INTO "ezcontentobject_version" ("contentobject_id", "created", "creator_id", "id", "initial_language_id", "language_mask", "modified", "status", "user_id", "version", "workflow_event_pos") -VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0)'); - $this->addSql('INSERT INTO "eznode_assignment" ("contentobject_id", "contentobject_version", "from_node_id", "id", "is_main", "op_code", "parent_node", "parent_remote_id", "remote_id", "sort_field", "sort_order", "priority", "is_hidden") -VALUES (8,2,0,4,1,2,5,\'\',\'0\',1,1,0,0), - (42,1,0,5,1,2,5,\'\',\'0\',9,1,0,0), - (10,2,-1,6,1,2,44,\'\',\'0\',9,1,0,0), - (4,1,0,7,1,2,1,\'\',\'0\',1,1,0,0), - (12,1,0,8,1,2,5,\'\',\'0\',1,1,0,0), - (13,1,0,9,1,2,5,\'\',\'0\',1,1,0,0), - (41,1,0,11,1,2,1,\'\',\'0\',1,1,0,0), - (11,1,0,12,1,2,5,\'\',\'0\',1,1,0,0), - (49,1,0,27,1,2,43,\'\',\'0\',9,1,0,0), - (50,1,0,28,1,2,43,\'\',\'0\',9,1,0,0), - (51,1,0,29,1,2,43,\'\',\'0\',9,1,0,0), - (14,3,-1,38,1,2,13,\'\',\'0\',1,1,0,0)'); - $this->addSql('INSERT INTO "ezpolicy" ("function_name", "id", "module_name", "original_id", "role_id") -VALUES (\'*\',317,\'content\',0,3), - (\'login\',319,\'user\',0,3), - (\'read\',328,\'content\',0,1), - (\'login\',331,\'user\',0,1), - (\'*\',332,\'*\',0,2), - (\'read\',333,\'content\',0,4), - (\'view_embed\',334,\'content\',0,1), - (\'*\',340,\'url\',0,3)'); - $this->addSql('INSERT INTO "ezpolicy_limitation" ("id", "identifier", "policy_id") -VALUES (251,\'Section\',328), - (252,\'Section\',329), - (253,\'SiteAccess\',331), - (254,\'Class\',333), - (255,\'Owner\',333), - (256,\'Class\',334)'); - $this->addSql('INSERT INTO "ezpolicy_limitation_value" ("id", "limitation_id", "value") -VALUES (477,251,\'1\'), - (478,252,\'1\'), - (479,253,\'1766001124\'), - (480,254,\'4\'), - (481,255,\'1\'), - (482,256,\'5\'), - (483,256,\'12\')'); - $this->addSql('INSERT INTO "ezrole" ("id", "is_new", "name", "value", "version") -VALUES (1,0,\'Anonymous\',\'\',0), - (2,0,\'Administrator\',\'0\',0), - (3,0,\'Editor\',\'\',0), - (4,0,\'Member\',\'\',0)'); - $this->addSql('INSERT INTO "ezsection" ("id", "identifier", "locale", "name", "navigation_part_identifier") -VALUES (1,\'standard\',\'\',\'Standard\',\'ezcontentnavigationpart\'), - (2,\'users\',\'\',\'Users\',\'ezusernavigationpart\'), - (3,\'media\',\'\',\'Media\',\'ezmedianavigationpart\')'); - $this->addSql('INSERT INTO "ezsite_data" ("name", "value") -VALUES (\'ibexa-release\',\'4.6\')'); - $this->addSql('INSERT INTO "ezurlalias" ("destination_url", "forward_to_id", "id", "is_imported", "is_internal", "is_wildcard", "source_md5", "source_url") -VALUES (\'content/view/full/2\',0,12,1,1,0,\'d41d8cd98f00b204e9800998ecf8427e\',\'\'), - (\'content/view/full/5\',0,13,1,1,0,\'9bc65c2abec141778ffaa729489f3e87\',\'users\'), - (\'content/view/full/12\',0,15,1,1,0,\'02d4e844e3a660857a3f81585995ffe1\',\'users/guest_accounts\'), - (\'content/view/full/13\',0,16,1,1,0,\'1b1d79c16700fd6003ea7be233e754ba\',\'users/administrator_users\'), - (\'content/view/full/14\',0,17,1,1,0,\'0bb9dd665c96bbc1cf36b79180786dea\',\'users/editors\'), - (\'content/view/full/15\',0,18,1,1,0,\'f1305ac5f327a19b451d82719e0c3f5d\',\'users/administrator_users/administrator_user\'), - (\'content/view/full/43\',0,20,1,1,0,\'62933a2951ef01f4eafd9bdf4d3cd2f0\',\'media\'), - (\'content/view/full/44\',0,21,1,1,0,\'3ae1aac958e1c82013689d917d34967a\',\'users/anonymous_users\'), - (\'content/view/full/45\',0,22,1,1,0,\'aad93975f09371695ba08292fd9698db\',\'users/anonymous_users/anonymous_user\'), - (\'content/view/full/51\',0,28,1,1,0,\'38985339d4a5aadfc41ab292b4527046\',\'media/images\'), - (\'content/view/full/52\',0,29,1,1,0,\'ad5a8c6f6aac3b1b9df267fe22e7aef6\',\'media/files\'), - (\'content/view/full/53\',0,30,1,1,0,\'562a0ac498571c6c3529173184a2657c\',\'media/multimedia\')'); - $this->addSql('INSERT INTO "ezurlalias_ml" ("action", "action_type", "alias_redirects", "id", "is_alias", "is_original", "lang_mask", "link", "parent", "text", "text_md5") -VALUES (\'nop:\',\'nop\',1,17,0,0,1,17,0,\'media2\',\'50e2736330de124f6edea9b008556fe6\'), - (\'eznode:43\',\'eznode\',1,9,0,1,3,9,0,\'Media\',\'62933a2951ef01f4eafd9bdf4d3cd2f0\'), - (\'nop:\',\'nop\',1,3,0,0,1,3,0,\'users2\',\'86425c35a33507d479f71ade53a669aa\'), - (\'eznode:5\',\'eznode\',1,2,0,1,3,2,0,\'Users\',\'9bc65c2abec141778ffaa729489f3e87\'), - (\'eznode:2\',\'eznode\',1,1,0,1,3,1,0,\'\',\'d41d8cd98f00b204e9800998ecf8427e\'), - (\'eznode:14\',\'eznode\',1,6,0,1,3,6,2,\'Editors\',\'a147e136bfa717592f2bd70bd4b53b17\'), - (\'eznode:44\',\'eznode\',1,10,0,1,3,10,2,\'Anonymous-Users\',\'c2803c3fa1b0b5423237b4e018cae755\'), - (\'eznode:12\',\'eznode\',1,4,0,1,3,4,2,\'Guest-accounts\',\'e57843d836e3af8ab611fde9e2139b3a\'), - (\'eznode:13\',\'eznode\',1,5,0,1,3,5,2,\'Administrator-users\',\'f89fad7f8a3abc8c09e1deb46a420007\'), - (\'nop:\',\'nop\',1,11,0,0,1,11,3,\'anonymous_users2\',\'505e93077a6dde9034ad97a14ab022b1\'), - (\'eznode:12\',\'eznode\',1,26,0,0,1,4,3,\'guest_accounts\',\'70bb992820e73638731aa8de79b3329e\'), - (\'eznode:14\',\'eznode\',1,29,0,0,1,6,3,\'editors\',\'a147e136bfa717592f2bd70bd4b53b17\'), - (\'nop:\',\'nop\',1,7,0,0,1,7,3,\'administrator_users2\',\'a7da338c20bf65f9f789c87296379c2a\'), - (\'eznode:13\',\'eznode\',1,27,0,0,1,5,3,\'administrator_users\',\'aeb8609aa933b0899aa012c71139c58c\'), - (\'eznode:44\',\'eznode\',1,30,0,0,1,10,3,\'anonymous_users\',\'e9e5ad0c05ee1a43715572e5cc545926\'), - (\'eznode:15\',\'eznode\',1,8,0,1,3,8,5,\'Administrator-User\',\'5a9d7b0ec93173ef4fedee023209cb61\'), - (\'eznode:15\',\'eznode\',1,28,0,0,0,8,7,\'administrator_user\',\'a3cca2de936df1e2f805710399989971\'), - (\'eznode:53\',\'eznode\',1,20,0,1,3,20,9,\'Multimedia\',\'2e5bc8831f7ae6a29530e7f1bbf2de9c\'), - (\'eznode:52\',\'eznode\',1,19,0,1,3,19,9,\'Files\',\'45b963397aa40d4a0063e0d85e4fe7a1\'), - (\'eznode:51\',\'eznode\',1,18,0,1,3,18,9,\'Images\',\'59b514174bffe4ae402b3d63aad79fe0\'), - (\'eznode:45\',\'eznode\',1,12,0,1,3,12,10,\'Anonymous-User\',\'ccb62ebca03a31272430bc414bd5cd5b\'), - (\'eznode:45\',\'eznode\',1,31,0,0,1,12,11,\'anonymous_user\',\'c593ec85293ecb0e02d50d4c5c6c20eb\'), - (\'eznode:53\',\'eznode\',1,34,0,0,1,20,17,\'multimedia\',\'2e5bc8831f7ae6a29530e7f1bbf2de9c\'), - (\'eznode:52\',\'eznode\',1,33,0,0,1,19,17,\'files\',\'45b963397aa40d4a0063e0d85e4fe7a1\'), - (\'eznode:51\',\'eznode\',1,32,0,0,1,18,17,\'images\',\'59b514174bffe4ae402b3d63aad79fe0\')'); - $this->addSql('INSERT INTO "ezurlalias_ml_incr" ("id") -VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37)'); - $this->addSql('INSERT INTO "ezuser" ("contentobject_id", "email", "login", "password_hash", "password_hash_type") -VALUES (10,\'anonymous@link.invalid\',\'anonymous\',\'$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC\',7), - (14,\'admin@link.invalid\',\'admin\',\'$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy\',7)'); - $this->addSql('INSERT INTO "ezuser_role" ("contentobject_id", "id", "limit_identifier", "limit_value", "role_id") -VALUES (11,28,\'\',\'\',1), - (42,31,\'\',\'\',1), - (13,32,\'Subtree\',\'/1/2/\',3), - (13,33,\'Subtree\',\'/1/43/\',3), - (12,34,\'\',\'\',2), - (13,35,\'\',\'\',4)'); - $this->addSql('INSERT INTO "ezuser_setting" ("is_enabled", "max_login", "user_id") -VALUES (1, 1000, 10), - (1, 10, 14)'); - $this->addSql('INSERT INTO "ezpreferences" ("name", "user_id", "value") -SELECT \'focus_mode\', u.contentobject_id, \'0\' FROM "ezuser" u WHERE u.login = \'admin\''); - $this->addSql('-- Set proper sequence values after inserting data -SELECT SETVAL(\'ezcobj_state_group_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcobj_state_group'); + $this->addSql(<<<'SQL' + INSERT INTO "ezcobj_state" ("default_language_id", "group_id", "id", "identifier", "language_mask", "priority") + VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcobj_state_group" ("default_language_id", "id", "identifier", "language_mask") + VALUES (2, 2, 'ez_lock', 3) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcobj_state_group_language" ("contentobject_state_group_id", "description","language_id", "name", "real_language_id") + VALUES (2, '', 3, 'Lock', 2) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcobj_state_language" ("contentobject_state_id", "description", "language_id", "name") + VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcobj_state_link" ("contentobject_id", "contentobject_state_id") + VALUES ( 1, 1), + ( 4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcontent_language" ("disabled", "id", "locale", "name") + VALUES (0, 2, 'eng-GB', 'English (United Kingdom)') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcontentclass" ("always_available", "contentobject_name", "created", "creator_id", "id", "identifier", "initial_language_id", "is_container", "language_mask", "modified", "modifier_id", "remote_id", "serialized_description_list", "serialized_name_list", "sort_field", "sort_order", "url_alias_name", "version") + VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:"eng-GB";s:6:"Folder";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:"eng-GB";s:7:"Article";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcontentclass_attribute" ("can_translate", "category", "contentclass_id", "data_float1", "data_float2", "data_float3", "data_float4", "data_int1", "data_int2", "data_int3", "data_int4", "data_text1", "data_text2", "data_text3", "data_text4", "data_text5", "data_type_string", "id", "identifier", "is_information_collector", "is_required", "is_searchable", "is_thumbnail", "placement", "serialized_data_text", "serialized_description_list", "serialized_name_list", "version") + VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,FALSE,1,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:4:"Name";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:10:"First name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Last name";s:16:"always-available";s:6:"eng-GB";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:12:"User account";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:7:"Caption";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,TRUE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,FALSE,3,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:17:"Short description";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Intro";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,FALSE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Body";s:16:"always-available";s:6:"eng-GB";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,FALSE,6,NULL,NULL,'a:2:{s:6:"eng-GB";s:15:"Enable comments";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Short title";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:6:"Author";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,FALSE,7,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,FALSE,2,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:10:"Short name";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,FALSE,4,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:11:"Description";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,TRUE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcontentclass_classgroup" ("contentclass_id", "contentclass_version", "group_id", "group_name") + VALUES (1,0,1,'Content'), + (2,0,1,'Content'), + (3,0,2,'Users'), + (4,0,2,'Users'), + (5,0,3,'Media'), + (12,0,3,'Media') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcontentclass_name" ("contentclass_id", "contentclass_version", "language_id", "language_locale", "name") + VALUES (1,0,2,'eng-GB','Folder'), + (2,0,3,'eng-GB','Article'), + (3,0,3,'eng-GB','User group'), + (4,0,3,'eng-GB','User'), + (5,0,3,'eng-GB','Image'), + (12,0,3,'eng-GB','File') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcontentclassgroup" ("created", "creator_id", "id", "modified", "modifier_id", "name") + VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcontentobject" ("contentclass_id", "current_version", "id", "initial_language_id", "language_mask", "modified", "name", "owner_id", "published", "remote_id", "section_id", "status") + VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcontentobject_attribute" ("attribute_original_id", "contentclassattribute_id", "contentobject_id", "data_float", "data_int", "data_text", "data_type_string", "id", "language_code", "language_id", "sort_key_int", "sort_key_string", "version") + VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,E'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,E'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,E'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,E'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,E'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,E'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,E'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,E'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,E'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,E'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,E'\n\n','ezimage',180,'eng-GB',3,0,'',3) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcontentobject_name" ("content_translation", "content_version", "contentobject_id", "language_id", "name", "real_translation") + VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcontentobject_tree" ("contentobject_id", "contentobject_is_published", "contentobject_version", "depth", "is_hidden", "is_invisible", "main_node_id", "modified_subnode", "node_id", "parent_node_id", "path_identification_string", "path_string", "priority", "remote_id", "sort_field", "sort_order") + VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezcontentobject_version" ("contentobject_id", "created", "creator_id", "id", "initial_language_id", "language_mask", "modified", "status", "user_id", "version", "workflow_event_pos") + VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "eznode_assignment" ("contentobject_id", "contentobject_version", "from_node_id", "id", "is_main", "op_code", "parent_node", "parent_remote_id", "remote_id", "sort_field", "sort_order", "priority", "is_hidden") + VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezpolicy" ("function_name", "id", "module_name", "original_id", "role_id") + VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezpolicy_limitation" ("id", "identifier", "policy_id") + VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezpolicy_limitation_value" ("id", "limitation_id", "value") + VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezrole" ("id", "is_new", "name", "value", "version") + VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezsection" ("id", "identifier", "locale", "name", "navigation_part_identifier") + VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezsite_data" ("name", "value") + VALUES ('ibexa-release','4.6') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezurlalias" ("destination_url", "forward_to_id", "id", "is_imported", "is_internal", "is_wildcard", "source_md5", "source_url") + VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezurlalias_ml" ("action", "action_type", "alias_redirects", "id", "is_alias", "is_original", "lang_mask", "link", "parent", "text", "text_md5") + VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezurlalias_ml_incr" ("id") + VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezuser" ("contentobject_id", "email", "login", "password_hash", "password_hash_type") + VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezuser_role" ("contentobject_id", "id", "limit_identifier", "limit_value", "role_id") + VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezuser_setting" ("is_enabled", "max_login", "user_id") + VALUES (1, 1000, 10), + (1, 10, 14) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO "ezpreferences" ("name", "user_id", "value") + SELECT 'focus_mode', u.contentobject_id, '0' FROM "ezuser" u WHERE u.login = 'admin' + SQL); + $this->addSql(<<<'SQL' + -- Set proper sequence values after inserting data + SELECT SETVAL('ezcobj_state_group_id_seq', COALESCE(MAX(id), 1) ) FROM ezcobj_state_group + SQL); $this->addSql('SELECT SETVAL(\'ezcobj_state_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcobj_state'); $this->addSql('SELECT SETVAL(\'ezcontentbrowsebookmark_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentbrowsebookmark'); $this->addSql('SELECT SETVAL(\'ezcontentclass_attribute_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentclass_attribute'); @@ -620,281 +742,341 @@ public function up(Schema $schema): void $this->addSql('SELECT SETVAL(\'ezuser_accountkey_id_seq\', COALESCE(MAX(id), 1) ) FROM ezuser_accountkey'); $this->addSql('SELECT SETVAL(\'ezuser_role_id_seq\', COALESCE(MAX(id), 1) ) FROM ezuser_role'); } elseif ($this->platform instanceof SqlitePlatform) { - $this->addSql('INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) -VALUES (2, 2, 1, \'not_locked\', 3, 0), - (2, 2, 2, \'locked\', 3, 1)'); - $this->addSql('INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) -VALUES (2,2,\'ez_lock\',3)'); - $this->addSql('INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) -VALUES (2,\'\',3,\'Lock\',2)'); - $this->addSql('INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) -VALUES (1,\'\',3,\'Not locked\'), - (2,\'\',3,\'Locked\')'); - $this->addSql('INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) -VALUES (1, 1), - (4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1)'); - $this->addSql('INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) -VALUES (0, 2, \'eng-GB\', \'English (United Kingdom)\')'); - $this->addSql('INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) -VALUES (1,\'\',1024392098,14,1,\'folder\',2,1,2,1448831672,14,\'a3d405b81be900468eb153d774f4f0d2\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:6:\\"Folder\\";}\',1,1,NULL,0), - (0,\'\',1024392098,14,2,\'article\',2,1,3,1082454989,14,\'c15b600eb9198b1924063b5a68758232\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:7:\\"Article\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), - (1,\'\',1024392098,14,3,\'user_group\',2,1,3,1048494743,14,\'25b4268cdcd01921b808a0d854b877ef\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:10:\\"User group\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), - (1,\' \',1024392098,14,4,\'user\',2,0,3,1082018364,14,\'40faa822edc579b02c25f6bb7beec3ad\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"User\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), - (1,\'\',1031484992,14,5,\'image\',2,0,3,1048494784,14,\'f6df12aa74e36230eb675f364fccd25a\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0), - (1,\'\',1052385472,14,12,\'file\',2,0,3,1052385669,14,\'637d58bfddf164627bdfd265733280a0\',NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"File\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',1,1,NULL,0)'); - $this->addSql('INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) -VALUES (1,\'\',2,0,0,0,0,255,0,0,0,\'New article\',\'\',\'\',\'\',\'\',\'ezstring\',1,\'title\',0,1,1,1,0,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Title\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,\'Folder\',NULL,NULL,NULL,NULL,\'ezstring\',4,\'name\',0,1,1,0,1,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:4:\\"Name\\";}\',0), - (1,\'\',3,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',6,\'name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',3,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',7,\'description\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:11:\\"Description\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',4,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',8,\'first_name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:10:\\"First name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',4,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',9,\'last_name\',0,1,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:9:\\"Last name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (0,\'\',4,0,0,0,0,7,10,0,0,\'\',\'^[^@]+$\',\'\',\'\',\'\',\'ezuser\',12,\'user_account\',0,1,0,0,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:12:\\"User account\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',5,0,0,0,0,150,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezstring\',116,\'name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',5,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezrichtext\',117,\'caption\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:7:\\"Caption\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',5,10.0,0,0,0,0,0,0,0,\'MB\',\'\',\'\',\'\',NULL,\'ezimage\',118,\'image\',0,0,1,1,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezrichtext\',119,\'short_description\',0,0,1,0,3,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:17:\\"Short description\\";}\',0), - (1,\'\',2,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezrichtext\',120,\'intro\',0,1,1,0,4,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Intro\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',2,0,0,0,0,20,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezrichtext\',121,\'body\',0,0,1,0,5,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Body\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (0,\'\',2,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezboolean\',123,\'enable_comments\',0,0,0,0,6,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:15:\\"Enable comments\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',12,0,0,0,0,0,0,0,0,\'New file\',\'\',\'\',\'\',NULL,\'ezstring\',146,\'name\',0,1,1,0,1,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"Name\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',12,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezrichtext\',147,\'description\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:11:\\"Description\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',12,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',NULL,\'ezbinaryfile\',148,\'file\',0,1,0,0,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:4:\\"File\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',2,0,0,0,0,255,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezstring\',152,\'short_title\',0,0,1,0,2,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:11:\\"Short title\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',2,0,0,0,0,1,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezauthor\',153,\'author\',0,0,0,0,3,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:6:\\"Author\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',2,0,0,0,0,0,0,0,0,\'\',\'\',\'\',\'\',\'\',\'ezobjectrelation\',154,\'image\',0,0,1,0,7,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezstring\',155,\'short_name\',0,0,1,0,2,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:10:\\"Short name\\";}\',0), - (1,\'\',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,\'ezrichtext\',156,\'description\',0,0,1,0,4,\'N;\',\'a:0:{}\',\'a:1:{s:6:\\"eng-GB\\";s:11:\\"Description\\";}\',0), - (1,\'\',4,0,0,0,0,10,0,0,0,\'\',\'\',\'\',\'\',\'\',\'eztext\',179,\'signature\',0,0,1,0,4,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:9:\\"Signature\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0), - (1,\'\',4,10.0,0,0,0,0,0,0,0,\'MB\',\'\',\'\',\'\',\'\',\'ezimage\',180,\'image\',0,0,0,1,5,NULL,NULL,\'a:2:{s:6:\\"eng-GB\\";s:5:\\"Image\\";s:16:\\"always-available\\";s:6:\\"eng-GB\\";}\',0)'); - $this->addSql('INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) -VALUES (1, 0, 1, \'Content\'), - (2, 0, 1, \'Content\'), - (3, 0, 2, \'Users\'), - (4, 0, 2, \'Users\'), - (5, 0, 3, \'Media\'), - (12, 0, 3, \'Media\')'); - $this->addSql('INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) -VALUES (1, 0, 2, \'eng-GB\', \'Folder\'), - (2, 0, 3, \'eng-GB\', \'Article\'), - (3, 0, 3, \'eng-GB\', \'User group\'), - (4, 0, 3, \'eng-GB\', \'User\'), - (5, 0, 3, \'eng-GB\', \'Image\'), - (12, 0, 3, \'eng-GB\', \'File\')'); - $this->addSql('INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) -VALUES (1031216928, 14, 1, 1033922106, 14, \'Content\'), - (1031216941, 14, 2, 1033922113, 14, \'Users\'), - (1032009743, 14, 3, 1033922120, 14, \'Media\')'); - $this->addSql('INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) -VALUES (1,9,1,2,3,1448889046,\'Ibexa Platform\',14,1448889046,\'9459d3c29e15006e45197295722c7ade\',1,1), - (3,1,4,2,3,1033917596,\'Users\',14,1033917596,\'f5c88a2209584891056f987fd965b0ba\',2,1), - (4,2,10,2,3,1072180405,\'Anonymous User\',14,1033920665,\'faaeb9be3bd98ed09f606fc16d144eca\',2,1), - (3,1,11,2,3,1033920746,\'Guest accounts\',14,1033920746,\'5f7f0bdb3381d6a461d8c29ff53d908f\',2,1), - (3,1,12,2,3,1033920775,\'Administrator users\',14,1033920775,\'9b47a45624b023b1a76c73b74d704acf\',2,1), - (3,1,13,2,3,1033920794,\'Editors\',14,1033920794,\'3c160cca19fb135f83bd02d911f04db2\',2,1), - (4,3,14,2,3,1301062024,\'Administrator User\',14,1033920830,\'1bb4fe25487f05527efa8bfd394cecc7\',2,1), - (1,1,41,2,3,1060695457,\'Media\',14,1060695457,\'a6e35cbcb7cd6ae4b691f3eee30cd262\',3,1), - (3,1,42,2,3,1072180330,\'Anonymous users\',14,1072180330,\'15b256dbea2ae72418ff5facc999e8f9\',2,1), - (1,1,49,2,3,1080220197,\'Images\',14,1080220197,\'e7ff633c6b8e0fd3531e74c6e712bead\',3,1), - (1,1,50,2,3,1080220220,\'Files\',14,1080220220,\'732a5acd01b51a6fe6eab448ad4138a9\',3,1), - (1,1,51,2,3,1080220233,\'Multimedia\',14,1080220233,\'09082deb98662a104f325aaa8c4933d3\',3,1)'); - $this->addSql('INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) -VALUES (0,4,1,NULL,NULL,\'Ibexa Platform\',\'ezstring\',1,\'eng-GB\',3,0,\'ibexa platform\',9), - (0,119,1,NULL,NULL,\'
You are now ready to start your project.
\',\'ezrichtext\',2,\'eng-GB\',3,0,\'\',9), - (0,7,4,NULL,NULL,\'Main group\',\'ezstring\',7,\'eng-GB\',3,0,\'\',1), - (0,6,4,NULL,NULL,\'Users\',\'ezstring\',8,\'eng-GB\',3,0,\'\',1), - (0,8,10,0,0,\'Anonymous\',\'ezstring\',19,\'eng-GB\',3,0,\'anonymous\',2), - (0,9,10,0,0,\'User\',\'ezstring\',20,\'eng-GB\',3,0,\'user\',2), - (0,12,10,0,0,\'\',\'ezuser\',21,\'eng-GB\',3,0,\'\',2), - (0,6,11,0,0,\'Guest accounts\',\'ezstring\',22,\'eng-GB\',3,0,\'\',1), - (0,7,11,0,0,\'\',\'ezstring\',23,\'eng-GB\',3,0,\'\',1), - (0,6,12,0,0,\'Administrator users\',\'ezstring\',24,\'eng-GB\',3,0,\'\',1), - (0,7,12,0,0,\'\',\'ezstring\',25,\'eng-GB\',3,0,\'\',1), - (0,6,13,0,0,\'Editors\',\'ezstring\',26,\'eng-GB\',3,0,\'\',1), - (0,7,13,0,0,\'\',\'ezstring\',27,\'eng-GB\',3,0,\'\',1), - (0,8,14,0,0,\'Administrator\',\'ezstring\',28,\'eng-GB\',3,0,\'administrator\',3), - (0,9,14,0,0,\'User\',\'ezstring\',29,\'eng-GB\',3,0,\'user\',3), - (30,12,14,0,0,\'\',\'ezuser\',30,\'eng-GB\',3,0,\'\',3), - (0,4,41,0,0,\'Media\',\'ezstring\',98,\'eng-GB\',3,0,\'\',1), - (0,119,41,0,1045487555,\'\\n
\\n\',\'ezrichtext\',99,\'eng-GB\',3,0,\'\',1), - (0,6,42,0,0,\'Anonymous users\',\'ezstring\',100,\'eng-GB\',3,0,\'anonymous users\',1), - (0,7,42,0,0,\'User group for the anonymous user\',\'ezstring\',101,\'eng-GB\',3,0,\'user group for the anonymous user\',1), - (0,155,1,NULL,NULL,\'Ibexa Platform\',\'ezstring\',102,\'eng-GB\',3,0,\'ibexa platform\',9), - (0,155,41,0,0,\'\',\'ezstring\',103,\'eng-GB\',3,0,\'\',1), - (0,156,1,NULL,NULL,\'
This is the clean installation coming with Ibexa Platform.It\'\'s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
\',\'ezrichtext\',104,\'eng-GB\',3,0,\'\',9), - (0,156,41,0,1045487555,\'\\n
\\n\',\'ezrichtext\',105,\'eng-GB\',3,0,\'\',1), - (0,4,49,0,0,\'Images\',\'ezstring\',142,\'eng-GB\',3,0,\'images\',1), - (0,155,49,0,0,\'\',\'ezstring\',143,\'eng-GB\',3,0,\'\',1), - (0,119,49,0,1045487555,\'\\n
\\n\',\'ezrichtext\',144,\'eng-GB\',3,0,\'\',1), - (0,156,49,0,1045487555,\'\\n
\\n\',\'ezrichtext\',145,\'eng-GB\',3,0,\'\',1), - (0,4,50,0,0,\'Files\',\'ezstring\',147,\'eng-GB\',3,0,\'files\',1), - (0,155,50,0,0,\'\',\'ezstring\',148,\'eng-GB\',3,0,\'\',1), - (0,119,50,0,1045487555,\'\\n
\\n\',\'ezrichtext\',149,\'eng-GB\',3,0,\'\',1), - (0,156,50,0,1045487555,\'\\n
\\n\',\'ezrichtext\',150,\'eng-GB\',3,0,\'\',1), - (0,4,51,0,0,\'Multimedia\',\'ezstring\',152,\'eng-GB\',3,0,\'multimedia\',1), - (0,155,51,0,0,\'\',\'ezstring\',153,\'eng-GB\',3,0,\'\',1), - (0,119,51,0,1045487555,\'\\n
\\n\',\'ezrichtext\',154,\'eng-GB\',3,0,\'\',1), - (0,156,51,0,1045487555,\'\\n
\\n\',\'ezrichtext\',155,\'eng-GB\',3,0,\'\',1), - (0,179,10,0,0,\'\',\'eztext\',177,\'eng-GB\',3,0,\'\',2), - (0,179,14,0,0,\'\',\'eztext\',178,\'eng-GB\',3,0,\'\',3), - (0,180,10,0,0,\'\',\'ezimage\',179,\'eng-GB\',3,0,\'\',2), - (0,180,14,0,0,\'\\n\\n\',\'ezimage\',180,\'eng-GB\',3,0,\'\',3)'); - $this->addSql('INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) -VALUES (\'eng-GB\',9,1,2,\'Ibexa Platform\',\'eng-GB\'), - (\'eng-GB\',1,4,3,\'Users\',\'eng-GB\'), - (\'eng-GB\',2,10,3,\'Anonymous User\',\'eng-GB\'), - (\'eng-GB\',1,11,3,\'Guest accounts\',\'eng-GB\'), - (\'eng-GB\',1,12,3,\'Administrator users\',\'eng-GB\'), - (\'eng-GB\',1,13,3,\'Editors\',\'eng-GB\'), - (\'eng-GB\',3,14,3,\'Administrator User\',\'eng-GB\'), - (\'eng-GB\',1,41,3,\'Media\',\'eng-GB\'), - (\'eng-GB\',1,42,3,\'Anonymous users\',\'eng-GB\'), - (\'eng-GB\',1,49,3,\'Images\',\'eng-GB\'), - (\'eng-GB\',1,50,3,\'Files\',\'eng-GB\'), - (\'eng-GB\',1,51,3,\'Multimedia\',\'eng-GB\')'); - $this->addSql('INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) -VALUES (0,1,1,0,0,0,1,1448999778,1,1,\'\',\'/1/\',0,\'629709ba256fe317c3ddcee35453a96a\',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,\'node_2\',\'/1/2/\',0,\'f3e90596361e31d496d4026eb624c983\',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,\'users\',\'/1/5/\',0,\'3f6d92f8044aed134f32153517850f5a\',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,\'users/guest_accounts\',\'/1/5/12/\',0,\'602dcf84765e56b7f999eaafd3821dd3\',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,\'users/administrator_users\',\'/1/5/13/\',0,\'769380b7aa94541679167eab817ca893\',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,\'users/editors\',\'/1/5/14/\',0,\'f7dda2854fc68f7c8455d9cb14bd04a9\',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,\'users/administrator_users/administrator_user\',\'/1/5/13/15/\',0,\'e5161a99f733200b9ed4e80f9c16187b\',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,\'media\',\'/1/43/\',0,\'75c715a51699d2d309a924eca6a95145\',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,\'users/anonymous_users\',\'/1/5/44/\',0,\'4fdf0072da953bb276c0c7e0141c5c9b\',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,\'users/anonymous_users/anonymous_user\',\'/1/5/44/45/\',0,\'2cf8343bee7b482bab82b269d8fecd76\',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,\'media/images\',\'/1/43/51/\',0,\'1b26c0454b09bb49dfb1b9190ffd67cb\',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,\'media/files\',\'/1/43/52/\',0,\'0b113a208f7890f9ad3c24444ff5988c\',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,\'media/multimedia\',\'/1/43/53/\',0,\'4f18b82c75f10aad476cae5adf98c11f\',9,1)'); - $this->addSql('INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) -VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0)'); - $this->addSql('INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) -VALUES (8,2,0,4,1,2,5,\'\',\'0\',1,1,0,0), - (42,1,0,5,1,2,5,\'\',\'0\',9,1,0,0), - (10,2,-1,6,1,2,44,\'\',\'0\',9,1,0,0), - (4,1,0,7,1,2,1,\'\',\'0\',1,1,0,0), - (12,1,0,8,1,2,5,\'\',\'0\',1,1,0,0), - (13,1,0,9,1,2,5,\'\',\'0\',1,1,0,0), - (41,1,0,11,1,2,1,\'\',\'0\',1,1,0,0), - (11,1,0,12,1,2,5,\'\',\'0\',1,1,0,0), - (49,1,0,27,1,2,43,\'\',\'0\',9,1,0,0), - (50,1,0,28,1,2,43,\'\',\'0\',9,1,0,0), - (51,1,0,29,1,2,43,\'\',\'0\',9,1,0,0), - (14,3,-1,38,1,2,13,\'\',\'0\',1,1,0,0)'); - $this->addSql('INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) -VALUES (\'*\',317,\'content\',0,3), - (\'login\',319,\'user\',0,3), - (\'read\',328,\'content\',0,1), - (\'login\',331,\'user\',0,1), - (\'*\',332,\'*\',0,2), - (\'read\',333,\'content\',0,4), - (\'view_embed\',334,\'content\',0,1), - (\'*\',340,\'url\',0,3)'); - $this->addSql('INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) -VALUES (251,\'Section\',328), - (252,\'Section\',329), - (253,\'SiteAccess\',331), - (254,\'Class\',333), - (255,\'Owner\',333), - (256,\'Class\',334)'); - $this->addSql('INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) -VALUES (477,251,\'1\'), - (478,252,\'1\'), - (479,253,\'1766001124\'), - (480,254,\'4\'), - (481,255,\'1\'), - (482,256,\'5\'), - (483,256,\'12\')'); - $this->addSql('INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) -VALUES (1,0,\'Anonymous\',\'\',0), - (2,0,\'Administrator\',\'0\',0), - (3,0,\'Editor\',\'\',0), - (4,0,\'Member\',\'\',0)'); - $this->addSql('INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) -VALUES (1,\'standard\',\'\',\'Standard\',\'ezcontentnavigationpart\'), - (2,\'users\',\'\',\'Users\',\'ezusernavigationpart\'), - (3,\'media\',\'\',\'Media\',\'ezmedianavigationpart\')'); - $this->addSql('INSERT INTO `ezsite_data` (`name`, `value`) -VALUES (\'ibexa-release\',\'4.6\')'); - $this->addSql('INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) -VALUES (\'content/view/full/2\',0,12,1,1,0,\'d41d8cd98f00b204e9800998ecf8427e\',\'\'), - (\'content/view/full/5\',0,13,1,1,0,\'9bc65c2abec141778ffaa729489f3e87\',\'users\'), - (\'content/view/full/12\',0,15,1,1,0,\'02d4e844e3a660857a3f81585995ffe1\',\'users/guest_accounts\'), - (\'content/view/full/13\',0,16,1,1,0,\'1b1d79c16700fd6003ea7be233e754ba\',\'users/administrator_users\'), - (\'content/view/full/14\',0,17,1,1,0,\'0bb9dd665c96bbc1cf36b79180786dea\',\'users/editors\'), - (\'content/view/full/15\',0,18,1,1,0,\'f1305ac5f327a19b451d82719e0c3f5d\',\'users/administrator_users/administrator_user\'), - (\'content/view/full/43\',0,20,1,1,0,\'62933a2951ef01f4eafd9bdf4d3cd2f0\',\'media\'), - (\'content/view/full/44\',0,21,1,1,0,\'3ae1aac958e1c82013689d917d34967a\',\'users/anonymous_users\'), - (\'content/view/full/45\',0,22,1,1,0,\'aad93975f09371695ba08292fd9698db\',\'users/anonymous_users/anonymous_user\'), - (\'content/view/full/51\',0,28,1,1,0,\'38985339d4a5aadfc41ab292b4527046\',\'media/images\'), - (\'content/view/full/52\',0,29,1,1,0,\'ad5a8c6f6aac3b1b9df267fe22e7aef6\',\'media/files\'), - (\'content/view/full/53\',0,30,1,1,0,\'562a0ac498571c6c3529173184a2657c\',\'media/multimedia\')'); - $this->addSql('INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) -VALUES (\'nop:\',\'nop\',1,17,0,0,1,17,0,\'media2\',\'50e2736330de124f6edea9b008556fe6\'), - (\'eznode:43\',\'eznode\',1,9,0,1,3,9,0,\'Media\',\'62933a2951ef01f4eafd9bdf4d3cd2f0\'), - (\'nop:\',\'nop\',1,3,0,0,1,3,0,\'users2\',\'86425c35a33507d479f71ade53a669aa\'), - (\'eznode:5\',\'eznode\',1,2,0,1,3,2,0,\'Users\',\'9bc65c2abec141778ffaa729489f3e87\'), - (\'eznode:2\',\'eznode\',1,1,0,1,3,1,0,\'\',\'d41d8cd98f00b204e9800998ecf8427e\'), - (\'eznode:14\',\'eznode\',1,6,0,1,3,6,2,\'Editors\',\'a147e136bfa717592f2bd70bd4b53b17\'), - (\'eznode:44\',\'eznode\',1,10,0,1,3,10,2,\'Anonymous-Users\',\'c2803c3fa1b0b5423237b4e018cae755\'), - (\'eznode:12\',\'eznode\',1,4,0,1,3,4,2,\'Guest-accounts\',\'e57843d836e3af8ab611fde9e2139b3a\'), - (\'eznode:13\',\'eznode\',1,5,0,1,3,5,2,\'Administrator-users\',\'f89fad7f8a3abc8c09e1deb46a420007\'), - (\'nop:\',\'nop\',1,11,0,0,1,11,3,\'anonymous_users2\',\'505e93077a6dde9034ad97a14ab022b1\'), - (\'eznode:12\',\'eznode\',1,26,0,0,1,4,3,\'guest_accounts\',\'70bb992820e73638731aa8de79b3329e\'), - (\'eznode:14\',\'eznode\',1,29,0,0,1,6,3,\'editors\',\'a147e136bfa717592f2bd70bd4b53b17\'), - (\'nop:\',\'nop\',1,7,0,0,1,7,3,\'administrator_users2\',\'a7da338c20bf65f9f789c87296379c2a\'), - (\'eznode:13\',\'eznode\',1,27,0,0,1,5,3,\'administrator_users\',\'aeb8609aa933b0899aa012c71139c58c\'), - (\'eznode:44\',\'eznode\',1,30,0,0,1,10,3,\'anonymous_users\',\'e9e5ad0c05ee1a43715572e5cc545926\'), - (\'eznode:15\',\'eznode\',1,8,0,1,3,8,5,\'Administrator-User\',\'5a9d7b0ec93173ef4fedee023209cb61\'), - (\'eznode:15\',\'eznode\',1,28,0,0,0,8,7,\'administrator_user\',\'a3cca2de936df1e2f805710399989971\'), - (\'eznode:53\',\'eznode\',1,20,0,1,3,20,9,\'Multimedia\',\'2e5bc8831f7ae6a29530e7f1bbf2de9c\'), - (\'eznode:52\',\'eznode\',1,19,0,1,3,19,9,\'Files\',\'45b963397aa40d4a0063e0d85e4fe7a1\'), - (\'eznode:51\',\'eznode\',1,18,0,1,3,18,9,\'Images\',\'59b514174bffe4ae402b3d63aad79fe0\'), - (\'eznode:45\',\'eznode\',1,12,0,1,3,12,10,\'Anonymous-User\',\'ccb62ebca03a31272430bc414bd5cd5b\'), - (\'eznode:45\',\'eznode\',1,31,0,0,1,12,11,\'anonymous_user\',\'c593ec85293ecb0e02d50d4c5c6c20eb\'), - (\'eznode:53\',\'eznode\',1,34,0,0,1,20,17,\'multimedia\',\'2e5bc8831f7ae6a29530e7f1bbf2de9c\'), - (\'eznode:52\',\'eznode\',1,33,0,0,1,19,17,\'files\',\'45b963397aa40d4a0063e0d85e4fe7a1\'), - (\'eznode:51\',\'eznode\',1,32,0,0,1,18,17,\'images\',\'59b514174bffe4ae402b3d63aad79fe0\')'); - $this->addSql('INSERT INTO `ezurlalias_ml_incr` (`id`) -VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37)'); - $this->addSql('INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) -VALUES (10,\'anonymous@link.invalid\',\'anonymous\',\'$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC\',7), - (14,\'admin@link.invalid\',\'admin\',\'$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy\',7)'); - $this->addSql('INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) -VALUES (11,28,\'\',\'\',1), - (42,31,\'\',\'\',1), - (13,32,\'Subtree\',\'/1/2/\',3), - (13,33,\'Subtree\',\'/1/43/\',3), - (12,34,\'\',\'\',2), - (13,35,\'\',\'\',4)'); - $this->addSql('INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) -VALUES (1,1000,10), - (1,10,14)'); - $this->addSql('INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) -SELECT \'focus_mode\', u.contentobject_id, \'0\' FROM `ezuser` u WHERE u.login = \'admin\''); + $this->addSql(<<<'SQL' + INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) + VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) + VALUES (2,2,'ez_lock',3) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) + VALUES (2,'',3,'Lock',2) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) + VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) + VALUES (1, 1), + (4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) + VALUES (0, 2, 'eng-GB', 'English (United Kingdom)') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) + VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) + VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) + VALUES (1, 0, 1, 'Content'), + (2, 0, 1, 'Content'), + (3, 0, 2, 'Users'), + (4, 0, 2, 'Users'), + (5, 0, 3, 'Media'), + (12, 0, 3, 'Media') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) + VALUES (1, 0, 2, 'eng-GB', 'Folder'), + (2, 0, 3, 'eng-GB', 'Article'), + (3, 0, 3, 'eng-GB', 'User group'), + (4, 0, 3, 'eng-GB', 'User'), + (5, 0, 3, 'eng-GB', 'Image'), + (12, 0, 3, 'eng-GB', 'File') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) + VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) + VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) + VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) + VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) + VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) + VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) + VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) + VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) + VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) + VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) + VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) + VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezsite_data` (`name`, `value`) + VALUES ('ibexa-release','4.6') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) + VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) + VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0') + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezurlalias_ml_incr` (`id`) + VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) + VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) + VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) + VALUES (1,1000,10), + (1,10,14) + SQL); + $this->addSql(<<<'SQL' + INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) + SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin' + SQL); } else { $this->abortIf(true, sprintf('Unsupported platform "%s".', $this->platform->getName())); } diff --git a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php index f10165ccc5..4ea895845e 100644 --- a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php @@ -36,79 +36,846 @@ public static function getCreationDate(): DateTimeImmutable public function up(Schema $schema): void { if ($this->platform instanceof MySqlPlatform) { - $this->addSql('CREATE TABLE ezbinaryfile (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT \'\' NOT NULL, mime_type VARCHAR(255) DEFAULT \'\' NOT NULL, original_filename VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcobj_state (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT \'\' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, INDEX ezcobj_state_priority (priority), INDEX ezcobj_state_lmask (language_mask), UNIQUE INDEX ezcobj_state_identifier (group_id, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcobj_state_group (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT \'\' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ezcobj_state_group_lmask (language_mask), UNIQUE INDEX ezcobj_state_group_identifier (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcobj_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcobj_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, name VARCHAR(45) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcobj_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontent_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT \'\' NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, INDEX ezcontent_language_name (name(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezuser (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT \'\' NOT NULL, login VARCHAR(150) DEFAULT \'\' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, UNIQUE INDEX ezuser_login (login), PRIMARY KEY(contentobject_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentobject_tree (node_id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT \'\' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, INDEX ezcontentobject_tree_p_node_id (parent_node_id), INDEX ezcontentobject_tree_path_ident (path_identification_string(50)), INDEX ezcontentobject_tree_contentobject_id_path_string (path_string(191), contentobject_id), INDEX ezcontentobject_tree_co_id (contentobject_id), INDEX ezcontentobject_tree_depth (depth), INDEX ezcontentobject_tree_path (path_string(191)), INDEX modified_subnode (modified_subnode), INDEX ezcontentobject_tree_remote_id (remote_id), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentbrowsebookmark (id INT AUTO_INCREMENT NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, INDEX ezcontentbrowsebookmark_location (node_id), INDEX ezcontentbrowsebookmark_user (user_id), INDEX ezcontentbrowsebookmark_user_location (user_id, node_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentclass (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT \'\' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, INDEX ezcontentclass_version (version), INDEX ezcontentclass_identifier (identifier, version), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentclass_attribute (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT \'\' NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT \'\' NOT NULL, identifier VARCHAR(50) DEFAULT \'\' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail TINYINT(1) DEFAULT \'0\' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text LONGTEXT DEFAULT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT NOT NULL, INDEX ezcontentclass_attr_ccid (contentclass_id), INDEX ezcontentclass_attr_dts (data_type_string), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentclass_attribute_ml (contentclass_attribute_id INT NOT NULL, version INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, INDEX ezcontentclass_attribute_ml_lang_fk (language_id), PRIMARY KEY(contentclass_attribute_id, version, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentclass_classgroup (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentclass_name (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT \'\' NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentclassgroup (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system TINYINT(1) DEFAULT \'0\' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentobject (id INT AUTO_INCREMENT NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden TINYINT(1) DEFAULT \'0\' NOT NULL, INDEX ezcontentobject_classid (contentclass_id), INDEX ezcontentobject_lmask (language_mask), INDEX ezcontentobject_pub (published), INDEX ezcontentobject_section (section_id), INDEX ezcontentobject_currentversion (current_version), INDEX ezcontentobject_owner (owner_id), INDEX ezcontentobject_status (status), UNIQUE INDEX ezcontentobject_remote_id (remote_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentobject_attribute (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, contentclassattribute_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT \'\', language_code VARCHAR(20) DEFAULT \'\' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT \'\' NOT NULL, INDEX ezcontentobject_attribute_co_id_ver_lang_code (contentobject_id, version, language_code), INDEX ezcontentobject_classattr_id (contentclassattribute_id), INDEX sort_key_string (sort_key_string(191)), INDEX ezcontentobject_attribute_language_code (language_code), INDEX sort_key_int (sort_key_int), INDEX ezcontentobject_attribute_co_id_ver (contentobject_id, version), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentobject_link (id INT AUTO_INCREMENT NOT NULL, contentclassattribute_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, INDEX ezco_link_to_co_id (to_contentobject_id), INDEX ezco_link_from (from_contentobject_id, from_contentobject_version, contentclassattribute_id), INDEX ezco_link_cca_id (contentclassattribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentobject_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT \'\' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, INDEX ezcontentobject_name_lang_id (language_id), INDEX ezcontentobject_name_cov_id (content_version), INDEX ezcontentobject_name_name (name(191)), PRIMARY KEY(contentobject_id, content_version, content_translation)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentobject_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT \'\' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, INDEX ezcobj_trash_depth (depth), INDEX ezcobj_trash_p_node_id (parent_node_id), INDEX ezcobj_trash_path_ident (path_identification_string(50)), INDEX ezcobj_trash_co_id (contentobject_id), INDEX ezcobj_trash_modified_subnode (modified_subnode), INDEX ezcobj_trash_path (path_string(191)), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezcontentobject_version (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, INDEX ezcobj_version_status (status), INDEX idx_object_version_objver (contentobject_id, version), INDEX ezcontobj_version_obj_status (contentobject_id, status), INDEX ezcobj_version_creator_id (creator_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezdfsfile (name_hash VARCHAR(34) DEFAULT \'\' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT \'application/octet-stream\' NOT NULL, scope VARCHAR(25) DEFAULT \'\' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired TINYINT(1) DEFAULT \'0\' NOT NULL, status TINYINT(1) DEFAULT \'0\' NOT NULL, INDEX ezdfsfile_name_trunk (name_trunk(191)), INDEX ezdfsfile_expired_name (expired, name(191)), INDEX ezdfsfile_name (name(191)), INDEX ezdfsfile_mtime (mtime), PRIMARY KEY(name_hash)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezgmaplocation (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT \'0\' NOT NULL, longitude DOUBLE PRECISION DEFAULT \'0\' NOT NULL, address VARCHAR(150) DEFAULT NULL, INDEX latitude_longitude_key (latitude, longitude), PRIMARY KEY(contentobject_attribute_id, contentobject_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezimagefile (id INT AUTO_INCREMENT NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath LONGTEXT NOT NULL, INDEX ezimagefile_file (filepath(191)), INDEX ezimagefile_coid (contentobject_attribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezkeyword (id INT AUTO_INCREMENT NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, INDEX ezkeyword_keyword (keyword(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezkeyword_attribute_link (id INT AUTO_INCREMENT NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, INDEX ezkeyword_attr_link_oaid (objectattribute_id), INDEX ezkeyword_attr_link_kid_oaid (keyword_id, objectattribute_id), INDEX ezkeyword_attr_link_oaid_ver (objectattribute_id, version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezmedia (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT \'\' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT \'\' NOT NULL, original_filename VARCHAR(255) DEFAULT \'\' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE eznode_assignment (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, remote_id VARCHAR(100) DEFAULT \'0\' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, INDEX eznode_assignment_is_main (is_main), INDEX eznode_assignment_coid_cov (contentobject_id, contentobject_version), INDEX eznode_assignment_parent_node (parent_node), INDEX eznode_assignment_co_version (contentobject_version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE eznotification (id INT AUTO_INCREMENT NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending TINYINT(1) DEFAULT \'1\' NOT NULL, type VARCHAR(128) DEFAULT \'\' NOT NULL, created INT DEFAULT 0 NOT NULL, data LONGTEXT DEFAULT NULL, INDEX eznotification_owner_is_pending (owner_id, is_pending), INDEX eznotification_owner (owner_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezpackage (id INT AUTO_INCREMENT NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT \'\' NOT NULL, version VARCHAR(30) DEFAULT \'0\' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezpolicy (id INT AUTO_INCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, INDEX ezpolicy_role_id (role_id), INDEX ezpolicy_original_id (original_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezpolicy_limitation (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT \'\' NOT NULL, policy_id INT DEFAULT NULL, INDEX policy_id (policy_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezpolicy_limitation_value (id INT AUTO_INCREMENT NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, INDEX ezpolicy_limit_value_limit_id (limitation_id), INDEX ezpolicy_limitation_value_val (value(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezpreferences (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value LONGTEXT DEFAULT NULL, INDEX ezpreferences_user_id_idx (user_id, name), INDEX ezpreferences_name (name), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezrole (id INT AUTO_INCREMENT NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezsearch_object_word_link (id INT AUTO_INCREMENT NOT NULL, contentclass_attribute_id INT DEFAULT 0 NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT \'0\' NOT NULL, identifier VARCHAR(255) DEFAULT \'\' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ezsearch_object_word_link_object (contentobject_id), INDEX ezsearch_object_word_link_identifier (identifier(191)), INDEX ezsearch_object_word_link_integer_value (integer_value), INDEX ezsearch_object_word_link_word (word_id), INDEX ezsearch_object_word_link_frequency (frequency), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezsearch_word (id INT AUTO_INCREMENT NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, INDEX ezsearch_word_word_i (word), INDEX ezsearch_word_obj_count (object_count), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezsection (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT \'ezcontentnavigationpart\', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezsite_data (name VARCHAR(60) DEFAULT \'\' NOT NULL, value LONGTEXT NOT NULL, PRIMARY KEY(name)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezurl (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT \'\' NOT NULL, url LONGTEXT DEFAULT NULL, INDEX ezurl_url (url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezurl_object_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL, INDEX ezurl_ol_coa_id (contentobject_attribute_id), INDEX ezurl_ol_url_id (url_id), INDEX ezurl_ol_coa_version (contentobject_attribute_version), INDEX ezurl_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezurlalias (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url LONGTEXT NOT NULL, INDEX ezurlalias_source_md5 (source_md5), INDEX ezurlalias_wcard_fwd (is_wildcard, forward_to_id), INDEX ezurlalias_forward_to_id (forward_to_id), INDEX ezurlalias_imp_wcard_fwd (is_imported, is_wildcard, forward_to_id), INDEX ezurlalias_source_url (source_url(191)), INDEX ezurlalias_desturl (destination_url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezurlalias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT \'\' NOT NULL, action LONGTEXT NOT NULL, action_type VARCHAR(32) DEFAULT \'\' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text LONGTEXT NOT NULL, INDEX ezurlalias_ml_actt_org_al (action_type, is_original, is_alias), INDEX ezurlalias_ml_text_lang (text(32), lang_mask, parent), INDEX ezurlalias_ml_par_act_id_lnk (action(32), id, link, parent), INDEX ezurlalias_ml_par_lnk_txt (parent, text(32), link), INDEX ezurlalias_ml_act_org (action(32), is_original), INDEX ezurlalias_ml_text (text(32), id, link), INDEX ezurlalias_ml_link (link), INDEX ezurlalias_ml_id (id), PRIMARY KEY(parent, text_md5)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezurlalias_ml_incr (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezurlwildcard (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, source_url LONGTEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezuser_accountkey (id INT AUTO_INCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT \'\' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, INDEX hash_key (hash_key), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezuser_role (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT \'\', limit_value VARCHAR(255) DEFAULT \'\', role_id INT DEFAULT NULL, INDEX ezuser_role_role_id (role_id), INDEX ezuser_role_contentobject_id (contentobject_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ezuser_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ibexa_setting (id INT AUTO_INCREMENT NOT NULL, `group` VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, INDEX ibexa_setting_id (id), UNIQUE INDEX ibexa_setting_group_identifier (`group`, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ibexa_token_type (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL, UNIQUE INDEX ibexa_token_type_unique (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('CREATE TABLE ibexa_token (id INT AUTO_INCREMENT NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked TINYINT(1) DEFAULT \'0\' NOT NULL, INDEX IDX_B5412887C54C8C93 (type_id), UNIQUE INDEX ibexa_token_unique (token, identifier, type_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB'); - $this->addSql('ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE'); - $this->addSql('ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE'); - $this->addSql('ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE'); + $this->addSql(<<<'SQL' + CREATE TABLE ezbinaryfile ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + download_count INT DEFAULT 0 NOT NULL, + filename VARCHAR(255) DEFAULT '' NOT NULL, + mime_type VARCHAR(255) DEFAULT '' NOT NULL, + original_filename VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_attribute_id, version) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state ( + id INT AUTO_INCREMENT NOT NULL, + default_language_id BIGINT DEFAULT 0 NOT NULL, + group_id INT DEFAULT 0 NOT NULL, + identifier VARCHAR(45) DEFAULT '' NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + priority INT DEFAULT 0 NOT NULL, + INDEX ezcobj_state_priority (priority), + INDEX ezcobj_state_lmask (language_mask), + UNIQUE INDEX ezcobj_state_identifier (group_id, identifier), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state_group ( + id INT AUTO_INCREMENT NOT NULL, + default_language_id BIGINT DEFAULT 0 NOT NULL, + identifier VARCHAR(45) DEFAULT '' NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + INDEX ezcobj_state_group_lmask (language_mask), + UNIQUE INDEX ezcobj_state_group_identifier (identifier), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state_group_language ( + contentobject_state_group_id INT DEFAULT 0 NOT NULL, + real_language_id BIGINT DEFAULT 0 NOT NULL, + description LONGTEXT NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + name VARCHAR(45) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_state_group_id, real_language_id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state_language ( + contentobject_state_id INT DEFAULT 0 NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + description LONGTEXT NOT NULL, + name VARCHAR(45) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_state_id, language_id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state_link ( + contentobject_id INT DEFAULT 0 NOT NULL, + contentobject_state_id INT DEFAULT 0 NOT NULL, + PRIMARY KEY(contentobject_id, contentobject_state_id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontent_language ( + id BIGINT DEFAULT 0 NOT NULL, + disabled INT DEFAULT 0 NOT NULL, + locale VARCHAR(20) DEFAULT '' NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + INDEX ezcontent_language_name (name(191)), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezuser ( + contentobject_id INT DEFAULT 0 NOT NULL, + email VARCHAR(150) DEFAULT '' NOT NULL, + login VARCHAR(150) DEFAULT '' NOT NULL, + password_hash VARCHAR(255) DEFAULT NULL, + password_hash_type INT DEFAULT 1 NOT NULL, + password_updated_at INT DEFAULT NULL, + UNIQUE INDEX ezuser_login (login), + PRIMARY KEY(contentobject_id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_tree ( + node_id INT AUTO_INCREMENT NOT NULL, + contentobject_id INT DEFAULT NULL, + contentobject_is_published INT DEFAULT NULL, + contentobject_version INT DEFAULT NULL, + depth INT DEFAULT 0 NOT NULL, + is_hidden INT DEFAULT 0 NOT NULL, + is_invisible INT DEFAULT 0 NOT NULL, + main_node_id INT DEFAULT NULL, + modified_subnode INT DEFAULT 0, + parent_node_id INT DEFAULT 0 NOT NULL, + path_identification_string LONGTEXT DEFAULT NULL, + path_string VARCHAR(255) DEFAULT '' NOT NULL, + priority INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + sort_field INT DEFAULT 1, + sort_order INT DEFAULT 1, + INDEX ezcontentobject_tree_p_node_id (parent_node_id), + INDEX ezcontentobject_tree_path_ident (path_identification_string(50)), + INDEX ezcontentobject_tree_contentobject_id_path_string (path_string(191), contentobject_id), + INDEX ezcontentobject_tree_co_id (contentobject_id), + INDEX ezcontentobject_tree_depth (depth), + INDEX ezcontentobject_tree_path (path_string(191)), + INDEX modified_subnode (modified_subnode), + INDEX ezcontentobject_tree_remote_id (remote_id), + PRIMARY KEY(node_id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentbrowsebookmark ( + id INT AUTO_INCREMENT NOT NULL, + node_id INT DEFAULT 0 NOT NULL, + user_id INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + INDEX ezcontentbrowsebookmark_location (node_id), + INDEX ezcontentbrowsebookmark_user (user_id), + INDEX ezcontentbrowsebookmark_user_location (user_id, node_id), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass ( + id INT AUTO_INCREMENT NOT NULL, + version INT DEFAULT 0 NOT NULL, + always_available INT DEFAULT 0 NOT NULL, + contentobject_name VARCHAR(255) DEFAULT NULL, + created INT DEFAULT 0 NOT NULL, + creator_id INT DEFAULT 0 NOT NULL, + identifier VARCHAR(50) DEFAULT '' NOT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + is_container INT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + modifier_id INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + serialized_description_list LONGTEXT DEFAULT NULL, + serialized_name_list LONGTEXT DEFAULT NULL, + sort_field INT DEFAULT 1 NOT NULL, + sort_order INT DEFAULT 1 NOT NULL, + url_alias_name VARCHAR(255) DEFAULT NULL, + INDEX ezcontentclass_version (version), + INDEX ezcontentclass_identifier (identifier, version), + PRIMARY KEY(id, version) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass_attribute ( + id INT AUTO_INCREMENT NOT NULL, + version INT DEFAULT 0 NOT NULL, + can_translate INT DEFAULT 1, + category VARCHAR(25) DEFAULT '' NOT NULL, + contentclass_id INT DEFAULT 0 NOT NULL, + data_float1 DOUBLE PRECISION DEFAULT NULL, + data_float2 DOUBLE PRECISION DEFAULT NULL, + data_float3 DOUBLE PRECISION DEFAULT NULL, + data_float4 DOUBLE PRECISION DEFAULT NULL, + data_int1 INT DEFAULT NULL, + data_int2 INT DEFAULT NULL, + data_int3 INT DEFAULT NULL, + data_int4 INT DEFAULT NULL, + data_text1 VARCHAR(255) DEFAULT NULL, + data_text2 VARCHAR(50) DEFAULT NULL, + data_text3 VARCHAR(50) DEFAULT NULL, + data_text4 VARCHAR(255) DEFAULT NULL, + data_text5 LONGTEXT DEFAULT NULL, + data_type_string VARCHAR(50) DEFAULT '' NOT NULL, + identifier VARCHAR(50) DEFAULT '' NOT NULL, + is_information_collector INT DEFAULT 0 NOT NULL, + is_required INT DEFAULT 0 NOT NULL, + is_searchable INT DEFAULT 0 NOT NULL, + is_thumbnail TINYINT(1) DEFAULT '0' NOT NULL, + placement INT DEFAULT 0 NOT NULL, + serialized_data_text LONGTEXT DEFAULT NULL, + serialized_description_list LONGTEXT DEFAULT NULL, + serialized_name_list LONGTEXT NOT NULL, + INDEX ezcontentclass_attr_ccid (contentclass_id), + INDEX ezcontentclass_attr_dts (data_type_string), + PRIMARY KEY(id, version) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass_attribute_ml ( + contentclass_attribute_id INT NOT NULL, + version INT NOT NULL, + language_id BIGINT NOT NULL, + name VARCHAR(255) NOT NULL, + description TEXT DEFAULT NULL, + data_text TEXT DEFAULT NULL, + data_json TEXT DEFAULT NULL, + INDEX ezcontentclass_attribute_ml_lang_fk (language_id), + PRIMARY KEY(contentclass_attribute_id, version, language_id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass_classgroup ( + contentclass_id INT DEFAULT 0 NOT NULL, + contentclass_version INT DEFAULT 0 NOT NULL, + group_id INT DEFAULT 0 NOT NULL, + group_name VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(contentclass_id, contentclass_version, group_id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass_name ( + contentclass_id INT DEFAULT 0 NOT NULL, + contentclass_version INT DEFAULT 0 NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + language_locale VARCHAR(20) DEFAULT '' NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(contentclass_id, contentclass_version, language_id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclassgroup ( + id INT AUTO_INCREMENT NOT NULL, + created INT DEFAULT 0 NOT NULL, + creator_id INT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + modifier_id INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + is_system TINYINT(1) DEFAULT '0' NOT NULL, + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject ( + id INT AUTO_INCREMENT NOT NULL, + contentclass_id INT DEFAULT 0 NOT NULL, + current_version INT DEFAULT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + owner_id INT DEFAULT 0 NOT NULL, + published INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT NULL, + section_id INT DEFAULT 0 NOT NULL, + status INT DEFAULT 0, + is_hidden TINYINT(1) DEFAULT '0' NOT NULL, + INDEX ezcontentobject_classid (contentclass_id), + INDEX ezcontentobject_lmask (language_mask), + INDEX ezcontentobject_pub (published), + INDEX ezcontentobject_section (section_id), + INDEX ezcontentobject_currentversion (current_version), + INDEX ezcontentobject_owner (owner_id), + INDEX ezcontentobject_status (status), + UNIQUE INDEX ezcontentobject_remote_id (remote_id), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_attribute ( + id INT AUTO_INCREMENT NOT NULL, + version INT DEFAULT 0 NOT NULL, + attribute_original_id INT DEFAULT 0, + contentclassattribute_id INT DEFAULT 0 NOT NULL, + contentobject_id INT DEFAULT 0 NOT NULL, + data_float DOUBLE PRECISION DEFAULT NULL, + data_int INT DEFAULT NULL, + data_text LONGTEXT DEFAULT NULL, + data_type_string VARCHAR(50) DEFAULT '', + language_code VARCHAR(20) DEFAULT '' NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + sort_key_int INT DEFAULT 0 NOT NULL, + sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, + INDEX ezcontentobject_attribute_co_id_ver_lang_code (contentobject_id, version, language_code), + INDEX ezcontentobject_classattr_id (contentclassattribute_id), + INDEX sort_key_string (sort_key_string(191)), + INDEX ezcontentobject_attribute_language_code (language_code), + INDEX sort_key_int (sort_key_int), + INDEX ezcontentobject_attribute_co_id_ver (contentobject_id, version), + PRIMARY KEY(id, version) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_link ( + id INT AUTO_INCREMENT NOT NULL, + contentclassattribute_id INT DEFAULT 0 NOT NULL, + from_contentobject_id INT DEFAULT 0 NOT NULL, + from_contentobject_version INT DEFAULT 0 NOT NULL, + relation_type INT DEFAULT 1 NOT NULL, + to_contentobject_id INT DEFAULT 0 NOT NULL, + INDEX ezco_link_to_co_id (to_contentobject_id), + INDEX ezco_link_from (from_contentobject_id, from_contentobject_version, contentclassattribute_id), + INDEX ezco_link_cca_id (contentclassattribute_id), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_name ( + contentobject_id INT DEFAULT 0 NOT NULL, + content_version INT DEFAULT 0 NOT NULL, + content_translation VARCHAR(20) DEFAULT '' NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + real_translation VARCHAR(20) DEFAULT NULL, + INDEX ezcontentobject_name_lang_id (language_id), + INDEX ezcontentobject_name_cov_id (content_version), + INDEX ezcontentobject_name_name (name(191)), + PRIMARY KEY(contentobject_id, content_version, content_translation) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_trash ( + node_id INT DEFAULT 0 NOT NULL, + contentobject_id INT DEFAULT NULL, + contentobject_version INT DEFAULT NULL, + depth INT DEFAULT 0 NOT NULL, + is_hidden INT DEFAULT 0 NOT NULL, + is_invisible INT DEFAULT 0 NOT NULL, + main_node_id INT DEFAULT NULL, + modified_subnode INT DEFAULT 0, + parent_node_id INT DEFAULT 0 NOT NULL, + path_identification_string LONGTEXT DEFAULT NULL, + path_string VARCHAR(255) DEFAULT '' NOT NULL, + priority INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + sort_field INT DEFAULT 1, + sort_order INT DEFAULT 1, + trashed INT DEFAULT 0 NOT NULL, + INDEX ezcobj_trash_depth (depth), + INDEX ezcobj_trash_p_node_id (parent_node_id), + INDEX ezcobj_trash_path_ident (path_identification_string(50)), + INDEX ezcobj_trash_co_id (contentobject_id), + INDEX ezcobj_trash_modified_subnode (modified_subnode), + INDEX ezcobj_trash_path (path_string(191)), + PRIMARY KEY(node_id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_version ( + id INT AUTO_INCREMENT NOT NULL, + contentobject_id INT DEFAULT NULL, + created INT DEFAULT 0 NOT NULL, + creator_id INT DEFAULT 0 NOT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + status INT DEFAULT 0 NOT NULL, + user_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + workflow_event_pos INT DEFAULT 0, + INDEX ezcobj_version_status (status), + INDEX idx_object_version_objver (contentobject_id, version), + INDEX ezcontobj_version_obj_status (contentobject_id, status), + INDEX ezcobj_version_creator_id (creator_id), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezdfsfile ( + name_hash VARCHAR(34) DEFAULT '' NOT NULL, + name TEXT NOT NULL, + name_trunk TEXT NOT NULL, + datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, + scope VARCHAR(25) DEFAULT '' NOT NULL, + size BIGINT UNSIGNED DEFAULT 0 NOT NULL, + mtime INT DEFAULT 0 NOT NULL, + expired TINYINT(1) DEFAULT '0' NOT NULL, + status TINYINT(1) DEFAULT '0' NOT NULL, + INDEX ezdfsfile_name_trunk (name_trunk(191)), + INDEX ezdfsfile_expired_name (expired, name(191)), + INDEX ezdfsfile_name (name(191)), + INDEX ezdfsfile_mtime (mtime), + PRIMARY KEY(name_hash) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezgmaplocation ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + contentobject_version INT DEFAULT 0 NOT NULL, + latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, + longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, + address VARCHAR(150) DEFAULT NULL, + INDEX latitude_longitude_key (latitude, longitude), + PRIMARY KEY(contentobject_attribute_id, contentobject_version) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezimagefile ( + id INT AUTO_INCREMENT NOT NULL, + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + filepath LONGTEXT NOT NULL, + INDEX ezimagefile_file (filepath(191)), + INDEX ezimagefile_coid (contentobject_attribute_id), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezkeyword ( + id INT AUTO_INCREMENT NOT NULL, + class_id INT DEFAULT 0 NOT NULL, + keyword VARCHAR(255) DEFAULT NULL, + INDEX ezkeyword_keyword (keyword(191)), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezkeyword_attribute_link ( + id INT AUTO_INCREMENT NOT NULL, + keyword_id INT DEFAULT 0 NOT NULL, + objectattribute_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + INDEX ezkeyword_attr_link_oaid (objectattribute_id), + INDEX ezkeyword_attr_link_kid_oaid (keyword_id, objectattribute_id), + INDEX ezkeyword_attr_link_oaid_ver (objectattribute_id, version), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezmedia ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + controls VARCHAR(50) DEFAULT NULL, + filename VARCHAR(255) DEFAULT '' NOT NULL, + has_controller INT DEFAULT 0, + height INT DEFAULT NULL, + is_autoplay INT DEFAULT 0, + is_loop INT DEFAULT 0, + mime_type VARCHAR(50) DEFAULT '' NOT NULL, + original_filename VARCHAR(255) DEFAULT '' NOT NULL, + pluginspage VARCHAR(255) DEFAULT NULL, + quality VARCHAR(50) DEFAULT NULL, + width INT DEFAULT NULL, + PRIMARY KEY(contentobject_attribute_id, version) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE eznode_assignment ( + id INT AUTO_INCREMENT NOT NULL, + contentobject_id INT DEFAULT NULL, + contentobject_version INT DEFAULT NULL, + from_node_id INT DEFAULT 0, + is_main INT DEFAULT 0 NOT NULL, + op_code INT DEFAULT 0 NOT NULL, + parent_node INT DEFAULT NULL, + parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, + remote_id VARCHAR(100) DEFAULT '0' NOT NULL, + sort_field INT DEFAULT 1, + sort_order INT DEFAULT 1, + priority INT DEFAULT 0 NOT NULL, + is_hidden INT DEFAULT 0 NOT NULL, + INDEX eznode_assignment_is_main (is_main), + INDEX eznode_assignment_coid_cov (contentobject_id, contentobject_version), + INDEX eznode_assignment_parent_node (parent_node), + INDEX eznode_assignment_co_version (contentobject_version), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE eznotification ( + id INT AUTO_INCREMENT NOT NULL, + owner_id INT DEFAULT 0 NOT NULL, + is_pending TINYINT(1) DEFAULT '1' NOT NULL, + type VARCHAR(128) DEFAULT '' NOT NULL, + created INT DEFAULT 0 NOT NULL, + data LONGTEXT DEFAULT NULL, + INDEX eznotification_owner_is_pending (owner_id, is_pending), + INDEX eznotification_owner (owner_id), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezpackage ( + id INT AUTO_INCREMENT NOT NULL, + install_date INT DEFAULT 0 NOT NULL, + name VARCHAR(100) DEFAULT '' NOT NULL, + version VARCHAR(30) DEFAULT '0' NOT NULL, + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezpolicy ( + id INT AUTO_INCREMENT NOT NULL, + function_name VARCHAR(255) DEFAULT NULL, + module_name VARCHAR(255) DEFAULT NULL, + original_id INT DEFAULT 0 NOT NULL, + role_id INT DEFAULT NULL, + INDEX ezpolicy_role_id (role_id), + INDEX ezpolicy_original_id (original_id), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezpolicy_limitation ( + id INT AUTO_INCREMENT NOT NULL, + identifier VARCHAR(255) DEFAULT '' NOT NULL, + policy_id INT DEFAULT NULL, + INDEX policy_id (policy_id), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezpolicy_limitation_value ( + id INT AUTO_INCREMENT NOT NULL, + limitation_id INT DEFAULT NULL, + value VARCHAR(255) DEFAULT NULL, + INDEX ezpolicy_limit_value_limit_id (limitation_id), + INDEX ezpolicy_limitation_value_val (value(191)), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezpreferences ( + id INT AUTO_INCREMENT NOT NULL, + name VARCHAR(100) DEFAULT NULL, + user_id INT DEFAULT 0 NOT NULL, + value LONGTEXT DEFAULT NULL, + INDEX ezpreferences_user_id_idx (user_id, name), + INDEX ezpreferences_name (name), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezrole ( + id INT AUTO_INCREMENT NOT NULL, + is_new INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + value CHAR(1) DEFAULT NULL, + version INT DEFAULT 0, + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezsearch_object_word_link ( + id INT AUTO_INCREMENT NOT NULL, + contentclass_attribute_id INT DEFAULT 0 NOT NULL, + contentclass_id INT DEFAULT 0 NOT NULL, + contentobject_id INT DEFAULT 0 NOT NULL, + frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, + identifier VARCHAR(255) DEFAULT '' NOT NULL, + integer_value INT DEFAULT 0 NOT NULL, + next_word_id INT DEFAULT 0 NOT NULL, + placement INT DEFAULT 0 NOT NULL, + prev_word_id INT DEFAULT 0 NOT NULL, + published INT DEFAULT 0 NOT NULL, + section_id INT DEFAULT 0 NOT NULL, + word_id INT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + INDEX ezsearch_object_word_link_object (contentobject_id), + INDEX ezsearch_object_word_link_identifier (identifier(191)), + INDEX ezsearch_object_word_link_integer_value (integer_value), + INDEX ezsearch_object_word_link_word (word_id), + INDEX ezsearch_object_word_link_frequency (frequency), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezsearch_word ( + id INT AUTO_INCREMENT NOT NULL, + object_count INT DEFAULT 0 NOT NULL, + word VARCHAR(150) DEFAULT NULL, + INDEX ezsearch_word_word_i (word), + INDEX ezsearch_word_obj_count (object_count), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezsection ( + id INT AUTO_INCREMENT NOT NULL, + identifier VARCHAR(255) DEFAULT NULL, + locale VARCHAR(255) DEFAULT NULL, + name VARCHAR(255) DEFAULT NULL, + navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezsite_data ( + name VARCHAR(60) DEFAULT '' NOT NULL, + value LONGTEXT NOT NULL, + PRIMARY KEY(name) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezurl ( + id INT AUTO_INCREMENT NOT NULL, + created INT DEFAULT 0 NOT NULL, + is_valid INT DEFAULT 1 NOT NULL, + last_checked INT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, + url LONGTEXT DEFAULT NULL, + INDEX ezurl_url (url(191)), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezurl_object_link ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + contentobject_attribute_version INT DEFAULT 0 NOT NULL, + url_id INT DEFAULT 0 NOT NULL, + INDEX ezurl_ol_coa_id (contentobject_attribute_id), + INDEX ezurl_ol_url_id (url_id), + INDEX ezurl_ol_coa_version (contentobject_attribute_version), + INDEX ezurl_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezurlalias ( + id INT AUTO_INCREMENT NOT NULL, + destination_url LONGTEXT NOT NULL, + forward_to_id INT DEFAULT 0 NOT NULL, + is_imported INT DEFAULT 0 NOT NULL, + is_internal INT DEFAULT 1 NOT NULL, + is_wildcard INT DEFAULT 0 NOT NULL, + source_md5 VARCHAR(32) DEFAULT NULL, + source_url LONGTEXT NOT NULL, + INDEX ezurlalias_source_md5 (source_md5), + INDEX ezurlalias_wcard_fwd (is_wildcard, forward_to_id), + INDEX ezurlalias_forward_to_id (forward_to_id), + INDEX ezurlalias_imp_wcard_fwd (is_imported, is_wildcard, forward_to_id), + INDEX ezurlalias_source_url (source_url(191)), + INDEX ezurlalias_desturl (destination_url(191)), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezurlalias_ml ( + parent INT DEFAULT 0 NOT NULL, + text_md5 VARCHAR(32) DEFAULT '' NOT NULL, + action LONGTEXT NOT NULL, + action_type VARCHAR(32) DEFAULT '' NOT NULL, + alias_redirects INT DEFAULT 1 NOT NULL, + id INT DEFAULT 0 NOT NULL, + is_alias INT DEFAULT 0 NOT NULL, + is_original INT DEFAULT 0 NOT NULL, + lang_mask BIGINT DEFAULT 0 NOT NULL, + link INT DEFAULT 0 NOT NULL, + text LONGTEXT NOT NULL, + INDEX ezurlalias_ml_actt_org_al (action_type, is_original, is_alias), + INDEX ezurlalias_ml_text_lang (text(32), lang_mask, parent), + INDEX ezurlalias_ml_par_act_id_lnk (action(32), id, link, parent), + INDEX ezurlalias_ml_par_lnk_txt (parent, text(32), link), + INDEX ezurlalias_ml_act_org (action(32), is_original), + INDEX ezurlalias_ml_text (text(32), id, link), + INDEX ezurlalias_ml_link (link), + INDEX ezurlalias_ml_id (id), + PRIMARY KEY(parent, text_md5) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezurlalias_ml_incr ( + id INT AUTO_INCREMENT NOT NULL, + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezurlwildcard ( + id INT AUTO_INCREMENT NOT NULL, + destination_url LONGTEXT NOT NULL, + source_url LONGTEXT NOT NULL, + type INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezuser_accountkey ( + id INT AUTO_INCREMENT NOT NULL, + hash_key VARCHAR(32) DEFAULT '' NOT NULL, + time INT DEFAULT 0 NOT NULL, + user_id INT DEFAULT 0 NOT NULL, + INDEX hash_key (hash_key), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezuser_role ( + id INT AUTO_INCREMENT NOT NULL, + contentobject_id INT DEFAULT NULL, + limit_identifier VARCHAR(255) DEFAULT '', + limit_value VARCHAR(255) DEFAULT '', + role_id INT DEFAULT NULL, + INDEX ezuser_role_role_id (role_id), + INDEX ezuser_role_contentobject_id (contentobject_id), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezuser_setting ( + user_id INT DEFAULT 0 NOT NULL, + is_enabled INT DEFAULT 0 NOT NULL, + max_login INT DEFAULT NULL, + PRIMARY KEY(user_id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ibexa_setting ( + id INT AUTO_INCREMENT NOT NULL, + `group` VARCHAR(128) NOT NULL, + identifier VARCHAR(128) NOT NULL, + value JSON NOT NULL, + INDEX ibexa_setting_id (id), + UNIQUE INDEX ibexa_setting_group_identifier (`group`, identifier), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ibexa_token_type ( + id INT AUTO_INCREMENT NOT NULL, + identifier VARCHAR(64) NOT NULL, + UNIQUE INDEX ibexa_token_type_unique (identifier), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ibexa_token ( + id INT AUTO_INCREMENT NOT NULL, + type_id INT NOT NULL, + token VARCHAR(255) NOT NULL, + identifier VARCHAR(128) DEFAULT NULL, + created INT DEFAULT 0 NOT NULL, + expires INT DEFAULT 0 NOT NULL, + revoked TINYINT(1) DEFAULT '0' NOT NULL, + INDEX IDX_B5412887C54C8C93 (type_id), + UNIQUE INDEX ibexa_token_unique (token, identifier, type_id), + PRIMARY KEY(id) + ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE + SQL); $this->addSql('ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE'); } elseif ($this->platform instanceof PostgreSqlPlatform) { - $this->addSql('CREATE TABLE ezbinaryfile (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT \'\' NOT NULL, mime_type VARCHAR(255) DEFAULT \'\' NOT NULL, original_filename VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version))'); - $this->addSql('CREATE TABLE ezcobj_state (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT \'\' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezbinaryfile ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + download_count INT DEFAULT 0 NOT NULL, + filename VARCHAR(255) DEFAULT '' NOT NULL, + mime_type VARCHAR(255) DEFAULT '' NOT NULL, + original_filename VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_attribute_id, version) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state ( + id SERIAL NOT NULL, + default_language_id BIGINT DEFAULT 0 NOT NULL, + group_id INT DEFAULT 0 NOT NULL, + identifier VARCHAR(45) DEFAULT '' NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + priority INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority)'); $this->addSql('CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask)'); $this->addSql('CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier)'); - $this->addSql('CREATE TABLE ezcobj_state_group (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT \'\' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state_group ( + id SERIAL NOT NULL, + default_language_id BIGINT DEFAULT 0 NOT NULL, + identifier VARCHAR(45) DEFAULT '' NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask)'); $this->addSql('CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier)'); - $this->addSql('CREATE TABLE ezcobj_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id))'); - $this->addSql('CREATE TABLE ezcobj_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, name VARCHAR(45) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id))'); - $this->addSql('CREATE TABLE ezcobj_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id))'); - $this->addSql('CREATE TABLE ezcontent_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT \'\' NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state_group_language ( + contentobject_state_group_id INT DEFAULT 0 NOT NULL, + real_language_id BIGINT DEFAULT 0 NOT NULL, + description TEXT NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + name VARCHAR(45) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_state_group_id, real_language_id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state_language ( + contentobject_state_id INT DEFAULT 0 NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + description TEXT NOT NULL, + name VARCHAR(45) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_state_id, language_id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state_link ( + contentobject_id INT DEFAULT 0 NOT NULL, + contentobject_state_id INT DEFAULT 0 NOT NULL, + PRIMARY KEY(contentobject_id, contentobject_state_id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontent_language ( + id BIGINT DEFAULT 0 NOT NULL, + disabled INT DEFAULT 0 NOT NULL, + locale VARCHAR(20) DEFAULT '' NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezcontent_language_name ON ezcontent_language (name)'); - $this->addSql('CREATE TABLE ezuser (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT \'\' NOT NULL, login VARCHAR(150) DEFAULT \'\' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, PRIMARY KEY(contentobject_id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezuser ( + contentobject_id INT DEFAULT 0 NOT NULL, + email VARCHAR(150) DEFAULT '' NOT NULL, + login VARCHAR(150) DEFAULT '' NOT NULL, + password_hash VARCHAR(255) DEFAULT NULL, + password_hash_type INT DEFAULT 1 NOT NULL, + password_updated_at INT DEFAULT NULL, + PRIMARY KEY(contentobject_id) + ) + SQL); $this->addSql('CREATE UNIQUE INDEX ezuser_login ON ezuser (login)'); - $this->addSql('CREATE TABLE ezcontentobject_tree (node_id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT \'\' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, PRIMARY KEY(node_id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_tree ( + node_id SERIAL NOT NULL, + contentobject_id INT DEFAULT NULL, + contentobject_is_published INT DEFAULT NULL, + contentobject_version INT DEFAULT NULL, + depth INT DEFAULT 0 NOT NULL, + is_hidden INT DEFAULT 0 NOT NULL, + is_invisible INT DEFAULT 0 NOT NULL, + main_node_id INT DEFAULT NULL, + modified_subnode INT DEFAULT 0, + parent_node_id INT DEFAULT 0 NOT NULL, + path_identification_string TEXT DEFAULT NULL, + path_string VARCHAR(255) DEFAULT '' NOT NULL, + priority INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + sort_field INT DEFAULT 1, + sort_order INT DEFAULT 1, + PRIMARY KEY(node_id) + ) + SQL); $this->addSql('CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id)'); $this->addSql('CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string)'); $this->addSql('CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id)'); @@ -117,22 +884,140 @@ public function up(Schema $schema): void $this->addSql('CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string)'); $this->addSql('CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode)'); $this->addSql('CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id)'); - $this->addSql('CREATE TABLE ezcontentbrowsebookmark (id SERIAL NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentbrowsebookmark ( + id SERIAL NOT NULL, + node_id INT DEFAULT 0 NOT NULL, + user_id INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id)'); $this->addSql('CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id)'); $this->addSql('CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id)'); - $this->addSql('CREATE TABLE ezcontentclass (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT \'\' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id, version))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass ( + id SERIAL NOT NULL, + version INT DEFAULT 0 NOT NULL, + always_available INT DEFAULT 0 NOT NULL, + contentobject_name VARCHAR(255) DEFAULT NULL, + created INT DEFAULT 0 NOT NULL, + creator_id INT DEFAULT 0 NOT NULL, + identifier VARCHAR(50) DEFAULT '' NOT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + is_container INT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + modifier_id INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + serialized_description_list TEXT DEFAULT NULL, + serialized_name_list TEXT DEFAULT NULL, + sort_field INT DEFAULT 1 NOT NULL, + sort_order INT DEFAULT 1 NOT NULL, + url_alias_name VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(id, version) + ) + SQL); $this->addSql('CREATE INDEX ezcontentclass_version ON ezcontentclass (version)'); $this->addSql('CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version)'); - $this->addSql('CREATE TABLE ezcontentclass_attribute (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT \'\' NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT \'\' NOT NULL, identifier VARCHAR(50) DEFAULT \'\' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT \'false\' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text TEXT DEFAULT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT NOT NULL, PRIMARY KEY(id, version))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass_attribute ( + id SERIAL NOT NULL, + version INT DEFAULT 0 NOT NULL, + can_translate INT DEFAULT 1, + category VARCHAR(25) DEFAULT '' NOT NULL, + contentclass_id INT DEFAULT 0 NOT NULL, + data_float1 DOUBLE PRECISION DEFAULT NULL, + data_float2 DOUBLE PRECISION DEFAULT NULL, + data_float3 DOUBLE PRECISION DEFAULT NULL, + data_float4 DOUBLE PRECISION DEFAULT NULL, + data_int1 INT DEFAULT NULL, + data_int2 INT DEFAULT NULL, + data_int3 INT DEFAULT NULL, + data_int4 INT DEFAULT NULL, + data_text1 VARCHAR(255) DEFAULT NULL, + data_text2 VARCHAR(50) DEFAULT NULL, + data_text3 VARCHAR(50) DEFAULT NULL, + data_text4 VARCHAR(255) DEFAULT NULL, + data_text5 TEXT DEFAULT NULL, + data_type_string VARCHAR(50) DEFAULT '' NOT NULL, + identifier VARCHAR(50) DEFAULT '' NOT NULL, + is_information_collector INT DEFAULT 0 NOT NULL, + is_required INT DEFAULT 0 NOT NULL, + is_searchable INT DEFAULT 0 NOT NULL, + is_thumbnail BOOLEAN DEFAULT 'false' NOT NULL, + placement INT DEFAULT 0 NOT NULL, + serialized_data_text TEXT DEFAULT NULL, + serialized_description_list TEXT DEFAULT NULL, + serialized_name_list TEXT NOT NULL, + PRIMARY KEY(id, version) + ) + SQL); $this->addSql('CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id)'); $this->addSql('CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string)'); - $this->addSql('CREATE TABLE ezcontentclass_attribute_ml (contentclass_attribute_id INT NOT NULL, version INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, PRIMARY KEY(contentclass_attribute_id, version, language_id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass_attribute_ml ( + contentclass_attribute_id INT NOT NULL, + version INT NOT NULL, + language_id BIGINT NOT NULL, + name VARCHAR(255) NOT NULL, + description TEXT DEFAULT NULL, + data_text TEXT DEFAULT NULL, + data_json TEXT DEFAULT NULL, + PRIMARY KEY(contentclass_attribute_id, version, language_id) + ) + SQL); $this->addSql('CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id)'); - $this->addSql('CREATE TABLE ezcontentclass_classgroup (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id))'); - $this->addSql('CREATE TABLE ezcontentclass_name (contentclass_id INT DEFAULT 0 NOT NULL, contentclass_version INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT \'\' NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id))'); - $this->addSql('CREATE TABLE ezcontentclassgroup (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT \'false\' NOT NULL, PRIMARY KEY(id))'); - $this->addSql('CREATE TABLE ezcontentobject (id SERIAL NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden BOOLEAN DEFAULT \'false\' NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass_classgroup ( + contentclass_id INT DEFAULT 0 NOT NULL, + contentclass_version INT DEFAULT 0 NOT NULL, + group_id INT DEFAULT 0 NOT NULL, + group_name VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(contentclass_id, contentclass_version, group_id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass_name ( + contentclass_id INT DEFAULT 0 NOT NULL, + contentclass_version INT DEFAULT 0 NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + language_locale VARCHAR(20) DEFAULT '' NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(contentclass_id, contentclass_version, language_id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclassgroup ( + id SERIAL NOT NULL, + created INT DEFAULT 0 NOT NULL, + creator_id INT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + modifier_id INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + is_system BOOLEAN DEFAULT 'false' NOT NULL, + PRIMARY KEY(id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject ( + id SERIAL NOT NULL, + contentclass_id INT DEFAULT 0 NOT NULL, + current_version INT DEFAULT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + owner_id INT DEFAULT 0 NOT NULL, + published INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT NULL, + section_id INT DEFAULT 0 NOT NULL, + status INT DEFAULT 0, + is_hidden BOOLEAN DEFAULT 'false' NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id)'); $this->addSql('CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask)'); $this->addSql('CREATE INDEX ezcontentobject_pub ON ezcontentobject (published)'); @@ -141,97 +1026,389 @@ public function up(Schema $schema): void $this->addSql('CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id)'); $this->addSql('CREATE INDEX ezcontentobject_status ON ezcontentobject (status)'); $this->addSql('CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id)'); - $this->addSql('CREATE TABLE ezcontentobject_attribute (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, contentclassattribute_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT \'\', language_code VARCHAR(20) DEFAULT \'\' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(id, version))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_attribute ( + id SERIAL NOT NULL, + version INT DEFAULT 0 NOT NULL, + attribute_original_id INT DEFAULT 0, + contentclassattribute_id INT DEFAULT 0 NOT NULL, + contentobject_id INT DEFAULT 0 NOT NULL, + data_float DOUBLE PRECISION DEFAULT NULL, + data_int INT DEFAULT NULL, + data_text TEXT DEFAULT NULL, + data_type_string VARCHAR(50) DEFAULT '', + language_code VARCHAR(20) DEFAULT '' NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + sort_key_int INT DEFAULT 0 NOT NULL, + sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(id, version) + ) + SQL); $this->addSql('CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code)'); $this->addSql('CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id)'); $this->addSql('CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string)'); $this->addSql('CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code)'); $this->addSql('CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int)'); $this->addSql('CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version)'); - $this->addSql('CREATE TABLE ezcontentobject_link (id SERIAL NOT NULL, contentclassattribute_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_link ( + id SERIAL NOT NULL, + contentclassattribute_id INT DEFAULT 0 NOT NULL, + from_contentobject_id INT DEFAULT 0 NOT NULL, + from_contentobject_version INT DEFAULT 0 NOT NULL, + relation_type INT DEFAULT 1 NOT NULL, + to_contentobject_id INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id)'); $this->addSql('CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id)'); $this->addSql('CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id)'); - $this->addSql('CREATE TABLE ezcontentobject_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT \'\' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_name ( + contentobject_id INT DEFAULT 0 NOT NULL, + content_version INT DEFAULT 0 NOT NULL, + content_translation VARCHAR(20) DEFAULT '' NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + real_translation VARCHAR(20) DEFAULT NULL, + PRIMARY KEY(contentobject_id, content_version, content_translation) + ) + SQL); $this->addSql('CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id)'); $this->addSql('CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version)'); $this->addSql('CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name)'); - $this->addSql('CREATE TABLE ezcontentobject_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT \'\' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, PRIMARY KEY(node_id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_trash ( + node_id INT DEFAULT 0 NOT NULL, + contentobject_id INT DEFAULT NULL, + contentobject_version INT DEFAULT NULL, + depth INT DEFAULT 0 NOT NULL, + is_hidden INT DEFAULT 0 NOT NULL, + is_invisible INT DEFAULT 0 NOT NULL, + main_node_id INT DEFAULT NULL, + modified_subnode INT DEFAULT 0, + parent_node_id INT DEFAULT 0 NOT NULL, + path_identification_string TEXT DEFAULT NULL, + path_string VARCHAR(255) DEFAULT '' NOT NULL, + priority INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + sort_field INT DEFAULT 1, + sort_order INT DEFAULT 1, + trashed INT DEFAULT 0 NOT NULL, + PRIMARY KEY(node_id) + ) + SQL); $this->addSql('CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth)'); $this->addSql('CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id)'); $this->addSql('CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string)'); $this->addSql('CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id)'); $this->addSql('CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode)'); $this->addSql('CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string)'); - $this->addSql('CREATE TABLE ezcontentobject_version (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_version ( + id SERIAL NOT NULL, + contentobject_id INT DEFAULT NULL, + created INT DEFAULT 0 NOT NULL, + creator_id INT DEFAULT 0 NOT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + status INT DEFAULT 0 NOT NULL, + user_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + workflow_event_pos INT DEFAULT 0, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status)'); $this->addSql('CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version)'); $this->addSql('CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status)'); $this->addSql('CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id)'); - $this->addSql('CREATE TABLE ezdfsfile (name_hash VARCHAR(34) DEFAULT \'\' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT \'application/octet-stream\' NOT NULL, scope VARCHAR(25) DEFAULT \'\' NOT NULL, size BIGINT DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT \'false\' NOT NULL, status BOOLEAN DEFAULT \'false\' NOT NULL, PRIMARY KEY(name_hash))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezdfsfile ( + name_hash VARCHAR(34) DEFAULT '' NOT NULL, + name TEXT NOT NULL, + name_trunk TEXT NOT NULL, + datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, + scope VARCHAR(25) DEFAULT '' NOT NULL, + size BIGINT DEFAULT 0 NOT NULL, + mtime INT DEFAULT 0 NOT NULL, + expired BOOLEAN DEFAULT 'false' NOT NULL, + status BOOLEAN DEFAULT 'false' NOT NULL, + PRIMARY KEY(name_hash) + ) + SQL); $this->addSql('CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk)'); $this->addSql('CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name)'); $this->addSql('CREATE INDEX ezdfsfile_name ON ezdfsfile (name)'); $this->addSql('CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime)'); - $this->addSql('CREATE TABLE ezgmaplocation (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT \'0\' NOT NULL, longitude DOUBLE PRECISION DEFAULT \'0\' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezgmaplocation ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + contentobject_version INT DEFAULT 0 NOT NULL, + latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, + longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, + address VARCHAR(150) DEFAULT NULL, + PRIMARY KEY(contentobject_attribute_id, contentobject_version) + ) + SQL); $this->addSql('CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude)'); - $this->addSql('CREATE TABLE ezimagefile (id SERIAL NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath TEXT NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezimagefile ( + id SERIAL NOT NULL, + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + filepath TEXT NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezimagefile_file ON ezimagefile (filepath)'); $this->addSql('CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id)'); - $this->addSql('CREATE TABLE ezkeyword (id SERIAL NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezkeyword ( + id SERIAL NOT NULL, + class_id INT DEFAULT 0 NOT NULL, + keyword VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword)'); - $this->addSql('CREATE TABLE ezkeyword_attribute_link (id SERIAL NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezkeyword_attribute_link ( + id SERIAL NOT NULL, + keyword_id INT DEFAULT 0 NOT NULL, + objectattribute_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id)'); $this->addSql('CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id)'); $this->addSql('CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version)'); - $this->addSql('CREATE TABLE ezmedia (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT \'\' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT \'\' NOT NULL, original_filename VARCHAR(255) DEFAULT \'\' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version))'); - $this->addSql('CREATE TABLE eznode_assignment (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, remote_id VARCHAR(100) DEFAULT \'0\' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezmedia ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + controls VARCHAR(50) DEFAULT NULL, + filename VARCHAR(255) DEFAULT '' NOT NULL, + has_controller INT DEFAULT 0, + height INT DEFAULT NULL, + is_autoplay INT DEFAULT 0, + is_loop INT DEFAULT 0, + mime_type VARCHAR(50) DEFAULT '' NOT NULL, + original_filename VARCHAR(255) DEFAULT '' NOT NULL, + pluginspage VARCHAR(255) DEFAULT NULL, + quality VARCHAR(50) DEFAULT NULL, + width INT DEFAULT NULL, + PRIMARY KEY(contentobject_attribute_id, version) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE eznode_assignment ( + id SERIAL NOT NULL, + contentobject_id INT DEFAULT NULL, + contentobject_version INT DEFAULT NULL, + from_node_id INT DEFAULT 0, + is_main INT DEFAULT 0 NOT NULL, + op_code INT DEFAULT 0 NOT NULL, + parent_node INT DEFAULT NULL, + parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, + remote_id VARCHAR(100) DEFAULT '0' NOT NULL, + sort_field INT DEFAULT 1, + sort_order INT DEFAULT 1, + priority INT DEFAULT 0 NOT NULL, + is_hidden INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main)'); $this->addSql('CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version)'); $this->addSql('CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node)'); $this->addSql('CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version)'); - $this->addSql('CREATE TABLE eznotification (id SERIAL NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT \'true\' NOT NULL, type VARCHAR(128) DEFAULT \'\' NOT NULL, created INT DEFAULT 0 NOT NULL, data TEXT DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE eznotification ( + id SERIAL NOT NULL, + owner_id INT DEFAULT 0 NOT NULL, + is_pending BOOLEAN DEFAULT 'true' NOT NULL, + type VARCHAR(128) DEFAULT '' NOT NULL, + created INT DEFAULT 0 NOT NULL, + data TEXT DEFAULT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending)'); $this->addSql('CREATE INDEX eznotification_owner ON eznotification (owner_id)'); - $this->addSql('CREATE TABLE ezpackage (id SERIAL NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT \'\' NOT NULL, version VARCHAR(30) DEFAULT \'0\' NOT NULL, PRIMARY KEY(id))'); - $this->addSql('CREATE TABLE ezpolicy (id SERIAL NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezpackage ( + id SERIAL NOT NULL, + install_date INT DEFAULT 0 NOT NULL, + name VARCHAR(100) DEFAULT '' NOT NULL, + version VARCHAR(30) DEFAULT '0' NOT NULL, + PRIMARY KEY(id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezpolicy ( + id SERIAL NOT NULL, + function_name VARCHAR(255) DEFAULT NULL, + module_name VARCHAR(255) DEFAULT NULL, + original_id INT DEFAULT 0 NOT NULL, + role_id INT DEFAULT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id)'); $this->addSql('CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id)'); - $this->addSql('CREATE TABLE ezpolicy_limitation (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT \'\' NOT NULL, policy_id INT DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezpolicy_limitation ( + id SERIAL NOT NULL, + identifier VARCHAR(255) DEFAULT '' NOT NULL, + policy_id INT DEFAULT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX policy_id ON ezpolicy_limitation (policy_id)'); - $this->addSql('CREATE TABLE ezpolicy_limitation_value (id SERIAL NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezpolicy_limitation_value ( + id SERIAL NOT NULL, + limitation_id INT DEFAULT NULL, + value VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id)'); $this->addSql('CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value)'); - $this->addSql('CREATE TABLE ezpreferences (id SERIAL NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value TEXT DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezpreferences ( + id SERIAL NOT NULL, + name VARCHAR(100) DEFAULT NULL, + user_id INT DEFAULT 0 NOT NULL, + value TEXT DEFAULT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name)'); $this->addSql('CREATE INDEX ezpreferences_name ON ezpreferences (name)'); - $this->addSql('CREATE TABLE ezrole (id SERIAL NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id))'); - $this->addSql('CREATE TABLE ezsearch_object_word_link (id SERIAL NOT NULL, contentclass_attribute_id INT DEFAULT 0 NOT NULL, contentclass_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT \'0\' NOT NULL, identifier VARCHAR(255) DEFAULT \'\' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezrole ( + id SERIAL NOT NULL, + is_new INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + value CHAR(1) DEFAULT NULL, + version INT DEFAULT 0, + PRIMARY KEY(id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezsearch_object_word_link ( + id SERIAL NOT NULL, + contentclass_attribute_id INT DEFAULT 0 NOT NULL, + contentclass_id INT DEFAULT 0 NOT NULL, + contentobject_id INT DEFAULT 0 NOT NULL, + frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, + identifier VARCHAR(255) DEFAULT '' NOT NULL, + integer_value INT DEFAULT 0 NOT NULL, + next_word_id INT DEFAULT 0 NOT NULL, + placement INT DEFAULT 0 NOT NULL, + prev_word_id INT DEFAULT 0 NOT NULL, + published INT DEFAULT 0 NOT NULL, + section_id INT DEFAULT 0 NOT NULL, + word_id INT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id)'); $this->addSql('CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier)'); $this->addSql('CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value)'); $this->addSql('CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id)'); $this->addSql('CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency)'); - $this->addSql('CREATE TABLE ezsearch_word (id SERIAL NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezsearch_word ( + id SERIAL NOT NULL, + object_count INT DEFAULT 0 NOT NULL, + word VARCHAR(150) DEFAULT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word)'); $this->addSql('CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count)'); - $this->addSql('CREATE TABLE ezsection (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT \'ezcontentnavigationpart\', PRIMARY KEY(id))'); - $this->addSql('CREATE TABLE ezsite_data (name VARCHAR(60) DEFAULT \'\' NOT NULL, value TEXT NOT NULL, PRIMARY KEY(name))'); - $this->addSql('CREATE TABLE ezurl (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT \'\' NOT NULL, url TEXT DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezsection ( + id SERIAL NOT NULL, + identifier VARCHAR(255) DEFAULT NULL, + locale VARCHAR(255) DEFAULT NULL, + name VARCHAR(255) DEFAULT NULL, + navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', + PRIMARY KEY(id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezsite_data ( + name VARCHAR(60) DEFAULT '' NOT NULL, + value TEXT NOT NULL, + PRIMARY KEY(name) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezurl ( + id SERIAL NOT NULL, + created INT DEFAULT 0 NOT NULL, + is_valid INT DEFAULT 1 NOT NULL, + last_checked INT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, + url TEXT DEFAULT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezurl_url ON ezurl (url)'); - $this->addSql('CREATE TABLE ezurl_object_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezurl_object_link ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + contentobject_attribute_version INT DEFAULT 0 NOT NULL, + url_id INT DEFAULT 0 NOT NULL + ) + SQL); $this->addSql('CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id)'); $this->addSql('CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id)'); $this->addSql('CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version)'); $this->addSql('CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version)'); - $this->addSql('CREATE TABLE ezurlalias (id SERIAL NOT NULL, destination_url TEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url TEXT NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezurlalias ( + id SERIAL NOT NULL, + destination_url TEXT NOT NULL, + forward_to_id INT DEFAULT 0 NOT NULL, + is_imported INT DEFAULT 0 NOT NULL, + is_internal INT DEFAULT 1 NOT NULL, + is_wildcard INT DEFAULT 0 NOT NULL, + source_md5 VARCHAR(32) DEFAULT NULL, + source_url TEXT NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5)'); $this->addSql('CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id)'); $this->addSql('CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id)'); $this->addSql('CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id)'); $this->addSql('CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url)'); $this->addSql('CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url)'); - $this->addSql('CREATE TABLE ezurlalias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT \'\' NOT NULL, action TEXT NOT NULL, action_type VARCHAR(32) DEFAULT \'\' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text TEXT NOT NULL, PRIMARY KEY(parent, text_md5))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezurlalias_ml ( + parent INT DEFAULT 0 NOT NULL, + text_md5 VARCHAR(32) DEFAULT '' NOT NULL, + action TEXT NOT NULL, + action_type VARCHAR(32) DEFAULT '' NOT NULL, + alias_redirects INT DEFAULT 1 NOT NULL, + id INT DEFAULT 0 NOT NULL, + is_alias INT DEFAULT 0 NOT NULL, + is_original INT DEFAULT 0 NOT NULL, + lang_mask BIGINT DEFAULT 0 NOT NULL, + link INT DEFAULT 0 NOT NULL, + text TEXT NOT NULL, + PRIMARY KEY(parent, text_md5) + ) + SQL); $this->addSql('CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias)'); $this->addSql('CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent)'); $this->addSql('CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml (action, id, link, parent)'); @@ -240,43 +1417,199 @@ public function up(Schema $schema): void $this->addSql('CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link)'); $this->addSql('CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link)'); $this->addSql('CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id)'); - $this->addSql('CREATE TABLE ezurlalias_ml_incr (id SERIAL NOT NULL, PRIMARY KEY(id))'); - $this->addSql('CREATE TABLE ezurlwildcard (id SERIAL NOT NULL, destination_url TEXT NOT NULL, source_url TEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); - $this->addSql('CREATE TABLE ezuser_accountkey (id SERIAL NOT NULL, hash_key VARCHAR(32) DEFAULT \'\' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezurlalias_ml_incr ( + id SERIAL NOT NULL, + PRIMARY KEY(id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezurlwildcard ( + id SERIAL NOT NULL, + destination_url TEXT NOT NULL, + source_url TEXT NOT NULL, + type INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezuser_accountkey ( + id SERIAL NOT NULL, + hash_key VARCHAR(32) DEFAULT '' NOT NULL, + time INT DEFAULT 0 NOT NULL, + user_id INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX hash_key ON ezuser_accountkey (hash_key)'); - $this->addSql('CREATE TABLE ezuser_role (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT \'\', limit_value VARCHAR(255) DEFAULT \'\', role_id INT DEFAULT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezuser_role ( + id SERIAL NOT NULL, + contentobject_id INT DEFAULT NULL, + limit_identifier VARCHAR(255) DEFAULT '', + limit_value VARCHAR(255) DEFAULT '', + role_id INT DEFAULT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id)'); $this->addSql('CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id)'); - $this->addSql('CREATE TABLE ezuser_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id))'); - $this->addSql('CREATE TABLE ibexa_setting (id SERIAL NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezuser_setting ( + user_id INT DEFAULT 0 NOT NULL, + is_enabled INT DEFAULT 0 NOT NULL, + max_login INT DEFAULT NULL, + PRIMARY KEY(user_id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ibexa_setting ( + id SERIAL NOT NULL, + "group" VARCHAR(128) NOT NULL, + identifier VARCHAR(128) NOT NULL, + value JSON NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ibexa_setting_id ON ibexa_setting (id)'); $this->addSql('CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier)'); - $this->addSql('CREATE TABLE ibexa_token_type (id SERIAL NOT NULL, identifier VARCHAR(64) NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ibexa_token_type ( + id SERIAL NOT NULL, + identifier VARCHAR(64) NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier)'); - $this->addSql('CREATE TABLE ibexa_token (id SERIAL NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT \'false\' NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ibexa_token ( + id SERIAL NOT NULL, + type_id INT NOT NULL, + token VARCHAR(255) NOT NULL, + identifier VARCHAR(128) DEFAULT NULL, + created INT DEFAULT 0 NOT NULL, + expires INT DEFAULT 0 NOT NULL, + revoked BOOLEAN DEFAULT 'false' NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id)'); $this->addSql('CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id)'); - $this->addSql('ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); - $this->addSql('ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); - $this->addSql('ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); - $this->addSql('ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE + SQL); } elseif ($this->platform instanceof SqlitePlatform) { - $this->addSql('CREATE TABLE ezbinaryfile (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, download_count INTEGER DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT \'\' NOT NULL, mime_type VARCHAR(255) DEFAULT \'\' NOT NULL, original_filename VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version))'); - $this->addSql('CREATE TABLE ezcobj_state (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT \'\' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezbinaryfile ( + contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, + version INTEGER DEFAULT 0 NOT NULL, + download_count INTEGER DEFAULT 0 NOT NULL, + filename VARCHAR(255) DEFAULT '' NOT NULL, + mime_type VARCHAR(255) DEFAULT '' NOT NULL, + original_filename VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_attribute_id, version) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + default_language_id BIGINT DEFAULT 0 NOT NULL, + group_id INTEGER DEFAULT 0 NOT NULL, + identifier VARCHAR(45) DEFAULT '' NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + priority INTEGER DEFAULT 0 NOT NULL + ) + SQL); $this->addSql('CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority)'); $this->addSql('CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask)'); $this->addSql('CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier)'); - $this->addSql('CREATE TABLE ezcobj_state_group (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT \'\' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state_group ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + default_language_id BIGINT DEFAULT 0 NOT NULL, + identifier VARCHAR(45) DEFAULT '' NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL + ) + SQL); $this->addSql('CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask)'); $this->addSql('CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier)'); - $this->addSql('CREATE TABLE ezcobj_state_group_language (contentobject_state_group_id INTEGER DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id))'); - $this->addSql('CREATE TABLE ezcobj_state_language (contentobject_state_id INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, name VARCHAR(45) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id))'); - $this->addSql('CREATE TABLE ezcobj_state_link (contentobject_id INTEGER DEFAULT 0 NOT NULL, contentobject_state_id INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id))'); - $this->addSql('CREATE TABLE ezcontent_language (id BIGINT DEFAULT 0 NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT \'\' NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state_group_language ( + contentobject_state_group_id INTEGER DEFAULT 0 NOT NULL, + real_language_id BIGINT DEFAULT 0 NOT NULL, + description CLOB NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + name VARCHAR(45) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_state_group_id, real_language_id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state_language ( + contentobject_state_id INTEGER DEFAULT 0 NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + description CLOB NOT NULL, + name VARCHAR(45) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_state_id, language_id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcobj_state_link ( + contentobject_id INTEGER DEFAULT 0 NOT NULL, + contentobject_state_id INTEGER DEFAULT 0 NOT NULL, + PRIMARY KEY(contentobject_id, contentobject_state_id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontent_language ( + id BIGINT DEFAULT 0 NOT NULL, + disabled INTEGER DEFAULT 0 NOT NULL, + locale VARCHAR(20) DEFAULT '' NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(id) + ) + SQL); $this->addSql('CREATE INDEX ezcontent_language_name ON ezcontent_language (name)'); - $this->addSql('CREATE TABLE ezuser (contentobject_id INTEGER DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT \'\' NOT NULL, login VARCHAR(150) DEFAULT \'\' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INTEGER DEFAULT 1 NOT NULL, password_updated_at INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezuser ( + contentobject_id INTEGER DEFAULT 0 NOT NULL, + email VARCHAR(150) DEFAULT '' NOT NULL, + login VARCHAR(150) DEFAULT '' NOT NULL, + password_hash VARCHAR(255) DEFAULT NULL, + password_hash_type INTEGER DEFAULT 1 NOT NULL, + password_updated_at INTEGER DEFAULT NULL, + PRIMARY KEY(contentobject_id) + ) + SQL); $this->addSql('CREATE UNIQUE INDEX ezuser_login ON ezuser (login)'); - $this->addSql('CREATE TABLE ezcontentobject_tree (node_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_is_published INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT \'\' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_tree ( + node_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentobject_id INTEGER DEFAULT NULL, + contentobject_is_published INTEGER DEFAULT NULL, + contentobject_version INTEGER DEFAULT NULL, + depth INTEGER DEFAULT 0 NOT NULL, + is_hidden INTEGER DEFAULT 0 NOT NULL, + is_invisible INTEGER DEFAULT 0 NOT NULL, + main_node_id INTEGER DEFAULT NULL, + modified_subnode INTEGER DEFAULT 0, + parent_node_id INTEGER DEFAULT 0 NOT NULL, + path_identification_string CLOB DEFAULT NULL, + path_string VARCHAR(255) DEFAULT '' NOT NULL, + priority INTEGER DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + sort_field INTEGER DEFAULT 1, + sort_order INTEGER DEFAULT 1 + ) + SQL); $this->addSql('CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id)'); $this->addSql('CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string)'); $this->addSql('CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id)'); @@ -285,22 +1618,138 @@ public function up(Schema $schema): void $this->addSql('CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string)'); $this->addSql('CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode)'); $this->addSql('CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id)'); - $this->addSql('CREATE TABLE ezcontentbrowsebookmark (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, node_id INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE, CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentbrowsebookmark ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + node_id INTEGER DEFAULT 0 NOT NULL, + user_id INTEGER DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE, + CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE + ) + SQL); $this->addSql('CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id)'); $this->addSql('CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id)'); $this->addSql('CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id)'); - $this->addSql('CREATE TABLE ezcontentclass (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, always_available INTEGER DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT \'\' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB DEFAULT NULL, sort_field INTEGER DEFAULT 1 NOT NULL, sort_order INTEGER DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + version INTEGER DEFAULT 0 NOT NULL, + always_available INTEGER DEFAULT 0 NOT NULL, + contentobject_name VARCHAR(255) DEFAULT NULL, + created INTEGER DEFAULT 0 NOT NULL, + creator_id INTEGER DEFAULT 0 NOT NULL, + identifier VARCHAR(50) DEFAULT '' NOT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + is_container INTEGER DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INTEGER DEFAULT 0 NOT NULL, + modifier_id INTEGER DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + serialized_description_list CLOB DEFAULT NULL, + serialized_name_list CLOB DEFAULT NULL, + sort_field INTEGER DEFAULT 1 NOT NULL, + sort_order INTEGER DEFAULT 1 NOT NULL, + url_alias_name VARCHAR(255) DEFAULT NULL + ) + SQL); $this->addSql('CREATE INDEX ezcontentclass_version ON ezcontentclass (version)'); $this->addSql('CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version)'); - $this->addSql('CREATE TABLE ezcontentclass_attribute (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, can_translate INTEGER DEFAULT 1, category VARCHAR(25) DEFAULT \'\' NOT NULL, contentclass_id INTEGER DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INTEGER DEFAULT NULL, data_int2 INTEGER DEFAULT NULL, data_int3 INTEGER DEFAULT NULL, data_int4 INTEGER DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT \'\' NOT NULL, identifier VARCHAR(50) DEFAULT \'\' NOT NULL, is_information_collector INTEGER DEFAULT 0 NOT NULL, is_required INTEGER DEFAULT 0 NOT NULL, is_searchable INTEGER DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT \'0\' NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, serialized_data_text CLOB DEFAULT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass_attribute ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + version INTEGER DEFAULT 0 NOT NULL, + can_translate INTEGER DEFAULT 1, + category VARCHAR(25) DEFAULT '' NOT NULL, + contentclass_id INTEGER DEFAULT 0 NOT NULL, + data_float1 DOUBLE PRECISION DEFAULT NULL, + data_float2 DOUBLE PRECISION DEFAULT NULL, + data_float3 DOUBLE PRECISION DEFAULT NULL, + data_float4 DOUBLE PRECISION DEFAULT NULL, + data_int1 INTEGER DEFAULT NULL, + data_int2 INTEGER DEFAULT NULL, + data_int3 INTEGER DEFAULT NULL, + data_int4 INTEGER DEFAULT NULL, + data_text1 VARCHAR(255) DEFAULT NULL, + data_text2 VARCHAR(50) DEFAULT NULL, + data_text3 VARCHAR(50) DEFAULT NULL, + data_text4 VARCHAR(255) DEFAULT NULL, + data_text5 CLOB DEFAULT NULL, + data_type_string VARCHAR(50) DEFAULT '' NOT NULL, + identifier VARCHAR(50) DEFAULT '' NOT NULL, + is_information_collector INTEGER DEFAULT 0 NOT NULL, + is_required INTEGER DEFAULT 0 NOT NULL, + is_searchable INTEGER DEFAULT 0 NOT NULL, + is_thumbnail BOOLEAN DEFAULT '0' NOT NULL, + placement INTEGER DEFAULT 0 NOT NULL, + serialized_data_text CLOB DEFAULT NULL, + serialized_description_list CLOB DEFAULT NULL, + serialized_name_list CLOB NOT NULL + ) + SQL); $this->addSql('CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id)'); $this->addSql('CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string)'); - $this->addSql('CREATE TABLE ezcontentclass_attribute_ml (contentclass_attribute_id INTEGER NOT NULL, version INTEGER NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description CLOB DEFAULT NULL, data_text CLOB DEFAULT NULL, data_json CLOB DEFAULT NULL, PRIMARY KEY(contentclass_attribute_id, version, language_id), CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass_attribute_ml ( + contentclass_attribute_id INTEGER NOT NULL, + version INTEGER NOT NULL, + language_id BIGINT NOT NULL, + name VARCHAR(255) NOT NULL, + description CLOB DEFAULT NULL, + data_text CLOB DEFAULT NULL, + data_json CLOB DEFAULT NULL, + PRIMARY KEY(contentclass_attribute_id, version, language_id), + CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE + ) + SQL); $this->addSql('CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id)'); - $this->addSql('CREATE TABLE ezcontentclass_classgroup (contentclass_id INTEGER DEFAULT 0 NOT NULL, contentclass_version INTEGER DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id))'); - $this->addSql('CREATE TABLE ezcontentclass_name (contentclass_id INTEGER DEFAULT 0 NOT NULL, contentclass_version INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT \'\' NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id))'); - $this->addSql('CREATE TABLE ezcontentclassgroup (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT \'0\' NOT NULL)'); - $this->addSql('CREATE TABLE ezcontentobject (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentclass_id INTEGER DEFAULT 0 NOT NULL, current_version INTEGER DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0, is_hidden BOOLEAN DEFAULT \'0\' NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass_classgroup ( + contentclass_id INTEGER DEFAULT 0 NOT NULL, + contentclass_version INTEGER DEFAULT 0 NOT NULL, + group_id INTEGER DEFAULT 0 NOT NULL, + group_name VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(contentclass_id, contentclass_version, group_id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclass_name ( + contentclass_id INTEGER DEFAULT 0 NOT NULL, + contentclass_version INTEGER DEFAULT 0 NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + language_locale VARCHAR(20) DEFAULT '' NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(contentclass_id, contentclass_version, language_id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentclassgroup ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + created INTEGER DEFAULT 0 NOT NULL, + creator_id INTEGER DEFAULT 0 NOT NULL, + modified INTEGER DEFAULT 0 NOT NULL, + modifier_id INTEGER DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + is_system BOOLEAN DEFAULT '0' NOT NULL + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentclass_id INTEGER DEFAULT 0 NOT NULL, + current_version INTEGER DEFAULT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INTEGER DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + owner_id INTEGER DEFAULT 0 NOT NULL, + published INTEGER DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT NULL, + section_id INTEGER DEFAULT 0 NOT NULL, + status INTEGER DEFAULT 0, + is_hidden BOOLEAN DEFAULT '0' NOT NULL + ) + SQL); $this->addSql('CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id)'); $this->addSql('CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask)'); $this->addSql('CREATE INDEX ezcontentobject_pub ON ezcontentobject (published)'); @@ -309,97 +1758,370 @@ public function up(Schema $schema): void $this->addSql('CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id)'); $this->addSql('CREATE INDEX ezcontentobject_status ON ezcontentobject (status)'); $this->addSql('CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id)'); - $this->addSql('CREATE TABLE ezcontentobject_attribute (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, attribute_original_id INTEGER DEFAULT 0, contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INTEGER DEFAULT NULL, data_text CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT \'\', language_code VARCHAR(20) DEFAULT \'\' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INTEGER DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT \'\' NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_attribute ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + version INTEGER DEFAULT 0 NOT NULL, + attribute_original_id INTEGER DEFAULT 0, + contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, + contentobject_id INTEGER DEFAULT 0 NOT NULL, + data_float DOUBLE PRECISION DEFAULT NULL, + data_int INTEGER DEFAULT NULL, + data_text CLOB DEFAULT NULL, + data_type_string VARCHAR(50) DEFAULT '', + language_code VARCHAR(20) DEFAULT '' NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + sort_key_int INTEGER DEFAULT 0 NOT NULL, + sort_key_string VARCHAR(255) DEFAULT '' NOT NULL + ) + SQL); $this->addSql('CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code)'); $this->addSql('CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id)'); $this->addSql('CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string)'); $this->addSql('CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code)'); $this->addSql('CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int)'); $this->addSql('CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version)'); - $this->addSql('CREATE TABLE ezcontentobject_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_version INTEGER DEFAULT 0 NOT NULL, relation_type INTEGER DEFAULT 1 NOT NULL, to_contentobject_id INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_link ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, + from_contentobject_id INTEGER DEFAULT 0 NOT NULL, + from_contentobject_version INTEGER DEFAULT 0 NOT NULL, + relation_type INTEGER DEFAULT 1 NOT NULL, + to_contentobject_id INTEGER DEFAULT 0 NOT NULL + ) + SQL); $this->addSql('CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id)'); $this->addSql('CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id)'); $this->addSql('CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id)'); - $this->addSql('CREATE TABLE ezcontentobject_name (contentobject_id INTEGER DEFAULT 0 NOT NULL, content_version INTEGER DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT \'\' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_name ( + contentobject_id INTEGER DEFAULT 0 NOT NULL, + content_version INTEGER DEFAULT 0 NOT NULL, + content_translation VARCHAR(20) DEFAULT '' NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + real_translation VARCHAR(20) DEFAULT NULL, + PRIMARY KEY(contentobject_id, content_version, content_translation) + ) + SQL); $this->addSql('CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id)'); $this->addSql('CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version)'); $this->addSql('CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name)'); - $this->addSql('CREATE TABLE ezcontentobject_trash (node_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT \'\' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, trashed INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(node_id))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_trash ( + node_id INTEGER DEFAULT 0 NOT NULL, + contentobject_id INTEGER DEFAULT NULL, + contentobject_version INTEGER DEFAULT NULL, + depth INTEGER DEFAULT 0 NOT NULL, + is_hidden INTEGER DEFAULT 0 NOT NULL, + is_invisible INTEGER DEFAULT 0 NOT NULL, + main_node_id INTEGER DEFAULT NULL, + modified_subnode INTEGER DEFAULT 0, + parent_node_id INTEGER DEFAULT 0 NOT NULL, + path_identification_string CLOB DEFAULT NULL, + path_string VARCHAR(255) DEFAULT '' NOT NULL, + priority INTEGER DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + sort_field INTEGER DEFAULT 1, + sort_order INTEGER DEFAULT 1, + trashed INTEGER DEFAULT 0 NOT NULL, + PRIMARY KEY(node_id) + ) + SQL); $this->addSql('CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth)'); $this->addSql('CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id)'); $this->addSql('CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string)'); $this->addSql('CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id)'); $this->addSql('CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode)'); $this->addSql('CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string)'); - $this->addSql('CREATE TABLE ezcontentobject_version (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, workflow_event_pos INTEGER DEFAULT 0)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezcontentobject_version ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentobject_id INTEGER DEFAULT NULL, + created INTEGER DEFAULT 0 NOT NULL, + creator_id INTEGER DEFAULT 0 NOT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INTEGER DEFAULT 0 NOT NULL, + status INTEGER DEFAULT 0 NOT NULL, + user_id INTEGER DEFAULT 0 NOT NULL, + version INTEGER DEFAULT 0 NOT NULL, + workflow_event_pos INTEGER DEFAULT 0 + ) + SQL); $this->addSql('CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status)'); $this->addSql('CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version)'); $this->addSql('CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status)'); $this->addSql('CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id)'); - $this->addSql('CREATE TABLE ezdfsfile (name_hash VARCHAR(34) DEFAULT \'\' NOT NULL, name CLOB NOT NULL, name_trunk CLOB NOT NULL, datatype VARCHAR(255) DEFAULT \'application/octet-stream\' NOT NULL, scope VARCHAR(25) DEFAULT \'\' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INTEGER DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT \'0\' NOT NULL, status BOOLEAN DEFAULT \'0\' NOT NULL, PRIMARY KEY(name_hash))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezdfsfile ( + name_hash VARCHAR(34) DEFAULT '' NOT NULL, + name CLOB NOT NULL, + name_trunk CLOB NOT NULL, + datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, + scope VARCHAR(25) DEFAULT '' NOT NULL, + size BIGINT UNSIGNED DEFAULT 0 NOT NULL, + mtime INTEGER DEFAULT 0 NOT NULL, + expired BOOLEAN DEFAULT '0' NOT NULL, + status BOOLEAN DEFAULT '0' NOT NULL, + PRIMARY KEY(name_hash) + ) + SQL); $this->addSql('CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk)'); $this->addSql('CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name)'); $this->addSql('CREATE INDEX ezdfsfile_name ON ezdfsfile (name)'); $this->addSql('CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime)'); - $this->addSql('CREATE TABLE ezgmaplocation (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_version INTEGER DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT \'0\' NOT NULL, longitude DOUBLE PRECISION DEFAULT \'0\' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezgmaplocation ( + contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, + contentobject_version INTEGER DEFAULT 0 NOT NULL, + latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, + longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, + address VARCHAR(150) DEFAULT NULL, + PRIMARY KEY(contentobject_attribute_id, contentobject_version) + ) + SQL); $this->addSql('CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude)'); - $this->addSql('CREATE TABLE ezimagefile (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, filepath CLOB NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezimagefile ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, + filepath CLOB NOT NULL + ) + SQL); $this->addSql('CREATE INDEX ezimagefile_file ON ezimagefile (filepath)'); $this->addSql('CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id)'); - $this->addSql('CREATE TABLE ezkeyword (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, class_id INTEGER DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezkeyword ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + class_id INTEGER DEFAULT 0 NOT NULL, + keyword VARCHAR(255) DEFAULT NULL + ) + SQL); $this->addSql('CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword)'); - $this->addSql('CREATE TABLE ezkeyword_attribute_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, keyword_id INTEGER DEFAULT 0 NOT NULL, objectattribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezkeyword_attribute_link ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + keyword_id INTEGER DEFAULT 0 NOT NULL, + objectattribute_id INTEGER DEFAULT 0 NOT NULL, + version INTEGER DEFAULT 0 NOT NULL + ) + SQL); $this->addSql('CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id)'); $this->addSql('CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id)'); $this->addSql('CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version)'); - $this->addSql('CREATE TABLE ezmedia (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT \'\' NOT NULL, has_controller INTEGER DEFAULT 0, height INTEGER DEFAULT NULL, is_autoplay INTEGER DEFAULT 0, is_loop INTEGER DEFAULT 0, mime_type VARCHAR(50) DEFAULT \'\' NOT NULL, original_filename VARCHAR(255) DEFAULT \'\' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version))'); - $this->addSql('CREATE TABLE eznode_assignment (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, from_node_id INTEGER DEFAULT 0, is_main INTEGER DEFAULT 0 NOT NULL, op_code INTEGER DEFAULT 0 NOT NULL, parent_node INTEGER DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT \'\' NOT NULL, remote_id VARCHAR(100) DEFAULT \'0\' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, priority INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezmedia ( + contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, + version INTEGER DEFAULT 0 NOT NULL, + controls VARCHAR(50) DEFAULT NULL, + filename VARCHAR(255) DEFAULT '' NOT NULL, + has_controller INTEGER DEFAULT 0, + height INTEGER DEFAULT NULL, + is_autoplay INTEGER DEFAULT 0, + is_loop INTEGER DEFAULT 0, + mime_type VARCHAR(50) DEFAULT '' NOT NULL, + original_filename VARCHAR(255) DEFAULT '' NOT NULL, + pluginspage VARCHAR(255) DEFAULT NULL, + quality VARCHAR(50) DEFAULT NULL, + width INTEGER DEFAULT NULL, + PRIMARY KEY(contentobject_attribute_id, version) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE eznode_assignment ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentobject_id INTEGER DEFAULT NULL, + contentobject_version INTEGER DEFAULT NULL, + from_node_id INTEGER DEFAULT 0, + is_main INTEGER DEFAULT 0 NOT NULL, + op_code INTEGER DEFAULT 0 NOT NULL, + parent_node INTEGER DEFAULT NULL, + parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, + remote_id VARCHAR(100) DEFAULT '0' NOT NULL, + sort_field INTEGER DEFAULT 1, + sort_order INTEGER DEFAULT 1, + priority INTEGER DEFAULT 0 NOT NULL, + is_hidden INTEGER DEFAULT 0 NOT NULL + ) + SQL); $this->addSql('CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main)'); $this->addSql('CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version)'); $this->addSql('CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node)'); $this->addSql('CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version)'); - $this->addSql('CREATE TABLE eznotification (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT \'1\' NOT NULL, type VARCHAR(128) DEFAULT \'\' NOT NULL, created INTEGER DEFAULT 0 NOT NULL, data CLOB DEFAULT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE eznotification ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + owner_id INTEGER DEFAULT 0 NOT NULL, + is_pending BOOLEAN DEFAULT '1' NOT NULL, + type VARCHAR(128) DEFAULT '' NOT NULL, + created INTEGER DEFAULT 0 NOT NULL, + data CLOB DEFAULT NULL + ) + SQL); $this->addSql('CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending)'); $this->addSql('CREATE INDEX eznotification_owner ON eznotification (owner_id)'); - $this->addSql('CREATE TABLE ezpackage (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, install_date INTEGER DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT \'\' NOT NULL, version VARCHAR(30) DEFAULT \'0\' NOT NULL)'); - $this->addSql('CREATE TABLE ezpolicy (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INTEGER DEFAULT 0 NOT NULL, role_id INTEGER DEFAULT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezpackage ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + install_date INTEGER DEFAULT 0 NOT NULL, + name VARCHAR(100) DEFAULT '' NOT NULL, + version VARCHAR(30) DEFAULT '0' NOT NULL + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezpolicy ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + function_name VARCHAR(255) DEFAULT NULL, + module_name VARCHAR(255) DEFAULT NULL, + original_id INTEGER DEFAULT 0 NOT NULL, + role_id INTEGER DEFAULT NULL + ) + SQL); $this->addSql('CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id)'); $this->addSql('CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id)'); - $this->addSql('CREATE TABLE ezpolicy_limitation (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT \'\' NOT NULL, policy_id INTEGER DEFAULT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezpolicy_limitation ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + identifier VARCHAR(255) DEFAULT '' NOT NULL, + policy_id INTEGER DEFAULT NULL + ) + SQL); $this->addSql('CREATE INDEX policy_id ON ezpolicy_limitation (policy_id)'); - $this->addSql('CREATE TABLE ezpolicy_limitation_value (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, limitation_id INTEGER DEFAULT NULL, value VARCHAR(255) DEFAULT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezpolicy_limitation_value ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + limitation_id INTEGER DEFAULT NULL, + value VARCHAR(255) DEFAULT NULL + ) + SQL); $this->addSql('CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id)'); $this->addSql('CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value)'); - $this->addSql('CREATE TABLE ezpreferences (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INTEGER DEFAULT 0 NOT NULL, value CLOB DEFAULT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezpreferences ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + name VARCHAR(100) DEFAULT NULL, + user_id INTEGER DEFAULT 0 NOT NULL, + value CLOB DEFAULT NULL + ) + SQL); $this->addSql('CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name)'); $this->addSql('CREATE INDEX ezpreferences_name ON ezpreferences (name)'); - $this->addSql('CREATE TABLE ezrole (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, is_new INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT \'\' NOT NULL, value CHAR(1) DEFAULT NULL, version INTEGER DEFAULT 0)'); - $this->addSql('CREATE TABLE ezsearch_object_word_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentclass_attribute_id INTEGER DEFAULT 0 NOT NULL, contentclass_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT \'0\' NOT NULL, identifier VARCHAR(255) DEFAULT \'\' NOT NULL, integer_value INTEGER DEFAULT 0 NOT NULL, next_word_id INTEGER DEFAULT 0 NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, prev_word_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, section_id INTEGER DEFAULT 0 NOT NULL, word_id INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezrole ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + is_new INTEGER DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + value CHAR(1) DEFAULT NULL, + version INTEGER DEFAULT 0 + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezsearch_object_word_link ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentclass_attribute_id INTEGER DEFAULT 0 NOT NULL, + contentclass_id INTEGER DEFAULT 0 NOT NULL, + contentobject_id INTEGER DEFAULT 0 NOT NULL, + frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, + identifier VARCHAR(255) DEFAULT '' NOT NULL, + integer_value INTEGER DEFAULT 0 NOT NULL, + next_word_id INTEGER DEFAULT 0 NOT NULL, + placement INTEGER DEFAULT 0 NOT NULL, + prev_word_id INTEGER DEFAULT 0 NOT NULL, + published INTEGER DEFAULT 0 NOT NULL, + section_id INTEGER DEFAULT 0 NOT NULL, + word_id INTEGER DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL + ) + SQL); $this->addSql('CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id)'); $this->addSql('CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier)'); $this->addSql('CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value)'); $this->addSql('CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id)'); $this->addSql('CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency)'); - $this->addSql('CREATE TABLE ezsearch_word (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, object_count INTEGER DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezsearch_word ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + object_count INTEGER DEFAULT 0 NOT NULL, + word VARCHAR(150) DEFAULT NULL + ) + SQL); $this->addSql('CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word)'); $this->addSql('CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count)'); - $this->addSql('CREATE TABLE ezsection (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT \'ezcontentnavigationpart\')'); - $this->addSql('CREATE TABLE ezsite_data (name VARCHAR(60) DEFAULT \'\' NOT NULL, value CLOB NOT NULL, PRIMARY KEY(name))'); - $this->addSql('CREATE TABLE ezurl (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, is_valid INTEGER DEFAULT 1 NOT NULL, last_checked INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT \'\' NOT NULL, url CLOB DEFAULT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezsection ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + identifier VARCHAR(255) DEFAULT NULL, + locale VARCHAR(255) DEFAULT NULL, + name VARCHAR(255) DEFAULT NULL, + navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart' + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezsite_data ( + name VARCHAR(60) DEFAULT '' NOT NULL, + value CLOB NOT NULL, + PRIMARY KEY(name) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezurl ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + created INTEGER DEFAULT 0 NOT NULL, + is_valid INTEGER DEFAULT 1 NOT NULL, + last_checked INTEGER DEFAULT 0 NOT NULL, + modified INTEGER DEFAULT 0 NOT NULL, + original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, + url CLOB DEFAULT NULL + ) + SQL); $this->addSql('CREATE INDEX ezurl_url ON ezurl (url)'); - $this->addSql('CREATE TABLE ezurl_object_link (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_attribute_version INTEGER DEFAULT 0 NOT NULL, url_id INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezurl_object_link ( + contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, + contentobject_attribute_version INTEGER DEFAULT 0 NOT NULL, + url_id INTEGER DEFAULT 0 NOT NULL + ) + SQL); $this->addSql('CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id)'); $this->addSql('CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id)'); $this->addSql('CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version)'); $this->addSql('CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version)'); - $this->addSql('CREATE TABLE ezurlalias (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, forward_to_id INTEGER DEFAULT 0 NOT NULL, is_imported INTEGER DEFAULT 0 NOT NULL, is_internal INTEGER DEFAULT 1 NOT NULL, is_wildcard INTEGER DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url CLOB NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezurlalias ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + destination_url CLOB NOT NULL, + forward_to_id INTEGER DEFAULT 0 NOT NULL, + is_imported INTEGER DEFAULT 0 NOT NULL, + is_internal INTEGER DEFAULT 1 NOT NULL, + is_wildcard INTEGER DEFAULT 0 NOT NULL, + source_md5 VARCHAR(32) DEFAULT NULL, + source_url CLOB NOT NULL + ) + SQL); $this->addSql('CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5)'); $this->addSql('CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id)'); $this->addSql('CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id)'); $this->addSql('CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id)'); $this->addSql('CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url)'); $this->addSql('CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url)'); - $this->addSql('CREATE TABLE ezurlalias_ml (parent INTEGER DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT \'\' NOT NULL, "action" CLOB NOT NULL, action_type VARCHAR(32) DEFAULT \'\' NOT NULL, alias_redirects INTEGER DEFAULT 1 NOT NULL, id INTEGER DEFAULT 0 NOT NULL, is_alias INTEGER DEFAULT 0 NOT NULL, is_original INTEGER DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INTEGER DEFAULT 0 NOT NULL, text CLOB NOT NULL, PRIMARY KEY(parent, text_md5))'); + $this->addSql(<<<'SQL' + CREATE TABLE ezurlalias_ml ( + parent INTEGER DEFAULT 0 NOT NULL, + text_md5 VARCHAR(32) DEFAULT '' NOT NULL, + "action" CLOB NOT NULL, + action_type VARCHAR(32) DEFAULT '' NOT NULL, + alias_redirects INTEGER DEFAULT 1 NOT NULL, + id INTEGER DEFAULT 0 NOT NULL, + is_alias INTEGER DEFAULT 0 NOT NULL, + is_original INTEGER DEFAULT 0 NOT NULL, + lang_mask BIGINT DEFAULT 0 NOT NULL, + link INTEGER DEFAULT 0 NOT NULL, + text CLOB NOT NULL, + PRIMARY KEY(parent, text_md5) + ) + SQL); $this->addSql('CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias)'); $this->addSql('CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent)'); $this->addSql('CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml ("action", id, link, parent)'); @@ -408,21 +2130,76 @@ public function up(Schema $schema): void $this->addSql('CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link)'); $this->addSql('CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link)'); $this->addSql('CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id)'); - $this->addSql('CREATE TABLE ezurlalias_ml_incr (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)'); - $this->addSql('CREATE TABLE ezurlwildcard (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, source_url CLOB NOT NULL, type INTEGER DEFAULT 0 NOT NULL)'); - $this->addSql('CREATE TABLE ezuser_accountkey (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT \'\' NOT NULL, time INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezurlalias_ml_incr ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezurlwildcard ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + destination_url CLOB NOT NULL, + source_url CLOB NOT NULL, + type INTEGER DEFAULT 0 NOT NULL + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ezuser_accountkey ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + hash_key VARCHAR(32) DEFAULT '' NOT NULL, + time INTEGER DEFAULT 0 NOT NULL, + user_id INTEGER DEFAULT 0 NOT NULL + ) + SQL); $this->addSql('CREATE INDEX hash_key ON ezuser_accountkey (hash_key)'); - $this->addSql('CREATE TABLE ezuser_role (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT \'\', limit_value VARCHAR(255) DEFAULT \'\', role_id INTEGER DEFAULT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezuser_role ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentobject_id INTEGER DEFAULT NULL, + limit_identifier VARCHAR(255) DEFAULT '', + limit_value VARCHAR(255) DEFAULT '', + role_id INTEGER DEFAULT NULL + ) + SQL); $this->addSql('CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id)'); $this->addSql('CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id)'); - $this->addSql('CREATE TABLE ezuser_setting (user_id INTEGER DEFAULT 0 NOT NULL, is_enabled INTEGER DEFAULT 0 NOT NULL, max_login INTEGER DEFAULT NULL, PRIMARY KEY(user_id))'); - $this->addSql('CREATE TABLE ibexa_setting (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value CLOB NOT NULL --(DC2Type:json) -)'); + $this->addSql(<<<'SQL' + CREATE TABLE ezuser_setting ( + user_id INTEGER DEFAULT 0 NOT NULL, + is_enabled INTEGER DEFAULT 0 NOT NULL, + max_login INTEGER DEFAULT NULL, + PRIMARY KEY(user_id) + ) + SQL); + $this->addSql(<<<'SQL' + CREATE TABLE ibexa_setting ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + "group" VARCHAR(128) NOT NULL, + identifier VARCHAR(128) NOT NULL, + value CLOB NOT NULL --(DC2Type:json) + ) + SQL); $this->addSql('CREATE INDEX ibexa_setting_id ON ibexa_setting (id)'); $this->addSql('CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier)'); - $this->addSql('CREATE TABLE ibexa_token_type (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL)'); + $this->addSql(<<<'SQL' + CREATE TABLE ibexa_token_type ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + identifier VARCHAR(64) NOT NULL + ) + SQL); $this->addSql('CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier)'); - $this->addSql('CREATE TABLE ibexa_token (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, type_id INTEGER NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, expires INTEGER DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT \'0\' NOT NULL, CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE)'); + $this->addSql(<<<'SQL' + CREATE TABLE ibexa_token ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + type_id INTEGER NOT NULL, + token VARCHAR(255) NOT NULL, + identifier VARCHAR(128) DEFAULT NULL, + created INTEGER DEFAULT 0 NOT NULL, + expires INTEGER DEFAULT 0 NOT NULL, + revoked BOOLEAN DEFAULT '0' NOT NULL, + CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE + ) + SQL); $this->addSql('CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id)'); $this->addSql('CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id)'); } else { From 88c8eacd59dd69cc2d88a222848386830bb01982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Tue, 21 Jul 2026 17:12:34 +0200 Subject: [PATCH 05/38] IBX-11939: Adopted AbstractSqlMigration for platform-separated SQL Extends AbstractSqlMigration (added in ibexa/doctrine-migrations) instead of the plain Doctrine AbstractMigration, replacing `$this->platform instanceof ...` checks with isMySQL()/isPostgreSQL()/isSqlite(), and moving each platform Statement block out of the PHP file into its own sql/*.sql file loaded via addSqlFile(). Mechanical, content-preserving change: every migration was run before and after against all three platforms and the resulting SQL statement lists are byte-for-byte identical. --- .../Migration/ImportDataMigration.php | 1057 +------- .../Migration/InstallSchemaMigration.php | 2182 +---------------- .../Migration/sql/import-data-mysql.sql | 304 +++ .../Migration/sql/import-data-postgresql.sql | 367 +++ .../Migration/sql/import-data-sqlite.sql | 304 +++ .../Migration/sql/install-schema-mysql.sql | 679 +++++ .../sql/install-schema-postgresql.sql | 790 ++++++ .../Migration/sql/install-schema-sqlite.sql | 752 ++++++ 8 files changed, 3212 insertions(+), 3223 deletions(-) create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/import-data-mysql.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/import-data-postgresql.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/import-data-sqlite.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/install-schema-mysql.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/install-schema-postgresql.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/install-schema-sqlite.sql diff --git a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php index 47b68b5ddd..5394841dca 100644 --- a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php @@ -9,14 +9,11 @@ namespace Ibexa\Bundle\RepositoryInstaller\Migration; use DateTimeImmutable; -use Doctrine\DBAL\Platforms\MySqlPlatform; -use Doctrine\DBAL\Platforms\PostgreSqlPlatform; -use Doctrine\DBAL\Platforms\SqlitePlatform; use Doctrine\DBAL\Schema\Schema; -use Doctrine\Migrations\AbstractMigration; +use Ibexa\Contracts\DoctrineMigrations\Migrations\AbstractSqlMigration; use Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationInterface; -final class ImportDataMigration extends AbstractMigration implements IbexaMigrationInterface +final class ImportDataMigration extends AbstractSqlMigration implements IbexaMigrationInterface { public function getDescription(): string { @@ -35,1050 +32,12 @@ public static function getCreationDate(): DateTimeImmutable public function up(Schema $schema): void { - if ($this->platform instanceof MySqlPlatform) { - $this->addSql(<<<'SQL' - INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) - VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) - VALUES (2,2,'ez_lock',3) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) - VALUES (2,'',3,'Lock',2) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) - VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) - VALUES (1, 1), - (4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) - VALUES (0, 2, 'eng-GB', 'English (United Kingdom)') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) - VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) - VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) - VALUES (1, 0, 1, 'Content'), - (2, 0, 1, 'Content'), - (3, 0, 2, 'Users'), - (4, 0, 2, 'Users'), - (5, 0, 3, 'Media'), - (12, 0, 3, 'Media') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) - VALUES (1, 0, 2, 'eng-GB', 'Folder'), - (2, 0, 3, 'eng-GB', 'Article'), - (3, 0, 3, 'eng-GB', 'User group'), - (4, 0, 3, 'eng-GB', 'User'), - (5, 0, 3, 'eng-GB', 'Image'), - (12, 0, 3, 'eng-GB', 'File') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) - VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), - (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) - VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), - (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), - (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), - (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), - (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), - (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), - (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), - (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), - (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), - (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), - (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) - VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), - (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), - (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), - (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), - (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), - (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), - (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), - (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), - (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), - (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), - (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), - (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), - (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), - (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), - (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), - (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), - (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), - (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), - (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), - (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), - (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), - (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), - (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), - (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), - (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), - (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), - (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), - (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), - (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), - (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), - (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) - VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), - ('eng-GB',1,4,3,'Users','eng-GB'), - ('eng-GB',2,10,3,'Anonymous User','eng-GB'), - ('eng-GB',1,11,3,'Guest accounts','eng-GB'), - ('eng-GB',1,12,3,'Administrator users','eng-GB'), - ('eng-GB',1,13,3,'Editors','eng-GB'), - ('eng-GB',3,14,3,'Administrator User','eng-GB'), - ('eng-GB',1,41,3,'Media','eng-GB'), - ('eng-GB',1,42,3,'Anonymous users','eng-GB'), - ('eng-GB',1,49,3,'Images','eng-GB'), - ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) - VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) - VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) - VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), - (42,1,0,5,1,2,5,'','0',9,1,0,0), - (10,2,-1,6,1,2,44,'','0',9,1,0,0), - (4,1,0,7,1,2,1,'','0',1,1,0,0), - (12,1,0,8,1,2,5,'','0',1,1,0,0), - (13,1,0,9,1,2,5,'','0',1,1,0,0), - (41,1,0,11,1,2,1,'','0',1,1,0,0), - (11,1,0,12,1,2,5,'','0',1,1,0,0), - (49,1,0,27,1,2,43,'','0',9,1,0,0), - (50,1,0,28,1,2,43,'','0',9,1,0,0), - (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) - VALUES ('*',317,'content',0,3), - ('login',319,'user',0,3), - ('read',328,'content',0,1), - ('login',331,'user',0,1), - ('*',332,'*',0,2), - ('read',333,'content',0,4), - ('view_embed',334,'content',0,1), - ('*',340,'url',0,3) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) - VALUES (251,'Section',328), - (252,'Section',329), - (253,'SiteAccess',331), - (254,'Class',333), - (255,'Owner',333), - (256,'Class',334) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) - VALUES (477,251,'1'), - (478,252,'1'), - (479,253,'1766001124'), - (480,254,'4'), - (481,255,'1'), - (482,256,'5'), - (483,256,'12') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) - VALUES (1,0,'Anonymous','',0), - (2,0,'Administrator','0',0), - (3,0,'Editor','',0), - (4,0,'Member','',0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) - VALUES (1,'standard','','Standard','ezcontentnavigationpart'), - (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezsite_data` (`name`, `value`) - VALUES ('ibexa-release','4.6') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) - VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), - ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), - ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), - ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), - ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), - ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), - ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), - ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), - ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), - ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), - ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) - VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), - ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), - ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), - ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), - ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), - ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), - ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), - ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), - ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), - ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), - ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), - ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), - ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), - ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), - ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), - ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), - ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), - ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), - ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), - ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), - ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezurlalias_ml_incr` (`id`) - VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) - VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) - VALUES (11,28,'','',1), - (42,31,'','',1), - (13,32,'Subtree','/1/2/',3), - (13,33,'Subtree','/1/43/',3), - (12,34,'','',2), - (13,35,'','',4) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) - VALUES (1,1000,10), - (1,10,14) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) - SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin' - SQL); - } elseif ($this->platform instanceof PostgreSqlPlatform) { - $this->addSql(<<<'SQL' - INSERT INTO "ezcobj_state" ("default_language_id", "group_id", "id", "identifier", "language_mask", "priority") - VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcobj_state_group" ("default_language_id", "id", "identifier", "language_mask") - VALUES (2, 2, 'ez_lock', 3) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcobj_state_group_language" ("contentobject_state_group_id", "description","language_id", "name", "real_language_id") - VALUES (2, '', 3, 'Lock', 2) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcobj_state_language" ("contentobject_state_id", "description", "language_id", "name") - VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcobj_state_link" ("contentobject_id", "contentobject_state_id") - VALUES ( 1, 1), - ( 4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcontent_language" ("disabled", "id", "locale", "name") - VALUES (0, 2, 'eng-GB', 'English (United Kingdom)') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcontentclass" ("always_available", "contentobject_name", "created", "creator_id", "id", "identifier", "initial_language_id", "is_container", "language_mask", "modified", "modifier_id", "remote_id", "serialized_description_list", "serialized_name_list", "sort_field", "sort_order", "url_alias_name", "version") - VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:"eng-GB";s:6:"Folder";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:"eng-GB";s:7:"Article";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcontentclass_attribute" ("can_translate", "category", "contentclass_id", "data_float1", "data_float2", "data_float3", "data_float4", "data_int1", "data_int2", "data_int3", "data_int4", "data_text1", "data_text2", "data_text3", "data_text4", "data_text5", "data_type_string", "id", "identifier", "is_information_collector", "is_required", "is_searchable", "is_thumbnail", "placement", "serialized_data_text", "serialized_description_list", "serialized_name_list", "version") - VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,FALSE,1,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:4:"Name";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:10:"First name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Last name";s:16:"always-available";s:6:"eng-GB";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:12:"User account";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:7:"Caption";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,TRUE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,FALSE,3,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:17:"Short description";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Intro";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,FALSE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Body";s:16:"always-available";s:6:"eng-GB";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,FALSE,6,NULL,NULL,'a:2:{s:6:"eng-GB";s:15:"Enable comments";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Short title";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:6:"Author";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,FALSE,7,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,FALSE,2,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:10:"Short name";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,FALSE,4,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:11:"Description";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,TRUE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcontentclass_classgroup" ("contentclass_id", "contentclass_version", "group_id", "group_name") - VALUES (1,0,1,'Content'), - (2,0,1,'Content'), - (3,0,2,'Users'), - (4,0,2,'Users'), - (5,0,3,'Media'), - (12,0,3,'Media') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcontentclass_name" ("contentclass_id", "contentclass_version", "language_id", "language_locale", "name") - VALUES (1,0,2,'eng-GB','Folder'), - (2,0,3,'eng-GB','Article'), - (3,0,3,'eng-GB','User group'), - (4,0,3,'eng-GB','User'), - (5,0,3,'eng-GB','Image'), - (12,0,3,'eng-GB','File') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcontentclassgroup" ("created", "creator_id", "id", "modified", "modifier_id", "name") - VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), - (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcontentobject" ("contentclass_id", "current_version", "id", "initial_language_id", "language_mask", "modified", "name", "owner_id", "published", "remote_id", "section_id", "status") - VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), - (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), - (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), - (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), - (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), - (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), - (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), - (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), - (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), - (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), - (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcontentobject_attribute" ("attribute_original_id", "contentclassattribute_id", "contentobject_id", "data_float", "data_int", "data_text", "data_type_string", "id", "language_code", "language_id", "sort_key_int", "sort_key_string", "version") - VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), - (0,119,1,NULL,NULL,E'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), - (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), - (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), - (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), - (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), - (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), - (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), - (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), - (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), - (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), - (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), - (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), - (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), - (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), - (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), - (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,E'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), - (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), - (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), - (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), - (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), - (0,156,1,NULL,NULL,E'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,E'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), - (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), - (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,E'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,E'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), - (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), - (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,E'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,E'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), - (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), - (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,E'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,E'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), - (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), - (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), - (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,E'\n\n','ezimage',180,'eng-GB',3,0,'',3) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcontentobject_name" ("content_translation", "content_version", "contentobject_id", "language_id", "name", "real_translation") - VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), - ('eng-GB',1,4,3,'Users','eng-GB'), - ('eng-GB',2,10,3,'Anonymous User','eng-GB'), - ('eng-GB',1,11,3,'Guest accounts','eng-GB'), - ('eng-GB',1,12,3,'Administrator users','eng-GB'), - ('eng-GB',1,13,3,'Editors','eng-GB'), - ('eng-GB',3,14,3,'Administrator User','eng-GB'), - ('eng-GB',1,41,3,'Media','eng-GB'), - ('eng-GB',1,42,3,'Anonymous users','eng-GB'), - ('eng-GB',1,49,3,'Images','eng-GB'), - ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcontentobject_tree" ("contentobject_id", "contentobject_is_published", "contentobject_version", "depth", "is_hidden", "is_invisible", "main_node_id", "modified_subnode", "node_id", "parent_node_id", "path_identification_string", "path_string", "priority", "remote_id", "sort_field", "sort_order") - VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezcontentobject_version" ("contentobject_id", "created", "creator_id", "id", "initial_language_id", "language_mask", "modified", "status", "user_id", "version", "workflow_event_pos") - VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "eznode_assignment" ("contentobject_id", "contentobject_version", "from_node_id", "id", "is_main", "op_code", "parent_node", "parent_remote_id", "remote_id", "sort_field", "sort_order", "priority", "is_hidden") - VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), - (42,1,0,5,1,2,5,'','0',9,1,0,0), - (10,2,-1,6,1,2,44,'','0',9,1,0,0), - (4,1,0,7,1,2,1,'','0',1,1,0,0), - (12,1,0,8,1,2,5,'','0',1,1,0,0), - (13,1,0,9,1,2,5,'','0',1,1,0,0), - (41,1,0,11,1,2,1,'','0',1,1,0,0), - (11,1,0,12,1,2,5,'','0',1,1,0,0), - (49,1,0,27,1,2,43,'','0',9,1,0,0), - (50,1,0,28,1,2,43,'','0',9,1,0,0), - (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezpolicy" ("function_name", "id", "module_name", "original_id", "role_id") - VALUES ('*',317,'content',0,3), - ('login',319,'user',0,3), - ('read',328,'content',0,1), - ('login',331,'user',0,1), - ('*',332,'*',0,2), - ('read',333,'content',0,4), - ('view_embed',334,'content',0,1), - ('*',340,'url',0,3) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezpolicy_limitation" ("id", "identifier", "policy_id") - VALUES (251,'Section',328), - (252,'Section',329), - (253,'SiteAccess',331), - (254,'Class',333), - (255,'Owner',333), - (256,'Class',334) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezpolicy_limitation_value" ("id", "limitation_id", "value") - VALUES (477,251,'1'), - (478,252,'1'), - (479,253,'1766001124'), - (480,254,'4'), - (481,255,'1'), - (482,256,'5'), - (483,256,'12') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezrole" ("id", "is_new", "name", "value", "version") - VALUES (1,0,'Anonymous','',0), - (2,0,'Administrator','0',0), - (3,0,'Editor','',0), - (4,0,'Member','',0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezsection" ("id", "identifier", "locale", "name", "navigation_part_identifier") - VALUES (1,'standard','','Standard','ezcontentnavigationpart'), - (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezsite_data" ("name", "value") - VALUES ('ibexa-release','4.6') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezurlalias" ("destination_url", "forward_to_id", "id", "is_imported", "is_internal", "is_wildcard", "source_md5", "source_url") - VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), - ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), - ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), - ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), - ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), - ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), - ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), - ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), - ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), - ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), - ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezurlalias_ml" ("action", "action_type", "alias_redirects", "id", "is_alias", "is_original", "lang_mask", "link", "parent", "text", "text_md5") - VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), - ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), - ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), - ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), - ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), - ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), - ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), - ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), - ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), - ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), - ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), - ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), - ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), - ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), - ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), - ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), - ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), - ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), - ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), - ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), - ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezurlalias_ml_incr" ("id") - VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezuser" ("contentobject_id", "email", "login", "password_hash", "password_hash_type") - VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezuser_role" ("contentobject_id", "id", "limit_identifier", "limit_value", "role_id") - VALUES (11,28,'','',1), - (42,31,'','',1), - (13,32,'Subtree','/1/2/',3), - (13,33,'Subtree','/1/43/',3), - (12,34,'','',2), - (13,35,'','',4) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezuser_setting" ("is_enabled", "max_login", "user_id") - VALUES (1, 1000, 10), - (1, 10, 14) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO "ezpreferences" ("name", "user_id", "value") - SELECT 'focus_mode', u.contentobject_id, '0' FROM "ezuser" u WHERE u.login = 'admin' - SQL); - $this->addSql(<<<'SQL' - -- Set proper sequence values after inserting data - SELECT SETVAL('ezcobj_state_group_id_seq', COALESCE(MAX(id), 1) ) FROM ezcobj_state_group - SQL); - $this->addSql('SELECT SETVAL(\'ezcobj_state_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcobj_state'); - $this->addSql('SELECT SETVAL(\'ezcontentbrowsebookmark_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentbrowsebookmark'); - $this->addSql('SELECT SETVAL(\'ezcontentclass_attribute_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentclass_attribute'); - $this->addSql('SELECT SETVAL(\'ezcontentclass_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentclass'); - $this->addSql('SELECT SETVAL(\'ezcontentclassgroup_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentclassgroup'); - $this->addSql('SELECT SETVAL(\'ezcontentobject_attribute_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentobject_attribute'); - $this->addSql('SELECT SETVAL(\'ezcontentobject_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentobject'); - $this->addSql('SELECT SETVAL(\'ezcontentobject_link_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentobject_link'); - $this->addSql('SELECT SETVAL(\'ezcontentobject_tree_node_id_seq\', COALESCE(MAX(node_id), 1) ) FROM ezcontentobject_tree'); - $this->addSql('SELECT SETVAL(\'ezcontentobject_version_id_seq\', COALESCE(MAX(id), 1) ) FROM ezcontentobject_version'); - $this->addSql('SELECT SETVAL(\'ezimagefile_id_seq\', COALESCE(MAX(id), 1) ) FROM ezimagefile'); - $this->addSql('SELECT SETVAL(\'ezkeyword_attribute_link_id_seq\', COALESCE(MAX(id), 1) ) FROM ezkeyword_attribute_link'); - $this->addSql('SELECT SETVAL(\'ezkeyword_id_seq\', COALESCE(MAX(id), 1) ) FROM ezkeyword'); - $this->addSql('SELECT SETVAL(\'eznode_assignment_id_seq\', COALESCE(MAX(id), 1) ) FROM eznode_assignment'); - $this->addSql('SELECT SETVAL(\'eznotification_id_seq\', COALESCE(MAX(id), 1) ) FROM eznotification'); - $this->addSql('SELECT SETVAL(\'ezpackage_id_seq\', COALESCE(MAX(id), 1) ) FROM ezpackage'); - $this->addSql('SELECT SETVAL(\'ezpolicy_id_seq\', COALESCE(MAX(id), 1) ) FROM ezpolicy'); - $this->addSql('SELECT SETVAL(\'ezpolicy_limitation_id_seq\', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation'); - $this->addSql('SELECT SETVAL(\'ezpolicy_limitation_value_id_seq\', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation_value'); - $this->addSql('SELECT SETVAL(\'ezpreferences_id_seq\', COALESCE(MAX(id), 1) ) FROM ezpreferences'); - $this->addSql('SELECT SETVAL(\'ezrole_id_seq\', COALESCE(MAX(id), 1) ) FROM ezrole'); - $this->addSql('SELECT SETVAL(\'ezsearch_object_word_link_id_seq\', COALESCE(MAX(id), 1) ) FROM ezsearch_object_word_link'); - $this->addSql('SELECT SETVAL(\'ezsearch_word_id_seq\', COALESCE(MAX(id), 1) ) FROM ezsearch_word'); - $this->addSql('SELECT SETVAL(\'ezsection_id_seq\', COALESCE(MAX(id), 1) ) FROM ezsection'); - $this->addSql('SELECT SETVAL(\'ezurl_id_seq\', COALESCE(MAX(id), 1) ) FROM ezurl'); - $this->addSql('SELECT SETVAL(\'ezurlalias_id_seq\', COALESCE(MAX(id), 1) ) FROM ezurlalias'); - $this->addSql('SELECT SETVAL(\'ezurlalias_ml_incr_id_seq\', COALESCE(MAX(id), 1) ) FROM ezurlalias_ml_incr'); - $this->addSql('SELECT SETVAL(\'ezurlwildcard_id_seq\', COALESCE(MAX(id), 1) ) FROM ezurlwildcard'); - $this->addSql('SELECT SETVAL(\'ezuser_accountkey_id_seq\', COALESCE(MAX(id), 1) ) FROM ezuser_accountkey'); - $this->addSql('SELECT SETVAL(\'ezuser_role_id_seq\', COALESCE(MAX(id), 1) ) FROM ezuser_role'); - } elseif ($this->platform instanceof SqlitePlatform) { - $this->addSql(<<<'SQL' - INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) - VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) - VALUES (2,2,'ez_lock',3) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) - VALUES (2,'',3,'Lock',2) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) - VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) - VALUES (1, 1), - (4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) - VALUES (0, 2, 'eng-GB', 'English (United Kingdom)') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) - VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) - VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) - VALUES (1, 0, 1, 'Content'), - (2, 0, 1, 'Content'), - (3, 0, 2, 'Users'), - (4, 0, 2, 'Users'), - (5, 0, 3, 'Media'), - (12, 0, 3, 'Media') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) - VALUES (1, 0, 2, 'eng-GB', 'Folder'), - (2, 0, 3, 'eng-GB', 'Article'), - (3, 0, 3, 'eng-GB', 'User group'), - (4, 0, 3, 'eng-GB', 'User'), - (5, 0, 3, 'eng-GB', 'Image'), - (12, 0, 3, 'eng-GB', 'File') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) - VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), - (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) - VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), - (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), - (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), - (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), - (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), - (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), - (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), - (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), - (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), - (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), - (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) - VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), - (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), - (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), - (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), - (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), - (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), - (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), - (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), - (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), - (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), - (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), - (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), - (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), - (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), - (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), - (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), - (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), - (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), - (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), - (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), - (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), - (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), - (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), - (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), - (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), - (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), - (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), - (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), - (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), - (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), - (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) - VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), - ('eng-GB',1,4,3,'Users','eng-GB'), - ('eng-GB',2,10,3,'Anonymous User','eng-GB'), - ('eng-GB',1,11,3,'Guest accounts','eng-GB'), - ('eng-GB',1,12,3,'Administrator users','eng-GB'), - ('eng-GB',1,13,3,'Editors','eng-GB'), - ('eng-GB',3,14,3,'Administrator User','eng-GB'), - ('eng-GB',1,41,3,'Media','eng-GB'), - ('eng-GB',1,42,3,'Anonymous users','eng-GB'), - ('eng-GB',1,49,3,'Images','eng-GB'), - ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) - VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) - VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) - VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), - (42,1,0,5,1,2,5,'','0',9,1,0,0), - (10,2,-1,6,1,2,44,'','0',9,1,0,0), - (4,1,0,7,1,2,1,'','0',1,1,0,0), - (12,1,0,8,1,2,5,'','0',1,1,0,0), - (13,1,0,9,1,2,5,'','0',1,1,0,0), - (41,1,0,11,1,2,1,'','0',1,1,0,0), - (11,1,0,12,1,2,5,'','0',1,1,0,0), - (49,1,0,27,1,2,43,'','0',9,1,0,0), - (50,1,0,28,1,2,43,'','0',9,1,0,0), - (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) - VALUES ('*',317,'content',0,3), - ('login',319,'user',0,3), - ('read',328,'content',0,1), - ('login',331,'user',0,1), - ('*',332,'*',0,2), - ('read',333,'content',0,4), - ('view_embed',334,'content',0,1), - ('*',340,'url',0,3) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) - VALUES (251,'Section',328), - (252,'Section',329), - (253,'SiteAccess',331), - (254,'Class',333), - (255,'Owner',333), - (256,'Class',334) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) - VALUES (477,251,'1'), - (478,252,'1'), - (479,253,'1766001124'), - (480,254,'4'), - (481,255,'1'), - (482,256,'5'), - (483,256,'12') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) - VALUES (1,0,'Anonymous','',0), - (2,0,'Administrator','0',0), - (3,0,'Editor','',0), - (4,0,'Member','',0) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) - VALUES (1,'standard','','Standard','ezcontentnavigationpart'), - (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezsite_data` (`name`, `value`) - VALUES ('ibexa-release','4.6') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) - VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), - ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), - ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), - ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), - ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), - ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), - ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), - ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), - ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), - ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), - ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) - VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), - ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), - ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), - ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), - ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), - ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), - ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), - ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), - ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), - ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), - ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), - ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), - ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), - ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), - ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), - ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), - ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), - ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), - ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), - ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), - ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0') - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezurlalias_ml_incr` (`id`) - VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) - VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) - VALUES (11,28,'','',1), - (42,31,'','',1), - (13,32,'Subtree','/1/2/',3), - (13,33,'Subtree','/1/43/',3), - (12,34,'','',2), - (13,35,'','',4) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) - VALUES (1,1000,10), - (1,10,14) - SQL); - $this->addSql(<<<'SQL' - INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) - SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin' - SQL); - } else { - $this->abortIf(true, sprintf('Unsupported platform "%s".', $this->platform->getName())); + if ($this->isMySQL()) { + $this->addSqlFile(__DIR__ . '/sql/import-data-mysql.sql'); + } elseif ($this->isPostgreSQL()) { + $this->addSqlFile(__DIR__ . '/sql/import-data-postgresql.sql'); + } elseif ($this->isSqlite()) { + $this->addSqlFile(__DIR__ . '/sql/import-data-sqlite.sql'); } } } diff --git a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php index 4ea895845e..566d742d66 100644 --- a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php @@ -9,14 +9,11 @@ namespace Ibexa\Bundle\RepositoryInstaller\Migration; use DateTimeImmutable; -use Doctrine\DBAL\Platforms\MySqlPlatform; -use Doctrine\DBAL\Platforms\PostgreSqlPlatform; -use Doctrine\DBAL\Platforms\SqlitePlatform; use Doctrine\DBAL\Schema\Schema; -use Doctrine\Migrations\AbstractMigration; +use Ibexa\Contracts\DoctrineMigrations\Migrations\AbstractSqlMigration; use Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationInterface; -final class InstallSchemaMigration extends AbstractMigration implements IbexaMigrationInterface +final class InstallSchemaMigration extends AbstractSqlMigration implements IbexaMigrationInterface { public function getDescription(): string { @@ -35,2175 +32,12 @@ public static function getCreationDate(): DateTimeImmutable public function up(Schema $schema): void { - if ($this->platform instanceof MySqlPlatform) { - $this->addSql(<<<'SQL' - CREATE TABLE ezbinaryfile ( - contentobject_attribute_id INT DEFAULT 0 NOT NULL, - version INT DEFAULT 0 NOT NULL, - download_count INT DEFAULT 0 NOT NULL, - filename VARCHAR(255) DEFAULT '' NOT NULL, - mime_type VARCHAR(255) DEFAULT '' NOT NULL, - original_filename VARCHAR(255) DEFAULT '' NOT NULL, - PRIMARY KEY(contentobject_attribute_id, version) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state ( - id INT AUTO_INCREMENT NOT NULL, - default_language_id BIGINT DEFAULT 0 NOT NULL, - group_id INT DEFAULT 0 NOT NULL, - identifier VARCHAR(45) DEFAULT '' NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - priority INT DEFAULT 0 NOT NULL, - INDEX ezcobj_state_priority (priority), - INDEX ezcobj_state_lmask (language_mask), - UNIQUE INDEX ezcobj_state_identifier (group_id, identifier), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state_group ( - id INT AUTO_INCREMENT NOT NULL, - default_language_id BIGINT DEFAULT 0 NOT NULL, - identifier VARCHAR(45) DEFAULT '' NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - INDEX ezcobj_state_group_lmask (language_mask), - UNIQUE INDEX ezcobj_state_group_identifier (identifier), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state_group_language ( - contentobject_state_group_id INT DEFAULT 0 NOT NULL, - real_language_id BIGINT DEFAULT 0 NOT NULL, - description LONGTEXT NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - name VARCHAR(45) DEFAULT '' NOT NULL, - PRIMARY KEY(contentobject_state_group_id, real_language_id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state_language ( - contentobject_state_id INT DEFAULT 0 NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - description LONGTEXT NOT NULL, - name VARCHAR(45) DEFAULT '' NOT NULL, - PRIMARY KEY(contentobject_state_id, language_id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state_link ( - contentobject_id INT DEFAULT 0 NOT NULL, - contentobject_state_id INT DEFAULT 0 NOT NULL, - PRIMARY KEY(contentobject_id, contentobject_state_id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontent_language ( - id BIGINT DEFAULT 0 NOT NULL, - disabled INT DEFAULT 0 NOT NULL, - locale VARCHAR(20) DEFAULT '' NOT NULL, - name VARCHAR(255) DEFAULT '' NOT NULL, - INDEX ezcontent_language_name (name(191)), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezuser ( - contentobject_id INT DEFAULT 0 NOT NULL, - email VARCHAR(150) DEFAULT '' NOT NULL, - login VARCHAR(150) DEFAULT '' NOT NULL, - password_hash VARCHAR(255) DEFAULT NULL, - password_hash_type INT DEFAULT 1 NOT NULL, - password_updated_at INT DEFAULT NULL, - UNIQUE INDEX ezuser_login (login), - PRIMARY KEY(contentobject_id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_tree ( - node_id INT AUTO_INCREMENT NOT NULL, - contentobject_id INT DEFAULT NULL, - contentobject_is_published INT DEFAULT NULL, - contentobject_version INT DEFAULT NULL, - depth INT DEFAULT 0 NOT NULL, - is_hidden INT DEFAULT 0 NOT NULL, - is_invisible INT DEFAULT 0 NOT NULL, - main_node_id INT DEFAULT NULL, - modified_subnode INT DEFAULT 0, - parent_node_id INT DEFAULT 0 NOT NULL, - path_identification_string LONGTEXT DEFAULT NULL, - path_string VARCHAR(255) DEFAULT '' NOT NULL, - priority INT DEFAULT 0 NOT NULL, - remote_id VARCHAR(100) DEFAULT '' NOT NULL, - sort_field INT DEFAULT 1, - sort_order INT DEFAULT 1, - INDEX ezcontentobject_tree_p_node_id (parent_node_id), - INDEX ezcontentobject_tree_path_ident (path_identification_string(50)), - INDEX ezcontentobject_tree_contentobject_id_path_string (path_string(191), contentobject_id), - INDEX ezcontentobject_tree_co_id (contentobject_id), - INDEX ezcontentobject_tree_depth (depth), - INDEX ezcontentobject_tree_path (path_string(191)), - INDEX modified_subnode (modified_subnode), - INDEX ezcontentobject_tree_remote_id (remote_id), - PRIMARY KEY(node_id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentbrowsebookmark ( - id INT AUTO_INCREMENT NOT NULL, - node_id INT DEFAULT 0 NOT NULL, - user_id INT DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT '' NOT NULL, - INDEX ezcontentbrowsebookmark_location (node_id), - INDEX ezcontentbrowsebookmark_user (user_id), - INDEX ezcontentbrowsebookmark_user_location (user_id, node_id), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass ( - id INT AUTO_INCREMENT NOT NULL, - version INT DEFAULT 0 NOT NULL, - always_available INT DEFAULT 0 NOT NULL, - contentobject_name VARCHAR(255) DEFAULT NULL, - created INT DEFAULT 0 NOT NULL, - creator_id INT DEFAULT 0 NOT NULL, - identifier VARCHAR(50) DEFAULT '' NOT NULL, - initial_language_id BIGINT DEFAULT 0 NOT NULL, - is_container INT DEFAULT 0 NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - modified INT DEFAULT 0 NOT NULL, - modifier_id INT DEFAULT 0 NOT NULL, - remote_id VARCHAR(100) DEFAULT '' NOT NULL, - serialized_description_list LONGTEXT DEFAULT NULL, - serialized_name_list LONGTEXT DEFAULT NULL, - sort_field INT DEFAULT 1 NOT NULL, - sort_order INT DEFAULT 1 NOT NULL, - url_alias_name VARCHAR(255) DEFAULT NULL, - INDEX ezcontentclass_version (version), - INDEX ezcontentclass_identifier (identifier, version), - PRIMARY KEY(id, version) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass_attribute ( - id INT AUTO_INCREMENT NOT NULL, - version INT DEFAULT 0 NOT NULL, - can_translate INT DEFAULT 1, - category VARCHAR(25) DEFAULT '' NOT NULL, - contentclass_id INT DEFAULT 0 NOT NULL, - data_float1 DOUBLE PRECISION DEFAULT NULL, - data_float2 DOUBLE PRECISION DEFAULT NULL, - data_float3 DOUBLE PRECISION DEFAULT NULL, - data_float4 DOUBLE PRECISION DEFAULT NULL, - data_int1 INT DEFAULT NULL, - data_int2 INT DEFAULT NULL, - data_int3 INT DEFAULT NULL, - data_int4 INT DEFAULT NULL, - data_text1 VARCHAR(255) DEFAULT NULL, - data_text2 VARCHAR(50) DEFAULT NULL, - data_text3 VARCHAR(50) DEFAULT NULL, - data_text4 VARCHAR(255) DEFAULT NULL, - data_text5 LONGTEXT DEFAULT NULL, - data_type_string VARCHAR(50) DEFAULT '' NOT NULL, - identifier VARCHAR(50) DEFAULT '' NOT NULL, - is_information_collector INT DEFAULT 0 NOT NULL, - is_required INT DEFAULT 0 NOT NULL, - is_searchable INT DEFAULT 0 NOT NULL, - is_thumbnail TINYINT(1) DEFAULT '0' NOT NULL, - placement INT DEFAULT 0 NOT NULL, - serialized_data_text LONGTEXT DEFAULT NULL, - serialized_description_list LONGTEXT DEFAULT NULL, - serialized_name_list LONGTEXT NOT NULL, - INDEX ezcontentclass_attr_ccid (contentclass_id), - INDEX ezcontentclass_attr_dts (data_type_string), - PRIMARY KEY(id, version) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass_attribute_ml ( - contentclass_attribute_id INT NOT NULL, - version INT NOT NULL, - language_id BIGINT NOT NULL, - name VARCHAR(255) NOT NULL, - description TEXT DEFAULT NULL, - data_text TEXT DEFAULT NULL, - data_json TEXT DEFAULT NULL, - INDEX ezcontentclass_attribute_ml_lang_fk (language_id), - PRIMARY KEY(contentclass_attribute_id, version, language_id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass_classgroup ( - contentclass_id INT DEFAULT 0 NOT NULL, - contentclass_version INT DEFAULT 0 NOT NULL, - group_id INT DEFAULT 0 NOT NULL, - group_name VARCHAR(255) DEFAULT NULL, - PRIMARY KEY(contentclass_id, contentclass_version, group_id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass_name ( - contentclass_id INT DEFAULT 0 NOT NULL, - contentclass_version INT DEFAULT 0 NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - language_locale VARCHAR(20) DEFAULT '' NOT NULL, - name VARCHAR(255) DEFAULT '' NOT NULL, - PRIMARY KEY(contentclass_id, contentclass_version, language_id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclassgroup ( - id INT AUTO_INCREMENT NOT NULL, - created INT DEFAULT 0 NOT NULL, - creator_id INT DEFAULT 0 NOT NULL, - modified INT DEFAULT 0 NOT NULL, - modifier_id INT DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT NULL, - is_system TINYINT(1) DEFAULT '0' NOT NULL, - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject ( - id INT AUTO_INCREMENT NOT NULL, - contentclass_id INT DEFAULT 0 NOT NULL, - current_version INT DEFAULT NULL, - initial_language_id BIGINT DEFAULT 0 NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - modified INT DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT NULL, - owner_id INT DEFAULT 0 NOT NULL, - published INT DEFAULT 0 NOT NULL, - remote_id VARCHAR(100) DEFAULT NULL, - section_id INT DEFAULT 0 NOT NULL, - status INT DEFAULT 0, - is_hidden TINYINT(1) DEFAULT '0' NOT NULL, - INDEX ezcontentobject_classid (contentclass_id), - INDEX ezcontentobject_lmask (language_mask), - INDEX ezcontentobject_pub (published), - INDEX ezcontentobject_section (section_id), - INDEX ezcontentobject_currentversion (current_version), - INDEX ezcontentobject_owner (owner_id), - INDEX ezcontentobject_status (status), - UNIQUE INDEX ezcontentobject_remote_id (remote_id), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_attribute ( - id INT AUTO_INCREMENT NOT NULL, - version INT DEFAULT 0 NOT NULL, - attribute_original_id INT DEFAULT 0, - contentclassattribute_id INT DEFAULT 0 NOT NULL, - contentobject_id INT DEFAULT 0 NOT NULL, - data_float DOUBLE PRECISION DEFAULT NULL, - data_int INT DEFAULT NULL, - data_text LONGTEXT DEFAULT NULL, - data_type_string VARCHAR(50) DEFAULT '', - language_code VARCHAR(20) DEFAULT '' NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - sort_key_int INT DEFAULT 0 NOT NULL, - sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, - INDEX ezcontentobject_attribute_co_id_ver_lang_code (contentobject_id, version, language_code), - INDEX ezcontentobject_classattr_id (contentclassattribute_id), - INDEX sort_key_string (sort_key_string(191)), - INDEX ezcontentobject_attribute_language_code (language_code), - INDEX sort_key_int (sort_key_int), - INDEX ezcontentobject_attribute_co_id_ver (contentobject_id, version), - PRIMARY KEY(id, version) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_link ( - id INT AUTO_INCREMENT NOT NULL, - contentclassattribute_id INT DEFAULT 0 NOT NULL, - from_contentobject_id INT DEFAULT 0 NOT NULL, - from_contentobject_version INT DEFAULT 0 NOT NULL, - relation_type INT DEFAULT 1 NOT NULL, - to_contentobject_id INT DEFAULT 0 NOT NULL, - INDEX ezco_link_to_co_id (to_contentobject_id), - INDEX ezco_link_from (from_contentobject_id, from_contentobject_version, contentclassattribute_id), - INDEX ezco_link_cca_id (contentclassattribute_id), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_name ( - contentobject_id INT DEFAULT 0 NOT NULL, - content_version INT DEFAULT 0 NOT NULL, - content_translation VARCHAR(20) DEFAULT '' NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT NULL, - real_translation VARCHAR(20) DEFAULT NULL, - INDEX ezcontentobject_name_lang_id (language_id), - INDEX ezcontentobject_name_cov_id (content_version), - INDEX ezcontentobject_name_name (name(191)), - PRIMARY KEY(contentobject_id, content_version, content_translation) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_trash ( - node_id INT DEFAULT 0 NOT NULL, - contentobject_id INT DEFAULT NULL, - contentobject_version INT DEFAULT NULL, - depth INT DEFAULT 0 NOT NULL, - is_hidden INT DEFAULT 0 NOT NULL, - is_invisible INT DEFAULT 0 NOT NULL, - main_node_id INT DEFAULT NULL, - modified_subnode INT DEFAULT 0, - parent_node_id INT DEFAULT 0 NOT NULL, - path_identification_string LONGTEXT DEFAULT NULL, - path_string VARCHAR(255) DEFAULT '' NOT NULL, - priority INT DEFAULT 0 NOT NULL, - remote_id VARCHAR(100) DEFAULT '' NOT NULL, - sort_field INT DEFAULT 1, - sort_order INT DEFAULT 1, - trashed INT DEFAULT 0 NOT NULL, - INDEX ezcobj_trash_depth (depth), - INDEX ezcobj_trash_p_node_id (parent_node_id), - INDEX ezcobj_trash_path_ident (path_identification_string(50)), - INDEX ezcobj_trash_co_id (contentobject_id), - INDEX ezcobj_trash_modified_subnode (modified_subnode), - INDEX ezcobj_trash_path (path_string(191)), - PRIMARY KEY(node_id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_version ( - id INT AUTO_INCREMENT NOT NULL, - contentobject_id INT DEFAULT NULL, - created INT DEFAULT 0 NOT NULL, - creator_id INT DEFAULT 0 NOT NULL, - initial_language_id BIGINT DEFAULT 0 NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - modified INT DEFAULT 0 NOT NULL, - status INT DEFAULT 0 NOT NULL, - user_id INT DEFAULT 0 NOT NULL, - version INT DEFAULT 0 NOT NULL, - workflow_event_pos INT DEFAULT 0, - INDEX ezcobj_version_status (status), - INDEX idx_object_version_objver (contentobject_id, version), - INDEX ezcontobj_version_obj_status (contentobject_id, status), - INDEX ezcobj_version_creator_id (creator_id), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezdfsfile ( - name_hash VARCHAR(34) DEFAULT '' NOT NULL, - name TEXT NOT NULL, - name_trunk TEXT NOT NULL, - datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, - scope VARCHAR(25) DEFAULT '' NOT NULL, - size BIGINT UNSIGNED DEFAULT 0 NOT NULL, - mtime INT DEFAULT 0 NOT NULL, - expired TINYINT(1) DEFAULT '0' NOT NULL, - status TINYINT(1) DEFAULT '0' NOT NULL, - INDEX ezdfsfile_name_trunk (name_trunk(191)), - INDEX ezdfsfile_expired_name (expired, name(191)), - INDEX ezdfsfile_name (name(191)), - INDEX ezdfsfile_mtime (mtime), - PRIMARY KEY(name_hash) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezgmaplocation ( - contentobject_attribute_id INT DEFAULT 0 NOT NULL, - contentobject_version INT DEFAULT 0 NOT NULL, - latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, - longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, - address VARCHAR(150) DEFAULT NULL, - INDEX latitude_longitude_key (latitude, longitude), - PRIMARY KEY(contentobject_attribute_id, contentobject_version) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezimagefile ( - id INT AUTO_INCREMENT NOT NULL, - contentobject_attribute_id INT DEFAULT 0 NOT NULL, - filepath LONGTEXT NOT NULL, - INDEX ezimagefile_file (filepath(191)), - INDEX ezimagefile_coid (contentobject_attribute_id), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezkeyword ( - id INT AUTO_INCREMENT NOT NULL, - class_id INT DEFAULT 0 NOT NULL, - keyword VARCHAR(255) DEFAULT NULL, - INDEX ezkeyword_keyword (keyword(191)), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezkeyword_attribute_link ( - id INT AUTO_INCREMENT NOT NULL, - keyword_id INT DEFAULT 0 NOT NULL, - objectattribute_id INT DEFAULT 0 NOT NULL, - version INT DEFAULT 0 NOT NULL, - INDEX ezkeyword_attr_link_oaid (objectattribute_id), - INDEX ezkeyword_attr_link_kid_oaid (keyword_id, objectattribute_id), - INDEX ezkeyword_attr_link_oaid_ver (objectattribute_id, version), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezmedia ( - contentobject_attribute_id INT DEFAULT 0 NOT NULL, - version INT DEFAULT 0 NOT NULL, - controls VARCHAR(50) DEFAULT NULL, - filename VARCHAR(255) DEFAULT '' NOT NULL, - has_controller INT DEFAULT 0, - height INT DEFAULT NULL, - is_autoplay INT DEFAULT 0, - is_loop INT DEFAULT 0, - mime_type VARCHAR(50) DEFAULT '' NOT NULL, - original_filename VARCHAR(255) DEFAULT '' NOT NULL, - pluginspage VARCHAR(255) DEFAULT NULL, - quality VARCHAR(50) DEFAULT NULL, - width INT DEFAULT NULL, - PRIMARY KEY(contentobject_attribute_id, version) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE eznode_assignment ( - id INT AUTO_INCREMENT NOT NULL, - contentobject_id INT DEFAULT NULL, - contentobject_version INT DEFAULT NULL, - from_node_id INT DEFAULT 0, - is_main INT DEFAULT 0 NOT NULL, - op_code INT DEFAULT 0 NOT NULL, - parent_node INT DEFAULT NULL, - parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, - remote_id VARCHAR(100) DEFAULT '0' NOT NULL, - sort_field INT DEFAULT 1, - sort_order INT DEFAULT 1, - priority INT DEFAULT 0 NOT NULL, - is_hidden INT DEFAULT 0 NOT NULL, - INDEX eznode_assignment_is_main (is_main), - INDEX eznode_assignment_coid_cov (contentobject_id, contentobject_version), - INDEX eznode_assignment_parent_node (parent_node), - INDEX eznode_assignment_co_version (contentobject_version), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE eznotification ( - id INT AUTO_INCREMENT NOT NULL, - owner_id INT DEFAULT 0 NOT NULL, - is_pending TINYINT(1) DEFAULT '1' NOT NULL, - type VARCHAR(128) DEFAULT '' NOT NULL, - created INT DEFAULT 0 NOT NULL, - data LONGTEXT DEFAULT NULL, - INDEX eznotification_owner_is_pending (owner_id, is_pending), - INDEX eznotification_owner (owner_id), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezpackage ( - id INT AUTO_INCREMENT NOT NULL, - install_date INT DEFAULT 0 NOT NULL, - name VARCHAR(100) DEFAULT '' NOT NULL, - version VARCHAR(30) DEFAULT '0' NOT NULL, - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezpolicy ( - id INT AUTO_INCREMENT NOT NULL, - function_name VARCHAR(255) DEFAULT NULL, - module_name VARCHAR(255) DEFAULT NULL, - original_id INT DEFAULT 0 NOT NULL, - role_id INT DEFAULT NULL, - INDEX ezpolicy_role_id (role_id), - INDEX ezpolicy_original_id (original_id), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezpolicy_limitation ( - id INT AUTO_INCREMENT NOT NULL, - identifier VARCHAR(255) DEFAULT '' NOT NULL, - policy_id INT DEFAULT NULL, - INDEX policy_id (policy_id), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezpolicy_limitation_value ( - id INT AUTO_INCREMENT NOT NULL, - limitation_id INT DEFAULT NULL, - value VARCHAR(255) DEFAULT NULL, - INDEX ezpolicy_limit_value_limit_id (limitation_id), - INDEX ezpolicy_limitation_value_val (value(191)), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezpreferences ( - id INT AUTO_INCREMENT NOT NULL, - name VARCHAR(100) DEFAULT NULL, - user_id INT DEFAULT 0 NOT NULL, - value LONGTEXT DEFAULT NULL, - INDEX ezpreferences_user_id_idx (user_id, name), - INDEX ezpreferences_name (name), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezrole ( - id INT AUTO_INCREMENT NOT NULL, - is_new INT DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT '' NOT NULL, - value CHAR(1) DEFAULT NULL, - version INT DEFAULT 0, - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezsearch_object_word_link ( - id INT AUTO_INCREMENT NOT NULL, - contentclass_attribute_id INT DEFAULT 0 NOT NULL, - contentclass_id INT DEFAULT 0 NOT NULL, - contentobject_id INT DEFAULT 0 NOT NULL, - frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, - identifier VARCHAR(255) DEFAULT '' NOT NULL, - integer_value INT DEFAULT 0 NOT NULL, - next_word_id INT DEFAULT 0 NOT NULL, - placement INT DEFAULT 0 NOT NULL, - prev_word_id INT DEFAULT 0 NOT NULL, - published INT DEFAULT 0 NOT NULL, - section_id INT DEFAULT 0 NOT NULL, - word_id INT DEFAULT 0 NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - INDEX ezsearch_object_word_link_object (contentobject_id), - INDEX ezsearch_object_word_link_identifier (identifier(191)), - INDEX ezsearch_object_word_link_integer_value (integer_value), - INDEX ezsearch_object_word_link_word (word_id), - INDEX ezsearch_object_word_link_frequency (frequency), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezsearch_word ( - id INT AUTO_INCREMENT NOT NULL, - object_count INT DEFAULT 0 NOT NULL, - word VARCHAR(150) DEFAULT NULL, - INDEX ezsearch_word_word_i (word), - INDEX ezsearch_word_obj_count (object_count), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezsection ( - id INT AUTO_INCREMENT NOT NULL, - identifier VARCHAR(255) DEFAULT NULL, - locale VARCHAR(255) DEFAULT NULL, - name VARCHAR(255) DEFAULT NULL, - navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezsite_data ( - name VARCHAR(60) DEFAULT '' NOT NULL, - value LONGTEXT NOT NULL, - PRIMARY KEY(name) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezurl ( - id INT AUTO_INCREMENT NOT NULL, - created INT DEFAULT 0 NOT NULL, - is_valid INT DEFAULT 1 NOT NULL, - last_checked INT DEFAULT 0 NOT NULL, - modified INT DEFAULT 0 NOT NULL, - original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, - url LONGTEXT DEFAULT NULL, - INDEX ezurl_url (url(191)), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezurl_object_link ( - contentobject_attribute_id INT DEFAULT 0 NOT NULL, - contentobject_attribute_version INT DEFAULT 0 NOT NULL, - url_id INT DEFAULT 0 NOT NULL, - INDEX ezurl_ol_coa_id (contentobject_attribute_id), - INDEX ezurl_ol_url_id (url_id), - INDEX ezurl_ol_coa_version (contentobject_attribute_version), - INDEX ezurl_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezurlalias ( - id INT AUTO_INCREMENT NOT NULL, - destination_url LONGTEXT NOT NULL, - forward_to_id INT DEFAULT 0 NOT NULL, - is_imported INT DEFAULT 0 NOT NULL, - is_internal INT DEFAULT 1 NOT NULL, - is_wildcard INT DEFAULT 0 NOT NULL, - source_md5 VARCHAR(32) DEFAULT NULL, - source_url LONGTEXT NOT NULL, - INDEX ezurlalias_source_md5 (source_md5), - INDEX ezurlalias_wcard_fwd (is_wildcard, forward_to_id), - INDEX ezurlalias_forward_to_id (forward_to_id), - INDEX ezurlalias_imp_wcard_fwd (is_imported, is_wildcard, forward_to_id), - INDEX ezurlalias_source_url (source_url(191)), - INDEX ezurlalias_desturl (destination_url(191)), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezurlalias_ml ( - parent INT DEFAULT 0 NOT NULL, - text_md5 VARCHAR(32) DEFAULT '' NOT NULL, - action LONGTEXT NOT NULL, - action_type VARCHAR(32) DEFAULT '' NOT NULL, - alias_redirects INT DEFAULT 1 NOT NULL, - id INT DEFAULT 0 NOT NULL, - is_alias INT DEFAULT 0 NOT NULL, - is_original INT DEFAULT 0 NOT NULL, - lang_mask BIGINT DEFAULT 0 NOT NULL, - link INT DEFAULT 0 NOT NULL, - text LONGTEXT NOT NULL, - INDEX ezurlalias_ml_actt_org_al (action_type, is_original, is_alias), - INDEX ezurlalias_ml_text_lang (text(32), lang_mask, parent), - INDEX ezurlalias_ml_par_act_id_lnk (action(32), id, link, parent), - INDEX ezurlalias_ml_par_lnk_txt (parent, text(32), link), - INDEX ezurlalias_ml_act_org (action(32), is_original), - INDEX ezurlalias_ml_text (text(32), id, link), - INDEX ezurlalias_ml_link (link), - INDEX ezurlalias_ml_id (id), - PRIMARY KEY(parent, text_md5) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezurlalias_ml_incr ( - id INT AUTO_INCREMENT NOT NULL, - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezurlwildcard ( - id INT AUTO_INCREMENT NOT NULL, - destination_url LONGTEXT NOT NULL, - source_url LONGTEXT NOT NULL, - type INT DEFAULT 0 NOT NULL, - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezuser_accountkey ( - id INT AUTO_INCREMENT NOT NULL, - hash_key VARCHAR(32) DEFAULT '' NOT NULL, - time INT DEFAULT 0 NOT NULL, - user_id INT DEFAULT 0 NOT NULL, - INDEX hash_key (hash_key), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezuser_role ( - id INT AUTO_INCREMENT NOT NULL, - contentobject_id INT DEFAULT NULL, - limit_identifier VARCHAR(255) DEFAULT '', - limit_value VARCHAR(255) DEFAULT '', - role_id INT DEFAULT NULL, - INDEX ezuser_role_role_id (role_id), - INDEX ezuser_role_contentobject_id (contentobject_id), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezuser_setting ( - user_id INT DEFAULT 0 NOT NULL, - is_enabled INT DEFAULT 0 NOT NULL, - max_login INT DEFAULT NULL, - PRIMARY KEY(user_id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ibexa_setting ( - id INT AUTO_INCREMENT NOT NULL, - `group` VARCHAR(128) NOT NULL, - identifier VARCHAR(128) NOT NULL, - value JSON NOT NULL, - INDEX ibexa_setting_id (id), - UNIQUE INDEX ibexa_setting_group_identifier (`group`, identifier), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ibexa_token_type ( - id INT AUTO_INCREMENT NOT NULL, - identifier VARCHAR(64) NOT NULL, - UNIQUE INDEX ibexa_token_type_unique (identifier), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ibexa_token ( - id INT AUTO_INCREMENT NOT NULL, - type_id INT NOT NULL, - token VARCHAR(255) NOT NULL, - identifier VARCHAR(128) DEFAULT NULL, - created INT DEFAULT 0 NOT NULL, - expires INT DEFAULT 0 NOT NULL, - revoked TINYINT(1) DEFAULT '0' NOT NULL, - INDEX IDX_B5412887C54C8C93 (type_id), - UNIQUE INDEX ibexa_token_unique (token, identifier, type_id), - PRIMARY KEY(id) - ) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE - SQL); - $this->addSql('ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE'); - } elseif ($this->platform instanceof PostgreSqlPlatform) { - $this->addSql(<<<'SQL' - CREATE TABLE ezbinaryfile ( - contentobject_attribute_id INT DEFAULT 0 NOT NULL, - version INT DEFAULT 0 NOT NULL, - download_count INT DEFAULT 0 NOT NULL, - filename VARCHAR(255) DEFAULT '' NOT NULL, - mime_type VARCHAR(255) DEFAULT '' NOT NULL, - original_filename VARCHAR(255) DEFAULT '' NOT NULL, - PRIMARY KEY(contentobject_attribute_id, version) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state ( - id SERIAL NOT NULL, - default_language_id BIGINT DEFAULT 0 NOT NULL, - group_id INT DEFAULT 0 NOT NULL, - identifier VARCHAR(45) DEFAULT '' NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - priority INT DEFAULT 0 NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority)'); - $this->addSql('CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask)'); - $this->addSql('CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state_group ( - id SERIAL NOT NULL, - default_language_id BIGINT DEFAULT 0 NOT NULL, - identifier VARCHAR(45) DEFAULT '' NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask)'); - $this->addSql('CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state_group_language ( - contentobject_state_group_id INT DEFAULT 0 NOT NULL, - real_language_id BIGINT DEFAULT 0 NOT NULL, - description TEXT NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - name VARCHAR(45) DEFAULT '' NOT NULL, - PRIMARY KEY(contentobject_state_group_id, real_language_id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state_language ( - contentobject_state_id INT DEFAULT 0 NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - description TEXT NOT NULL, - name VARCHAR(45) DEFAULT '' NOT NULL, - PRIMARY KEY(contentobject_state_id, language_id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state_link ( - contentobject_id INT DEFAULT 0 NOT NULL, - contentobject_state_id INT DEFAULT 0 NOT NULL, - PRIMARY KEY(contentobject_id, contentobject_state_id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontent_language ( - id BIGINT DEFAULT 0 NOT NULL, - disabled INT DEFAULT 0 NOT NULL, - locale VARCHAR(20) DEFAULT '' NOT NULL, - name VARCHAR(255) DEFAULT '' NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezcontent_language_name ON ezcontent_language (name)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezuser ( - contentobject_id INT DEFAULT 0 NOT NULL, - email VARCHAR(150) DEFAULT '' NOT NULL, - login VARCHAR(150) DEFAULT '' NOT NULL, - password_hash VARCHAR(255) DEFAULT NULL, - password_hash_type INT DEFAULT 1 NOT NULL, - password_updated_at INT DEFAULT NULL, - PRIMARY KEY(contentobject_id) - ) - SQL); - $this->addSql('CREATE UNIQUE INDEX ezuser_login ON ezuser (login)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_tree ( - node_id SERIAL NOT NULL, - contentobject_id INT DEFAULT NULL, - contentobject_is_published INT DEFAULT NULL, - contentobject_version INT DEFAULT NULL, - depth INT DEFAULT 0 NOT NULL, - is_hidden INT DEFAULT 0 NOT NULL, - is_invisible INT DEFAULT 0 NOT NULL, - main_node_id INT DEFAULT NULL, - modified_subnode INT DEFAULT 0, - parent_node_id INT DEFAULT 0 NOT NULL, - path_identification_string TEXT DEFAULT NULL, - path_string VARCHAR(255) DEFAULT '' NOT NULL, - priority INT DEFAULT 0 NOT NULL, - remote_id VARCHAR(100) DEFAULT '' NOT NULL, - sort_field INT DEFAULT 1, - sort_order INT DEFAULT 1, - PRIMARY KEY(node_id) - ) - SQL); - $this->addSql('CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id)'); - $this->addSql('CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string)'); - $this->addSql('CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id)'); - $this->addSql('CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id)'); - $this->addSql('CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth)'); - $this->addSql('CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string)'); - $this->addSql('CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode)'); - $this->addSql('CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentbrowsebookmark ( - id SERIAL NOT NULL, - node_id INT DEFAULT 0 NOT NULL, - user_id INT DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT '' NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id)'); - $this->addSql('CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id)'); - $this->addSql('CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass ( - id SERIAL NOT NULL, - version INT DEFAULT 0 NOT NULL, - always_available INT DEFAULT 0 NOT NULL, - contentobject_name VARCHAR(255) DEFAULT NULL, - created INT DEFAULT 0 NOT NULL, - creator_id INT DEFAULT 0 NOT NULL, - identifier VARCHAR(50) DEFAULT '' NOT NULL, - initial_language_id BIGINT DEFAULT 0 NOT NULL, - is_container INT DEFAULT 0 NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - modified INT DEFAULT 0 NOT NULL, - modifier_id INT DEFAULT 0 NOT NULL, - remote_id VARCHAR(100) DEFAULT '' NOT NULL, - serialized_description_list TEXT DEFAULT NULL, - serialized_name_list TEXT DEFAULT NULL, - sort_field INT DEFAULT 1 NOT NULL, - sort_order INT DEFAULT 1 NOT NULL, - url_alias_name VARCHAR(255) DEFAULT NULL, - PRIMARY KEY(id, version) - ) - SQL); - $this->addSql('CREATE INDEX ezcontentclass_version ON ezcontentclass (version)'); - $this->addSql('CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass_attribute ( - id SERIAL NOT NULL, - version INT DEFAULT 0 NOT NULL, - can_translate INT DEFAULT 1, - category VARCHAR(25) DEFAULT '' NOT NULL, - contentclass_id INT DEFAULT 0 NOT NULL, - data_float1 DOUBLE PRECISION DEFAULT NULL, - data_float2 DOUBLE PRECISION DEFAULT NULL, - data_float3 DOUBLE PRECISION DEFAULT NULL, - data_float4 DOUBLE PRECISION DEFAULT NULL, - data_int1 INT DEFAULT NULL, - data_int2 INT DEFAULT NULL, - data_int3 INT DEFAULT NULL, - data_int4 INT DEFAULT NULL, - data_text1 VARCHAR(255) DEFAULT NULL, - data_text2 VARCHAR(50) DEFAULT NULL, - data_text3 VARCHAR(50) DEFAULT NULL, - data_text4 VARCHAR(255) DEFAULT NULL, - data_text5 TEXT DEFAULT NULL, - data_type_string VARCHAR(50) DEFAULT '' NOT NULL, - identifier VARCHAR(50) DEFAULT '' NOT NULL, - is_information_collector INT DEFAULT 0 NOT NULL, - is_required INT DEFAULT 0 NOT NULL, - is_searchable INT DEFAULT 0 NOT NULL, - is_thumbnail BOOLEAN DEFAULT 'false' NOT NULL, - placement INT DEFAULT 0 NOT NULL, - serialized_data_text TEXT DEFAULT NULL, - serialized_description_list TEXT DEFAULT NULL, - serialized_name_list TEXT NOT NULL, - PRIMARY KEY(id, version) - ) - SQL); - $this->addSql('CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id)'); - $this->addSql('CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass_attribute_ml ( - contentclass_attribute_id INT NOT NULL, - version INT NOT NULL, - language_id BIGINT NOT NULL, - name VARCHAR(255) NOT NULL, - description TEXT DEFAULT NULL, - data_text TEXT DEFAULT NULL, - data_json TEXT DEFAULT NULL, - PRIMARY KEY(contentclass_attribute_id, version, language_id) - ) - SQL); - $this->addSql('CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass_classgroup ( - contentclass_id INT DEFAULT 0 NOT NULL, - contentclass_version INT DEFAULT 0 NOT NULL, - group_id INT DEFAULT 0 NOT NULL, - group_name VARCHAR(255) DEFAULT NULL, - PRIMARY KEY(contentclass_id, contentclass_version, group_id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass_name ( - contentclass_id INT DEFAULT 0 NOT NULL, - contentclass_version INT DEFAULT 0 NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - language_locale VARCHAR(20) DEFAULT '' NOT NULL, - name VARCHAR(255) DEFAULT '' NOT NULL, - PRIMARY KEY(contentclass_id, contentclass_version, language_id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclassgroup ( - id SERIAL NOT NULL, - created INT DEFAULT 0 NOT NULL, - creator_id INT DEFAULT 0 NOT NULL, - modified INT DEFAULT 0 NOT NULL, - modifier_id INT DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT NULL, - is_system BOOLEAN DEFAULT 'false' NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject ( - id SERIAL NOT NULL, - contentclass_id INT DEFAULT 0 NOT NULL, - current_version INT DEFAULT NULL, - initial_language_id BIGINT DEFAULT 0 NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - modified INT DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT NULL, - owner_id INT DEFAULT 0 NOT NULL, - published INT DEFAULT 0 NOT NULL, - remote_id VARCHAR(100) DEFAULT NULL, - section_id INT DEFAULT 0 NOT NULL, - status INT DEFAULT 0, - is_hidden BOOLEAN DEFAULT 'false' NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id)'); - $this->addSql('CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask)'); - $this->addSql('CREATE INDEX ezcontentobject_pub ON ezcontentobject (published)'); - $this->addSql('CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id)'); - $this->addSql('CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version)'); - $this->addSql('CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id)'); - $this->addSql('CREATE INDEX ezcontentobject_status ON ezcontentobject (status)'); - $this->addSql('CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_attribute ( - id SERIAL NOT NULL, - version INT DEFAULT 0 NOT NULL, - attribute_original_id INT DEFAULT 0, - contentclassattribute_id INT DEFAULT 0 NOT NULL, - contentobject_id INT DEFAULT 0 NOT NULL, - data_float DOUBLE PRECISION DEFAULT NULL, - data_int INT DEFAULT NULL, - data_text TEXT DEFAULT NULL, - data_type_string VARCHAR(50) DEFAULT '', - language_code VARCHAR(20) DEFAULT '' NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - sort_key_int INT DEFAULT 0 NOT NULL, - sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, - PRIMARY KEY(id, version) - ) - SQL); - $this->addSql('CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code)'); - $this->addSql('CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id)'); - $this->addSql('CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string)'); - $this->addSql('CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code)'); - $this->addSql('CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int)'); - $this->addSql('CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_link ( - id SERIAL NOT NULL, - contentclassattribute_id INT DEFAULT 0 NOT NULL, - from_contentobject_id INT DEFAULT 0 NOT NULL, - from_contentobject_version INT DEFAULT 0 NOT NULL, - relation_type INT DEFAULT 1 NOT NULL, - to_contentobject_id INT DEFAULT 0 NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id)'); - $this->addSql('CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id)'); - $this->addSql('CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_name ( - contentobject_id INT DEFAULT 0 NOT NULL, - content_version INT DEFAULT 0 NOT NULL, - content_translation VARCHAR(20) DEFAULT '' NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT NULL, - real_translation VARCHAR(20) DEFAULT NULL, - PRIMARY KEY(contentobject_id, content_version, content_translation) - ) - SQL); - $this->addSql('CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id)'); - $this->addSql('CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version)'); - $this->addSql('CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_trash ( - node_id INT DEFAULT 0 NOT NULL, - contentobject_id INT DEFAULT NULL, - contentobject_version INT DEFAULT NULL, - depth INT DEFAULT 0 NOT NULL, - is_hidden INT DEFAULT 0 NOT NULL, - is_invisible INT DEFAULT 0 NOT NULL, - main_node_id INT DEFAULT NULL, - modified_subnode INT DEFAULT 0, - parent_node_id INT DEFAULT 0 NOT NULL, - path_identification_string TEXT DEFAULT NULL, - path_string VARCHAR(255) DEFAULT '' NOT NULL, - priority INT DEFAULT 0 NOT NULL, - remote_id VARCHAR(100) DEFAULT '' NOT NULL, - sort_field INT DEFAULT 1, - sort_order INT DEFAULT 1, - trashed INT DEFAULT 0 NOT NULL, - PRIMARY KEY(node_id) - ) - SQL); - $this->addSql('CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth)'); - $this->addSql('CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id)'); - $this->addSql('CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string)'); - $this->addSql('CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id)'); - $this->addSql('CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode)'); - $this->addSql('CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_version ( - id SERIAL NOT NULL, - contentobject_id INT DEFAULT NULL, - created INT DEFAULT 0 NOT NULL, - creator_id INT DEFAULT 0 NOT NULL, - initial_language_id BIGINT DEFAULT 0 NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - modified INT DEFAULT 0 NOT NULL, - status INT DEFAULT 0 NOT NULL, - user_id INT DEFAULT 0 NOT NULL, - version INT DEFAULT 0 NOT NULL, - workflow_event_pos INT DEFAULT 0, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status)'); - $this->addSql('CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version)'); - $this->addSql('CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status)'); - $this->addSql('CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezdfsfile ( - name_hash VARCHAR(34) DEFAULT '' NOT NULL, - name TEXT NOT NULL, - name_trunk TEXT NOT NULL, - datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, - scope VARCHAR(25) DEFAULT '' NOT NULL, - size BIGINT DEFAULT 0 NOT NULL, - mtime INT DEFAULT 0 NOT NULL, - expired BOOLEAN DEFAULT 'false' NOT NULL, - status BOOLEAN DEFAULT 'false' NOT NULL, - PRIMARY KEY(name_hash) - ) - SQL); - $this->addSql('CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk)'); - $this->addSql('CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name)'); - $this->addSql('CREATE INDEX ezdfsfile_name ON ezdfsfile (name)'); - $this->addSql('CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezgmaplocation ( - contentobject_attribute_id INT DEFAULT 0 NOT NULL, - contentobject_version INT DEFAULT 0 NOT NULL, - latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, - longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, - address VARCHAR(150) DEFAULT NULL, - PRIMARY KEY(contentobject_attribute_id, contentobject_version) - ) - SQL); - $this->addSql('CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezimagefile ( - id SERIAL NOT NULL, - contentobject_attribute_id INT DEFAULT 0 NOT NULL, - filepath TEXT NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezimagefile_file ON ezimagefile (filepath)'); - $this->addSql('CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezkeyword ( - id SERIAL NOT NULL, - class_id INT DEFAULT 0 NOT NULL, - keyword VARCHAR(255) DEFAULT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezkeyword_attribute_link ( - id SERIAL NOT NULL, - keyword_id INT DEFAULT 0 NOT NULL, - objectattribute_id INT DEFAULT 0 NOT NULL, - version INT DEFAULT 0 NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id)'); - $this->addSql('CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id)'); - $this->addSql('CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezmedia ( - contentobject_attribute_id INT DEFAULT 0 NOT NULL, - version INT DEFAULT 0 NOT NULL, - controls VARCHAR(50) DEFAULT NULL, - filename VARCHAR(255) DEFAULT '' NOT NULL, - has_controller INT DEFAULT 0, - height INT DEFAULT NULL, - is_autoplay INT DEFAULT 0, - is_loop INT DEFAULT 0, - mime_type VARCHAR(50) DEFAULT '' NOT NULL, - original_filename VARCHAR(255) DEFAULT '' NOT NULL, - pluginspage VARCHAR(255) DEFAULT NULL, - quality VARCHAR(50) DEFAULT NULL, - width INT DEFAULT NULL, - PRIMARY KEY(contentobject_attribute_id, version) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE eznode_assignment ( - id SERIAL NOT NULL, - contentobject_id INT DEFAULT NULL, - contentobject_version INT DEFAULT NULL, - from_node_id INT DEFAULT 0, - is_main INT DEFAULT 0 NOT NULL, - op_code INT DEFAULT 0 NOT NULL, - parent_node INT DEFAULT NULL, - parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, - remote_id VARCHAR(100) DEFAULT '0' NOT NULL, - sort_field INT DEFAULT 1, - sort_order INT DEFAULT 1, - priority INT DEFAULT 0 NOT NULL, - is_hidden INT DEFAULT 0 NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main)'); - $this->addSql('CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version)'); - $this->addSql('CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node)'); - $this->addSql('CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version)'); - $this->addSql(<<<'SQL' - CREATE TABLE eznotification ( - id SERIAL NOT NULL, - owner_id INT DEFAULT 0 NOT NULL, - is_pending BOOLEAN DEFAULT 'true' NOT NULL, - type VARCHAR(128) DEFAULT '' NOT NULL, - created INT DEFAULT 0 NOT NULL, - data TEXT DEFAULT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending)'); - $this->addSql('CREATE INDEX eznotification_owner ON eznotification (owner_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezpackage ( - id SERIAL NOT NULL, - install_date INT DEFAULT 0 NOT NULL, - name VARCHAR(100) DEFAULT '' NOT NULL, - version VARCHAR(30) DEFAULT '0' NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezpolicy ( - id SERIAL NOT NULL, - function_name VARCHAR(255) DEFAULT NULL, - module_name VARCHAR(255) DEFAULT NULL, - original_id INT DEFAULT 0 NOT NULL, - role_id INT DEFAULT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id)'); - $this->addSql('CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezpolicy_limitation ( - id SERIAL NOT NULL, - identifier VARCHAR(255) DEFAULT '' NOT NULL, - policy_id INT DEFAULT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX policy_id ON ezpolicy_limitation (policy_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezpolicy_limitation_value ( - id SERIAL NOT NULL, - limitation_id INT DEFAULT NULL, - value VARCHAR(255) DEFAULT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id)'); - $this->addSql('CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezpreferences ( - id SERIAL NOT NULL, - name VARCHAR(100) DEFAULT NULL, - user_id INT DEFAULT 0 NOT NULL, - value TEXT DEFAULT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name)'); - $this->addSql('CREATE INDEX ezpreferences_name ON ezpreferences (name)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezrole ( - id SERIAL NOT NULL, - is_new INT DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT '' NOT NULL, - value CHAR(1) DEFAULT NULL, - version INT DEFAULT 0, - PRIMARY KEY(id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezsearch_object_word_link ( - id SERIAL NOT NULL, - contentclass_attribute_id INT DEFAULT 0 NOT NULL, - contentclass_id INT DEFAULT 0 NOT NULL, - contentobject_id INT DEFAULT 0 NOT NULL, - frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, - identifier VARCHAR(255) DEFAULT '' NOT NULL, - integer_value INT DEFAULT 0 NOT NULL, - next_word_id INT DEFAULT 0 NOT NULL, - placement INT DEFAULT 0 NOT NULL, - prev_word_id INT DEFAULT 0 NOT NULL, - published INT DEFAULT 0 NOT NULL, - section_id INT DEFAULT 0 NOT NULL, - word_id INT DEFAULT 0 NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id)'); - $this->addSql('CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier)'); - $this->addSql('CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value)'); - $this->addSql('CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id)'); - $this->addSql('CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezsearch_word ( - id SERIAL NOT NULL, - object_count INT DEFAULT 0 NOT NULL, - word VARCHAR(150) DEFAULT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word)'); - $this->addSql('CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezsection ( - id SERIAL NOT NULL, - identifier VARCHAR(255) DEFAULT NULL, - locale VARCHAR(255) DEFAULT NULL, - name VARCHAR(255) DEFAULT NULL, - navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', - PRIMARY KEY(id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezsite_data ( - name VARCHAR(60) DEFAULT '' NOT NULL, - value TEXT NOT NULL, - PRIMARY KEY(name) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezurl ( - id SERIAL NOT NULL, - created INT DEFAULT 0 NOT NULL, - is_valid INT DEFAULT 1 NOT NULL, - last_checked INT DEFAULT 0 NOT NULL, - modified INT DEFAULT 0 NOT NULL, - original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, - url TEXT DEFAULT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezurl_url ON ezurl (url)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezurl_object_link ( - contentobject_attribute_id INT DEFAULT 0 NOT NULL, - contentobject_attribute_version INT DEFAULT 0 NOT NULL, - url_id INT DEFAULT 0 NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id)'); - $this->addSql('CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id)'); - $this->addSql('CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version)'); - $this->addSql('CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezurlalias ( - id SERIAL NOT NULL, - destination_url TEXT NOT NULL, - forward_to_id INT DEFAULT 0 NOT NULL, - is_imported INT DEFAULT 0 NOT NULL, - is_internal INT DEFAULT 1 NOT NULL, - is_wildcard INT DEFAULT 0 NOT NULL, - source_md5 VARCHAR(32) DEFAULT NULL, - source_url TEXT NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5)'); - $this->addSql('CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id)'); - $this->addSql('CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id)'); - $this->addSql('CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id)'); - $this->addSql('CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url)'); - $this->addSql('CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezurlalias_ml ( - parent INT DEFAULT 0 NOT NULL, - text_md5 VARCHAR(32) DEFAULT '' NOT NULL, - action TEXT NOT NULL, - action_type VARCHAR(32) DEFAULT '' NOT NULL, - alias_redirects INT DEFAULT 1 NOT NULL, - id INT DEFAULT 0 NOT NULL, - is_alias INT DEFAULT 0 NOT NULL, - is_original INT DEFAULT 0 NOT NULL, - lang_mask BIGINT DEFAULT 0 NOT NULL, - link INT DEFAULT 0 NOT NULL, - text TEXT NOT NULL, - PRIMARY KEY(parent, text_md5) - ) - SQL); - $this->addSql('CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias)'); - $this->addSql('CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent)'); - $this->addSql('CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml (action, id, link, parent)'); - $this->addSql('CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link)'); - $this->addSql('CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml (action, is_original)'); - $this->addSql('CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link)'); - $this->addSql('CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link)'); - $this->addSql('CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezurlalias_ml_incr ( - id SERIAL NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezurlwildcard ( - id SERIAL NOT NULL, - destination_url TEXT NOT NULL, - source_url TEXT NOT NULL, - type INT DEFAULT 0 NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezuser_accountkey ( - id SERIAL NOT NULL, - hash_key VARCHAR(32) DEFAULT '' NOT NULL, - time INT DEFAULT 0 NOT NULL, - user_id INT DEFAULT 0 NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX hash_key ON ezuser_accountkey (hash_key)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezuser_role ( - id SERIAL NOT NULL, - contentobject_id INT DEFAULT NULL, - limit_identifier VARCHAR(255) DEFAULT '', - limit_value VARCHAR(255) DEFAULT '', - role_id INT DEFAULT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id)'); - $this->addSql('CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezuser_setting ( - user_id INT DEFAULT 0 NOT NULL, - is_enabled INT DEFAULT 0 NOT NULL, - max_login INT DEFAULT NULL, - PRIMARY KEY(user_id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ibexa_setting ( - id SERIAL NOT NULL, - "group" VARCHAR(128) NOT NULL, - identifier VARCHAR(128) NOT NULL, - value JSON NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ibexa_setting_id ON ibexa_setting (id)'); - $this->addSql('CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier)'); - $this->addSql(<<<'SQL' - CREATE TABLE ibexa_token_type ( - id SERIAL NOT NULL, - identifier VARCHAR(64) NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier)'); - $this->addSql(<<<'SQL' - CREATE TABLE ibexa_token ( - id SERIAL NOT NULL, - type_id INT NOT NULL, - token VARCHAR(255) NOT NULL, - identifier VARCHAR(128) DEFAULT NULL, - created INT DEFAULT 0 NOT NULL, - expires INT DEFAULT 0 NOT NULL, - revoked BOOLEAN DEFAULT 'false' NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id)'); - $this->addSql('CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id)'); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE - SQL); - } elseif ($this->platform instanceof SqlitePlatform) { - $this->addSql(<<<'SQL' - CREATE TABLE ezbinaryfile ( - contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, - version INTEGER DEFAULT 0 NOT NULL, - download_count INTEGER DEFAULT 0 NOT NULL, - filename VARCHAR(255) DEFAULT '' NOT NULL, - mime_type VARCHAR(255) DEFAULT '' NOT NULL, - original_filename VARCHAR(255) DEFAULT '' NOT NULL, - PRIMARY KEY(contentobject_attribute_id, version) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - default_language_id BIGINT DEFAULT 0 NOT NULL, - group_id INTEGER DEFAULT 0 NOT NULL, - identifier VARCHAR(45) DEFAULT '' NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - priority INTEGER DEFAULT 0 NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority)'); - $this->addSql('CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask)'); - $this->addSql('CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state_group ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - default_language_id BIGINT DEFAULT 0 NOT NULL, - identifier VARCHAR(45) DEFAULT '' NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask)'); - $this->addSql('CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state_group_language ( - contentobject_state_group_id INTEGER DEFAULT 0 NOT NULL, - real_language_id BIGINT DEFAULT 0 NOT NULL, - description CLOB NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - name VARCHAR(45) DEFAULT '' NOT NULL, - PRIMARY KEY(contentobject_state_group_id, real_language_id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state_language ( - contentobject_state_id INTEGER DEFAULT 0 NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - description CLOB NOT NULL, - name VARCHAR(45) DEFAULT '' NOT NULL, - PRIMARY KEY(contentobject_state_id, language_id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcobj_state_link ( - contentobject_id INTEGER DEFAULT 0 NOT NULL, - contentobject_state_id INTEGER DEFAULT 0 NOT NULL, - PRIMARY KEY(contentobject_id, contentobject_state_id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontent_language ( - id BIGINT DEFAULT 0 NOT NULL, - disabled INTEGER DEFAULT 0 NOT NULL, - locale VARCHAR(20) DEFAULT '' NOT NULL, - name VARCHAR(255) DEFAULT '' NOT NULL, - PRIMARY KEY(id) - ) - SQL); - $this->addSql('CREATE INDEX ezcontent_language_name ON ezcontent_language (name)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezuser ( - contentobject_id INTEGER DEFAULT 0 NOT NULL, - email VARCHAR(150) DEFAULT '' NOT NULL, - login VARCHAR(150) DEFAULT '' NOT NULL, - password_hash VARCHAR(255) DEFAULT NULL, - password_hash_type INTEGER DEFAULT 1 NOT NULL, - password_updated_at INTEGER DEFAULT NULL, - PRIMARY KEY(contentobject_id) - ) - SQL); - $this->addSql('CREATE UNIQUE INDEX ezuser_login ON ezuser (login)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_tree ( - node_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - contentobject_id INTEGER DEFAULT NULL, - contentobject_is_published INTEGER DEFAULT NULL, - contentobject_version INTEGER DEFAULT NULL, - depth INTEGER DEFAULT 0 NOT NULL, - is_hidden INTEGER DEFAULT 0 NOT NULL, - is_invisible INTEGER DEFAULT 0 NOT NULL, - main_node_id INTEGER DEFAULT NULL, - modified_subnode INTEGER DEFAULT 0, - parent_node_id INTEGER DEFAULT 0 NOT NULL, - path_identification_string CLOB DEFAULT NULL, - path_string VARCHAR(255) DEFAULT '' NOT NULL, - priority INTEGER DEFAULT 0 NOT NULL, - remote_id VARCHAR(100) DEFAULT '' NOT NULL, - sort_field INTEGER DEFAULT 1, - sort_order INTEGER DEFAULT 1 - ) - SQL); - $this->addSql('CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id)'); - $this->addSql('CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string)'); - $this->addSql('CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id)'); - $this->addSql('CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id)'); - $this->addSql('CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth)'); - $this->addSql('CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string)'); - $this->addSql('CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode)'); - $this->addSql('CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentbrowsebookmark ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - node_id INTEGER DEFAULT 0 NOT NULL, - user_id INTEGER DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT '' NOT NULL, - CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE, - CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE - ) - SQL); - $this->addSql('CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id)'); - $this->addSql('CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id)'); - $this->addSql('CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - version INTEGER DEFAULT 0 NOT NULL, - always_available INTEGER DEFAULT 0 NOT NULL, - contentobject_name VARCHAR(255) DEFAULT NULL, - created INTEGER DEFAULT 0 NOT NULL, - creator_id INTEGER DEFAULT 0 NOT NULL, - identifier VARCHAR(50) DEFAULT '' NOT NULL, - initial_language_id BIGINT DEFAULT 0 NOT NULL, - is_container INTEGER DEFAULT 0 NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - modified INTEGER DEFAULT 0 NOT NULL, - modifier_id INTEGER DEFAULT 0 NOT NULL, - remote_id VARCHAR(100) DEFAULT '' NOT NULL, - serialized_description_list CLOB DEFAULT NULL, - serialized_name_list CLOB DEFAULT NULL, - sort_field INTEGER DEFAULT 1 NOT NULL, - sort_order INTEGER DEFAULT 1 NOT NULL, - url_alias_name VARCHAR(255) DEFAULT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezcontentclass_version ON ezcontentclass (version)'); - $this->addSql('CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass_attribute ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - version INTEGER DEFAULT 0 NOT NULL, - can_translate INTEGER DEFAULT 1, - category VARCHAR(25) DEFAULT '' NOT NULL, - contentclass_id INTEGER DEFAULT 0 NOT NULL, - data_float1 DOUBLE PRECISION DEFAULT NULL, - data_float2 DOUBLE PRECISION DEFAULT NULL, - data_float3 DOUBLE PRECISION DEFAULT NULL, - data_float4 DOUBLE PRECISION DEFAULT NULL, - data_int1 INTEGER DEFAULT NULL, - data_int2 INTEGER DEFAULT NULL, - data_int3 INTEGER DEFAULT NULL, - data_int4 INTEGER DEFAULT NULL, - data_text1 VARCHAR(255) DEFAULT NULL, - data_text2 VARCHAR(50) DEFAULT NULL, - data_text3 VARCHAR(50) DEFAULT NULL, - data_text4 VARCHAR(255) DEFAULT NULL, - data_text5 CLOB DEFAULT NULL, - data_type_string VARCHAR(50) DEFAULT '' NOT NULL, - identifier VARCHAR(50) DEFAULT '' NOT NULL, - is_information_collector INTEGER DEFAULT 0 NOT NULL, - is_required INTEGER DEFAULT 0 NOT NULL, - is_searchable INTEGER DEFAULT 0 NOT NULL, - is_thumbnail BOOLEAN DEFAULT '0' NOT NULL, - placement INTEGER DEFAULT 0 NOT NULL, - serialized_data_text CLOB DEFAULT NULL, - serialized_description_list CLOB DEFAULT NULL, - serialized_name_list CLOB NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id)'); - $this->addSql('CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass_attribute_ml ( - contentclass_attribute_id INTEGER NOT NULL, - version INTEGER NOT NULL, - language_id BIGINT NOT NULL, - name VARCHAR(255) NOT NULL, - description CLOB DEFAULT NULL, - data_text CLOB DEFAULT NULL, - data_json CLOB DEFAULT NULL, - PRIMARY KEY(contentclass_attribute_id, version, language_id), - CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE - ) - SQL); - $this->addSql('CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass_classgroup ( - contentclass_id INTEGER DEFAULT 0 NOT NULL, - contentclass_version INTEGER DEFAULT 0 NOT NULL, - group_id INTEGER DEFAULT 0 NOT NULL, - group_name VARCHAR(255) DEFAULT NULL, - PRIMARY KEY(contentclass_id, contentclass_version, group_id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclass_name ( - contentclass_id INTEGER DEFAULT 0 NOT NULL, - contentclass_version INTEGER DEFAULT 0 NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - language_locale VARCHAR(20) DEFAULT '' NOT NULL, - name VARCHAR(255) DEFAULT '' NOT NULL, - PRIMARY KEY(contentclass_id, contentclass_version, language_id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentclassgroup ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - created INTEGER DEFAULT 0 NOT NULL, - creator_id INTEGER DEFAULT 0 NOT NULL, - modified INTEGER DEFAULT 0 NOT NULL, - modifier_id INTEGER DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT NULL, - is_system BOOLEAN DEFAULT '0' NOT NULL - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - contentclass_id INTEGER DEFAULT 0 NOT NULL, - current_version INTEGER DEFAULT NULL, - initial_language_id BIGINT DEFAULT 0 NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - modified INTEGER DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT NULL, - owner_id INTEGER DEFAULT 0 NOT NULL, - published INTEGER DEFAULT 0 NOT NULL, - remote_id VARCHAR(100) DEFAULT NULL, - section_id INTEGER DEFAULT 0 NOT NULL, - status INTEGER DEFAULT 0, - is_hidden BOOLEAN DEFAULT '0' NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id)'); - $this->addSql('CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask)'); - $this->addSql('CREATE INDEX ezcontentobject_pub ON ezcontentobject (published)'); - $this->addSql('CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id)'); - $this->addSql('CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version)'); - $this->addSql('CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id)'); - $this->addSql('CREATE INDEX ezcontentobject_status ON ezcontentobject (status)'); - $this->addSql('CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_attribute ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - version INTEGER DEFAULT 0 NOT NULL, - attribute_original_id INTEGER DEFAULT 0, - contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, - contentobject_id INTEGER DEFAULT 0 NOT NULL, - data_float DOUBLE PRECISION DEFAULT NULL, - data_int INTEGER DEFAULT NULL, - data_text CLOB DEFAULT NULL, - data_type_string VARCHAR(50) DEFAULT '', - language_code VARCHAR(20) DEFAULT '' NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - sort_key_int INTEGER DEFAULT 0 NOT NULL, - sort_key_string VARCHAR(255) DEFAULT '' NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code)'); - $this->addSql('CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id)'); - $this->addSql('CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string)'); - $this->addSql('CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code)'); - $this->addSql('CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int)'); - $this->addSql('CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_link ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, - from_contentobject_id INTEGER DEFAULT 0 NOT NULL, - from_contentobject_version INTEGER DEFAULT 0 NOT NULL, - relation_type INTEGER DEFAULT 1 NOT NULL, - to_contentobject_id INTEGER DEFAULT 0 NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id)'); - $this->addSql('CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id)'); - $this->addSql('CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_name ( - contentobject_id INTEGER DEFAULT 0 NOT NULL, - content_version INTEGER DEFAULT 0 NOT NULL, - content_translation VARCHAR(20) DEFAULT '' NOT NULL, - language_id BIGINT DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT NULL, - real_translation VARCHAR(20) DEFAULT NULL, - PRIMARY KEY(contentobject_id, content_version, content_translation) - ) - SQL); - $this->addSql('CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id)'); - $this->addSql('CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version)'); - $this->addSql('CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_trash ( - node_id INTEGER DEFAULT 0 NOT NULL, - contentobject_id INTEGER DEFAULT NULL, - contentobject_version INTEGER DEFAULT NULL, - depth INTEGER DEFAULT 0 NOT NULL, - is_hidden INTEGER DEFAULT 0 NOT NULL, - is_invisible INTEGER DEFAULT 0 NOT NULL, - main_node_id INTEGER DEFAULT NULL, - modified_subnode INTEGER DEFAULT 0, - parent_node_id INTEGER DEFAULT 0 NOT NULL, - path_identification_string CLOB DEFAULT NULL, - path_string VARCHAR(255) DEFAULT '' NOT NULL, - priority INTEGER DEFAULT 0 NOT NULL, - remote_id VARCHAR(100) DEFAULT '' NOT NULL, - sort_field INTEGER DEFAULT 1, - sort_order INTEGER DEFAULT 1, - trashed INTEGER DEFAULT 0 NOT NULL, - PRIMARY KEY(node_id) - ) - SQL); - $this->addSql('CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth)'); - $this->addSql('CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id)'); - $this->addSql('CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string)'); - $this->addSql('CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id)'); - $this->addSql('CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode)'); - $this->addSql('CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezcontentobject_version ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - contentobject_id INTEGER DEFAULT NULL, - created INTEGER DEFAULT 0 NOT NULL, - creator_id INTEGER DEFAULT 0 NOT NULL, - initial_language_id BIGINT DEFAULT 0 NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL, - modified INTEGER DEFAULT 0 NOT NULL, - status INTEGER DEFAULT 0 NOT NULL, - user_id INTEGER DEFAULT 0 NOT NULL, - version INTEGER DEFAULT 0 NOT NULL, - workflow_event_pos INTEGER DEFAULT 0 - ) - SQL); - $this->addSql('CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status)'); - $this->addSql('CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version)'); - $this->addSql('CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status)'); - $this->addSql('CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezdfsfile ( - name_hash VARCHAR(34) DEFAULT '' NOT NULL, - name CLOB NOT NULL, - name_trunk CLOB NOT NULL, - datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, - scope VARCHAR(25) DEFAULT '' NOT NULL, - size BIGINT UNSIGNED DEFAULT 0 NOT NULL, - mtime INTEGER DEFAULT 0 NOT NULL, - expired BOOLEAN DEFAULT '0' NOT NULL, - status BOOLEAN DEFAULT '0' NOT NULL, - PRIMARY KEY(name_hash) - ) - SQL); - $this->addSql('CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk)'); - $this->addSql('CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name)'); - $this->addSql('CREATE INDEX ezdfsfile_name ON ezdfsfile (name)'); - $this->addSql('CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezgmaplocation ( - contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, - contentobject_version INTEGER DEFAULT 0 NOT NULL, - latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, - longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, - address VARCHAR(150) DEFAULT NULL, - PRIMARY KEY(contentobject_attribute_id, contentobject_version) - ) - SQL); - $this->addSql('CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezimagefile ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, - filepath CLOB NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezimagefile_file ON ezimagefile (filepath)'); - $this->addSql('CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezkeyword ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - class_id INTEGER DEFAULT 0 NOT NULL, - keyword VARCHAR(255) DEFAULT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezkeyword_attribute_link ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - keyword_id INTEGER DEFAULT 0 NOT NULL, - objectattribute_id INTEGER DEFAULT 0 NOT NULL, - version INTEGER DEFAULT 0 NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id)'); - $this->addSql('CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id)'); - $this->addSql('CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezmedia ( - contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, - version INTEGER DEFAULT 0 NOT NULL, - controls VARCHAR(50) DEFAULT NULL, - filename VARCHAR(255) DEFAULT '' NOT NULL, - has_controller INTEGER DEFAULT 0, - height INTEGER DEFAULT NULL, - is_autoplay INTEGER DEFAULT 0, - is_loop INTEGER DEFAULT 0, - mime_type VARCHAR(50) DEFAULT '' NOT NULL, - original_filename VARCHAR(255) DEFAULT '' NOT NULL, - pluginspage VARCHAR(255) DEFAULT NULL, - quality VARCHAR(50) DEFAULT NULL, - width INTEGER DEFAULT NULL, - PRIMARY KEY(contentobject_attribute_id, version) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE eznode_assignment ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - contentobject_id INTEGER DEFAULT NULL, - contentobject_version INTEGER DEFAULT NULL, - from_node_id INTEGER DEFAULT 0, - is_main INTEGER DEFAULT 0 NOT NULL, - op_code INTEGER DEFAULT 0 NOT NULL, - parent_node INTEGER DEFAULT NULL, - parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, - remote_id VARCHAR(100) DEFAULT '0' NOT NULL, - sort_field INTEGER DEFAULT 1, - sort_order INTEGER DEFAULT 1, - priority INTEGER DEFAULT 0 NOT NULL, - is_hidden INTEGER DEFAULT 0 NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main)'); - $this->addSql('CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version)'); - $this->addSql('CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node)'); - $this->addSql('CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version)'); - $this->addSql(<<<'SQL' - CREATE TABLE eznotification ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - owner_id INTEGER DEFAULT 0 NOT NULL, - is_pending BOOLEAN DEFAULT '1' NOT NULL, - type VARCHAR(128) DEFAULT '' NOT NULL, - created INTEGER DEFAULT 0 NOT NULL, - data CLOB DEFAULT NULL - ) - SQL); - $this->addSql('CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending)'); - $this->addSql('CREATE INDEX eznotification_owner ON eznotification (owner_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezpackage ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - install_date INTEGER DEFAULT 0 NOT NULL, - name VARCHAR(100) DEFAULT '' NOT NULL, - version VARCHAR(30) DEFAULT '0' NOT NULL - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezpolicy ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - function_name VARCHAR(255) DEFAULT NULL, - module_name VARCHAR(255) DEFAULT NULL, - original_id INTEGER DEFAULT 0 NOT NULL, - role_id INTEGER DEFAULT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id)'); - $this->addSql('CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezpolicy_limitation ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - identifier VARCHAR(255) DEFAULT '' NOT NULL, - policy_id INTEGER DEFAULT NULL - ) - SQL); - $this->addSql('CREATE INDEX policy_id ON ezpolicy_limitation (policy_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezpolicy_limitation_value ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - limitation_id INTEGER DEFAULT NULL, - value VARCHAR(255) DEFAULT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id)'); - $this->addSql('CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezpreferences ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - name VARCHAR(100) DEFAULT NULL, - user_id INTEGER DEFAULT 0 NOT NULL, - value CLOB DEFAULT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name)'); - $this->addSql('CREATE INDEX ezpreferences_name ON ezpreferences (name)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezrole ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - is_new INTEGER DEFAULT 0 NOT NULL, - name VARCHAR(255) DEFAULT '' NOT NULL, - value CHAR(1) DEFAULT NULL, - version INTEGER DEFAULT 0 - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezsearch_object_word_link ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - contentclass_attribute_id INTEGER DEFAULT 0 NOT NULL, - contentclass_id INTEGER DEFAULT 0 NOT NULL, - contentobject_id INTEGER DEFAULT 0 NOT NULL, - frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, - identifier VARCHAR(255) DEFAULT '' NOT NULL, - integer_value INTEGER DEFAULT 0 NOT NULL, - next_word_id INTEGER DEFAULT 0 NOT NULL, - placement INTEGER DEFAULT 0 NOT NULL, - prev_word_id INTEGER DEFAULT 0 NOT NULL, - published INTEGER DEFAULT 0 NOT NULL, - section_id INTEGER DEFAULT 0 NOT NULL, - word_id INTEGER DEFAULT 0 NOT NULL, - language_mask BIGINT DEFAULT 0 NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id)'); - $this->addSql('CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier)'); - $this->addSql('CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value)'); - $this->addSql('CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id)'); - $this->addSql('CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezsearch_word ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - object_count INTEGER DEFAULT 0 NOT NULL, - word VARCHAR(150) DEFAULT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word)'); - $this->addSql('CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezsection ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - identifier VARCHAR(255) DEFAULT NULL, - locale VARCHAR(255) DEFAULT NULL, - name VARCHAR(255) DEFAULT NULL, - navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart' - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezsite_data ( - name VARCHAR(60) DEFAULT '' NOT NULL, - value CLOB NOT NULL, - PRIMARY KEY(name) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezurl ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - created INTEGER DEFAULT 0 NOT NULL, - is_valid INTEGER DEFAULT 1 NOT NULL, - last_checked INTEGER DEFAULT 0 NOT NULL, - modified INTEGER DEFAULT 0 NOT NULL, - original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, - url CLOB DEFAULT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezurl_url ON ezurl (url)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezurl_object_link ( - contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, - contentobject_attribute_version INTEGER DEFAULT 0 NOT NULL, - url_id INTEGER DEFAULT 0 NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id)'); - $this->addSql('CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id)'); - $this->addSql('CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version)'); - $this->addSql('CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezurlalias ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - destination_url CLOB NOT NULL, - forward_to_id INTEGER DEFAULT 0 NOT NULL, - is_imported INTEGER DEFAULT 0 NOT NULL, - is_internal INTEGER DEFAULT 1 NOT NULL, - is_wildcard INTEGER DEFAULT 0 NOT NULL, - source_md5 VARCHAR(32) DEFAULT NULL, - source_url CLOB NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5)'); - $this->addSql('CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id)'); - $this->addSql('CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id)'); - $this->addSql('CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id)'); - $this->addSql('CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url)'); - $this->addSql('CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezurlalias_ml ( - parent INTEGER DEFAULT 0 NOT NULL, - text_md5 VARCHAR(32) DEFAULT '' NOT NULL, - "action" CLOB NOT NULL, - action_type VARCHAR(32) DEFAULT '' NOT NULL, - alias_redirects INTEGER DEFAULT 1 NOT NULL, - id INTEGER DEFAULT 0 NOT NULL, - is_alias INTEGER DEFAULT 0 NOT NULL, - is_original INTEGER DEFAULT 0 NOT NULL, - lang_mask BIGINT DEFAULT 0 NOT NULL, - link INTEGER DEFAULT 0 NOT NULL, - text CLOB NOT NULL, - PRIMARY KEY(parent, text_md5) - ) - SQL); - $this->addSql('CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias)'); - $this->addSql('CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent)'); - $this->addSql('CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml ("action", id, link, parent)'); - $this->addSql('CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link)'); - $this->addSql('CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml ("action", is_original)'); - $this->addSql('CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link)'); - $this->addSql('CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link)'); - $this->addSql('CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezurlalias_ml_incr ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezurlwildcard ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - destination_url CLOB NOT NULL, - source_url CLOB NOT NULL, - type INTEGER DEFAULT 0 NOT NULL - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ezuser_accountkey ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - hash_key VARCHAR(32) DEFAULT '' NOT NULL, - time INTEGER DEFAULT 0 NOT NULL, - user_id INTEGER DEFAULT 0 NOT NULL - ) - SQL); - $this->addSql('CREATE INDEX hash_key ON ezuser_accountkey (hash_key)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezuser_role ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - contentobject_id INTEGER DEFAULT NULL, - limit_identifier VARCHAR(255) DEFAULT '', - limit_value VARCHAR(255) DEFAULT '', - role_id INTEGER DEFAULT NULL - ) - SQL); - $this->addSql('CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id)'); - $this->addSql('CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id)'); - $this->addSql(<<<'SQL' - CREATE TABLE ezuser_setting ( - user_id INTEGER DEFAULT 0 NOT NULL, - is_enabled INTEGER DEFAULT 0 NOT NULL, - max_login INTEGER DEFAULT NULL, - PRIMARY KEY(user_id) - ) - SQL); - $this->addSql(<<<'SQL' - CREATE TABLE ibexa_setting ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - "group" VARCHAR(128) NOT NULL, - identifier VARCHAR(128) NOT NULL, - value CLOB NOT NULL --(DC2Type:json) - ) - SQL); - $this->addSql('CREATE INDEX ibexa_setting_id ON ibexa_setting (id)'); - $this->addSql('CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier)'); - $this->addSql(<<<'SQL' - CREATE TABLE ibexa_token_type ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - identifier VARCHAR(64) NOT NULL - ) - SQL); - $this->addSql('CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier)'); - $this->addSql(<<<'SQL' - CREATE TABLE ibexa_token ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, - type_id INTEGER NOT NULL, - token VARCHAR(255) NOT NULL, - identifier VARCHAR(128) DEFAULT NULL, - created INTEGER DEFAULT 0 NOT NULL, - expires INTEGER DEFAULT 0 NOT NULL, - revoked BOOLEAN DEFAULT '0' NOT NULL, - CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE - ) - SQL); - $this->addSql('CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id)'); - $this->addSql('CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id)'); - } else { - $this->abortIf(true, sprintf('Unsupported platform "%s".', $this->platform->getName())); + if ($this->isMySQL()) { + $this->addSqlFile(__DIR__ . '/sql/install-schema-mysql.sql'); + } elseif ($this->isPostgreSQL()) { + $this->addSqlFile(__DIR__ . '/sql/install-schema-postgresql.sql'); + } elseif ($this->isSqlite()) { + $this->addSqlFile(__DIR__ . '/sql/install-schema-sqlite.sql'); } } } diff --git a/src/bundle/RepositoryInstaller/Migration/sql/import-data-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/import-data-mysql.sql new file mode 100644 index 0000000000..f06caa6c82 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/import-data-mysql.sql @@ -0,0 +1,304 @@ +INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) +VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1) +-- ibexa:sql-statement-separator +INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) +VALUES (2,2,'ez_lock',3) +-- ibexa:sql-statement-separator +INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) +VALUES (2,'',3,'Lock',2) +-- ibexa:sql-statement-separator +INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) +VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked') +-- ibexa:sql-statement-separator +INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) +VALUES (1, 1), + (4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1) +-- ibexa:sql-statement-separator +INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)') +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0) +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0) +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) +VALUES (1, 0, 1, 'Content'), + (2, 0, 1, 'Content'), + (3, 0, 2, 'Users'), + (4, 0, 2, 'Users'), + (5, 0, 3, 'Media'), + (12, 0, 3, 'Media') +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) +VALUES (1, 0, 2, 'eng-GB', 'Folder'), + (2, 0, 3, 'eng-GB', 'Article'), + (3, 0, 3, 'eng-GB', 'User group'), + (4, 0, 3, 'eng-GB', 'User'), + (5, 0, 3, 'eng-GB', 'Image'), + (12, 0, 3, 'eng-GB', 'File') +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) +VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media') +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) +VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1) +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) +VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3) +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) +VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB') +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) +VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1) +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0) +-- ibexa:sql-statement-separator +INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) +VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0) +-- ibexa:sql-statement-separator +INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) +VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3) +-- ibexa:sql-statement-separator +INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) +VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334) +-- ibexa:sql-statement-separator +INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) +VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12') +-- ibexa:sql-statement-separator +INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) +VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0) +-- ibexa:sql-statement-separator +INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) +VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart') +-- ibexa:sql-statement-separator +INSERT INTO `ezsite_data` (`name`, `value`) +VALUES ('ibexa-release','4.6') +-- ibexa:sql-statement-separator +INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) +VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia') +-- ibexa:sql-statement-separator +INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) +VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0') +-- ibexa:sql-statement-separator +INSERT INTO `ezurlalias_ml_incr` (`id`) +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37) +-- ibexa:sql-statement-separator +INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) +VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7) +-- ibexa:sql-statement-separator +INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) +VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4) +-- ibexa:sql-statement-separator +INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) +VALUES (1,1000,10), + (1,10,14) +-- ibexa:sql-statement-separator +INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) +SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin' diff --git a/src/bundle/RepositoryInstaller/Migration/sql/import-data-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/import-data-postgresql.sql new file mode 100644 index 0000000000..51df923e0d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/import-data-postgresql.sql @@ -0,0 +1,367 @@ +INSERT INTO "ezcobj_state" ("default_language_id", "group_id", "id", "identifier", "language_mask", "priority") +VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1) +-- ibexa:sql-statement-separator +INSERT INTO "ezcobj_state_group" ("default_language_id", "id", "identifier", "language_mask") +VALUES (2, 2, 'ez_lock', 3) +-- ibexa:sql-statement-separator +INSERT INTO "ezcobj_state_group_language" ("contentobject_state_group_id", "description","language_id", "name", "real_language_id") +VALUES (2, '', 3, 'Lock', 2) +-- ibexa:sql-statement-separator +INSERT INTO "ezcobj_state_language" ("contentobject_state_id", "description", "language_id", "name") +VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked') +-- ibexa:sql-statement-separator +INSERT INTO "ezcobj_state_link" ("contentobject_id", "contentobject_state_id") +VALUES ( 1, 1), + ( 4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1) +-- ibexa:sql-statement-separator +INSERT INTO "ezcontent_language" ("disabled", "id", "locale", "name") +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)') +-- ibexa:sql-statement-separator +INSERT INTO "ezcontentclass" ("always_available", "contentobject_name", "created", "creator_id", "id", "identifier", "initial_language_id", "is_container", "language_mask", "modified", "modifier_id", "remote_id", "serialized_description_list", "serialized_name_list", "sort_field", "sort_order", "url_alias_name", "version") +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:"eng-GB";s:6:"Folder";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:"eng-GB";s:7:"Article";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0) +-- ibexa:sql-statement-separator +INSERT INTO "ezcontentclass_attribute" ("can_translate", "category", "contentclass_id", "data_float1", "data_float2", "data_float3", "data_float4", "data_int1", "data_int2", "data_int3", "data_int4", "data_text1", "data_text2", "data_text3", "data_text4", "data_text5", "data_type_string", "id", "identifier", "is_information_collector", "is_required", "is_searchable", "is_thumbnail", "placement", "serialized_data_text", "serialized_description_list", "serialized_name_list", "version") +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,FALSE,1,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:4:"Name";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:10:"First name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Last name";s:16:"always-available";s:6:"eng-GB";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:12:"User account";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:7:"Caption";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,TRUE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,FALSE,3,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:17:"Short description";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Intro";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,FALSE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Body";s:16:"always-available";s:6:"eng-GB";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,FALSE,6,NULL,NULL,'a:2:{s:6:"eng-GB";s:15:"Enable comments";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Short title";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:6:"Author";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,FALSE,7,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,FALSE,2,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:10:"Short name";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,FALSE,4,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:11:"Description";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,TRUE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0) +-- ibexa:sql-statement-separator +INSERT INTO "ezcontentclass_classgroup" ("contentclass_id", "contentclass_version", "group_id", "group_name") +VALUES (1,0,1,'Content'), + (2,0,1,'Content'), + (3,0,2,'Users'), + (4,0,2,'Users'), + (5,0,3,'Media'), + (12,0,3,'Media') +-- ibexa:sql-statement-separator +INSERT INTO "ezcontentclass_name" ("contentclass_id", "contentclass_version", "language_id", "language_locale", "name") +VALUES (1,0,2,'eng-GB','Folder'), + (2,0,3,'eng-GB','Article'), + (3,0,3,'eng-GB','User group'), + (4,0,3,'eng-GB','User'), + (5,0,3,'eng-GB','Image'), + (12,0,3,'eng-GB','File') +-- ibexa:sql-statement-separator +INSERT INTO "ezcontentclassgroup" ("created", "creator_id", "id", "modified", "modifier_id", "name") +VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media') +-- ibexa:sql-statement-separator +INSERT INTO "ezcontentobject" ("contentclass_id", "current_version", "id", "initial_language_id", "language_mask", "modified", "name", "owner_id", "published", "remote_id", "section_id", "status") +VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1) +-- ibexa:sql-statement-separator +INSERT INTO "ezcontentobject_attribute" ("attribute_original_id", "contentclassattribute_id", "contentobject_id", "data_float", "data_int", "data_text", "data_type_string", "id", "language_code", "language_id", "sort_key_int", "sort_key_string", "version") +VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,E'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,E'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,E'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,E'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,E'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,E'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,E'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,E'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,E'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,E'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,E'\n\n','ezimage',180,'eng-GB',3,0,'',3) +-- ibexa:sql-statement-separator +INSERT INTO "ezcontentobject_name" ("content_translation", "content_version", "contentobject_id", "language_id", "name", "real_translation") +VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB') +-- ibexa:sql-statement-separator +INSERT INTO "ezcontentobject_tree" ("contentobject_id", "contentobject_is_published", "contentobject_version", "depth", "is_hidden", "is_invisible", "main_node_id", "modified_subnode", "node_id", "parent_node_id", "path_identification_string", "path_string", "priority", "remote_id", "sort_field", "sort_order") +VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1) +-- ibexa:sql-statement-separator +INSERT INTO "ezcontentobject_version" ("contentobject_id", "created", "creator_id", "id", "initial_language_id", "language_mask", "modified", "status", "user_id", "version", "workflow_event_pos") +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0) +-- ibexa:sql-statement-separator +INSERT INTO "eznode_assignment" ("contentobject_id", "contentobject_version", "from_node_id", "id", "is_main", "op_code", "parent_node", "parent_remote_id", "remote_id", "sort_field", "sort_order", "priority", "is_hidden") +VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0) +-- ibexa:sql-statement-separator +INSERT INTO "ezpolicy" ("function_name", "id", "module_name", "original_id", "role_id") +VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3) +-- ibexa:sql-statement-separator +INSERT INTO "ezpolicy_limitation" ("id", "identifier", "policy_id") +VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334) +-- ibexa:sql-statement-separator +INSERT INTO "ezpolicy_limitation_value" ("id", "limitation_id", "value") +VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12') +-- ibexa:sql-statement-separator +INSERT INTO "ezrole" ("id", "is_new", "name", "value", "version") +VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0) +-- ibexa:sql-statement-separator +INSERT INTO "ezsection" ("id", "identifier", "locale", "name", "navigation_part_identifier") +VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart') +-- ibexa:sql-statement-separator +INSERT INTO "ezsite_data" ("name", "value") +VALUES ('ibexa-release','4.6') +-- ibexa:sql-statement-separator +INSERT INTO "ezurlalias" ("destination_url", "forward_to_id", "id", "is_imported", "is_internal", "is_wildcard", "source_md5", "source_url") +VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia') +-- ibexa:sql-statement-separator +INSERT INTO "ezurlalias_ml" ("action", "action_type", "alias_redirects", "id", "is_alias", "is_original", "lang_mask", "link", "parent", "text", "text_md5") +VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0') +-- ibexa:sql-statement-separator +INSERT INTO "ezurlalias_ml_incr" ("id") +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37) +-- ibexa:sql-statement-separator +INSERT INTO "ezuser" ("contentobject_id", "email", "login", "password_hash", "password_hash_type") +VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7) +-- ibexa:sql-statement-separator +INSERT INTO "ezuser_role" ("contentobject_id", "id", "limit_identifier", "limit_value", "role_id") +VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4) +-- ibexa:sql-statement-separator +INSERT INTO "ezuser_setting" ("is_enabled", "max_login", "user_id") +VALUES (1, 1000, 10), + (1, 10, 14) +-- ibexa:sql-statement-separator +INSERT INTO "ezpreferences" ("name", "user_id", "value") +SELECT 'focus_mode', u.contentobject_id, '0' FROM "ezuser" u WHERE u.login = 'admin' +-- ibexa:sql-statement-separator +-- Set proper sequence values after inserting data +SELECT SETVAL('ezcobj_state_group_id_seq', COALESCE(MAX(id), 1) ) FROM ezcobj_state_group +-- ibexa:sql-statement-separator +SELECT SETVAL('ezcobj_state_id_seq', COALESCE(MAX(id), 1) ) FROM ezcobj_state +-- ibexa:sql-statement-separator +SELECT SETVAL('ezcontentbrowsebookmark_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentbrowsebookmark +-- ibexa:sql-statement-separator +SELECT SETVAL('ezcontentclass_attribute_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclass_attribute +-- ibexa:sql-statement-separator +SELECT SETVAL('ezcontentclass_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclass +-- ibexa:sql-statement-separator +SELECT SETVAL('ezcontentclassgroup_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclassgroup +-- ibexa:sql-statement-separator +SELECT SETVAL('ezcontentobject_attribute_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_attribute +-- ibexa:sql-statement-separator +SELECT SETVAL('ezcontentobject_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject +-- ibexa:sql-statement-separator +SELECT SETVAL('ezcontentobject_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_link +-- ibexa:sql-statement-separator +SELECT SETVAL('ezcontentobject_tree_node_id_seq', COALESCE(MAX(node_id), 1) ) FROM ezcontentobject_tree +-- ibexa:sql-statement-separator +SELECT SETVAL('ezcontentobject_version_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_version +-- ibexa:sql-statement-separator +SELECT SETVAL('ezimagefile_id_seq', COALESCE(MAX(id), 1) ) FROM ezimagefile +-- ibexa:sql-statement-separator +SELECT SETVAL('ezkeyword_attribute_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezkeyword_attribute_link +-- ibexa:sql-statement-separator +SELECT SETVAL('ezkeyword_id_seq', COALESCE(MAX(id), 1) ) FROM ezkeyword +-- ibexa:sql-statement-separator +SELECT SETVAL('eznode_assignment_id_seq', COALESCE(MAX(id), 1) ) FROM eznode_assignment +-- ibexa:sql-statement-separator +SELECT SETVAL('eznotification_id_seq', COALESCE(MAX(id), 1) ) FROM eznotification +-- ibexa:sql-statement-separator +SELECT SETVAL('ezpackage_id_seq', COALESCE(MAX(id), 1) ) FROM ezpackage +-- ibexa:sql-statement-separator +SELECT SETVAL('ezpolicy_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy +-- ibexa:sql-statement-separator +SELECT SETVAL('ezpolicy_limitation_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation +-- ibexa:sql-statement-separator +SELECT SETVAL('ezpolicy_limitation_value_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation_value +-- ibexa:sql-statement-separator +SELECT SETVAL('ezpreferences_id_seq', COALESCE(MAX(id), 1) ) FROM ezpreferences +-- ibexa:sql-statement-separator +SELECT SETVAL('ezrole_id_seq', COALESCE(MAX(id), 1) ) FROM ezrole +-- ibexa:sql-statement-separator +SELECT SETVAL('ezsearch_object_word_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezsearch_object_word_link +-- ibexa:sql-statement-separator +SELECT SETVAL('ezsearch_word_id_seq', COALESCE(MAX(id), 1) ) FROM ezsearch_word +-- ibexa:sql-statement-separator +SELECT SETVAL('ezsection_id_seq', COALESCE(MAX(id), 1) ) FROM ezsection +-- ibexa:sql-statement-separator +SELECT SETVAL('ezurl_id_seq', COALESCE(MAX(id), 1) ) FROM ezurl +-- ibexa:sql-statement-separator +SELECT SETVAL('ezurlalias_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlalias +-- ibexa:sql-statement-separator +SELECT SETVAL('ezurlalias_ml_incr_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlalias_ml_incr +-- ibexa:sql-statement-separator +SELECT SETVAL('ezurlwildcard_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlwildcard +-- ibexa:sql-statement-separator +SELECT SETVAL('ezuser_accountkey_id_seq', COALESCE(MAX(id), 1) ) FROM ezuser_accountkey +-- ibexa:sql-statement-separator +SELECT SETVAL('ezuser_role_id_seq', COALESCE(MAX(id), 1) ) FROM ezuser_role diff --git a/src/bundle/RepositoryInstaller/Migration/sql/import-data-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/import-data-sqlite.sql new file mode 100644 index 0000000000..f06caa6c82 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/import-data-sqlite.sql @@ -0,0 +1,304 @@ +INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) +VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1) +-- ibexa:sql-statement-separator +INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) +VALUES (2,2,'ez_lock',3) +-- ibexa:sql-statement-separator +INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) +VALUES (2,'',3,'Lock',2) +-- ibexa:sql-statement-separator +INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) +VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked') +-- ibexa:sql-statement-separator +INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) +VALUES (1, 1), + (4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1) +-- ibexa:sql-statement-separator +INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)') +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0) +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0) +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) +VALUES (1, 0, 1, 'Content'), + (2, 0, 1, 'Content'), + (3, 0, 2, 'Users'), + (4, 0, 2, 'Users'), + (5, 0, 3, 'Media'), + (12, 0, 3, 'Media') +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) +VALUES (1, 0, 2, 'eng-GB', 'Folder'), + (2, 0, 3, 'eng-GB', 'Article'), + (3, 0, 3, 'eng-GB', 'User group'), + (4, 0, 3, 'eng-GB', 'User'), + (5, 0, 3, 'eng-GB', 'Image'), + (12, 0, 3, 'eng-GB', 'File') +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) +VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media') +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) +VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1) +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) +VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ezrichtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ezstring',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ezstring',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ezstring',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ezstring',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ezuser',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ezstring',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ezstring',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ezstring',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ezstring',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ezstring',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ezstring',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ezstring',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3) +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) +VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB') +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) +VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1) +-- ibexa:sql-statement-separator +INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0) +-- ibexa:sql-statement-separator +INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) +VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0) +-- ibexa:sql-statement-separator +INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) +VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3) +-- ibexa:sql-statement-separator +INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) +VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334) +-- ibexa:sql-statement-separator +INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) +VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12') +-- ibexa:sql-statement-separator +INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) +VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0) +-- ibexa:sql-statement-separator +INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) +VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart') +-- ibexa:sql-statement-separator +INSERT INTO `ezsite_data` (`name`, `value`) +VALUES ('ibexa-release','4.6') +-- ibexa:sql-statement-separator +INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) +VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia') +-- ibexa:sql-statement-separator +INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) +VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0') +-- ibexa:sql-statement-separator +INSERT INTO `ezurlalias_ml_incr` (`id`) +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37) +-- ibexa:sql-statement-separator +INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) +VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7) +-- ibexa:sql-statement-separator +INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) +VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4) +-- ibexa:sql-statement-separator +INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) +VALUES (1,1000,10), + (1,10,14) +-- ibexa:sql-statement-separator +INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) +SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin' diff --git a/src/bundle/RepositoryInstaller/Migration/sql/install-schema-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-mysql.sql new file mode 100644 index 0000000000..3004bc86f7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-mysql.sql @@ -0,0 +1,679 @@ +CREATE TABLE ezbinaryfile ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + download_count INT DEFAULT 0 NOT NULL, + filename VARCHAR(255) DEFAULT '' NOT NULL, + mime_type VARCHAR(255) DEFAULT '' NOT NULL, + original_filename VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_attribute_id, version) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state ( + id INT AUTO_INCREMENT NOT NULL, + default_language_id BIGINT DEFAULT 0 NOT NULL, + group_id INT DEFAULT 0 NOT NULL, + identifier VARCHAR(45) DEFAULT '' NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + priority INT DEFAULT 0 NOT NULL, + INDEX ezcobj_state_priority (priority), + INDEX ezcobj_state_lmask (language_mask), + UNIQUE INDEX ezcobj_state_identifier (group_id, identifier), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state_group ( + id INT AUTO_INCREMENT NOT NULL, + default_language_id BIGINT DEFAULT 0 NOT NULL, + identifier VARCHAR(45) DEFAULT '' NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + INDEX ezcobj_state_group_lmask (language_mask), + UNIQUE INDEX ezcobj_state_group_identifier (identifier), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state_group_language ( + contentobject_state_group_id INT DEFAULT 0 NOT NULL, + real_language_id BIGINT DEFAULT 0 NOT NULL, + description LONGTEXT NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + name VARCHAR(45) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_state_group_id, real_language_id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state_language ( + contentobject_state_id INT DEFAULT 0 NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + description LONGTEXT NOT NULL, + name VARCHAR(45) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_state_id, language_id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state_link ( + contentobject_id INT DEFAULT 0 NOT NULL, + contentobject_state_id INT DEFAULT 0 NOT NULL, + PRIMARY KEY(contentobject_id, contentobject_state_id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontent_language ( + id BIGINT DEFAULT 0 NOT NULL, + disabled INT DEFAULT 0 NOT NULL, + locale VARCHAR(20) DEFAULT '' NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + INDEX ezcontent_language_name (name(191)), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezuser ( + contentobject_id INT DEFAULT 0 NOT NULL, + email VARCHAR(150) DEFAULT '' NOT NULL, + login VARCHAR(150) DEFAULT '' NOT NULL, + password_hash VARCHAR(255) DEFAULT NULL, + password_hash_type INT DEFAULT 1 NOT NULL, + password_updated_at INT DEFAULT NULL, + UNIQUE INDEX ezuser_login (login), + PRIMARY KEY(contentobject_id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_tree ( + node_id INT AUTO_INCREMENT NOT NULL, + contentobject_id INT DEFAULT NULL, + contentobject_is_published INT DEFAULT NULL, + contentobject_version INT DEFAULT NULL, + depth INT DEFAULT 0 NOT NULL, + is_hidden INT DEFAULT 0 NOT NULL, + is_invisible INT DEFAULT 0 NOT NULL, + main_node_id INT DEFAULT NULL, + modified_subnode INT DEFAULT 0, + parent_node_id INT DEFAULT 0 NOT NULL, + path_identification_string LONGTEXT DEFAULT NULL, + path_string VARCHAR(255) DEFAULT '' NOT NULL, + priority INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + sort_field INT DEFAULT 1, + sort_order INT DEFAULT 1, + INDEX ezcontentobject_tree_p_node_id (parent_node_id), + INDEX ezcontentobject_tree_path_ident (path_identification_string(50)), + INDEX ezcontentobject_tree_contentobject_id_path_string (path_string(191), contentobject_id), + INDEX ezcontentobject_tree_co_id (contentobject_id), + INDEX ezcontentobject_tree_depth (depth), + INDEX ezcontentobject_tree_path (path_string(191)), + INDEX modified_subnode (modified_subnode), + INDEX ezcontentobject_tree_remote_id (remote_id), + PRIMARY KEY(node_id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentbrowsebookmark ( + id INT AUTO_INCREMENT NOT NULL, + node_id INT DEFAULT 0 NOT NULL, + user_id INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + INDEX ezcontentbrowsebookmark_location (node_id), + INDEX ezcontentbrowsebookmark_user (user_id), + INDEX ezcontentbrowsebookmark_user_location (user_id, node_id), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass ( + id INT AUTO_INCREMENT NOT NULL, + version INT DEFAULT 0 NOT NULL, + always_available INT DEFAULT 0 NOT NULL, + contentobject_name VARCHAR(255) DEFAULT NULL, + created INT DEFAULT 0 NOT NULL, + creator_id INT DEFAULT 0 NOT NULL, + identifier VARCHAR(50) DEFAULT '' NOT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + is_container INT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + modifier_id INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + serialized_description_list LONGTEXT DEFAULT NULL, + serialized_name_list LONGTEXT DEFAULT NULL, + sort_field INT DEFAULT 1 NOT NULL, + sort_order INT DEFAULT 1 NOT NULL, + url_alias_name VARCHAR(255) DEFAULT NULL, + INDEX ezcontentclass_version (version), + INDEX ezcontentclass_identifier (identifier, version), + PRIMARY KEY(id, version) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass_attribute ( + id INT AUTO_INCREMENT NOT NULL, + version INT DEFAULT 0 NOT NULL, + can_translate INT DEFAULT 1, + category VARCHAR(25) DEFAULT '' NOT NULL, + contentclass_id INT DEFAULT 0 NOT NULL, + data_float1 DOUBLE PRECISION DEFAULT NULL, + data_float2 DOUBLE PRECISION DEFAULT NULL, + data_float3 DOUBLE PRECISION DEFAULT NULL, + data_float4 DOUBLE PRECISION DEFAULT NULL, + data_int1 INT DEFAULT NULL, + data_int2 INT DEFAULT NULL, + data_int3 INT DEFAULT NULL, + data_int4 INT DEFAULT NULL, + data_text1 VARCHAR(255) DEFAULT NULL, + data_text2 VARCHAR(50) DEFAULT NULL, + data_text3 VARCHAR(50) DEFAULT NULL, + data_text4 VARCHAR(255) DEFAULT NULL, + data_text5 LONGTEXT DEFAULT NULL, + data_type_string VARCHAR(50) DEFAULT '' NOT NULL, + identifier VARCHAR(50) DEFAULT '' NOT NULL, + is_information_collector INT DEFAULT 0 NOT NULL, + is_required INT DEFAULT 0 NOT NULL, + is_searchable INT DEFAULT 0 NOT NULL, + is_thumbnail TINYINT(1) DEFAULT '0' NOT NULL, + placement INT DEFAULT 0 NOT NULL, + serialized_data_text LONGTEXT DEFAULT NULL, + serialized_description_list LONGTEXT DEFAULT NULL, + serialized_name_list LONGTEXT NOT NULL, + INDEX ezcontentclass_attr_ccid (contentclass_id), + INDEX ezcontentclass_attr_dts (data_type_string), + PRIMARY KEY(id, version) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass_attribute_ml ( + contentclass_attribute_id INT NOT NULL, + version INT NOT NULL, + language_id BIGINT NOT NULL, + name VARCHAR(255) NOT NULL, + description TEXT DEFAULT NULL, + data_text TEXT DEFAULT NULL, + data_json TEXT DEFAULT NULL, + INDEX ezcontentclass_attribute_ml_lang_fk (language_id), + PRIMARY KEY(contentclass_attribute_id, version, language_id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass_classgroup ( + contentclass_id INT DEFAULT 0 NOT NULL, + contentclass_version INT DEFAULT 0 NOT NULL, + group_id INT DEFAULT 0 NOT NULL, + group_name VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(contentclass_id, contentclass_version, group_id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass_name ( + contentclass_id INT DEFAULT 0 NOT NULL, + contentclass_version INT DEFAULT 0 NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + language_locale VARCHAR(20) DEFAULT '' NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(contentclass_id, contentclass_version, language_id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclassgroup ( + id INT AUTO_INCREMENT NOT NULL, + created INT DEFAULT 0 NOT NULL, + creator_id INT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + modifier_id INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + is_system TINYINT(1) DEFAULT '0' NOT NULL, + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject ( + id INT AUTO_INCREMENT NOT NULL, + contentclass_id INT DEFAULT 0 NOT NULL, + current_version INT DEFAULT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + owner_id INT DEFAULT 0 NOT NULL, + published INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT NULL, + section_id INT DEFAULT 0 NOT NULL, + status INT DEFAULT 0, + is_hidden TINYINT(1) DEFAULT '0' NOT NULL, + INDEX ezcontentobject_classid (contentclass_id), + INDEX ezcontentobject_lmask (language_mask), + INDEX ezcontentobject_pub (published), + INDEX ezcontentobject_section (section_id), + INDEX ezcontentobject_currentversion (current_version), + INDEX ezcontentobject_owner (owner_id), + INDEX ezcontentobject_status (status), + UNIQUE INDEX ezcontentobject_remote_id (remote_id), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_attribute ( + id INT AUTO_INCREMENT NOT NULL, + version INT DEFAULT 0 NOT NULL, + attribute_original_id INT DEFAULT 0, + contentclassattribute_id INT DEFAULT 0 NOT NULL, + contentobject_id INT DEFAULT 0 NOT NULL, + data_float DOUBLE PRECISION DEFAULT NULL, + data_int INT DEFAULT NULL, + data_text LONGTEXT DEFAULT NULL, + data_type_string VARCHAR(50) DEFAULT '', + language_code VARCHAR(20) DEFAULT '' NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + sort_key_int INT DEFAULT 0 NOT NULL, + sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, + INDEX ezcontentobject_attribute_co_id_ver_lang_code (contentobject_id, version, language_code), + INDEX ezcontentobject_classattr_id (contentclassattribute_id), + INDEX sort_key_string (sort_key_string(191)), + INDEX ezcontentobject_attribute_language_code (language_code), + INDEX sort_key_int (sort_key_int), + INDEX ezcontentobject_attribute_co_id_ver (contentobject_id, version), + PRIMARY KEY(id, version) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_link ( + id INT AUTO_INCREMENT NOT NULL, + contentclassattribute_id INT DEFAULT 0 NOT NULL, + from_contentobject_id INT DEFAULT 0 NOT NULL, + from_contentobject_version INT DEFAULT 0 NOT NULL, + relation_type INT DEFAULT 1 NOT NULL, + to_contentobject_id INT DEFAULT 0 NOT NULL, + INDEX ezco_link_to_co_id (to_contentobject_id), + INDEX ezco_link_from (from_contentobject_id, from_contentobject_version, contentclassattribute_id), + INDEX ezco_link_cca_id (contentclassattribute_id), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_name ( + contentobject_id INT DEFAULT 0 NOT NULL, + content_version INT DEFAULT 0 NOT NULL, + content_translation VARCHAR(20) DEFAULT '' NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + real_translation VARCHAR(20) DEFAULT NULL, + INDEX ezcontentobject_name_lang_id (language_id), + INDEX ezcontentobject_name_cov_id (content_version), + INDEX ezcontentobject_name_name (name(191)), + PRIMARY KEY(contentobject_id, content_version, content_translation) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_trash ( + node_id INT DEFAULT 0 NOT NULL, + contentobject_id INT DEFAULT NULL, + contentobject_version INT DEFAULT NULL, + depth INT DEFAULT 0 NOT NULL, + is_hidden INT DEFAULT 0 NOT NULL, + is_invisible INT DEFAULT 0 NOT NULL, + main_node_id INT DEFAULT NULL, + modified_subnode INT DEFAULT 0, + parent_node_id INT DEFAULT 0 NOT NULL, + path_identification_string LONGTEXT DEFAULT NULL, + path_string VARCHAR(255) DEFAULT '' NOT NULL, + priority INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + sort_field INT DEFAULT 1, + sort_order INT DEFAULT 1, + trashed INT DEFAULT 0 NOT NULL, + INDEX ezcobj_trash_depth (depth), + INDEX ezcobj_trash_p_node_id (parent_node_id), + INDEX ezcobj_trash_path_ident (path_identification_string(50)), + INDEX ezcobj_trash_co_id (contentobject_id), + INDEX ezcobj_trash_modified_subnode (modified_subnode), + INDEX ezcobj_trash_path (path_string(191)), + PRIMARY KEY(node_id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_version ( + id INT AUTO_INCREMENT NOT NULL, + contentobject_id INT DEFAULT NULL, + created INT DEFAULT 0 NOT NULL, + creator_id INT DEFAULT 0 NOT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + status INT DEFAULT 0 NOT NULL, + user_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + workflow_event_pos INT DEFAULT 0, + INDEX ezcobj_version_status (status), + INDEX idx_object_version_objver (contentobject_id, version), + INDEX ezcontobj_version_obj_status (contentobject_id, status), + INDEX ezcobj_version_creator_id (creator_id), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezdfsfile ( + name_hash VARCHAR(34) DEFAULT '' NOT NULL, + name TEXT NOT NULL, + name_trunk TEXT NOT NULL, + datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, + scope VARCHAR(25) DEFAULT '' NOT NULL, + size BIGINT UNSIGNED DEFAULT 0 NOT NULL, + mtime INT DEFAULT 0 NOT NULL, + expired TINYINT(1) DEFAULT '0' NOT NULL, + status TINYINT(1) DEFAULT '0' NOT NULL, + INDEX ezdfsfile_name_trunk (name_trunk(191)), + INDEX ezdfsfile_expired_name (expired, name(191)), + INDEX ezdfsfile_name (name(191)), + INDEX ezdfsfile_mtime (mtime), + PRIMARY KEY(name_hash) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezgmaplocation ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + contentobject_version INT DEFAULT 0 NOT NULL, + latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, + longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, + address VARCHAR(150) DEFAULT NULL, + INDEX latitude_longitude_key (latitude, longitude), + PRIMARY KEY(contentobject_attribute_id, contentobject_version) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezimagefile ( + id INT AUTO_INCREMENT NOT NULL, + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + filepath LONGTEXT NOT NULL, + INDEX ezimagefile_file (filepath(191)), + INDEX ezimagefile_coid (contentobject_attribute_id), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezkeyword ( + id INT AUTO_INCREMENT NOT NULL, + class_id INT DEFAULT 0 NOT NULL, + keyword VARCHAR(255) DEFAULT NULL, + INDEX ezkeyword_keyword (keyword(191)), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezkeyword_attribute_link ( + id INT AUTO_INCREMENT NOT NULL, + keyword_id INT DEFAULT 0 NOT NULL, + objectattribute_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + INDEX ezkeyword_attr_link_oaid (objectattribute_id), + INDEX ezkeyword_attr_link_kid_oaid (keyword_id, objectattribute_id), + INDEX ezkeyword_attr_link_oaid_ver (objectattribute_id, version), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezmedia ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + controls VARCHAR(50) DEFAULT NULL, + filename VARCHAR(255) DEFAULT '' NOT NULL, + has_controller INT DEFAULT 0, + height INT DEFAULT NULL, + is_autoplay INT DEFAULT 0, + is_loop INT DEFAULT 0, + mime_type VARCHAR(50) DEFAULT '' NOT NULL, + original_filename VARCHAR(255) DEFAULT '' NOT NULL, + pluginspage VARCHAR(255) DEFAULT NULL, + quality VARCHAR(50) DEFAULT NULL, + width INT DEFAULT NULL, + PRIMARY KEY(contentobject_attribute_id, version) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE eznode_assignment ( + id INT AUTO_INCREMENT NOT NULL, + contentobject_id INT DEFAULT NULL, + contentobject_version INT DEFAULT NULL, + from_node_id INT DEFAULT 0, + is_main INT DEFAULT 0 NOT NULL, + op_code INT DEFAULT 0 NOT NULL, + parent_node INT DEFAULT NULL, + parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, + remote_id VARCHAR(100) DEFAULT '0' NOT NULL, + sort_field INT DEFAULT 1, + sort_order INT DEFAULT 1, + priority INT DEFAULT 0 NOT NULL, + is_hidden INT DEFAULT 0 NOT NULL, + INDEX eznode_assignment_is_main (is_main), + INDEX eznode_assignment_coid_cov (contentobject_id, contentobject_version), + INDEX eznode_assignment_parent_node (parent_node), + INDEX eznode_assignment_co_version (contentobject_version), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE eznotification ( + id INT AUTO_INCREMENT NOT NULL, + owner_id INT DEFAULT 0 NOT NULL, + is_pending TINYINT(1) DEFAULT '1' NOT NULL, + type VARCHAR(128) DEFAULT '' NOT NULL, + created INT DEFAULT 0 NOT NULL, + data LONGTEXT DEFAULT NULL, + INDEX eznotification_owner_is_pending (owner_id, is_pending), + INDEX eznotification_owner (owner_id), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezpackage ( + id INT AUTO_INCREMENT NOT NULL, + install_date INT DEFAULT 0 NOT NULL, + name VARCHAR(100) DEFAULT '' NOT NULL, + version VARCHAR(30) DEFAULT '0' NOT NULL, + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezpolicy ( + id INT AUTO_INCREMENT NOT NULL, + function_name VARCHAR(255) DEFAULT NULL, + module_name VARCHAR(255) DEFAULT NULL, + original_id INT DEFAULT 0 NOT NULL, + role_id INT DEFAULT NULL, + INDEX ezpolicy_role_id (role_id), + INDEX ezpolicy_original_id (original_id), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezpolicy_limitation ( + id INT AUTO_INCREMENT NOT NULL, + identifier VARCHAR(255) DEFAULT '' NOT NULL, + policy_id INT DEFAULT NULL, + INDEX policy_id (policy_id), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezpolicy_limitation_value ( + id INT AUTO_INCREMENT NOT NULL, + limitation_id INT DEFAULT NULL, + value VARCHAR(255) DEFAULT NULL, + INDEX ezpolicy_limit_value_limit_id (limitation_id), + INDEX ezpolicy_limitation_value_val (value(191)), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezpreferences ( + id INT AUTO_INCREMENT NOT NULL, + name VARCHAR(100) DEFAULT NULL, + user_id INT DEFAULT 0 NOT NULL, + value LONGTEXT DEFAULT NULL, + INDEX ezpreferences_user_id_idx (user_id, name), + INDEX ezpreferences_name (name), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezrole ( + id INT AUTO_INCREMENT NOT NULL, + is_new INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + value CHAR(1) DEFAULT NULL, + version INT DEFAULT 0, + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezsearch_object_word_link ( + id INT AUTO_INCREMENT NOT NULL, + contentclass_attribute_id INT DEFAULT 0 NOT NULL, + contentclass_id INT DEFAULT 0 NOT NULL, + contentobject_id INT DEFAULT 0 NOT NULL, + frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, + identifier VARCHAR(255) DEFAULT '' NOT NULL, + integer_value INT DEFAULT 0 NOT NULL, + next_word_id INT DEFAULT 0 NOT NULL, + placement INT DEFAULT 0 NOT NULL, + prev_word_id INT DEFAULT 0 NOT NULL, + published INT DEFAULT 0 NOT NULL, + section_id INT DEFAULT 0 NOT NULL, + word_id INT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + INDEX ezsearch_object_word_link_object (contentobject_id), + INDEX ezsearch_object_word_link_identifier (identifier(191)), + INDEX ezsearch_object_word_link_integer_value (integer_value), + INDEX ezsearch_object_word_link_word (word_id), + INDEX ezsearch_object_word_link_frequency (frequency), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezsearch_word ( + id INT AUTO_INCREMENT NOT NULL, + object_count INT DEFAULT 0 NOT NULL, + word VARCHAR(150) DEFAULT NULL, + INDEX ezsearch_word_word_i (word), + INDEX ezsearch_word_obj_count (object_count), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezsection ( + id INT AUTO_INCREMENT NOT NULL, + identifier VARCHAR(255) DEFAULT NULL, + locale VARCHAR(255) DEFAULT NULL, + name VARCHAR(255) DEFAULT NULL, + navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezsite_data ( + name VARCHAR(60) DEFAULT '' NOT NULL, + value LONGTEXT NOT NULL, + PRIMARY KEY(name) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezurl ( + id INT AUTO_INCREMENT NOT NULL, + created INT DEFAULT 0 NOT NULL, + is_valid INT DEFAULT 1 NOT NULL, + last_checked INT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, + url LONGTEXT DEFAULT NULL, + INDEX ezurl_url (url(191)), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezurl_object_link ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + contentobject_attribute_version INT DEFAULT 0 NOT NULL, + url_id INT DEFAULT 0 NOT NULL, + INDEX ezurl_ol_coa_id (contentobject_attribute_id), + INDEX ezurl_ol_url_id (url_id), + INDEX ezurl_ol_coa_version (contentobject_attribute_version), + INDEX ezurl_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezurlalias ( + id INT AUTO_INCREMENT NOT NULL, + destination_url LONGTEXT NOT NULL, + forward_to_id INT DEFAULT 0 NOT NULL, + is_imported INT DEFAULT 0 NOT NULL, + is_internal INT DEFAULT 1 NOT NULL, + is_wildcard INT DEFAULT 0 NOT NULL, + source_md5 VARCHAR(32) DEFAULT NULL, + source_url LONGTEXT NOT NULL, + INDEX ezurlalias_source_md5 (source_md5), + INDEX ezurlalias_wcard_fwd (is_wildcard, forward_to_id), + INDEX ezurlalias_forward_to_id (forward_to_id), + INDEX ezurlalias_imp_wcard_fwd (is_imported, is_wildcard, forward_to_id), + INDEX ezurlalias_source_url (source_url(191)), + INDEX ezurlalias_desturl (destination_url(191)), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezurlalias_ml ( + parent INT DEFAULT 0 NOT NULL, + text_md5 VARCHAR(32) DEFAULT '' NOT NULL, + action LONGTEXT NOT NULL, + action_type VARCHAR(32) DEFAULT '' NOT NULL, + alias_redirects INT DEFAULT 1 NOT NULL, + id INT DEFAULT 0 NOT NULL, + is_alias INT DEFAULT 0 NOT NULL, + is_original INT DEFAULT 0 NOT NULL, + lang_mask BIGINT DEFAULT 0 NOT NULL, + link INT DEFAULT 0 NOT NULL, + text LONGTEXT NOT NULL, + INDEX ezurlalias_ml_actt_org_al (action_type, is_original, is_alias), + INDEX ezurlalias_ml_text_lang (text(32), lang_mask, parent), + INDEX ezurlalias_ml_par_act_id_lnk (action(32), id, link, parent), + INDEX ezurlalias_ml_par_lnk_txt (parent, text(32), link), + INDEX ezurlalias_ml_act_org (action(32), is_original), + INDEX ezurlalias_ml_text (text(32), id, link), + INDEX ezurlalias_ml_link (link), + INDEX ezurlalias_ml_id (id), + PRIMARY KEY(parent, text_md5) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezurlalias_ml_incr ( + id INT AUTO_INCREMENT NOT NULL, + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezurlwildcard ( + id INT AUTO_INCREMENT NOT NULL, + destination_url LONGTEXT NOT NULL, + source_url LONGTEXT NOT NULL, + type INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezuser_accountkey ( + id INT AUTO_INCREMENT NOT NULL, + hash_key VARCHAR(32) DEFAULT '' NOT NULL, + time INT DEFAULT 0 NOT NULL, + user_id INT DEFAULT 0 NOT NULL, + INDEX hash_key (hash_key), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezuser_role ( + id INT AUTO_INCREMENT NOT NULL, + contentobject_id INT DEFAULT NULL, + limit_identifier VARCHAR(255) DEFAULT '', + limit_value VARCHAR(255) DEFAULT '', + role_id INT DEFAULT NULL, + INDEX ezuser_role_role_id (role_id), + INDEX ezuser_role_contentobject_id (contentobject_id), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ezuser_setting ( + user_id INT DEFAULT 0 NOT NULL, + is_enabled INT DEFAULT 0 NOT NULL, + max_login INT DEFAULT NULL, + PRIMARY KEY(user_id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ibexa_setting ( + id INT AUTO_INCREMENT NOT NULL, + `group` VARCHAR(128) NOT NULL, + identifier VARCHAR(128) NOT NULL, + value JSON NOT NULL, + INDEX ibexa_setting_id (id), + UNIQUE INDEX ibexa_setting_group_identifier (`group`, identifier), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ibexa_token_type ( + id INT AUTO_INCREMENT NOT NULL, + identifier VARCHAR(64) NOT NULL, + UNIQUE INDEX ibexa_token_type_unique (identifier), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +CREATE TABLE ibexa_token ( + id INT AUTO_INCREMENT NOT NULL, + type_id INT NOT NULL, + token VARCHAR(255) NOT NULL, + identifier VARCHAR(128) DEFAULT NULL, + created INT DEFAULT 0 NOT NULL, + expires INT DEFAULT 0 NOT NULL, + revoked TINYINT(1) DEFAULT '0' NOT NULL, + INDEX IDX_B5412887C54C8C93 (type_id), + UNIQUE INDEX ibexa_token_unique (token, identifier, type_id), + PRIMARY KEY(id) +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE diff --git a/src/bundle/RepositoryInstaller/Migration/sql/install-schema-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-postgresql.sql new file mode 100644 index 0000000000..f659882f0f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-postgresql.sql @@ -0,0 +1,790 @@ +CREATE TABLE ezbinaryfile ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + download_count INT DEFAULT 0 NOT NULL, + filename VARCHAR(255) DEFAULT '' NOT NULL, + mime_type VARCHAR(255) DEFAULT '' NOT NULL, + original_filename VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_attribute_id, version) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state ( + id SERIAL NOT NULL, + default_language_id BIGINT DEFAULT 0 NOT NULL, + group_id INT DEFAULT 0 NOT NULL, + identifier VARCHAR(45) DEFAULT '' NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + priority INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier) +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state_group ( + id SERIAL NOT NULL, + default_language_id BIGINT DEFAULT 0 NOT NULL, + identifier VARCHAR(45) DEFAULT '' NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier) +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state_group_language ( + contentobject_state_group_id INT DEFAULT 0 NOT NULL, + real_language_id BIGINT DEFAULT 0 NOT NULL, + description TEXT NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + name VARCHAR(45) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_state_group_id, real_language_id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state_language ( + contentobject_state_id INT DEFAULT 0 NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + description TEXT NOT NULL, + name VARCHAR(45) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_state_id, language_id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state_link ( + contentobject_id INT DEFAULT 0 NOT NULL, + contentobject_state_id INT DEFAULT 0 NOT NULL, + PRIMARY KEY(contentobject_id, contentobject_state_id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontent_language ( + id BIGINT DEFAULT 0 NOT NULL, + disabled INT DEFAULT 0 NOT NULL, + locale VARCHAR(20) DEFAULT '' NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontent_language_name ON ezcontent_language (name) +-- ibexa:sql-statement-separator +CREATE TABLE ezuser ( + contentobject_id INT DEFAULT 0 NOT NULL, + email VARCHAR(150) DEFAULT '' NOT NULL, + login VARCHAR(150) DEFAULT '' NOT NULL, + password_hash VARCHAR(255) DEFAULT NULL, + password_hash_type INT DEFAULT 1 NOT NULL, + password_updated_at INT DEFAULT NULL, + PRIMARY KEY(contentobject_id) +) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ezuser_login ON ezuser (login) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_tree ( + node_id SERIAL NOT NULL, + contentobject_id INT DEFAULT NULL, + contentobject_is_published INT DEFAULT NULL, + contentobject_version INT DEFAULT NULL, + depth INT DEFAULT 0 NOT NULL, + is_hidden INT DEFAULT 0 NOT NULL, + is_invisible INT DEFAULT 0 NOT NULL, + main_node_id INT DEFAULT NULL, + modified_subnode INT DEFAULT 0, + parent_node_id INT DEFAULT 0 NOT NULL, + path_identification_string TEXT DEFAULT NULL, + path_string VARCHAR(255) DEFAULT '' NOT NULL, + priority INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + sort_field INT DEFAULT 1, + sort_order INT DEFAULT 1, + PRIMARY KEY(node_id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string) +-- ibexa:sql-statement-separator +CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentbrowsebookmark ( + id SERIAL NOT NULL, + node_id INT DEFAULT 0 NOT NULL, + user_id INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass ( + id SERIAL NOT NULL, + version INT DEFAULT 0 NOT NULL, + always_available INT DEFAULT 0 NOT NULL, + contentobject_name VARCHAR(255) DEFAULT NULL, + created INT DEFAULT 0 NOT NULL, + creator_id INT DEFAULT 0 NOT NULL, + identifier VARCHAR(50) DEFAULT '' NOT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + is_container INT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + modifier_id INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + serialized_description_list TEXT DEFAULT NULL, + serialized_name_list TEXT DEFAULT NULL, + sort_field INT DEFAULT 1 NOT NULL, + sort_order INT DEFAULT 1 NOT NULL, + url_alias_name VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(id, version) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentclass_version ON ezcontentclass (version) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass_attribute ( + id SERIAL NOT NULL, + version INT DEFAULT 0 NOT NULL, + can_translate INT DEFAULT 1, + category VARCHAR(25) DEFAULT '' NOT NULL, + contentclass_id INT DEFAULT 0 NOT NULL, + data_float1 DOUBLE PRECISION DEFAULT NULL, + data_float2 DOUBLE PRECISION DEFAULT NULL, + data_float3 DOUBLE PRECISION DEFAULT NULL, + data_float4 DOUBLE PRECISION DEFAULT NULL, + data_int1 INT DEFAULT NULL, + data_int2 INT DEFAULT NULL, + data_int3 INT DEFAULT NULL, + data_int4 INT DEFAULT NULL, + data_text1 VARCHAR(255) DEFAULT NULL, + data_text2 VARCHAR(50) DEFAULT NULL, + data_text3 VARCHAR(50) DEFAULT NULL, + data_text4 VARCHAR(255) DEFAULT NULL, + data_text5 TEXT DEFAULT NULL, + data_type_string VARCHAR(50) DEFAULT '' NOT NULL, + identifier VARCHAR(50) DEFAULT '' NOT NULL, + is_information_collector INT DEFAULT 0 NOT NULL, + is_required INT DEFAULT 0 NOT NULL, + is_searchable INT DEFAULT 0 NOT NULL, + is_thumbnail BOOLEAN DEFAULT 'false' NOT NULL, + placement INT DEFAULT 0 NOT NULL, + serialized_data_text TEXT DEFAULT NULL, + serialized_description_list TEXT DEFAULT NULL, + serialized_name_list TEXT NOT NULL, + PRIMARY KEY(id, version) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass_attribute_ml ( + contentclass_attribute_id INT NOT NULL, + version INT NOT NULL, + language_id BIGINT NOT NULL, + name VARCHAR(255) NOT NULL, + description TEXT DEFAULT NULL, + data_text TEXT DEFAULT NULL, + data_json TEXT DEFAULT NULL, + PRIMARY KEY(contentclass_attribute_id, version, language_id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass_classgroup ( + contentclass_id INT DEFAULT 0 NOT NULL, + contentclass_version INT DEFAULT 0 NOT NULL, + group_id INT DEFAULT 0 NOT NULL, + group_name VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(contentclass_id, contentclass_version, group_id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass_name ( + contentclass_id INT DEFAULT 0 NOT NULL, + contentclass_version INT DEFAULT 0 NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + language_locale VARCHAR(20) DEFAULT '' NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(contentclass_id, contentclass_version, language_id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclassgroup ( + id SERIAL NOT NULL, + created INT DEFAULT 0 NOT NULL, + creator_id INT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + modifier_id INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + is_system BOOLEAN DEFAULT 'false' NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject ( + id SERIAL NOT NULL, + contentclass_id INT DEFAULT 0 NOT NULL, + current_version INT DEFAULT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + owner_id INT DEFAULT 0 NOT NULL, + published INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT NULL, + section_id INT DEFAULT 0 NOT NULL, + status INT DEFAULT 0, + is_hidden BOOLEAN DEFAULT 'false' NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_pub ON ezcontentobject (published) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_status ON ezcontentobject (status) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_attribute ( + id SERIAL NOT NULL, + version INT DEFAULT 0 NOT NULL, + attribute_original_id INT DEFAULT 0, + contentclassattribute_id INT DEFAULT 0 NOT NULL, + contentobject_id INT DEFAULT 0 NOT NULL, + data_float DOUBLE PRECISION DEFAULT NULL, + data_int INT DEFAULT NULL, + data_text TEXT DEFAULT NULL, + data_type_string VARCHAR(50) DEFAULT '', + language_code VARCHAR(20) DEFAULT '' NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + sort_key_int INT DEFAULT 0 NOT NULL, + sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(id, version) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id) +-- ibexa:sql-statement-separator +CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code) +-- ibexa:sql-statement-separator +CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_link ( + id SERIAL NOT NULL, + contentclassattribute_id INT DEFAULT 0 NOT NULL, + from_contentobject_id INT DEFAULT 0 NOT NULL, + from_contentobject_version INT DEFAULT 0 NOT NULL, + relation_type INT DEFAULT 1 NOT NULL, + to_contentobject_id INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_name ( + contentobject_id INT DEFAULT 0 NOT NULL, + content_version INT DEFAULT 0 NOT NULL, + content_translation VARCHAR(20) DEFAULT '' NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + real_translation VARCHAR(20) DEFAULT NULL, + PRIMARY KEY(contentobject_id, content_version, content_translation) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_trash ( + node_id INT DEFAULT 0 NOT NULL, + contentobject_id INT DEFAULT NULL, + contentobject_version INT DEFAULT NULL, + depth INT DEFAULT 0 NOT NULL, + is_hidden INT DEFAULT 0 NOT NULL, + is_invisible INT DEFAULT 0 NOT NULL, + main_node_id INT DEFAULT NULL, + modified_subnode INT DEFAULT 0, + parent_node_id INT DEFAULT 0 NOT NULL, + path_identification_string TEXT DEFAULT NULL, + path_string VARCHAR(255) DEFAULT '' NOT NULL, + priority INT DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + sort_field INT DEFAULT 1, + sort_order INT DEFAULT 1, + trashed INT DEFAULT 0 NOT NULL, + PRIMARY KEY(node_id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_version ( + id SERIAL NOT NULL, + contentobject_id INT DEFAULT NULL, + created INT DEFAULT 0 NOT NULL, + creator_id INT DEFAULT 0 NOT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + status INT DEFAULT 0 NOT NULL, + user_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + workflow_event_pos INT DEFAULT 0, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status) +-- ibexa:sql-statement-separator +CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezdfsfile ( + name_hash VARCHAR(34) DEFAULT '' NOT NULL, + name TEXT NOT NULL, + name_trunk TEXT NOT NULL, + datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, + scope VARCHAR(25) DEFAULT '' NOT NULL, + size BIGINT DEFAULT 0 NOT NULL, + mtime INT DEFAULT 0 NOT NULL, + expired BOOLEAN DEFAULT 'false' NOT NULL, + status BOOLEAN DEFAULT 'false' NOT NULL, + PRIMARY KEY(name_hash) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk) +-- ibexa:sql-statement-separator +CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name) +-- ibexa:sql-statement-separator +CREATE INDEX ezdfsfile_name ON ezdfsfile (name) +-- ibexa:sql-statement-separator +CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime) +-- ibexa:sql-statement-separator +CREATE TABLE ezgmaplocation ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + contentobject_version INT DEFAULT 0 NOT NULL, + latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, + longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, + address VARCHAR(150) DEFAULT NULL, + PRIMARY KEY(contentobject_attribute_id, contentobject_version) +) +-- ibexa:sql-statement-separator +CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude) +-- ibexa:sql-statement-separator +CREATE TABLE ezimagefile ( + id SERIAL NOT NULL, + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + filepath TEXT NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezimagefile_file ON ezimagefile (filepath) +-- ibexa:sql-statement-separator +CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezkeyword ( + id SERIAL NOT NULL, + class_id INT DEFAULT 0 NOT NULL, + keyword VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword) +-- ibexa:sql-statement-separator +CREATE TABLE ezkeyword_attribute_link ( + id SERIAL NOT NULL, + keyword_id INT DEFAULT 0 NOT NULL, + objectattribute_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version) +-- ibexa:sql-statement-separator +CREATE TABLE ezmedia ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + version INT DEFAULT 0 NOT NULL, + controls VARCHAR(50) DEFAULT NULL, + filename VARCHAR(255) DEFAULT '' NOT NULL, + has_controller INT DEFAULT 0, + height INT DEFAULT NULL, + is_autoplay INT DEFAULT 0, + is_loop INT DEFAULT 0, + mime_type VARCHAR(50) DEFAULT '' NOT NULL, + original_filename VARCHAR(255) DEFAULT '' NOT NULL, + pluginspage VARCHAR(255) DEFAULT NULL, + quality VARCHAR(50) DEFAULT NULL, + width INT DEFAULT NULL, + PRIMARY KEY(contentobject_attribute_id, version) +) +-- ibexa:sql-statement-separator +CREATE TABLE eznode_assignment ( + id SERIAL NOT NULL, + contentobject_id INT DEFAULT NULL, + contentobject_version INT DEFAULT NULL, + from_node_id INT DEFAULT 0, + is_main INT DEFAULT 0 NOT NULL, + op_code INT DEFAULT 0 NOT NULL, + parent_node INT DEFAULT NULL, + parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, + remote_id VARCHAR(100) DEFAULT '0' NOT NULL, + sort_field INT DEFAULT 1, + sort_order INT DEFAULT 1, + priority INT DEFAULT 0 NOT NULL, + is_hidden INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main) +-- ibexa:sql-statement-separator +CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version) +-- ibexa:sql-statement-separator +CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node) +-- ibexa:sql-statement-separator +CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version) +-- ibexa:sql-statement-separator +CREATE TABLE eznotification ( + id SERIAL NOT NULL, + owner_id INT DEFAULT 0 NOT NULL, + is_pending BOOLEAN DEFAULT 'true' NOT NULL, + type VARCHAR(128) DEFAULT '' NOT NULL, + created INT DEFAULT 0 NOT NULL, + data TEXT DEFAULT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending) +-- ibexa:sql-statement-separator +CREATE INDEX eznotification_owner ON eznotification (owner_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezpackage ( + id SERIAL NOT NULL, + install_date INT DEFAULT 0 NOT NULL, + name VARCHAR(100) DEFAULT '' NOT NULL, + version VARCHAR(30) DEFAULT '0' NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezpolicy ( + id SERIAL NOT NULL, + function_name VARCHAR(255) DEFAULT NULL, + module_name VARCHAR(255) DEFAULT NULL, + original_id INT DEFAULT 0 NOT NULL, + role_id INT DEFAULT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezpolicy_limitation ( + id SERIAL NOT NULL, + identifier VARCHAR(255) DEFAULT '' NOT NULL, + policy_id INT DEFAULT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX policy_id ON ezpolicy_limitation (policy_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezpolicy_limitation_value ( + id SERIAL NOT NULL, + limitation_id INT DEFAULT NULL, + value VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value) +-- ibexa:sql-statement-separator +CREATE TABLE ezpreferences ( + id SERIAL NOT NULL, + name VARCHAR(100) DEFAULT NULL, + user_id INT DEFAULT 0 NOT NULL, + value TEXT DEFAULT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name) +-- ibexa:sql-statement-separator +CREATE INDEX ezpreferences_name ON ezpreferences (name) +-- ibexa:sql-statement-separator +CREATE TABLE ezrole ( + id SERIAL NOT NULL, + is_new INT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + value CHAR(1) DEFAULT NULL, + version INT DEFAULT 0, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezsearch_object_word_link ( + id SERIAL NOT NULL, + contentclass_attribute_id INT DEFAULT 0 NOT NULL, + contentclass_id INT DEFAULT 0 NOT NULL, + contentobject_id INT DEFAULT 0 NOT NULL, + frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, + identifier VARCHAR(255) DEFAULT '' NOT NULL, + integer_value INT DEFAULT 0 NOT NULL, + next_word_id INT DEFAULT 0 NOT NULL, + placement INT DEFAULT 0 NOT NULL, + prev_word_id INT DEFAULT 0 NOT NULL, + published INT DEFAULT 0 NOT NULL, + section_id INT DEFAULT 0 NOT NULL, + word_id INT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency) +-- ibexa:sql-statement-separator +CREATE TABLE ezsearch_word ( + id SERIAL NOT NULL, + object_count INT DEFAULT 0 NOT NULL, + word VARCHAR(150) DEFAULT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count) +-- ibexa:sql-statement-separator +CREATE TABLE ezsection ( + id SERIAL NOT NULL, + identifier VARCHAR(255) DEFAULT NULL, + locale VARCHAR(255) DEFAULT NULL, + name VARCHAR(255) DEFAULT NULL, + navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezsite_data ( + name VARCHAR(60) DEFAULT '' NOT NULL, + value TEXT NOT NULL, + PRIMARY KEY(name) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezurl ( + id SERIAL NOT NULL, + created INT DEFAULT 0 NOT NULL, + is_valid INT DEFAULT 1 NOT NULL, + last_checked INT DEFAULT 0 NOT NULL, + modified INT DEFAULT 0 NOT NULL, + original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, + url TEXT DEFAULT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezurl_url ON ezurl (url) +-- ibexa:sql-statement-separator +CREATE TABLE ezurl_object_link ( + contentobject_attribute_id INT DEFAULT 0 NOT NULL, + contentobject_attribute_version INT DEFAULT 0 NOT NULL, + url_id INT DEFAULT 0 NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version) +-- ibexa:sql-statement-separator +CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version) +-- ibexa:sql-statement-separator +CREATE TABLE ezurlalias ( + id SERIAL NOT NULL, + destination_url TEXT NOT NULL, + forward_to_id INT DEFAULT 0 NOT NULL, + is_imported INT DEFAULT 0 NOT NULL, + is_internal INT DEFAULT 1 NOT NULL, + is_wildcard INT DEFAULT 0 NOT NULL, + source_md5 VARCHAR(32) DEFAULT NULL, + source_url TEXT NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url) +-- ibexa:sql-statement-separator +CREATE TABLE ezurlalias_ml ( + parent INT DEFAULT 0 NOT NULL, + text_md5 VARCHAR(32) DEFAULT '' NOT NULL, + action TEXT NOT NULL, + action_type VARCHAR(32) DEFAULT '' NOT NULL, + alias_redirects INT DEFAULT 1 NOT NULL, + id INT DEFAULT 0 NOT NULL, + is_alias INT DEFAULT 0 NOT NULL, + is_original INT DEFAULT 0 NOT NULL, + lang_mask BIGINT DEFAULT 0 NOT NULL, + link INT DEFAULT 0 NOT NULL, + text TEXT NOT NULL, + PRIMARY KEY(parent, text_md5) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml (action, id, link, parent) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml (action, is_original) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id) +-- ibexa:sql-statement-separator +CREATE TABLE ezurlalias_ml_incr ( + id SERIAL NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezurlwildcard ( + id SERIAL NOT NULL, + destination_url TEXT NOT NULL, + source_url TEXT NOT NULL, + type INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezuser_accountkey ( + id SERIAL NOT NULL, + hash_key VARCHAR(32) DEFAULT '' NOT NULL, + time INT DEFAULT 0 NOT NULL, + user_id INT DEFAULT 0 NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX hash_key ON ezuser_accountkey (hash_key) +-- ibexa:sql-statement-separator +CREATE TABLE ezuser_role ( + id SERIAL NOT NULL, + contentobject_id INT DEFAULT NULL, + limit_identifier VARCHAR(255) DEFAULT '', + limit_value VARCHAR(255) DEFAULT '', + role_id INT DEFAULT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezuser_setting ( + user_id INT DEFAULT 0 NOT NULL, + is_enabled INT DEFAULT 0 NOT NULL, + max_login INT DEFAULT NULL, + PRIMARY KEY(user_id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ibexa_setting ( + id SERIAL NOT NULL, + "group" VARCHAR(128) NOT NULL, + identifier VARCHAR(128) NOT NULL, + value JSON NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_setting_id ON ibexa_setting (id) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier) +-- ibexa:sql-statement-separator +CREATE TABLE ibexa_token_type ( + id SERIAL NOT NULL, + identifier VARCHAR(64) NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier) +-- ibexa:sql-statement-separator +CREATE TABLE ibexa_token ( + id SERIAL NOT NULL, + type_id INT NOT NULL, + token VARCHAR(255) NOT NULL, + identifier VARCHAR(128) DEFAULT NULL, + created INT DEFAULT 0 NOT NULL, + expires INT DEFAULT 0 NOT NULL, + revoked BOOLEAN DEFAULT 'false' NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id) +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE diff --git a/src/bundle/RepositoryInstaller/Migration/sql/install-schema-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-sqlite.sql new file mode 100644 index 0000000000..89d8450fe5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-sqlite.sql @@ -0,0 +1,752 @@ +CREATE TABLE ezbinaryfile ( + contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, + version INTEGER DEFAULT 0 NOT NULL, + download_count INTEGER DEFAULT 0 NOT NULL, + filename VARCHAR(255) DEFAULT '' NOT NULL, + mime_type VARCHAR(255) DEFAULT '' NOT NULL, + original_filename VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_attribute_id, version) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + default_language_id BIGINT DEFAULT 0 NOT NULL, + group_id INTEGER DEFAULT 0 NOT NULL, + identifier VARCHAR(45) DEFAULT '' NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + priority INTEGER DEFAULT 0 NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier) +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state_group ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + default_language_id BIGINT DEFAULT 0 NOT NULL, + identifier VARCHAR(45) DEFAULT '' NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier) +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state_group_language ( + contentobject_state_group_id INTEGER DEFAULT 0 NOT NULL, + real_language_id BIGINT DEFAULT 0 NOT NULL, + description CLOB NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + name VARCHAR(45) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_state_group_id, real_language_id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state_language ( + contentobject_state_id INTEGER DEFAULT 0 NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + description CLOB NOT NULL, + name VARCHAR(45) DEFAULT '' NOT NULL, + PRIMARY KEY(contentobject_state_id, language_id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcobj_state_link ( + contentobject_id INTEGER DEFAULT 0 NOT NULL, + contentobject_state_id INTEGER DEFAULT 0 NOT NULL, + PRIMARY KEY(contentobject_id, contentobject_state_id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontent_language ( + id BIGINT DEFAULT 0 NOT NULL, + disabled INTEGER DEFAULT 0 NOT NULL, + locale VARCHAR(20) DEFAULT '' NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontent_language_name ON ezcontent_language (name) +-- ibexa:sql-statement-separator +CREATE TABLE ezuser ( + contentobject_id INTEGER DEFAULT 0 NOT NULL, + email VARCHAR(150) DEFAULT '' NOT NULL, + login VARCHAR(150) DEFAULT '' NOT NULL, + password_hash VARCHAR(255) DEFAULT NULL, + password_hash_type INTEGER DEFAULT 1 NOT NULL, + password_updated_at INTEGER DEFAULT NULL, + PRIMARY KEY(contentobject_id) +) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ezuser_login ON ezuser (login) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_tree ( + node_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentobject_id INTEGER DEFAULT NULL, + contentobject_is_published INTEGER DEFAULT NULL, + contentobject_version INTEGER DEFAULT NULL, + depth INTEGER DEFAULT 0 NOT NULL, + is_hidden INTEGER DEFAULT 0 NOT NULL, + is_invisible INTEGER DEFAULT 0 NOT NULL, + main_node_id INTEGER DEFAULT NULL, + modified_subnode INTEGER DEFAULT 0, + parent_node_id INTEGER DEFAULT 0 NOT NULL, + path_identification_string CLOB DEFAULT NULL, + path_string VARCHAR(255) DEFAULT '' NOT NULL, + priority INTEGER DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + sort_field INTEGER DEFAULT 1, + sort_order INTEGER DEFAULT 1 +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string) +-- ibexa:sql-statement-separator +CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentbrowsebookmark ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + node_id INTEGER DEFAULT 0 NOT NULL, + user_id INTEGER DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE, + CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + version INTEGER DEFAULT 0 NOT NULL, + always_available INTEGER DEFAULT 0 NOT NULL, + contentobject_name VARCHAR(255) DEFAULT NULL, + created INTEGER DEFAULT 0 NOT NULL, + creator_id INTEGER DEFAULT 0 NOT NULL, + identifier VARCHAR(50) DEFAULT '' NOT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + is_container INTEGER DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INTEGER DEFAULT 0 NOT NULL, + modifier_id INTEGER DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + serialized_description_list CLOB DEFAULT NULL, + serialized_name_list CLOB DEFAULT NULL, + sort_field INTEGER DEFAULT 1 NOT NULL, + sort_order INTEGER DEFAULT 1 NOT NULL, + url_alias_name VARCHAR(255) DEFAULT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentclass_version ON ezcontentclass (version) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass_attribute ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + version INTEGER DEFAULT 0 NOT NULL, + can_translate INTEGER DEFAULT 1, + category VARCHAR(25) DEFAULT '' NOT NULL, + contentclass_id INTEGER DEFAULT 0 NOT NULL, + data_float1 DOUBLE PRECISION DEFAULT NULL, + data_float2 DOUBLE PRECISION DEFAULT NULL, + data_float3 DOUBLE PRECISION DEFAULT NULL, + data_float4 DOUBLE PRECISION DEFAULT NULL, + data_int1 INTEGER DEFAULT NULL, + data_int2 INTEGER DEFAULT NULL, + data_int3 INTEGER DEFAULT NULL, + data_int4 INTEGER DEFAULT NULL, + data_text1 VARCHAR(255) DEFAULT NULL, + data_text2 VARCHAR(50) DEFAULT NULL, + data_text3 VARCHAR(50) DEFAULT NULL, + data_text4 VARCHAR(255) DEFAULT NULL, + data_text5 CLOB DEFAULT NULL, + data_type_string VARCHAR(50) DEFAULT '' NOT NULL, + identifier VARCHAR(50) DEFAULT '' NOT NULL, + is_information_collector INTEGER DEFAULT 0 NOT NULL, + is_required INTEGER DEFAULT 0 NOT NULL, + is_searchable INTEGER DEFAULT 0 NOT NULL, + is_thumbnail BOOLEAN DEFAULT '0' NOT NULL, + placement INTEGER DEFAULT 0 NOT NULL, + serialized_data_text CLOB DEFAULT NULL, + serialized_description_list CLOB DEFAULT NULL, + serialized_name_list CLOB NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass_attribute_ml ( + contentclass_attribute_id INTEGER NOT NULL, + version INTEGER NOT NULL, + language_id BIGINT NOT NULL, + name VARCHAR(255) NOT NULL, + description CLOB DEFAULT NULL, + data_text CLOB DEFAULT NULL, + data_json CLOB DEFAULT NULL, + PRIMARY KEY(contentclass_attribute_id, version, language_id), + CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass_classgroup ( + contentclass_id INTEGER DEFAULT 0 NOT NULL, + contentclass_version INTEGER DEFAULT 0 NOT NULL, + group_id INTEGER DEFAULT 0 NOT NULL, + group_name VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(contentclass_id, contentclass_version, group_id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclass_name ( + contentclass_id INTEGER DEFAULT 0 NOT NULL, + contentclass_version INTEGER DEFAULT 0 NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + language_locale VARCHAR(20) DEFAULT '' NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(contentclass_id, contentclass_version, language_id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentclassgroup ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + created INTEGER DEFAULT 0 NOT NULL, + creator_id INTEGER DEFAULT 0 NOT NULL, + modified INTEGER DEFAULT 0 NOT NULL, + modifier_id INTEGER DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + is_system BOOLEAN DEFAULT '0' NOT NULL +) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentclass_id INTEGER DEFAULT 0 NOT NULL, + current_version INTEGER DEFAULT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INTEGER DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + owner_id INTEGER DEFAULT 0 NOT NULL, + published INTEGER DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT NULL, + section_id INTEGER DEFAULT 0 NOT NULL, + status INTEGER DEFAULT 0, + is_hidden BOOLEAN DEFAULT '0' NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_pub ON ezcontentobject (published) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_status ON ezcontentobject (status) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_attribute ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + version INTEGER DEFAULT 0 NOT NULL, + attribute_original_id INTEGER DEFAULT 0, + contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, + contentobject_id INTEGER DEFAULT 0 NOT NULL, + data_float DOUBLE PRECISION DEFAULT NULL, + data_int INTEGER DEFAULT NULL, + data_text CLOB DEFAULT NULL, + data_type_string VARCHAR(50) DEFAULT '', + language_code VARCHAR(20) DEFAULT '' NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + sort_key_int INTEGER DEFAULT 0 NOT NULL, + sort_key_string VARCHAR(255) DEFAULT '' NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id) +-- ibexa:sql-statement-separator +CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code) +-- ibexa:sql-statement-separator +CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_link ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, + from_contentobject_id INTEGER DEFAULT 0 NOT NULL, + from_contentobject_version INTEGER DEFAULT 0 NOT NULL, + relation_type INTEGER DEFAULT 1 NOT NULL, + to_contentobject_id INTEGER DEFAULT 0 NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_name ( + contentobject_id INTEGER DEFAULT 0 NOT NULL, + content_version INTEGER DEFAULT 0 NOT NULL, + content_translation VARCHAR(20) DEFAULT '' NOT NULL, + language_id BIGINT DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT NULL, + real_translation VARCHAR(20) DEFAULT NULL, + PRIMARY KEY(contentobject_id, content_version, content_translation) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_trash ( + node_id INTEGER DEFAULT 0 NOT NULL, + contentobject_id INTEGER DEFAULT NULL, + contentobject_version INTEGER DEFAULT NULL, + depth INTEGER DEFAULT 0 NOT NULL, + is_hidden INTEGER DEFAULT 0 NOT NULL, + is_invisible INTEGER DEFAULT 0 NOT NULL, + main_node_id INTEGER DEFAULT NULL, + modified_subnode INTEGER DEFAULT 0, + parent_node_id INTEGER DEFAULT 0 NOT NULL, + path_identification_string CLOB DEFAULT NULL, + path_string VARCHAR(255) DEFAULT '' NOT NULL, + priority INTEGER DEFAULT 0 NOT NULL, + remote_id VARCHAR(100) DEFAULT '' NOT NULL, + sort_field INTEGER DEFAULT 1, + sort_order INTEGER DEFAULT 1, + trashed INTEGER DEFAULT 0 NOT NULL, + PRIMARY KEY(node_id) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string) +-- ibexa:sql-statement-separator +CREATE TABLE ezcontentobject_version ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentobject_id INTEGER DEFAULT NULL, + created INTEGER DEFAULT 0 NOT NULL, + creator_id INTEGER DEFAULT 0 NOT NULL, + initial_language_id BIGINT DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL, + modified INTEGER DEFAULT 0 NOT NULL, + status INTEGER DEFAULT 0 NOT NULL, + user_id INTEGER DEFAULT 0 NOT NULL, + version INTEGER DEFAULT 0 NOT NULL, + workflow_event_pos INTEGER DEFAULT 0 +) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status) +-- ibexa:sql-statement-separator +CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version) +-- ibexa:sql-statement-separator +CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status) +-- ibexa:sql-statement-separator +CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezdfsfile ( + name_hash VARCHAR(34) DEFAULT '' NOT NULL, + name CLOB NOT NULL, + name_trunk CLOB NOT NULL, + datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, + scope VARCHAR(25) DEFAULT '' NOT NULL, + size BIGINT UNSIGNED DEFAULT 0 NOT NULL, + mtime INTEGER DEFAULT 0 NOT NULL, + expired BOOLEAN DEFAULT '0' NOT NULL, + status BOOLEAN DEFAULT '0' NOT NULL, + PRIMARY KEY(name_hash) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk) +-- ibexa:sql-statement-separator +CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name) +-- ibexa:sql-statement-separator +CREATE INDEX ezdfsfile_name ON ezdfsfile (name) +-- ibexa:sql-statement-separator +CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime) +-- ibexa:sql-statement-separator +CREATE TABLE ezgmaplocation ( + contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, + contentobject_version INTEGER DEFAULT 0 NOT NULL, + latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, + longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, + address VARCHAR(150) DEFAULT NULL, + PRIMARY KEY(contentobject_attribute_id, contentobject_version) +) +-- ibexa:sql-statement-separator +CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude) +-- ibexa:sql-statement-separator +CREATE TABLE ezimagefile ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, + filepath CLOB NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezimagefile_file ON ezimagefile (filepath) +-- ibexa:sql-statement-separator +CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezkeyword ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + class_id INTEGER DEFAULT 0 NOT NULL, + keyword VARCHAR(255) DEFAULT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword) +-- ibexa:sql-statement-separator +CREATE TABLE ezkeyword_attribute_link ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + keyword_id INTEGER DEFAULT 0 NOT NULL, + objectattribute_id INTEGER DEFAULT 0 NOT NULL, + version INTEGER DEFAULT 0 NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version) +-- ibexa:sql-statement-separator +CREATE TABLE ezmedia ( + contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, + version INTEGER DEFAULT 0 NOT NULL, + controls VARCHAR(50) DEFAULT NULL, + filename VARCHAR(255) DEFAULT '' NOT NULL, + has_controller INTEGER DEFAULT 0, + height INTEGER DEFAULT NULL, + is_autoplay INTEGER DEFAULT 0, + is_loop INTEGER DEFAULT 0, + mime_type VARCHAR(50) DEFAULT '' NOT NULL, + original_filename VARCHAR(255) DEFAULT '' NOT NULL, + pluginspage VARCHAR(255) DEFAULT NULL, + quality VARCHAR(50) DEFAULT NULL, + width INTEGER DEFAULT NULL, + PRIMARY KEY(contentobject_attribute_id, version) +) +-- ibexa:sql-statement-separator +CREATE TABLE eznode_assignment ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentobject_id INTEGER DEFAULT NULL, + contentobject_version INTEGER DEFAULT NULL, + from_node_id INTEGER DEFAULT 0, + is_main INTEGER DEFAULT 0 NOT NULL, + op_code INTEGER DEFAULT 0 NOT NULL, + parent_node INTEGER DEFAULT NULL, + parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, + remote_id VARCHAR(100) DEFAULT '0' NOT NULL, + sort_field INTEGER DEFAULT 1, + sort_order INTEGER DEFAULT 1, + priority INTEGER DEFAULT 0 NOT NULL, + is_hidden INTEGER DEFAULT 0 NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main) +-- ibexa:sql-statement-separator +CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version) +-- ibexa:sql-statement-separator +CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node) +-- ibexa:sql-statement-separator +CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version) +-- ibexa:sql-statement-separator +CREATE TABLE eznotification ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + owner_id INTEGER DEFAULT 0 NOT NULL, + is_pending BOOLEAN DEFAULT '1' NOT NULL, + type VARCHAR(128) DEFAULT '' NOT NULL, + created INTEGER DEFAULT 0 NOT NULL, + data CLOB DEFAULT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending) +-- ibexa:sql-statement-separator +CREATE INDEX eznotification_owner ON eznotification (owner_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezpackage ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + install_date INTEGER DEFAULT 0 NOT NULL, + name VARCHAR(100) DEFAULT '' NOT NULL, + version VARCHAR(30) DEFAULT '0' NOT NULL +) +-- ibexa:sql-statement-separator +CREATE TABLE ezpolicy ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + function_name VARCHAR(255) DEFAULT NULL, + module_name VARCHAR(255) DEFAULT NULL, + original_id INTEGER DEFAULT 0 NOT NULL, + role_id INTEGER DEFAULT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezpolicy_limitation ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + identifier VARCHAR(255) DEFAULT '' NOT NULL, + policy_id INTEGER DEFAULT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX policy_id ON ezpolicy_limitation (policy_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezpolicy_limitation_value ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + limitation_id INTEGER DEFAULT NULL, + value VARCHAR(255) DEFAULT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value) +-- ibexa:sql-statement-separator +CREATE TABLE ezpreferences ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + name VARCHAR(100) DEFAULT NULL, + user_id INTEGER DEFAULT 0 NOT NULL, + value CLOB DEFAULT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name) +-- ibexa:sql-statement-separator +CREATE INDEX ezpreferences_name ON ezpreferences (name) +-- ibexa:sql-statement-separator +CREATE TABLE ezrole ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + is_new INTEGER DEFAULT 0 NOT NULL, + name VARCHAR(255) DEFAULT '' NOT NULL, + value CHAR(1) DEFAULT NULL, + version INTEGER DEFAULT 0 +) +-- ibexa:sql-statement-separator +CREATE TABLE ezsearch_object_word_link ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentclass_attribute_id INTEGER DEFAULT 0 NOT NULL, + contentclass_id INTEGER DEFAULT 0 NOT NULL, + contentobject_id INTEGER DEFAULT 0 NOT NULL, + frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, + identifier VARCHAR(255) DEFAULT '' NOT NULL, + integer_value INTEGER DEFAULT 0 NOT NULL, + next_word_id INTEGER DEFAULT 0 NOT NULL, + placement INTEGER DEFAULT 0 NOT NULL, + prev_word_id INTEGER DEFAULT 0 NOT NULL, + published INTEGER DEFAULT 0 NOT NULL, + section_id INTEGER DEFAULT 0 NOT NULL, + word_id INTEGER DEFAULT 0 NOT NULL, + language_mask BIGINT DEFAULT 0 NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency) +-- ibexa:sql-statement-separator +CREATE TABLE ezsearch_word ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + object_count INTEGER DEFAULT 0 NOT NULL, + word VARCHAR(150) DEFAULT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word) +-- ibexa:sql-statement-separator +CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count) +-- ibexa:sql-statement-separator +CREATE TABLE ezsection ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + identifier VARCHAR(255) DEFAULT NULL, + locale VARCHAR(255) DEFAULT NULL, + name VARCHAR(255) DEFAULT NULL, + navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart' +) +-- ibexa:sql-statement-separator +CREATE TABLE ezsite_data ( + name VARCHAR(60) DEFAULT '' NOT NULL, + value CLOB NOT NULL, + PRIMARY KEY(name) +) +-- ibexa:sql-statement-separator +CREATE TABLE ezurl ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + created INTEGER DEFAULT 0 NOT NULL, + is_valid INTEGER DEFAULT 1 NOT NULL, + last_checked INTEGER DEFAULT 0 NOT NULL, + modified INTEGER DEFAULT 0 NOT NULL, + original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, + url CLOB DEFAULT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezurl_url ON ezurl (url) +-- ibexa:sql-statement-separator +CREATE TABLE ezurl_object_link ( + contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, + contentobject_attribute_version INTEGER DEFAULT 0 NOT NULL, + url_id INTEGER DEFAULT 0 NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version) +-- ibexa:sql-statement-separator +CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version) +-- ibexa:sql-statement-separator +CREATE TABLE ezurlalias ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + destination_url CLOB NOT NULL, + forward_to_id INTEGER DEFAULT 0 NOT NULL, + is_imported INTEGER DEFAULT 0 NOT NULL, + is_internal INTEGER DEFAULT 1 NOT NULL, + is_wildcard INTEGER DEFAULT 0 NOT NULL, + source_md5 VARCHAR(32) DEFAULT NULL, + source_url CLOB NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url) +-- ibexa:sql-statement-separator +CREATE TABLE ezurlalias_ml ( + parent INTEGER DEFAULT 0 NOT NULL, + text_md5 VARCHAR(32) DEFAULT '' NOT NULL, + "action" CLOB NOT NULL, + action_type VARCHAR(32) DEFAULT '' NOT NULL, + alias_redirects INTEGER DEFAULT 1 NOT NULL, + id INTEGER DEFAULT 0 NOT NULL, + is_alias INTEGER DEFAULT 0 NOT NULL, + is_original INTEGER DEFAULT 0 NOT NULL, + lang_mask BIGINT DEFAULT 0 NOT NULL, + link INTEGER DEFAULT 0 NOT NULL, + text CLOB NOT NULL, + PRIMARY KEY(parent, text_md5) +) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml ("action", id, link, parent) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml ("action", is_original) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link) +-- ibexa:sql-statement-separator +CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id) +-- ibexa:sql-statement-separator +CREATE TABLE ezurlalias_ml_incr ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL +) +-- ibexa:sql-statement-separator +CREATE TABLE ezurlwildcard ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + destination_url CLOB NOT NULL, + source_url CLOB NOT NULL, + type INTEGER DEFAULT 0 NOT NULL +) +-- ibexa:sql-statement-separator +CREATE TABLE ezuser_accountkey ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + hash_key VARCHAR(32) DEFAULT '' NOT NULL, + time INTEGER DEFAULT 0 NOT NULL, + user_id INTEGER DEFAULT 0 NOT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX hash_key ON ezuser_accountkey (hash_key) +-- ibexa:sql-statement-separator +CREATE TABLE ezuser_role ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + contentobject_id INTEGER DEFAULT NULL, + limit_identifier VARCHAR(255) DEFAULT '', + limit_value VARCHAR(255) DEFAULT '', + role_id INTEGER DEFAULT NULL +) +-- ibexa:sql-statement-separator +CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id) +-- ibexa:sql-statement-separator +CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id) +-- ibexa:sql-statement-separator +CREATE TABLE ezuser_setting ( + user_id INTEGER DEFAULT 0 NOT NULL, + is_enabled INTEGER DEFAULT 0 NOT NULL, + max_login INTEGER DEFAULT NULL, + PRIMARY KEY(user_id) +) +-- ibexa:sql-statement-separator +CREATE TABLE ibexa_setting ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + "group" VARCHAR(128) NOT NULL, + identifier VARCHAR(128) NOT NULL, + value CLOB NOT NULL --(DC2Type:json) +) +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_setting_id ON ibexa_setting (id) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier) +-- ibexa:sql-statement-separator +CREATE TABLE ibexa_token_type ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + identifier VARCHAR(64) NOT NULL +) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier) +-- ibexa:sql-statement-separator +CREATE TABLE ibexa_token ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + type_id INTEGER NOT NULL, + token VARCHAR(255) NOT NULL, + identifier VARCHAR(128) DEFAULT NULL, + created INTEGER DEFAULT 0 NOT NULL, + expires INTEGER DEFAULT 0 NOT NULL, + revoked BOOLEAN DEFAULT '0' NOT NULL, + CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE +) +-- ibexa:sql-statement-separator +CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id) +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id) From 86f56ab0dffcf5046ac05ddaf8aae483a824078d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Wed, 22 Jul 2026 11:13:39 +0200 Subject: [PATCH 06/38] IBX-11939: Aborted migration on unsupported database platform Call abortIfUnsupportedPlatform() as the first statement of up(), so installs on a database this migration doesn't build SQL for fail loudly instead of silently queuing zero statements. --- .../RepositoryInstaller/Migration/ImportDataMigration.php | 3 +++ .../RepositoryInstaller/Migration/InstallSchemaMigration.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php index 5394841dca..35dbbc0e1a 100644 --- a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php @@ -12,6 +12,7 @@ use Doctrine\DBAL\Schema\Schema; use Ibexa\Contracts\DoctrineMigrations\Migrations\AbstractSqlMigration; use Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationInterface; +use Ibexa\DoctrineMigrations\Migration\SqlPlatform; final class ImportDataMigration extends AbstractSqlMigration implements IbexaMigrationInterface { @@ -32,6 +33,8 @@ public static function getCreationDate(): DateTimeImmutable public function up(Schema $schema): void { + $this->abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); + if ($this->isMySQL()) { $this->addSqlFile(__DIR__ . '/sql/import-data-mysql.sql'); } elseif ($this->isPostgreSQL()) { diff --git a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php index 566d742d66..d4be9886f8 100644 --- a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php @@ -12,6 +12,7 @@ use Doctrine\DBAL\Schema\Schema; use Ibexa\Contracts\DoctrineMigrations\Migrations\AbstractSqlMigration; use Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationInterface; +use Ibexa\DoctrineMigrations\Migration\SqlPlatform; final class InstallSchemaMigration extends AbstractSqlMigration implements IbexaMigrationInterface { @@ -32,6 +33,8 @@ public static function getCreationDate(): DateTimeImmutable public function up(Schema $schema): void { + $this->abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); + if ($this->isMySQL()) { $this->addSqlFile(__DIR__ . '/sql/install-schema-mysql.sql'); } elseif ($this->isPostgreSQL()) { From 1cc52d549a45b86651a44a9c33634002f984b390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Wed, 22 Jul 2026 12:10:34 +0200 Subject: [PATCH 07/38] IBX-11939: Added trailing semicolons to migration SQL files Each statement now ends with `;`, matching ibexa:doctrine:schema:dump-sql's own convention, so the files are directly executable via mysql/psql/sqlite3 CLI clients. addSqlFile() still splits on the delimiter and passes one statement per addSql() call, unaffected by the trailing terminator. --- .../Migration/sql/import-data-mysql.sql | 60 ++-- .../Migration/sql/import-data-postgresql.sql | 122 +++---- .../Migration/sql/import-data-sqlite.sql | 60 ++-- .../Migration/sql/install-schema-mysql.sql | 112 +++--- .../sql/install-schema-postgresql.sql | 334 +++++++++--------- .../Migration/sql/install-schema-sqlite.sql | 326 ++++++++--------- 6 files changed, 507 insertions(+), 507 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Migration/sql/import-data-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/import-data-mysql.sql index f06caa6c82..81b1803b4c 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/import-data-mysql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/import-data-mysql.sql @@ -1,16 +1,16 @@ INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1) + (2, 2, 2, 'locked', 3, 1); -- ibexa:sql-statement-separator INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) -VALUES (2,2,'ez_lock',3) +VALUES (2,2,'ez_lock',3); -- ibexa:sql-statement-separator INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) -VALUES (2,'',3,'Lock',2) +VALUES (2,'',3,'Lock',2); -- ibexa:sql-statement-separator INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked') + (2,'',3,'Locked'); -- ibexa:sql-statement-separator INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) VALUES (1, 1), @@ -24,10 +24,10 @@ VALUES (1, 1), (42, 1), (49, 1), (50, 1), - (51, 1) + (51, 1); -- ibexa:sql-statement-separator INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) -VALUES (0, 2, 'eng-GB', 'English (United Kingdom)') +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), @@ -35,7 +35,7 @@ VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d4 (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0) + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), @@ -61,7 +61,7 @@ VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title', (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0) + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) VALUES (1, 0, 1, 'Content'), @@ -69,7 +69,7 @@ VALUES (1, 0, 1, 'Content'), (3, 0, 2, 'Users'), (4, 0, 2, 'Users'), (5, 0, 3, 'Media'), - (12, 0, 3, 'Media') + (12, 0, 3, 'Media'); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) VALUES (1, 0, 2, 'eng-GB', 'Folder'), @@ -77,12 +77,12 @@ VALUES (1, 0, 2, 'eng-GB', 'Folder'), (3, 0, 3, 'eng-GB', 'User group'), (4, 0, 3, 'eng-GB', 'User'), (5, 0, 3, 'eng-GB', 'Image'), - (12, 0, 3, 'eng-GB', 'File') + (12, 0, 3, 'eng-GB', 'File'); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media') + (1032009743, 14, 3, 1033922120, 14, 'Media'); -- ibexa:sql-statement-separator INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), @@ -96,7 +96,7 @@ VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e451 (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1) + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); -- ibexa:sql-statement-separator INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), @@ -138,7 +138,7 @@ VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platfo (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3) + (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3); -- ibexa:sql-statement-separator INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), @@ -152,7 +152,7 @@ VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), ('eng-GB',1,42,3,'Anonymous users','eng-GB'), ('eng-GB',1,49,3,'Images','eng-GB'), ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB') + ('eng-GB',1,51,3,'Multimedia','eng-GB'); -- ibexa:sql-statement-separator INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), @@ -167,7 +167,7 @@ VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96 (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1) + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); -- ibexa:sql-statement-separator INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) VALUES (4,0,14,4,2,3,0,1,0,1,1), @@ -181,7 +181,7 @@ VALUES (4,0,14,4,2,3,0,1,0,1,1), (50,1080220211,14,489,2,3,1080220220,1,0,1,0), (51,1080220225,14,490,2,3,1080220233,1,0,1,0), (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0) + (1,1448889045,14,506,2,3,1448889046,1,0,9,0); -- ibexa:sql-statement-separator INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), @@ -195,7 +195,7 @@ VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), (49,1,0,27,1,2,43,'','0',9,1,0,0), (50,1,0,28,1,2,43,'','0',9,1,0,0), (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0) + (14,3,-1,38,1,2,13,'','0',1,1,0,0); -- ibexa:sql-statement-separator INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) VALUES ('*',317,'content',0,3), @@ -205,7 +205,7 @@ VALUES ('*',317,'content',0,3), ('*',332,'*',0,2), ('read',333,'content',0,4), ('view_embed',334,'content',0,1), - ('*',340,'url',0,3) + ('*',340,'url',0,3); -- ibexa:sql-statement-separator INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) VALUES (251,'Section',328), @@ -213,7 +213,7 @@ VALUES (251,'Section',328), (253,'SiteAccess',331), (254,'Class',333), (255,'Owner',333), - (256,'Class',334) + (256,'Class',334); -- ibexa:sql-statement-separator INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) VALUES (477,251,'1'), @@ -222,21 +222,21 @@ VALUES (477,251,'1'), (480,254,'4'), (481,255,'1'), (482,256,'5'), - (483,256,'12') + (483,256,'12'); -- ibexa:sql-statement-separator INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) VALUES (1,0,'Anonymous','',0), (2,0,'Administrator','0',0), (3,0,'Editor','',0), - (4,0,'Member','',0) + (4,0,'Member','',0); -- ibexa:sql-statement-separator INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) VALUES (1,'standard','','Standard','ezcontentnavigationpart'), (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart') + (3,'media','','Media','ezmedianavigationpart'); -- ibexa:sql-statement-separator INSERT INTO `ezsite_data` (`name`, `value`) -VALUES ('ibexa-release','4.6') +VALUES ('ibexa-release','4.6'); -- ibexa:sql-statement-separator INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), @@ -250,7 +250,7 @@ VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia') + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); -- ibexa:sql-statement-separator INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), @@ -277,16 +277,16 @@ VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6' ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0') + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); -- ibexa:sql-statement-separator INSERT INTO `ezurlalias_ml_incr` (`id`) VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37) + (34), (35), (36), (37); -- ibexa:sql-statement-separator INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7) + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); -- ibexa:sql-statement-separator INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) VALUES (11,28,'','',1), @@ -294,11 +294,11 @@ VALUES (11,28,'','',1), (13,32,'Subtree','/1/2/',3), (13,33,'Subtree','/1/43/',3), (12,34,'','',2), - (13,35,'','',4) + (13,35,'','',4); -- ibexa:sql-statement-separator INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) VALUES (1,1000,10), - (1,10,14) + (1,10,14); -- ibexa:sql-statement-separator INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) -SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin' +SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/import-data-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/import-data-postgresql.sql index 51df923e0d..493f01209e 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/import-data-postgresql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/import-data-postgresql.sql @@ -1,16 +1,16 @@ INSERT INTO "ezcobj_state" ("default_language_id", "group_id", "id", "identifier", "language_mask", "priority") VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1) + (2, 2, 2, 'locked', 3, 1); -- ibexa:sql-statement-separator INSERT INTO "ezcobj_state_group" ("default_language_id", "id", "identifier", "language_mask") -VALUES (2, 2, 'ez_lock', 3) +VALUES (2, 2, 'ez_lock', 3); -- ibexa:sql-statement-separator INSERT INTO "ezcobj_state_group_language" ("contentobject_state_group_id", "description","language_id", "name", "real_language_id") -VALUES (2, '', 3, 'Lock', 2) +VALUES (2, '', 3, 'Lock', 2); -- ibexa:sql-statement-separator INSERT INTO "ezcobj_state_language" ("contentobject_state_id", "description", "language_id", "name") VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked') + (2,'',3,'Locked'); -- ibexa:sql-statement-separator INSERT INTO "ezcobj_state_link" ("contentobject_id", "contentobject_state_id") VALUES ( 1, 1), @@ -24,10 +24,10 @@ VALUES ( 1, 1), (42, 1), (49, 1), (50, 1), - (51, 1) + (51, 1); -- ibexa:sql-statement-separator INSERT INTO "ezcontent_language" ("disabled", "id", "locale", "name") -VALUES (0, 2, 'eng-GB', 'English (United Kingdom)') +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); -- ibexa:sql-statement-separator INSERT INTO "ezcontentclass" ("always_available", "contentobject_name", "created", "creator_id", "id", "identifier", "initial_language_id", "is_container", "language_mask", "modified", "modifier_id", "remote_id", "serialized_description_list", "serialized_name_list", "sort_field", "sort_order", "url_alias_name", "version") VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:"eng-GB";s:6:"Folder";}',1,1,NULL,0), @@ -35,7 +35,7 @@ VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d4 (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0) + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0); -- ibexa:sql-statement-separator INSERT INTO "ezcontentclass_attribute" ("can_translate", "category", "contentclass_id", "data_float1", "data_float2", "data_float3", "data_float4", "data_int1", "data_int2", "data_int3", "data_int4", "data_text1", "data_text2", "data_text3", "data_text4", "data_text5", "data_type_string", "id", "identifier", "is_information_collector", "is_required", "is_searchable", "is_thumbnail", "placement", "serialized_data_text", "serialized_description_list", "serialized_name_list", "version") VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}',0), @@ -61,7 +61,7 @@ VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title', (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,FALSE,2,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:10:"Short name";}',0), (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,FALSE,4,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:11:"Description";}',0), (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,TRUE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0) + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,TRUE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0); -- ibexa:sql-statement-separator INSERT INTO "ezcontentclass_classgroup" ("contentclass_id", "contentclass_version", "group_id", "group_name") VALUES (1,0,1,'Content'), @@ -69,7 +69,7 @@ VALUES (1,0,1,'Content'), (3,0,2,'Users'), (4,0,2,'Users'), (5,0,3,'Media'), - (12,0,3,'Media') + (12,0,3,'Media'); -- ibexa:sql-statement-separator INSERT INTO "ezcontentclass_name" ("contentclass_id", "contentclass_version", "language_id", "language_locale", "name") VALUES (1,0,2,'eng-GB','Folder'), @@ -77,12 +77,12 @@ VALUES (1,0,2,'eng-GB','Folder'), (3,0,3,'eng-GB','User group'), (4,0,3,'eng-GB','User'), (5,0,3,'eng-GB','Image'), - (12,0,3,'eng-GB','File') + (12,0,3,'eng-GB','File'); -- ibexa:sql-statement-separator INSERT INTO "ezcontentclassgroup" ("created", "creator_id", "id", "modified", "modifier_id", "name") VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media') + (1032009743, 14, 3, 1033922120, 14, 'Media'); -- ibexa:sql-statement-separator INSERT INTO "ezcontentobject" ("contentclass_id", "current_version", "id", "initial_language_id", "language_mask", "modified", "name", "owner_id", "published", "remote_id", "section_id", "status") VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), @@ -96,7 +96,7 @@ VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e451 (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1) + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); -- ibexa:sql-statement-separator INSERT INTO "ezcontentobject_attribute" ("attribute_original_id", "contentclassattribute_id", "contentobject_id", "data_float", "data_int", "data_text", "data_type_string", "id", "language_code", "language_id", "sort_key_int", "sort_key_string", "version") VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), @@ -138,7 +138,7 @@ VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platfo (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,E'\n\n','ezimage',180,'eng-GB',3,0,'',3) + (0,180,14,0,0,E'\n\n','ezimage',180,'eng-GB',3,0,'',3); -- ibexa:sql-statement-separator INSERT INTO "ezcontentobject_name" ("content_translation", "content_version", "contentobject_id", "language_id", "name", "real_translation") VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), @@ -152,7 +152,7 @@ VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), ('eng-GB',1,42,3,'Anonymous users','eng-GB'), ('eng-GB',1,49,3,'Images','eng-GB'), ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB') + ('eng-GB',1,51,3,'Multimedia','eng-GB'); -- ibexa:sql-statement-separator INSERT INTO "ezcontentobject_tree" ("contentobject_id", "contentobject_is_published", "contentobject_version", "depth", "is_hidden", "is_invisible", "main_node_id", "modified_subnode", "node_id", "parent_node_id", "path_identification_string", "path_string", "priority", "remote_id", "sort_field", "sort_order") VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), @@ -167,7 +167,7 @@ VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96 (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1) + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); -- ibexa:sql-statement-separator INSERT INTO "ezcontentobject_version" ("contentobject_id", "created", "creator_id", "id", "initial_language_id", "language_mask", "modified", "status", "user_id", "version", "workflow_event_pos") VALUES (4,0,14,4,2,3,0,1,0,1,1), @@ -181,7 +181,7 @@ VALUES (4,0,14,4,2,3,0,1,0,1,1), (50,1080220211,14,489,2,3,1080220220,1,0,1,0), (51,1080220225,14,490,2,3,1080220233,1,0,1,0), (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0) + (1,1448889045,14,506,2,3,1448889046,1,0,9,0); -- ibexa:sql-statement-separator INSERT INTO "eznode_assignment" ("contentobject_id", "contentobject_version", "from_node_id", "id", "is_main", "op_code", "parent_node", "parent_remote_id", "remote_id", "sort_field", "sort_order", "priority", "is_hidden") VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), @@ -195,7 +195,7 @@ VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), (49,1,0,27,1,2,43,'','0',9,1,0,0), (50,1,0,28,1,2,43,'','0',9,1,0,0), (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0) + (14,3,-1,38,1,2,13,'','0',1,1,0,0); -- ibexa:sql-statement-separator INSERT INTO "ezpolicy" ("function_name", "id", "module_name", "original_id", "role_id") VALUES ('*',317,'content',0,3), @@ -205,7 +205,7 @@ VALUES ('*',317,'content',0,3), ('*',332,'*',0,2), ('read',333,'content',0,4), ('view_embed',334,'content',0,1), - ('*',340,'url',0,3) + ('*',340,'url',0,3); -- ibexa:sql-statement-separator INSERT INTO "ezpolicy_limitation" ("id", "identifier", "policy_id") VALUES (251,'Section',328), @@ -213,7 +213,7 @@ VALUES (251,'Section',328), (253,'SiteAccess',331), (254,'Class',333), (255,'Owner',333), - (256,'Class',334) + (256,'Class',334); -- ibexa:sql-statement-separator INSERT INTO "ezpolicy_limitation_value" ("id", "limitation_id", "value") VALUES (477,251,'1'), @@ -222,21 +222,21 @@ VALUES (477,251,'1'), (480,254,'4'), (481,255,'1'), (482,256,'5'), - (483,256,'12') + (483,256,'12'); -- ibexa:sql-statement-separator INSERT INTO "ezrole" ("id", "is_new", "name", "value", "version") VALUES (1,0,'Anonymous','',0), (2,0,'Administrator','0',0), (3,0,'Editor','',0), - (4,0,'Member','',0) + (4,0,'Member','',0); -- ibexa:sql-statement-separator INSERT INTO "ezsection" ("id", "identifier", "locale", "name", "navigation_part_identifier") VALUES (1,'standard','','Standard','ezcontentnavigationpart'), (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart') + (3,'media','','Media','ezmedianavigationpart'); -- ibexa:sql-statement-separator INSERT INTO "ezsite_data" ("name", "value") -VALUES ('ibexa-release','4.6') +VALUES ('ibexa-release','4.6'); -- ibexa:sql-statement-separator INSERT INTO "ezurlalias" ("destination_url", "forward_to_id", "id", "is_imported", "is_internal", "is_wildcard", "source_md5", "source_url") VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), @@ -250,7 +250,7 @@ VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia') + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); -- ibexa:sql-statement-separator INSERT INTO "ezurlalias_ml" ("action", "action_type", "alias_redirects", "id", "is_alias", "is_original", "lang_mask", "link", "parent", "text", "text_md5") VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), @@ -277,16 +277,16 @@ VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6' ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0') + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); -- ibexa:sql-statement-separator INSERT INTO "ezurlalias_ml_incr" ("id") VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37) + (34), (35), (36), (37); -- ibexa:sql-statement-separator INSERT INTO "ezuser" ("contentobject_id", "email", "login", "password_hash", "password_hash_type") VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7) + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); -- ibexa:sql-statement-separator INSERT INTO "ezuser_role" ("contentobject_id", "id", "limit_identifier", "limit_value", "role_id") VALUES (11,28,'','',1), @@ -294,74 +294,74 @@ VALUES (11,28,'','',1), (13,32,'Subtree','/1/2/',3), (13,33,'Subtree','/1/43/',3), (12,34,'','',2), - (13,35,'','',4) + (13,35,'','',4); -- ibexa:sql-statement-separator INSERT INTO "ezuser_setting" ("is_enabled", "max_login", "user_id") VALUES (1, 1000, 10), - (1, 10, 14) + (1, 10, 14); -- ibexa:sql-statement-separator INSERT INTO "ezpreferences" ("name", "user_id", "value") -SELECT 'focus_mode', u.contentobject_id, '0' FROM "ezuser" u WHERE u.login = 'admin' +SELECT 'focus_mode', u.contentobject_id, '0' FROM "ezuser" u WHERE u.login = 'admin'; -- ibexa:sql-statement-separator -- Set proper sequence values after inserting data -SELECT SETVAL('ezcobj_state_group_id_seq', COALESCE(MAX(id), 1) ) FROM ezcobj_state_group +SELECT SETVAL('ezcobj_state_group_id_seq', COALESCE(MAX(id), 1) ) FROM ezcobj_state_group; -- ibexa:sql-statement-separator -SELECT SETVAL('ezcobj_state_id_seq', COALESCE(MAX(id), 1) ) FROM ezcobj_state +SELECT SETVAL('ezcobj_state_id_seq', COALESCE(MAX(id), 1) ) FROM ezcobj_state; -- ibexa:sql-statement-separator -SELECT SETVAL('ezcontentbrowsebookmark_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentbrowsebookmark +SELECT SETVAL('ezcontentbrowsebookmark_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentbrowsebookmark; -- ibexa:sql-statement-separator -SELECT SETVAL('ezcontentclass_attribute_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclass_attribute +SELECT SETVAL('ezcontentclass_attribute_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclass_attribute; -- ibexa:sql-statement-separator -SELECT SETVAL('ezcontentclass_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclass +SELECT SETVAL('ezcontentclass_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclass; -- ibexa:sql-statement-separator -SELECT SETVAL('ezcontentclassgroup_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclassgroup +SELECT SETVAL('ezcontentclassgroup_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentclassgroup; -- ibexa:sql-statement-separator -SELECT SETVAL('ezcontentobject_attribute_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_attribute +SELECT SETVAL('ezcontentobject_attribute_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_attribute; -- ibexa:sql-statement-separator -SELECT SETVAL('ezcontentobject_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject +SELECT SETVAL('ezcontentobject_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject; -- ibexa:sql-statement-separator -SELECT SETVAL('ezcontentobject_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_link +SELECT SETVAL('ezcontentobject_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_link; -- ibexa:sql-statement-separator -SELECT SETVAL('ezcontentobject_tree_node_id_seq', COALESCE(MAX(node_id), 1) ) FROM ezcontentobject_tree +SELECT SETVAL('ezcontentobject_tree_node_id_seq', COALESCE(MAX(node_id), 1) ) FROM ezcontentobject_tree; -- ibexa:sql-statement-separator -SELECT SETVAL('ezcontentobject_version_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_version +SELECT SETVAL('ezcontentobject_version_id_seq', COALESCE(MAX(id), 1) ) FROM ezcontentobject_version; -- ibexa:sql-statement-separator -SELECT SETVAL('ezimagefile_id_seq', COALESCE(MAX(id), 1) ) FROM ezimagefile +SELECT SETVAL('ezimagefile_id_seq', COALESCE(MAX(id), 1) ) FROM ezimagefile; -- ibexa:sql-statement-separator -SELECT SETVAL('ezkeyword_attribute_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezkeyword_attribute_link +SELECT SETVAL('ezkeyword_attribute_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezkeyword_attribute_link; -- ibexa:sql-statement-separator -SELECT SETVAL('ezkeyword_id_seq', COALESCE(MAX(id), 1) ) FROM ezkeyword +SELECT SETVAL('ezkeyword_id_seq', COALESCE(MAX(id), 1) ) FROM ezkeyword; -- ibexa:sql-statement-separator -SELECT SETVAL('eznode_assignment_id_seq', COALESCE(MAX(id), 1) ) FROM eznode_assignment +SELECT SETVAL('eznode_assignment_id_seq', COALESCE(MAX(id), 1) ) FROM eznode_assignment; -- ibexa:sql-statement-separator -SELECT SETVAL('eznotification_id_seq', COALESCE(MAX(id), 1) ) FROM eznotification +SELECT SETVAL('eznotification_id_seq', COALESCE(MAX(id), 1) ) FROM eznotification; -- ibexa:sql-statement-separator -SELECT SETVAL('ezpackage_id_seq', COALESCE(MAX(id), 1) ) FROM ezpackage +SELECT SETVAL('ezpackage_id_seq', COALESCE(MAX(id), 1) ) FROM ezpackage; -- ibexa:sql-statement-separator -SELECT SETVAL('ezpolicy_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy +SELECT SETVAL('ezpolicy_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy; -- ibexa:sql-statement-separator -SELECT SETVAL('ezpolicy_limitation_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation +SELECT SETVAL('ezpolicy_limitation_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation; -- ibexa:sql-statement-separator -SELECT SETVAL('ezpolicy_limitation_value_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation_value +SELECT SETVAL('ezpolicy_limitation_value_id_seq', COALESCE(MAX(id), 1) ) FROM ezpolicy_limitation_value; -- ibexa:sql-statement-separator -SELECT SETVAL('ezpreferences_id_seq', COALESCE(MAX(id), 1) ) FROM ezpreferences +SELECT SETVAL('ezpreferences_id_seq', COALESCE(MAX(id), 1) ) FROM ezpreferences; -- ibexa:sql-statement-separator -SELECT SETVAL('ezrole_id_seq', COALESCE(MAX(id), 1) ) FROM ezrole +SELECT SETVAL('ezrole_id_seq', COALESCE(MAX(id), 1) ) FROM ezrole; -- ibexa:sql-statement-separator -SELECT SETVAL('ezsearch_object_word_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezsearch_object_word_link +SELECT SETVAL('ezsearch_object_word_link_id_seq', COALESCE(MAX(id), 1) ) FROM ezsearch_object_word_link; -- ibexa:sql-statement-separator -SELECT SETVAL('ezsearch_word_id_seq', COALESCE(MAX(id), 1) ) FROM ezsearch_word +SELECT SETVAL('ezsearch_word_id_seq', COALESCE(MAX(id), 1) ) FROM ezsearch_word; -- ibexa:sql-statement-separator -SELECT SETVAL('ezsection_id_seq', COALESCE(MAX(id), 1) ) FROM ezsection +SELECT SETVAL('ezsection_id_seq', COALESCE(MAX(id), 1) ) FROM ezsection; -- ibexa:sql-statement-separator -SELECT SETVAL('ezurl_id_seq', COALESCE(MAX(id), 1) ) FROM ezurl +SELECT SETVAL('ezurl_id_seq', COALESCE(MAX(id), 1) ) FROM ezurl; -- ibexa:sql-statement-separator -SELECT SETVAL('ezurlalias_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlalias +SELECT SETVAL('ezurlalias_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlalias; -- ibexa:sql-statement-separator -SELECT SETVAL('ezurlalias_ml_incr_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlalias_ml_incr +SELECT SETVAL('ezurlalias_ml_incr_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlalias_ml_incr; -- ibexa:sql-statement-separator -SELECT SETVAL('ezurlwildcard_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlwildcard +SELECT SETVAL('ezurlwildcard_id_seq', COALESCE(MAX(id), 1) ) FROM ezurlwildcard; -- ibexa:sql-statement-separator -SELECT SETVAL('ezuser_accountkey_id_seq', COALESCE(MAX(id), 1) ) FROM ezuser_accountkey +SELECT SETVAL('ezuser_accountkey_id_seq', COALESCE(MAX(id), 1) ) FROM ezuser_accountkey; -- ibexa:sql-statement-separator -SELECT SETVAL('ezuser_role_id_seq', COALESCE(MAX(id), 1) ) FROM ezuser_role +SELECT SETVAL('ezuser_role_id_seq', COALESCE(MAX(id), 1) ) FROM ezuser_role; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/import-data-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/import-data-sqlite.sql index f06caa6c82..81b1803b4c 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/import-data-sqlite.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/import-data-sqlite.sql @@ -1,16 +1,16 @@ INSERT INTO `ezcobj_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1) + (2, 2, 2, 'locked', 3, 1); -- ibexa:sql-statement-separator INSERT INTO `ezcobj_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) -VALUES (2,2,'ez_lock',3) +VALUES (2,2,'ez_lock',3); -- ibexa:sql-statement-separator INSERT INTO `ezcobj_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) -VALUES (2,'',3,'Lock',2) +VALUES (2,'',3,'Lock',2); -- ibexa:sql-statement-separator INSERT INTO `ezcobj_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked') + (2,'',3,'Locked'); -- ibexa:sql-statement-separator INSERT INTO `ezcobj_state_link` (`contentobject_id`, `contentobject_state_id`) VALUES (1, 1), @@ -24,10 +24,10 @@ VALUES (1, 1), (42, 1), (49, 1), (50, 1), - (51, 1) + (51, 1); -- ibexa:sql-statement-separator INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) -VALUES (0, 2, 'eng-GB', 'English (United Kingdom)') +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), @@ -35,7 +35,7 @@ VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d4 (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0) + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), @@ -61,7 +61,7 @@ VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title', (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0) + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) VALUES (1, 0, 1, 'Content'), @@ -69,7 +69,7 @@ VALUES (1, 0, 1, 'Content'), (3, 0, 2, 'Users'), (4, 0, 2, 'Users'), (5, 0, 3, 'Media'), - (12, 0, 3, 'Media') + (12, 0, 3, 'Media'); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclass_name` (`contentclass_id`, `contentclass_version`, `language_id`, `language_locale`, `name`) VALUES (1, 0, 2, 'eng-GB', 'Folder'), @@ -77,12 +77,12 @@ VALUES (1, 0, 2, 'eng-GB', 'Folder'), (3, 0, 3, 'eng-GB', 'User group'), (4, 0, 3, 'eng-GB', 'User'), (5, 0, 3, 'eng-GB', 'Image'), - (12, 0, 3, 'eng-GB', 'File') + (12, 0, 3, 'eng-GB', 'File'); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclassgroup` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media') + (1032009743, 14, 3, 1033922120, 14, 'Media'); -- ibexa:sql-statement-separator INSERT INTO `ezcontentobject` (`contentclass_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), @@ -96,7 +96,7 @@ VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e451 (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1) + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); -- ibexa:sql-statement-separator INSERT INTO `ezcontentobject_attribute` (`attribute_original_id`, `contentclassattribute_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platform',9), @@ -138,7 +138,7 @@ VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platfo (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3) + (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3); -- ibexa:sql-statement-separator INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), @@ -152,7 +152,7 @@ VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), ('eng-GB',1,42,3,'Anonymous users','eng-GB'), ('eng-GB',1,49,3,'Images','eng-GB'), ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB') + ('eng-GB',1,51,3,'Multimedia','eng-GB'); -- ibexa:sql-statement-separator INSERT INTO `ezcontentobject_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), @@ -167,7 +167,7 @@ VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96 (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1) + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); -- ibexa:sql-statement-separator INSERT INTO `ezcontentobject_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) VALUES (4,0,14,4,2,3,0,1,0,1,1), @@ -181,7 +181,7 @@ VALUES (4,0,14,4,2,3,0,1,0,1,1), (50,1080220211,14,489,2,3,1080220220,1,0,1,0), (51,1080220225,14,490,2,3,1080220233,1,0,1,0), (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0) + (1,1448889045,14,506,2,3,1448889046,1,0,9,0); -- ibexa:sql-statement-separator INSERT INTO `eznode_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), @@ -195,7 +195,7 @@ VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), (49,1,0,27,1,2,43,'','0',9,1,0,0), (50,1,0,28,1,2,43,'','0',9,1,0,0), (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0) + (14,3,-1,38,1,2,13,'','0',1,1,0,0); -- ibexa:sql-statement-separator INSERT INTO `ezpolicy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) VALUES ('*',317,'content',0,3), @@ -205,7 +205,7 @@ VALUES ('*',317,'content',0,3), ('*',332,'*',0,2), ('read',333,'content',0,4), ('view_embed',334,'content',0,1), - ('*',340,'url',0,3) + ('*',340,'url',0,3); -- ibexa:sql-statement-separator INSERT INTO `ezpolicy_limitation` (`id`, `identifier`, `policy_id`) VALUES (251,'Section',328), @@ -213,7 +213,7 @@ VALUES (251,'Section',328), (253,'SiteAccess',331), (254,'Class',333), (255,'Owner',333), - (256,'Class',334) + (256,'Class',334); -- ibexa:sql-statement-separator INSERT INTO `ezpolicy_limitation_value` (`id`, `limitation_id`, `value`) VALUES (477,251,'1'), @@ -222,21 +222,21 @@ VALUES (477,251,'1'), (480,254,'4'), (481,255,'1'), (482,256,'5'), - (483,256,'12') + (483,256,'12'); -- ibexa:sql-statement-separator INSERT INTO `ezrole` (`id`, `is_new`, `name`, `value`, `version`) VALUES (1,0,'Anonymous','',0), (2,0,'Administrator','0',0), (3,0,'Editor','',0), - (4,0,'Member','',0) + (4,0,'Member','',0); -- ibexa:sql-statement-separator INSERT INTO `ezsection` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) VALUES (1,'standard','','Standard','ezcontentnavigationpart'), (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart') + (3,'media','','Media','ezmedianavigationpart'); -- ibexa:sql-statement-separator INSERT INTO `ezsite_data` (`name`, `value`) -VALUES ('ibexa-release','4.6') +VALUES ('ibexa-release','4.6'); -- ibexa:sql-statement-separator INSERT INTO `ezurlalias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), @@ -250,7 +250,7 @@ VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia') + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); -- ibexa:sql-statement-separator INSERT INTO `ezurlalias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), @@ -277,16 +277,16 @@ VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6' ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0') + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); -- ibexa:sql-statement-separator INSERT INTO `ezurlalias_ml_incr` (`id`) VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37) + (34), (35), (36), (37); -- ibexa:sql-statement-separator INSERT INTO `ezuser` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7) + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); -- ibexa:sql-statement-separator INSERT INTO `ezuser_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) VALUES (11,28,'','',1), @@ -294,11 +294,11 @@ VALUES (11,28,'','',1), (13,32,'Subtree','/1/2/',3), (13,33,'Subtree','/1/43/',3), (12,34,'','',2), - (13,35,'','',4) + (13,35,'','',4); -- ibexa:sql-statement-separator INSERT INTO `ezuser_setting` (`is_enabled`, `max_login`, `user_id`) VALUES (1,1000,10), - (1,10,14) + (1,10,14); -- ibexa:sql-statement-separator INSERT INTO `ezpreferences` (`name`, `user_id`, `value`) -SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin' +SELECT 'focus_mode', u.contentobject_id, '0' FROM `ezuser` u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/install-schema-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-mysql.sql index 3004bc86f7..ce1affe2b3 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/install-schema-mysql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-mysql.sql @@ -6,7 +6,7 @@ CREATE TABLE ezbinaryfile ( mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state ( id INT AUTO_INCREMENT NOT NULL, @@ -19,7 +19,7 @@ CREATE TABLE ezcobj_state ( INDEX ezcobj_state_lmask (language_mask), UNIQUE INDEX ezcobj_state_identifier (group_id, identifier), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state_group ( id INT AUTO_INCREMENT NOT NULL, @@ -29,7 +29,7 @@ CREATE TABLE ezcobj_state_group ( INDEX ezcobj_state_group_lmask (language_mask), UNIQUE INDEX ezcobj_state_group_identifier (identifier), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state_group_language ( contentobject_state_group_id INT DEFAULT 0 NOT NULL, @@ -38,7 +38,7 @@ CREATE TABLE ezcobj_state_group_language ( language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state_language ( contentobject_state_id INT DEFAULT 0 NOT NULL, @@ -46,13 +46,13 @@ CREATE TABLE ezcobj_state_language ( description LONGTEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state_link ( contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontent_language ( id BIGINT DEFAULT 0 NOT NULL, @@ -61,7 +61,7 @@ CREATE TABLE ezcontent_language ( name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ezcontent_language_name (name(191)), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezuser ( contentobject_id INT DEFAULT 0 NOT NULL, @@ -72,7 +72,7 @@ CREATE TABLE ezuser ( password_updated_at INT DEFAULT NULL, UNIQUE INDEX ezuser_login (login), PRIMARY KEY(contentobject_id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_tree ( node_id INT AUTO_INCREMENT NOT NULL, @@ -100,7 +100,7 @@ CREATE TABLE ezcontentobject_tree ( INDEX modified_subnode (modified_subnode), INDEX ezcontentobject_tree_remote_id (remote_id), PRIMARY KEY(node_id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentbrowsebookmark ( id INT AUTO_INCREMENT NOT NULL, @@ -111,7 +111,7 @@ CREATE TABLE ezcontentbrowsebookmark ( INDEX ezcontentbrowsebookmark_user (user_id), INDEX ezcontentbrowsebookmark_user_location (user_id, node_id), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass ( id INT AUTO_INCREMENT NOT NULL, @@ -135,7 +135,7 @@ CREATE TABLE ezcontentclass ( INDEX ezcontentclass_version (version), INDEX ezcontentclass_identifier (identifier, version), PRIMARY KEY(id, version) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_attribute ( id INT AUTO_INCREMENT NOT NULL, @@ -169,7 +169,7 @@ CREATE TABLE ezcontentclass_attribute ( INDEX ezcontentclass_attr_ccid (contentclass_id), INDEX ezcontentclass_attr_dts (data_type_string), PRIMARY KEY(id, version) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_attribute_ml ( contentclass_attribute_id INT NOT NULL, @@ -181,7 +181,7 @@ CREATE TABLE ezcontentclass_attribute_ml ( data_json TEXT DEFAULT NULL, INDEX ezcontentclass_attribute_ml_lang_fk (language_id), PRIMARY KEY(contentclass_attribute_id, version, language_id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_classgroup ( contentclass_id INT DEFAULT 0 NOT NULL, @@ -189,7 +189,7 @@ CREATE TABLE ezcontentclass_classgroup ( group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_name ( contentclass_id INT DEFAULT 0 NOT NULL, @@ -198,7 +198,7 @@ CREATE TABLE ezcontentclass_name ( language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentclassgroup ( id INT AUTO_INCREMENT NOT NULL, @@ -209,7 +209,7 @@ CREATE TABLE ezcontentclassgroup ( name VARCHAR(255) DEFAULT NULL, is_system TINYINT(1) DEFAULT '0' NOT NULL, PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject ( id INT AUTO_INCREMENT NOT NULL, @@ -234,7 +234,7 @@ CREATE TABLE ezcontentobject ( INDEX ezcontentobject_status (status), UNIQUE INDEX ezcontentobject_remote_id (remote_id), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_attribute ( id INT AUTO_INCREMENT NOT NULL, @@ -257,7 +257,7 @@ CREATE TABLE ezcontentobject_attribute ( INDEX sort_key_int (sort_key_int), INDEX ezcontentobject_attribute_co_id_ver (contentobject_id, version), PRIMARY KEY(id, version) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_link ( id INT AUTO_INCREMENT NOT NULL, @@ -270,7 +270,7 @@ CREATE TABLE ezcontentobject_link ( INDEX ezco_link_from (from_contentobject_id, from_contentobject_version, contentclassattribute_id), INDEX ezco_link_cca_id (contentclassattribute_id), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_name ( contentobject_id INT DEFAULT 0 NOT NULL, @@ -283,7 +283,7 @@ CREATE TABLE ezcontentobject_name ( INDEX ezcontentobject_name_cov_id (content_version), INDEX ezcontentobject_name_name (name(191)), PRIMARY KEY(contentobject_id, content_version, content_translation) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_trash ( node_id INT DEFAULT 0 NOT NULL, @@ -309,7 +309,7 @@ CREATE TABLE ezcontentobject_trash ( INDEX ezcobj_trash_modified_subnode (modified_subnode), INDEX ezcobj_trash_path (path_string(191)), PRIMARY KEY(node_id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_version ( id INT AUTO_INCREMENT NOT NULL, @@ -328,7 +328,7 @@ CREATE TABLE ezcontentobject_version ( INDEX ezcontobj_version_obj_status (contentobject_id, status), INDEX ezcobj_version_creator_id (creator_id), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezdfsfile ( name_hash VARCHAR(34) DEFAULT '' NOT NULL, @@ -345,7 +345,7 @@ CREATE TABLE ezdfsfile ( INDEX ezdfsfile_name (name(191)), INDEX ezdfsfile_mtime (mtime), PRIMARY KEY(name_hash) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezgmaplocation ( contentobject_attribute_id INT DEFAULT 0 NOT NULL, @@ -355,7 +355,7 @@ CREATE TABLE ezgmaplocation ( address VARCHAR(150) DEFAULT NULL, INDEX latitude_longitude_key (latitude, longitude), PRIMARY KEY(contentobject_attribute_id, contentobject_version) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezimagefile ( id INT AUTO_INCREMENT NOT NULL, @@ -364,7 +364,7 @@ CREATE TABLE ezimagefile ( INDEX ezimagefile_file (filepath(191)), INDEX ezimagefile_coid (contentobject_attribute_id), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezkeyword ( id INT AUTO_INCREMENT NOT NULL, @@ -372,7 +372,7 @@ CREATE TABLE ezkeyword ( keyword VARCHAR(255) DEFAULT NULL, INDEX ezkeyword_keyword (keyword(191)), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezkeyword_attribute_link ( id INT AUTO_INCREMENT NOT NULL, @@ -383,7 +383,7 @@ CREATE TABLE ezkeyword_attribute_link ( INDEX ezkeyword_attr_link_kid_oaid (keyword_id, objectattribute_id), INDEX ezkeyword_attr_link_oaid_ver (objectattribute_id, version), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezmedia ( contentobject_attribute_id INT DEFAULT 0 NOT NULL, @@ -400,7 +400,7 @@ CREATE TABLE ezmedia ( quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE eznode_assignment ( id INT AUTO_INCREMENT NOT NULL, @@ -421,7 +421,7 @@ CREATE TABLE eznode_assignment ( INDEX eznode_assignment_parent_node (parent_node), INDEX eznode_assignment_co_version (contentobject_version), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE eznotification ( id INT AUTO_INCREMENT NOT NULL, @@ -433,7 +433,7 @@ CREATE TABLE eznotification ( INDEX eznotification_owner_is_pending (owner_id, is_pending), INDEX eznotification_owner (owner_id), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezpackage ( id INT AUTO_INCREMENT NOT NULL, @@ -441,7 +441,7 @@ CREATE TABLE ezpackage ( name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezpolicy ( id INT AUTO_INCREMENT NOT NULL, @@ -452,7 +452,7 @@ CREATE TABLE ezpolicy ( INDEX ezpolicy_role_id (role_id), INDEX ezpolicy_original_id (original_id), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezpolicy_limitation ( id INT AUTO_INCREMENT NOT NULL, @@ -460,7 +460,7 @@ CREATE TABLE ezpolicy_limitation ( policy_id INT DEFAULT NULL, INDEX policy_id (policy_id), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezpolicy_limitation_value ( id INT AUTO_INCREMENT NOT NULL, @@ -469,7 +469,7 @@ CREATE TABLE ezpolicy_limitation_value ( INDEX ezpolicy_limit_value_limit_id (limitation_id), INDEX ezpolicy_limitation_value_val (value(191)), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezpreferences ( id INT AUTO_INCREMENT NOT NULL, @@ -479,7 +479,7 @@ CREATE TABLE ezpreferences ( INDEX ezpreferences_user_id_idx (user_id, name), INDEX ezpreferences_name (name), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezrole ( id INT AUTO_INCREMENT NOT NULL, @@ -488,7 +488,7 @@ CREATE TABLE ezrole ( value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezsearch_object_word_link ( id INT AUTO_INCREMENT NOT NULL, @@ -511,7 +511,7 @@ CREATE TABLE ezsearch_object_word_link ( INDEX ezsearch_object_word_link_word (word_id), INDEX ezsearch_object_word_link_frequency (frequency), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezsearch_word ( id INT AUTO_INCREMENT NOT NULL, @@ -520,7 +520,7 @@ CREATE TABLE ezsearch_word ( INDEX ezsearch_word_word_i (word), INDEX ezsearch_word_obj_count (object_count), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezsection ( id INT AUTO_INCREMENT NOT NULL, @@ -529,13 +529,13 @@ CREATE TABLE ezsection ( name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezsite_data ( name VARCHAR(60) DEFAULT '' NOT NULL, value LONGTEXT NOT NULL, PRIMARY KEY(name) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezurl ( id INT AUTO_INCREMENT NOT NULL, @@ -547,7 +547,7 @@ CREATE TABLE ezurl ( url LONGTEXT DEFAULT NULL, INDEX ezurl_url (url(191)), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezurl_object_link ( contentobject_attribute_id INT DEFAULT 0 NOT NULL, @@ -557,7 +557,7 @@ CREATE TABLE ezurl_object_link ( INDEX ezurl_ol_url_id (url_id), INDEX ezurl_ol_coa_version (contentobject_attribute_version), INDEX ezurl_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezurlalias ( id INT AUTO_INCREMENT NOT NULL, @@ -575,7 +575,7 @@ CREATE TABLE ezurlalias ( INDEX ezurlalias_source_url (source_url(191)), INDEX ezurlalias_desturl (destination_url(191)), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezurlalias_ml ( parent INT DEFAULT 0 NOT NULL, @@ -598,12 +598,12 @@ CREATE TABLE ezurlalias_ml ( INDEX ezurlalias_ml_link (link), INDEX ezurlalias_ml_id (id), PRIMARY KEY(parent, text_md5) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezurlalias_ml_incr ( id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezurlwildcard ( id INT AUTO_INCREMENT NOT NULL, @@ -611,7 +611,7 @@ CREATE TABLE ezurlwildcard ( source_url LONGTEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezuser_accountkey ( id INT AUTO_INCREMENT NOT NULL, @@ -620,7 +620,7 @@ CREATE TABLE ezuser_accountkey ( user_id INT DEFAULT 0 NOT NULL, INDEX hash_key (hash_key), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezuser_role ( id INT AUTO_INCREMENT NOT NULL, @@ -631,14 +631,14 @@ CREATE TABLE ezuser_role ( INDEX ezuser_role_role_id (role_id), INDEX ezuser_role_contentobject_id (contentobject_id), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ezuser_setting ( user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ibexa_setting ( id INT AUTO_INCREMENT NOT NULL, @@ -648,14 +648,14 @@ CREATE TABLE ibexa_setting ( INDEX ibexa_setting_id (id), UNIQUE INDEX ibexa_setting_group_identifier (`group`, identifier), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ibexa_token_type ( id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL, UNIQUE INDEX ibexa_token_type_unique (identifier), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator CREATE TABLE ibexa_token ( id INT AUTO_INCREMENT NOT NULL, @@ -668,12 +668,12 @@ CREATE TABLE ibexa_token ( INDEX IDX_B5412887C54C8C93 (type_id), UNIQUE INDEX ibexa_token_unique (token, identifier, type_id), PRIMARY KEY(id) -) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB +) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE +ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE +ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE +ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE +ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/install-schema-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-postgresql.sql index f659882f0f..eef2fa53ac 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/install-schema-postgresql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-postgresql.sql @@ -6,7 +6,7 @@ CREATE TABLE ezbinaryfile ( mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state ( id SERIAL NOT NULL, @@ -16,13 +16,13 @@ CREATE TABLE ezcobj_state ( language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority) +CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask) +CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier) +CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier); -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state_group ( id SERIAL NOT NULL, @@ -30,11 +30,11 @@ CREATE TABLE ezcobj_state_group ( identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask) +CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier) +CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier); -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state_group_language ( contentobject_state_group_id INT DEFAULT 0 NOT NULL, @@ -43,7 +43,7 @@ CREATE TABLE ezcobj_state_group_language ( language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state_language ( contentobject_state_id INT DEFAULT 0 NOT NULL, @@ -51,13 +51,13 @@ CREATE TABLE ezcobj_state_language ( description TEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state_link ( contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcontent_language ( id BIGINT DEFAULT 0 NOT NULL, @@ -65,9 +65,9 @@ CREATE TABLE ezcontent_language ( locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontent_language_name ON ezcontent_language (name) +CREATE INDEX ezcontent_language_name ON ezcontent_language (name); -- ibexa:sql-statement-separator CREATE TABLE ezuser ( contentobject_id INT DEFAULT 0 NOT NULL, @@ -77,9 +77,9 @@ CREATE TABLE ezuser ( password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, PRIMARY KEY(contentobject_id) -) +); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ezuser_login ON ezuser (login) +CREATE UNIQUE INDEX ezuser_login ON ezuser (login); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_tree ( node_id SERIAL NOT NULL, @@ -99,23 +99,23 @@ CREATE TABLE ezcontentobject_tree ( sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, PRIMARY KEY(node_id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id) +CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string) +CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id) +CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id) +CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth) +CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string) +CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string); -- ibexa:sql-statement-separator -CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode) +CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id) +CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id); -- ibexa:sql-statement-separator CREATE TABLE ezcontentbrowsebookmark ( id SERIAL NOT NULL, @@ -123,13 +123,13 @@ CREATE TABLE ezcontentbrowsebookmark ( user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id) +CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id) +CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id) +CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass ( id SERIAL NOT NULL, @@ -151,11 +151,11 @@ CREATE TABLE ezcontentclass ( sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id, version) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentclass_version ON ezcontentclass (version) +CREATE INDEX ezcontentclass_version ON ezcontentclass (version); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version) +CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_attribute ( id SERIAL NOT NULL, @@ -187,11 +187,11 @@ CREATE TABLE ezcontentclass_attribute ( serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT NOT NULL, PRIMARY KEY(id, version) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id) +CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string) +CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_attribute_ml ( contentclass_attribute_id INT NOT NULL, @@ -202,9 +202,9 @@ CREATE TABLE ezcontentclass_attribute_ml ( data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, PRIMARY KEY(contentclass_attribute_id, version, language_id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id) +CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_classgroup ( contentclass_id INT DEFAULT 0 NOT NULL, @@ -212,7 +212,7 @@ CREATE TABLE ezcontentclass_classgroup ( group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_name ( contentclass_id INT DEFAULT 0 NOT NULL, @@ -221,7 +221,7 @@ CREATE TABLE ezcontentclass_name ( language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclassgroup ( id SERIAL NOT NULL, @@ -232,7 +232,7 @@ CREATE TABLE ezcontentclassgroup ( name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject ( id SERIAL NOT NULL, @@ -249,23 +249,23 @@ CREATE TABLE ezcontentobject ( status INT DEFAULT 0, is_hidden BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id) +CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask) +CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_pub ON ezcontentobject (published) +CREATE INDEX ezcontentobject_pub ON ezcontentobject (published); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id) +CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version) +CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id) +CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_status ON ezcontentobject (status) +CREATE INDEX ezcontentobject_status ON ezcontentobject (status); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id) +CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_attribute ( id SERIAL NOT NULL, @@ -282,19 +282,19 @@ CREATE TABLE ezcontentobject_attribute ( sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id, version) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code) +CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id) +CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id); -- ibexa:sql-statement-separator -CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string) +CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code) +CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code); -- ibexa:sql-statement-separator -CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int) +CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version) +CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_link ( id SERIAL NOT NULL, @@ -304,13 +304,13 @@ CREATE TABLE ezcontentobject_link ( relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id) +CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id); -- ibexa:sql-statement-separator -CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id) +CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id); -- ibexa:sql-statement-separator -CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id) +CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_name ( contentobject_id INT DEFAULT 0 NOT NULL, @@ -320,13 +320,13 @@ CREATE TABLE ezcontentobject_name ( name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id) +CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version) +CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name) +CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_trash ( node_id INT DEFAULT 0 NOT NULL, @@ -346,19 +346,19 @@ CREATE TABLE ezcontentobject_trash ( sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, PRIMARY KEY(node_id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth) +CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id) +CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string) +CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id) +CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode) +CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string) +CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_version ( id SERIAL NOT NULL, @@ -373,15 +373,15 @@ CREATE TABLE ezcontentobject_version ( version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status) +CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status); -- ibexa:sql-statement-separator -CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version) +CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version); -- ibexa:sql-statement-separator -CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status) +CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id) +CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id); -- ibexa:sql-statement-separator CREATE TABLE ezdfsfile ( name_hash VARCHAR(34) DEFAULT '' NOT NULL, @@ -394,15 +394,15 @@ CREATE TABLE ezdfsfile ( expired BOOLEAN DEFAULT 'false' NOT NULL, status BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(name_hash) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk) +CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk); -- ibexa:sql-statement-separator -CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name) +CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name); -- ibexa:sql-statement-separator -CREATE INDEX ezdfsfile_name ON ezdfsfile (name) +CREATE INDEX ezdfsfile_name ON ezdfsfile (name); -- ibexa:sql-statement-separator -CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime) +CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime); -- ibexa:sql-statement-separator CREATE TABLE ezgmaplocation ( contentobject_attribute_id INT DEFAULT 0 NOT NULL, @@ -411,29 +411,29 @@ CREATE TABLE ezgmaplocation ( longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version) -) +); -- ibexa:sql-statement-separator -CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude) +CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude); -- ibexa:sql-statement-separator CREATE TABLE ezimagefile ( id SERIAL NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath TEXT NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezimagefile_file ON ezimagefile (filepath) +CREATE INDEX ezimagefile_file ON ezimagefile (filepath); -- ibexa:sql-statement-separator -CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id) +CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id); -- ibexa:sql-statement-separator CREATE TABLE ezkeyword ( id SERIAL NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword) +CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword); -- ibexa:sql-statement-separator CREATE TABLE ezkeyword_attribute_link ( id SERIAL NOT NULL, @@ -441,13 +441,13 @@ CREATE TABLE ezkeyword_attribute_link ( objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id) +CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id); -- ibexa:sql-statement-separator -CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id) +CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id); -- ibexa:sql-statement-separator -CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version) +CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version); -- ibexa:sql-statement-separator CREATE TABLE ezmedia ( contentobject_attribute_id INT DEFAULT 0 NOT NULL, @@ -464,7 +464,7 @@ CREATE TABLE ezmedia ( quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version) -) +); -- ibexa:sql-statement-separator CREATE TABLE eznode_assignment ( id SERIAL NOT NULL, @@ -481,15 +481,15 @@ CREATE TABLE eznode_assignment ( priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main) +CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main); -- ibexa:sql-statement-separator -CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version) +CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version); -- ibexa:sql-statement-separator -CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node) +CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node); -- ibexa:sql-statement-separator -CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version) +CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version); -- ibexa:sql-statement-separator CREATE TABLE eznotification ( id SERIAL NOT NULL, @@ -499,11 +499,11 @@ CREATE TABLE eznotification ( created INT DEFAULT 0 NOT NULL, data TEXT DEFAULT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending) +CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending); -- ibexa:sql-statement-separator -CREATE INDEX eznotification_owner ON eznotification (owner_id) +CREATE INDEX eznotification_owner ON eznotification (owner_id); -- ibexa:sql-statement-separator CREATE TABLE ezpackage ( id SERIAL NOT NULL, @@ -511,7 +511,7 @@ CREATE TABLE ezpackage ( name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezpolicy ( id SERIAL NOT NULL, @@ -520,31 +520,31 @@ CREATE TABLE ezpolicy ( original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id) +CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id); -- ibexa:sql-statement-separator -CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id) +CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id); -- ibexa:sql-statement-separator CREATE TABLE ezpolicy_limitation ( id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX policy_id ON ezpolicy_limitation (policy_id) +CREATE INDEX policy_id ON ezpolicy_limitation (policy_id); -- ibexa:sql-statement-separator CREATE TABLE ezpolicy_limitation_value ( id SERIAL NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id) +CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id); -- ibexa:sql-statement-separator -CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value) +CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value); -- ibexa:sql-statement-separator CREATE TABLE ezpreferences ( id SERIAL NOT NULL, @@ -552,11 +552,11 @@ CREATE TABLE ezpreferences ( user_id INT DEFAULT 0 NOT NULL, value TEXT DEFAULT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name) +CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name); -- ibexa:sql-statement-separator -CREATE INDEX ezpreferences_name ON ezpreferences (name) +CREATE INDEX ezpreferences_name ON ezpreferences (name); -- ibexa:sql-statement-separator CREATE TABLE ezrole ( id SERIAL NOT NULL, @@ -565,7 +565,7 @@ CREATE TABLE ezrole ( value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezsearch_object_word_link ( id SERIAL NOT NULL, @@ -583,28 +583,28 @@ CREATE TABLE ezsearch_object_word_link ( word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id) +CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier) +CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value) +CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id) +CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency) +CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency); -- ibexa:sql-statement-separator CREATE TABLE ezsearch_word ( id SERIAL NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word) +CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count) +CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count); -- ibexa:sql-statement-separator CREATE TABLE ezsection ( id SERIAL NOT NULL, @@ -613,13 +613,13 @@ CREATE TABLE ezsection ( name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezsite_data ( name VARCHAR(60) DEFAULT '' NOT NULL, value TEXT NOT NULL, PRIMARY KEY(name) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezurl ( id SERIAL NOT NULL, @@ -630,23 +630,23 @@ CREATE TABLE ezurl ( original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url TEXT DEFAULT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezurl_url ON ezurl (url) +CREATE INDEX ezurl_url ON ezurl (url); -- ibexa:sql-statement-separator CREATE TABLE ezurl_object_link ( contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id) +CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id); -- ibexa:sql-statement-separator -CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id) +CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id); -- ibexa:sql-statement-separator -CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version) +CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version); -- ibexa:sql-statement-separator -CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version) +CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version); -- ibexa:sql-statement-separator CREATE TABLE ezurlalias ( id SERIAL NOT NULL, @@ -658,19 +658,19 @@ CREATE TABLE ezurlalias ( source_md5 VARCHAR(32) DEFAULT NULL, source_url TEXT NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5) +CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id) +CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id) +CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id) +CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url) +CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url) +CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url); -- ibexa:sql-statement-separator CREATE TABLE ezurlalias_ml ( parent INT DEFAULT 0 NOT NULL, @@ -685,28 +685,28 @@ CREATE TABLE ezurlalias_ml ( link INT DEFAULT 0 NOT NULL, text TEXT NOT NULL, PRIMARY KEY(parent, text_md5) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias) +CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent) +CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml (action, id, link, parent) +CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml (action, id, link, parent); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link) +CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml (action, is_original) +CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml (action, is_original); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link) +CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link) +CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id) +CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id); -- ibexa:sql-statement-separator CREATE TABLE ezurlalias_ml_incr ( id SERIAL NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezurlwildcard ( id SERIAL NOT NULL, @@ -714,7 +714,7 @@ CREATE TABLE ezurlwildcard ( source_url TEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezuser_accountkey ( id SERIAL NOT NULL, @@ -722,9 +722,9 @@ CREATE TABLE ezuser_accountkey ( time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX hash_key ON ezuser_accountkey (hash_key) +CREATE INDEX hash_key ON ezuser_accountkey (hash_key); -- ibexa:sql-statement-separator CREATE TABLE ezuser_role ( id SERIAL NOT NULL, @@ -733,18 +733,18 @@ CREATE TABLE ezuser_role ( limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id) +CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id); -- ibexa:sql-statement-separator -CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id) +CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id); -- ibexa:sql-statement-separator CREATE TABLE ezuser_setting ( user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ibexa_setting ( id SERIAL NOT NULL, @@ -752,19 +752,19 @@ CREATE TABLE ibexa_setting ( identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ibexa_setting_id ON ibexa_setting (id) +CREATE INDEX ibexa_setting_id ON ibexa_setting (id); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier) +CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); -- ibexa:sql-statement-separator CREATE TABLE ibexa_token_type ( id SERIAL NOT NULL, identifier VARCHAR(64) NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier) +CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); -- ibexa:sql-statement-separator CREATE TABLE ibexa_token ( id SERIAL NOT NULL, @@ -775,16 +775,16 @@ CREATE TABLE ibexa_token ( expires INT DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id) +CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id) +CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); -- ibexa:sql-statement-separator -ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE +ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE +ALTER TABLE ezcontentbrowsebookmark ADD CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE +ALTER TABLE ezcontentclass_attribute_ml ADD CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE +ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/install-schema-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-sqlite.sql index 89d8450fe5..38c87c1365 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/install-schema-sqlite.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-sqlite.sql @@ -6,7 +6,7 @@ CREATE TABLE ezbinaryfile ( mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -15,24 +15,24 @@ CREATE TABLE ezcobj_state ( identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INTEGER DEFAULT 0 NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority) +CREATE INDEX ezcobj_state_priority ON ezcobj_state (priority); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask) +CREATE INDEX ezcobj_state_lmask ON ezcobj_state (language_mask); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier) +CREATE UNIQUE INDEX ezcobj_state_identifier ON ezcobj_state (group_id, identifier); -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state_group ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask) +CREATE INDEX ezcobj_state_group_lmask ON ezcobj_state_group (language_mask); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier) +CREATE UNIQUE INDEX ezcobj_state_group_identifier ON ezcobj_state_group (identifier); -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state_group_language ( contentobject_state_group_id INTEGER DEFAULT 0 NOT NULL, @@ -41,7 +41,7 @@ CREATE TABLE ezcobj_state_group_language ( language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state_language ( contentobject_state_id INTEGER DEFAULT 0 NOT NULL, @@ -49,13 +49,13 @@ CREATE TABLE ezcobj_state_language ( description CLOB NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcobj_state_link ( contentobject_id INTEGER DEFAULT 0 NOT NULL, contentobject_state_id INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcontent_language ( id BIGINT DEFAULT 0 NOT NULL, @@ -63,9 +63,9 @@ CREATE TABLE ezcontent_language ( locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontent_language_name ON ezcontent_language (name) +CREATE INDEX ezcontent_language_name ON ezcontent_language (name); -- ibexa:sql-statement-separator CREATE TABLE ezuser ( contentobject_id INTEGER DEFAULT 0 NOT NULL, @@ -75,9 +75,9 @@ CREATE TABLE ezuser ( password_hash_type INTEGER DEFAULT 1 NOT NULL, password_updated_at INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_id) -) +); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ezuser_login ON ezuser (login) +CREATE UNIQUE INDEX ezuser_login ON ezuser (login); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_tree ( node_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -96,23 +96,23 @@ CREATE TABLE ezcontentobject_tree ( remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1 -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id) +CREATE INDEX ezcontentobject_tree_p_node_id ON ezcontentobject_tree (parent_node_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string) +CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree (path_identification_string); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id) +CREATE INDEX ezcontentobject_tree_contentobject_id_path_string ON ezcontentobject_tree (path_string, contentobject_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id) +CREATE INDEX ezcontentobject_tree_co_id ON ezcontentobject_tree (contentobject_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth) +CREATE INDEX ezcontentobject_tree_depth ON ezcontentobject_tree (depth); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string) +CREATE INDEX ezcontentobject_tree_path ON ezcontentobject_tree (path_string); -- ibexa:sql-statement-separator -CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode) +CREATE INDEX modified_subnode ON ezcontentobject_tree (modified_subnode); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id) +CREATE INDEX ezcontentobject_tree_remote_id ON ezcontentobject_tree (remote_id); -- ibexa:sql-statement-separator CREATE TABLE ezcontentbrowsebookmark ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -121,13 +121,13 @@ CREATE TABLE ezcontentbrowsebookmark ( name VARCHAR(255) DEFAULT '' NOT NULL, CONSTRAINT ezcontentbrowsebookmark_location_fk FOREIGN KEY (node_id) REFERENCES ezcontentobject_tree (node_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE, CONSTRAINT ezcontentbrowsebookmark_user_fk FOREIGN KEY (user_id) REFERENCES ezuser (contentobject_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id) +CREATE INDEX ezcontentbrowsebookmark_location ON ezcontentbrowsebookmark (node_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id) +CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id) +CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -148,11 +148,11 @@ CREATE TABLE ezcontentclass ( sort_field INTEGER DEFAULT 1 NOT NULL, sort_order INTEGER DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentclass_version ON ezcontentclass (version) +CREATE INDEX ezcontentclass_version ON ezcontentclass (version); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version) +CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_attribute ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -183,11 +183,11 @@ CREATE TABLE ezcontentclass_attribute ( serialized_data_text CLOB DEFAULT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id) +CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string) +CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_attribute_ml ( contentclass_attribute_id INTEGER NOT NULL, @@ -199,9 +199,9 @@ CREATE TABLE ezcontentclass_attribute_ml ( data_json CLOB DEFAULT NULL, PRIMARY KEY(contentclass_attribute_id, version, language_id), CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ezcontent_language (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id) +CREATE INDEX ezcontentclass_attribute_ml_lang_fk ON ezcontentclass_attribute_ml (language_id); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_classgroup ( contentclass_id INTEGER DEFAULT 0 NOT NULL, @@ -209,7 +209,7 @@ CREATE TABLE ezcontentclass_classgroup ( group_id INTEGER DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(contentclass_id, contentclass_version, group_id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_name ( contentclass_id INTEGER DEFAULT 0 NOT NULL, @@ -218,7 +218,7 @@ CREATE TABLE ezcontentclass_name ( language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentclass_id, contentclass_version, language_id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclassgroup ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -228,7 +228,7 @@ CREATE TABLE ezcontentclassgroup ( modifier_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT '0' NOT NULL -) +); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -244,23 +244,23 @@ CREATE TABLE ezcontentobject ( section_id INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0, is_hidden BOOLEAN DEFAULT '0' NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id) +CREATE INDEX ezcontentobject_classid ON ezcontentobject (contentclass_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask) +CREATE INDEX ezcontentobject_lmask ON ezcontentobject (language_mask); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_pub ON ezcontentobject (published) +CREATE INDEX ezcontentobject_pub ON ezcontentobject (published); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id) +CREATE INDEX ezcontentobject_section ON ezcontentobject (section_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version) +CREATE INDEX ezcontentobject_currentversion ON ezcontentobject (current_version); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id) +CREATE INDEX ezcontentobject_owner ON ezcontentobject (owner_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_status ON ezcontentobject (status) +CREATE INDEX ezcontentobject_status ON ezcontentobject (status); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id) +CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_attribute ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -276,19 +276,19 @@ CREATE TABLE ezcontentobject_attribute ( language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INTEGER DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code) +CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id) +CREATE INDEX ezcontentobject_classattr_id ON ezcontentobject_attribute (contentclassattribute_id); -- ibexa:sql-statement-separator -CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string) +CREATE INDEX sort_key_string ON ezcontentobject_attribute (sort_key_string); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code) +CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute (language_code); -- ibexa:sql-statement-separator -CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int) +CREATE INDEX sort_key_int ON ezcontentobject_attribute (sort_key_int); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version) +CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_link ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -297,13 +297,13 @@ CREATE TABLE ezcontentobject_link ( from_contentobject_version INTEGER DEFAULT 0 NOT NULL, relation_type INTEGER DEFAULT 1 NOT NULL, to_contentobject_id INTEGER DEFAULT 0 NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id) +CREATE INDEX ezco_link_to_co_id ON ezcontentobject_link (to_contentobject_id); -- ibexa:sql-statement-separator -CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id) +CREATE INDEX ezco_link_from ON ezcontentobject_link (from_contentobject_id, from_contentobject_version, contentclassattribute_id); -- ibexa:sql-statement-separator -CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id) +CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_name ( contentobject_id INTEGER DEFAULT 0 NOT NULL, @@ -313,13 +313,13 @@ CREATE TABLE ezcontentobject_name ( name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id) +CREATE INDEX ezcontentobject_name_lang_id ON ezcontentobject_name (language_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version) +CREATE INDEX ezcontentobject_name_cov_id ON ezcontentobject_name (content_version); -- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name) +CREATE INDEX ezcontentobject_name_name ON ezcontentobject_name (name); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_trash ( node_id INTEGER DEFAULT 0 NOT NULL, @@ -339,19 +339,19 @@ CREATE TABLE ezcontentobject_trash ( sort_order INTEGER DEFAULT 1, trashed INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(node_id) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth) +CREATE INDEX ezcobj_trash_depth ON ezcontentobject_trash (depth); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id) +CREATE INDEX ezcobj_trash_p_node_id ON ezcontentobject_trash (parent_node_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string) +CREATE INDEX ezcobj_trash_path_ident ON ezcontentobject_trash (path_identification_string); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id) +CREATE INDEX ezcobj_trash_co_id ON ezcontentobject_trash (contentobject_id); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode) +CREATE INDEX ezcobj_trash_modified_subnode ON ezcontentobject_trash (modified_subnode); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string) +CREATE INDEX ezcobj_trash_path ON ezcontentobject_trash (path_string); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_version ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -365,15 +365,15 @@ CREATE TABLE ezcontentobject_version ( user_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, workflow_event_pos INTEGER DEFAULT 0 -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status) +CREATE INDEX ezcobj_version_status ON ezcontentobject_version (status); -- ibexa:sql-statement-separator -CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version) +CREATE INDEX idx_object_version_objver ON ezcontentobject_version (contentobject_id, version); -- ibexa:sql-statement-separator -CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status) +CREATE INDEX ezcontobj_version_obj_status ON ezcontentobject_version (contentobject_id, status); -- ibexa:sql-statement-separator -CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id) +CREATE INDEX ezcobj_version_creator_id ON ezcontentobject_version (creator_id); -- ibexa:sql-statement-separator CREATE TABLE ezdfsfile ( name_hash VARCHAR(34) DEFAULT '' NOT NULL, @@ -386,15 +386,15 @@ CREATE TABLE ezdfsfile ( expired BOOLEAN DEFAULT '0' NOT NULL, status BOOLEAN DEFAULT '0' NOT NULL, PRIMARY KEY(name_hash) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk) +CREATE INDEX ezdfsfile_name_trunk ON ezdfsfile (name_trunk); -- ibexa:sql-statement-separator -CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name) +CREATE INDEX ezdfsfile_expired_name ON ezdfsfile (expired, name); -- ibexa:sql-statement-separator -CREATE INDEX ezdfsfile_name ON ezdfsfile (name) +CREATE INDEX ezdfsfile_name ON ezdfsfile (name); -- ibexa:sql-statement-separator -CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime) +CREATE INDEX ezdfsfile_mtime ON ezdfsfile (mtime); -- ibexa:sql-statement-separator CREATE TABLE ezgmaplocation ( contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, @@ -403,40 +403,40 @@ CREATE TABLE ezgmaplocation ( longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version) -) +); -- ibexa:sql-statement-separator -CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude) +CREATE INDEX latitude_longitude_key ON ezgmaplocation (latitude, longitude); -- ibexa:sql-statement-separator CREATE TABLE ezimagefile ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, filepath CLOB NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezimagefile_file ON ezimagefile (filepath) +CREATE INDEX ezimagefile_file ON ezimagefile (filepath); -- ibexa:sql-statement-separator -CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id) +CREATE INDEX ezimagefile_coid ON ezimagefile (contentobject_attribute_id); -- ibexa:sql-statement-separator CREATE TABLE ezkeyword ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, class_id INTEGER DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword) +CREATE INDEX ezkeyword_keyword ON ezkeyword (keyword); -- ibexa:sql-statement-separator CREATE TABLE ezkeyword_attribute_link ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, keyword_id INTEGER DEFAULT 0 NOT NULL, objectattribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id) +CREATE INDEX ezkeyword_attr_link_oaid ON ezkeyword_attribute_link (objectattribute_id); -- ibexa:sql-statement-separator -CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id) +CREATE INDEX ezkeyword_attr_link_kid_oaid ON ezkeyword_attribute_link (keyword_id, objectattribute_id); -- ibexa:sql-statement-separator -CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version) +CREATE INDEX ezkeyword_attr_link_oaid_ver ON ezkeyword_attribute_link (objectattribute_id, version); -- ibexa:sql-statement-separator CREATE TABLE ezmedia ( contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, @@ -453,7 +453,7 @@ CREATE TABLE ezmedia ( quality VARCHAR(50) DEFAULT NULL, width INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version) -) +); -- ibexa:sql-statement-separator CREATE TABLE eznode_assignment ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -469,15 +469,15 @@ CREATE TABLE eznode_assignment ( sort_order INTEGER DEFAULT 1, priority INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main) +CREATE INDEX eznode_assignment_is_main ON eznode_assignment (is_main); -- ibexa:sql-statement-separator -CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version) +CREATE INDEX eznode_assignment_coid_cov ON eznode_assignment (contentobject_id, contentobject_version); -- ibexa:sql-statement-separator -CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node) +CREATE INDEX eznode_assignment_parent_node ON eznode_assignment (parent_node); -- ibexa:sql-statement-separator -CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version) +CREATE INDEX eznode_assignment_co_version ON eznode_assignment (contentobject_version); -- ibexa:sql-statement-separator CREATE TABLE eznotification ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -486,18 +486,18 @@ CREATE TABLE eznotification ( type VARCHAR(128) DEFAULT '' NOT NULL, created INTEGER DEFAULT 0 NOT NULL, data CLOB DEFAULT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending) +CREATE INDEX eznotification_owner_is_pending ON eznotification (owner_id, is_pending); -- ibexa:sql-statement-separator -CREATE INDEX eznotification_owner ON eznotification (owner_id) +CREATE INDEX eznotification_owner ON eznotification (owner_id); -- ibexa:sql-statement-separator CREATE TABLE ezpackage ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, install_date INTEGER DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL -) +); -- ibexa:sql-statement-separator CREATE TABLE ezpolicy ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -505,40 +505,40 @@ CREATE TABLE ezpolicy ( module_name VARCHAR(255) DEFAULT NULL, original_id INTEGER DEFAULT 0 NOT NULL, role_id INTEGER DEFAULT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id) +CREATE INDEX ezpolicy_role_id ON ezpolicy (role_id); -- ibexa:sql-statement-separator -CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id) +CREATE INDEX ezpolicy_original_id ON ezpolicy (original_id); -- ibexa:sql-statement-separator CREATE TABLE ezpolicy_limitation ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INTEGER DEFAULT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX policy_id ON ezpolicy_limitation (policy_id) +CREATE INDEX policy_id ON ezpolicy_limitation (policy_id); -- ibexa:sql-statement-separator CREATE TABLE ezpolicy_limitation_value ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, limitation_id INTEGER DEFAULT NULL, value VARCHAR(255) DEFAULT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id) +CREATE INDEX ezpolicy_limit_value_limit_id ON ezpolicy_limitation_value (limitation_id); -- ibexa:sql-statement-separator -CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value) +CREATE INDEX ezpolicy_limitation_value_val ON ezpolicy_limitation_value (value); -- ibexa:sql-statement-separator CREATE TABLE ezpreferences ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INTEGER DEFAULT 0 NOT NULL, value CLOB DEFAULT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name) +CREATE INDEX ezpreferences_user_id_idx ON ezpreferences (user_id, name); -- ibexa:sql-statement-separator -CREATE INDEX ezpreferences_name ON ezpreferences (name) +CREATE INDEX ezpreferences_name ON ezpreferences (name); -- ibexa:sql-statement-separator CREATE TABLE ezrole ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -546,7 +546,7 @@ CREATE TABLE ezrole ( name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INTEGER DEFAULT 0 -) +); -- ibexa:sql-statement-separator CREATE TABLE ezsearch_object_word_link ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -563,27 +563,27 @@ CREATE TABLE ezsearch_object_word_link ( section_id INTEGER DEFAULT 0 NOT NULL, word_id INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id) +CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link (contentobject_id); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier) +CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link (identifier); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value) +CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link (integer_value); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id) +CREATE INDEX ezsearch_object_word_link_word ON ezsearch_object_word_link (word_id); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency) +CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link (frequency); -- ibexa:sql-statement-separator CREATE TABLE ezsearch_word ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, object_count INTEGER DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word) +CREATE INDEX ezsearch_word_word_i ON ezsearch_word (word); -- ibexa:sql-statement-separator -CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count) +CREATE INDEX ezsearch_word_obj_count ON ezsearch_word (object_count); -- ibexa:sql-statement-separator CREATE TABLE ezsection ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -591,13 +591,13 @@ CREATE TABLE ezsection ( locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart' -) +); -- ibexa:sql-statement-separator CREATE TABLE ezsite_data ( name VARCHAR(60) DEFAULT '' NOT NULL, value CLOB NOT NULL, PRIMARY KEY(name) -) +); -- ibexa:sql-statement-separator CREATE TABLE ezurl ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -607,23 +607,23 @@ CREATE TABLE ezurl ( modified INTEGER DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url CLOB DEFAULT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezurl_url ON ezurl (url) +CREATE INDEX ezurl_url ON ezurl (url); -- ibexa:sql-statement-separator CREATE TABLE ezurl_object_link ( contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_attribute_version INTEGER DEFAULT 0 NOT NULL, url_id INTEGER DEFAULT 0 NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id) +CREATE INDEX ezurl_ol_coa_id ON ezurl_object_link (contentobject_attribute_id); -- ibexa:sql-statement-separator -CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id) +CREATE INDEX ezurl_ol_url_id ON ezurl_object_link (url_id); -- ibexa:sql-statement-separator -CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version) +CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link (contentobject_attribute_version); -- ibexa:sql-statement-separator -CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version) +CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version); -- ibexa:sql-statement-separator CREATE TABLE ezurlalias ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -634,19 +634,19 @@ CREATE TABLE ezurlalias ( is_wildcard INTEGER DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url CLOB NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5) +CREATE INDEX ezurlalias_source_md5 ON ezurlalias (source_md5); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id) +CREATE INDEX ezurlalias_wcard_fwd ON ezurlalias (is_wildcard, forward_to_id); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id) +CREATE INDEX ezurlalias_forward_to_id ON ezurlalias (forward_to_id); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id) +CREATE INDEX ezurlalias_imp_wcard_fwd ON ezurlalias (is_imported, is_wildcard, forward_to_id); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url) +CREATE INDEX ezurlalias_source_url ON ezurlalias (source_url); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url) +CREATE INDEX ezurlalias_desturl ON ezurlalias (destination_url); -- ibexa:sql-statement-separator CREATE TABLE ezurlalias_ml ( parent INTEGER DEFAULT 0 NOT NULL, @@ -661,43 +661,43 @@ CREATE TABLE ezurlalias_ml ( link INTEGER DEFAULT 0 NOT NULL, text CLOB NOT NULL, PRIMARY KEY(parent, text_md5) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias) +CREATE INDEX ezurlalias_ml_actt_org_al ON ezurlalias_ml (action_type, is_original, is_alias); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent) +CREATE INDEX ezurlalias_ml_text_lang ON ezurlalias_ml (text, lang_mask, parent); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml ("action", id, link, parent) +CREATE INDEX ezurlalias_ml_par_act_id_lnk ON ezurlalias_ml ("action", id, link, parent); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link) +CREATE INDEX ezurlalias_ml_par_lnk_txt ON ezurlalias_ml (parent, text, link); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml ("action", is_original) +CREATE INDEX ezurlalias_ml_act_org ON ezurlalias_ml ("action", is_original); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link) +CREATE INDEX ezurlalias_ml_text ON ezurlalias_ml (text, id, link); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link) +CREATE INDEX ezurlalias_ml_link ON ezurlalias_ml (link); -- ibexa:sql-statement-separator -CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id) +CREATE INDEX ezurlalias_ml_id ON ezurlalias_ml (id); -- ibexa:sql-statement-separator CREATE TABLE ezurlalias_ml_incr ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL -) +); -- ibexa:sql-statement-separator CREATE TABLE ezurlwildcard ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, source_url CLOB NOT NULL, type INTEGER DEFAULT 0 NOT NULL -) +); -- ibexa:sql-statement-separator CREATE TABLE ezuser_accountkey ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX hash_key ON ezuser_accountkey (hash_key) +CREATE INDEX hash_key ON ezuser_accountkey (hash_key); -- ibexa:sql-statement-separator CREATE TABLE ezuser_role ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -705,36 +705,36 @@ CREATE TABLE ezuser_role ( limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INTEGER DEFAULT NULL -) +); -- ibexa:sql-statement-separator -CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id) +CREATE INDEX ezuser_role_role_id ON ezuser_role (role_id); -- ibexa:sql-statement-separator -CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id) +CREATE INDEX ezuser_role_contentobject_id ON ezuser_role (contentobject_id); -- ibexa:sql-statement-separator CREATE TABLE ezuser_setting ( user_id INTEGER DEFAULT 0 NOT NULL, is_enabled INTEGER DEFAULT 0 NOT NULL, max_login INTEGER DEFAULT NULL, PRIMARY KEY(user_id) -) +); -- ibexa:sql-statement-separator CREATE TABLE ibexa_setting ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value CLOB NOT NULL --(DC2Type:json) -) +); -- ibexa:sql-statement-separator -CREATE INDEX ibexa_setting_id ON ibexa_setting (id) +CREATE INDEX ibexa_setting_id ON ibexa_setting (id); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier) +CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); -- ibexa:sql-statement-separator CREATE TABLE ibexa_token_type ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL -) +); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier) +CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); -- ibexa:sql-statement-separator CREATE TABLE ibexa_token ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, @@ -745,8 +745,8 @@ CREATE TABLE ibexa_token ( expires INTEGER DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT '0' NOT NULL, CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE -) +); -- ibexa:sql-statement-separator -CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id) +CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id) +CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); From f05acf1c0c2ca7dfa6ba1811b17adace078b3880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 23 Jul 2026 17:25:35 +0200 Subject: [PATCH 08/38] IBX-11939: Added schema/data-presence guards for legacy-install migrations Guards ibexa/core's InstallSchemaMigration/ImportDataMigration/ RenameSchemaTo5_0Migration and ibexa/fieldtype-page's RenameSchemaTo5_0Migration so they skip when an existing install already built its schema the old way. ImportDataMigration checks for the absence of its pre-rename input table, since migrations run in a strict, deterministic order -- if it's missing, this system never went through this migration, meaning it built its schema (and bootstrap data) via schema.yaml directly. The two data-value fixes hidden inside the rename migrations (core's ez_lock/ezstring identifier fixes, fieldtype-page's block-ID HTML reference fix) are split into their own always-run migrations (FixLegacyIdentifiersMigration, FixBlockIdReferencesMigration), since a schema-shape guard on the rename would otherwise also skip these on a system whose schema is already renamed but whose row data still holds the old values -- schema.yaml only defines structure, not content. Both run unconditionally right after their corresponding rename (same target version, later creation date), so the tables they touch are always at their final name by then, and each statement is a no-op via its own WHERE clause once already applied. --- .../RepositoryInstaller/Migration/ImportDataMigration.php | 7 +++++++ .../Migration/InstallSchemaMigration.php | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php index 35dbbc0e1a..6c7b93b0ee 100644 --- a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php @@ -35,6 +35,13 @@ public function up(Schema $schema): void { $this->abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); + // This migration inserts into "ezcontentobject" (the pre-rename name) since it runs + // before the 5.0.0 rename. Migrations execute in a strict, deterministic order, so if + // that table is missing here, this system never went through this migration at all -- + // it built its schema (and presumably its own bootstrap data) via schema.yaml directly, + // straight to the final "ibexa_content" naming. + $this->skipIf(!$schema->hasTable('ezcontentobject'), 'Schema already migrated: table "ezcontentobject" no longer exists.'); + if ($this->isMySQL()) { $this->addSqlFile(__DIR__ . '/sql/import-data-mysql.sql'); } elseif ($this->isPostgreSQL()) { diff --git a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php index d4be9886f8..f007673b09 100644 --- a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php @@ -35,6 +35,12 @@ public function up(Schema $schema): void { $this->abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); + // Checks the final, post-rename table name (not "ezcontentobject", which this + // migration creates): an install that built its schema via schema.yaml (rather than + // through this migration) never has "ezcontentobject" -- it already has + // "ibexa_content" directly. + $this->skipIf($schema->hasTable('ibexa_content'), 'Schema already migrated: table "ibexa_content" already exists.'); + if ($this->isMySQL()) { $this->addSqlFile(__DIR__ . '/sql/install-schema-mysql.sql'); } elseif ($this->isPostgreSQL()) { From dc6951e93f824992c03f286e08ac184790e1e336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 23 Jul 2026 18:36:14 +0200 Subject: [PATCH 09/38] IBX-11939: Recorded schema-guarded migrations as applied, not skipped Doctrine Migrations only calls MetadataStorage::complete() (the write to doctrine_migration_versions) when a migration's up() returns normally -- never when it throws SkipMigration. So every migration using skipIf() was being silently re-evaluated on every future doctrine:migrations:migrate run instead of being permanently recorded as applied, even though its guard condition (the schema already being in place) never changes back. Replaces every `$this->skipIf($condition, $message);` with `if ($condition) { return; }`: up() now returns normally with zero queued SQL when the guard fires, so the migration is correctly recorded as executed (with a "did not result in any SQL statements" warning logged, which is expected and harmless) and never re-evaluated again. Verified end-to-end: fresh ibexa:install (schema_builder_event enabled) followed by doctrine:migrations:migrate now records all 44 tagged migrations in doctrine_migration_versions in one pass, and a second migrate run does zero work at all ("Already at the latest version"). --- .../RepositoryInstaller/Migration/ImportDataMigration.php | 4 +++- .../RepositoryInstaller/Migration/InstallSchemaMigration.php | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php index 6c7b93b0ee..9f0820199a 100644 --- a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php @@ -40,7 +40,9 @@ public function up(Schema $schema): void // that table is missing here, this system never went through this migration at all -- // it built its schema (and presumably its own bootstrap data) via schema.yaml directly, // straight to the final "ibexa_content" naming. - $this->skipIf(!$schema->hasTable('ezcontentobject'), 'Schema already migrated: table "ezcontentobject" no longer exists.'); + if (!$schema->hasTable('ezcontentobject')) { + return; + } if ($this->isMySQL()) { $this->addSqlFile(__DIR__ . '/sql/import-data-mysql.sql'); diff --git a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php index f007673b09..b68f8392e2 100644 --- a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php @@ -39,7 +39,9 @@ public function up(Schema $schema): void // migration creates): an install that built its schema via schema.yaml (rather than // through this migration) never has "ezcontentobject" -- it already has // "ibexa_content" directly. - $this->skipIf($schema->hasTable('ibexa_content'), 'Schema already migrated: table "ibexa_content" already exists.'); + if ($schema->hasTable('ibexa_content')) { + return; + } if ($this->isMySQL()) { $this->addSqlFile(__DIR__ . '/sql/install-schema-mysql.sql'); From daed8766c228f9ec167d01009ea178150188d229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 23 Jul 2026 19:00:30 +0200 Subject: [PATCH 10/38] IBX-11939: Fixed 4.6 baseline guards to check the branch's own table name Live end-to-end testing (fresh legacy install -> doctrine:migrations:migrate on 4.6) surfaced that these baseline guards checked the FINAL, post-5.0- rename table name (e.g. "ibexa_content") -- correct on 5.0/6.0, but wrong on 4.6, which has no rename at all: there, the table this migration creates already IS the branch's permanent, current name (e.g. "ezcontentobject"), so the guard never fired and the baseline collided with an already-installed legacy 4.6 schema. Checks the branch's own table name instead, exactly like every other baseline guard that has no later rename to worry about. For core's ImportDataMigration specifically, this required a proper data check rather than a schema-shape check: "ezcontentobject" is 4.6's real, permanent name, so it always exists once the baseline has run there, regardless of whether this migration's own bootstrap INSERTs ran yet. Checks for the actual seed row (root content, id = 1) instead, combined with the table's outright absence (the 5.0/6.0 legacy signal) via OR. --- .../Migration/ImportDataMigration.php | 9 ++++++++- .../Migration/InstallSchemaMigration.php | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php index 9f0820199a..be7c1565d0 100644 --- a/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/ImportDataMigration.php @@ -40,7 +40,14 @@ public function up(Schema $schema): void // that table is missing here, this system never went through this migration at all -- // it built its schema (and presumably its own bootstrap data) via schema.yaml directly, // straight to the final "ibexa_content" naming. - if (!$schema->hasTable('ezcontentobject')) { + // Two different "already done" signals, since "ezcontentobject" behaves + // differently depending on the branch: on 5.0/6.0 it's renamed away to + // "ibexa_content", so its outright absence means a legacy install already skipped + // straight to that final name. On 4.6 it's the table's real, permanent name (never + // renamed), so it always exists once the baseline has run -- there, only the actual + // bootstrap row (the root content object always has id = 1) distinguishes "not yet + // imported" from "already imported". + if (!$schema->hasTable('ezcontentobject') || $this->connection->fetchOne('SELECT 1 FROM ezcontentobject WHERE id = 1') !== false) { return; } diff --git a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php index b68f8392e2..fc7d0b875a 100644 --- a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php @@ -39,7 +39,7 @@ public function up(Schema $schema): void // migration creates): an install that built its schema via schema.yaml (rather than // through this migration) never has "ezcontentobject" -- it already has // "ibexa_content" directly. - if ($schema->hasTable('ibexa_content')) { + if ($schema->hasTable('ezcontentobject')) { return; } From 4e9c810a556bce8a7a8c8d19eecd2bedf3f76964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Fri, 24 Jul 2026 10:22:38 +0200 Subject: [PATCH 11/38] IBX-11939: Added a SchemaProvider bridging Doctrine Migrations to SchemaBuilderEvent ibexa:doctrine:migrations:diff (and any other Doctrine Migrations command that needs a target schema) previously failed with 'The schema provider is not available.', since IbexaOnlyDependencyFactory never had an entity manager or SchemaProvider configured. SchemaBuilderEventSchemaProvider bridges Doctrine Migrations' SchemaProvider to Ibexa's own legacy, event-driven schema builder (SchemaBuilderInterface, backed by SchemaBuilderEvent and every installed package's BuildSchemaSubscriber) -- the same mechanism CoreInstaller::importSchema() already uses for the legacy install path. A new compiler pass wires it onto IbexaOnlyDependencyFactory via setService(), a no-op if ibexa/doctrine-schema or ibexa/doctrine-migrations isn't installed. --- ...erSchemaBuilderEventSchemaProviderPass.php | 41 ++++++++++++ .../IbexaRepositoryInstallerBundle.php | 2 + .../SchemaBuilderEventSchemaProvider.php | 34 ++++++++++ .../Resources/config/services.yml | 4 ++ ...hemaBuilderEventSchemaProviderPassTest.php | 63 +++++++++++++++++++ .../SchemaBuilderEventSchemaProviderTest.php | 34 ++++++++++ 6 files changed, 178 insertions(+) create mode 100644 src/bundle/RepositoryInstaller/DependencyInjection/Compiler/RegisterSchemaBuilderEventSchemaProviderPass.php create mode 100644 src/bundle/RepositoryInstaller/Migration/SchemaBuilderEventSchemaProvider.php create mode 100644 tests/bundle/RepositoryInstaller/DependencyInjection/Compiler/RegisterSchemaBuilderEventSchemaProviderPassTest.php create mode 100644 tests/bundle/RepositoryInstaller/Migration/SchemaBuilderEventSchemaProviderTest.php diff --git a/src/bundle/RepositoryInstaller/DependencyInjection/Compiler/RegisterSchemaBuilderEventSchemaProviderPass.php b/src/bundle/RepositoryInstaller/DependencyInjection/Compiler/RegisterSchemaBuilderEventSchemaProviderPass.php new file mode 100644 index 0000000000..47fadc4add --- /dev/null +++ b/src/bundle/RepositoryInstaller/DependencyInjection/Compiler/RegisterSchemaBuilderEventSchemaProviderPass.php @@ -0,0 +1,41 @@ +hasDefinition(IbexaOnlyDependencyFactory::SERVICE_ID) + || !$container->hasDefinition(SchemaBuilderEventSchemaProvider::class) + ) { + return; + } + + $container->getDefinition(IbexaOnlyDependencyFactory::SERVICE_ID) + ->addMethodCall('setService', [SchemaProvider::class, new Reference(SchemaBuilderEventSchemaProvider::class)]); + } +} diff --git a/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php b/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php index 7ad8d89726..89f75d193d 100644 --- a/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php +++ b/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php @@ -7,6 +7,7 @@ namespace Ibexa\Bundle\RepositoryInstaller; use Ibexa\Bundle\DoctrineSchema\DoctrineSchemaBundle; +use Ibexa\Bundle\RepositoryInstaller\DependencyInjection\Compiler\RegisterSchemaBuilderEventSchemaProviderPass; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Exception\RuntimeException; use Symfony\Component\HttpKernel\Bundle\Bundle; @@ -28,6 +29,7 @@ public function build(ContainerBuilder $container) } parent::build($container); + $container->addCompilerPass(new RegisterSchemaBuilderEventSchemaProviderPass()); } } diff --git a/src/bundle/RepositoryInstaller/Migration/SchemaBuilderEventSchemaProvider.php b/src/bundle/RepositoryInstaller/Migration/SchemaBuilderEventSchemaProvider.php new file mode 100644 index 0000000000..4fdf2b637f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/SchemaBuilderEventSchemaProvider.php @@ -0,0 +1,34 @@ +schemaBuilder->buildSchema(); + } +} diff --git a/src/bundle/RepositoryInstaller/Resources/config/services.yml b/src/bundle/RepositoryInstaller/Resources/config/services.yml index 4a96b2cf16..49112174f6 100644 --- a/src/bundle/RepositoryInstaller/Resources/config/services.yml +++ b/src/bundle/RepositoryInstaller/Resources/config/services.yml @@ -29,6 +29,10 @@ services: # Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaOnlyDependencyFactory::SERVICE_ID $dependencyFactory: '@?ibexa.doctrine_migrations.dependency_factory.ibexa_migrations_only' + Ibexa\Bundle\RepositoryInstaller\Migration\SchemaBuilderEventSchemaProvider: + autowire: true + public: false + Ibexa\Bundle\RepositoryInstaller\Installer\DbBasedInstaller: abstract: true arguments: ['@ibexa.persistence.connection'] diff --git a/tests/bundle/RepositoryInstaller/DependencyInjection/Compiler/RegisterSchemaBuilderEventSchemaProviderPassTest.php b/tests/bundle/RepositoryInstaller/DependencyInjection/Compiler/RegisterSchemaBuilderEventSchemaProviderPassTest.php new file mode 100644 index 0000000000..b0270133e3 --- /dev/null +++ b/tests/bundle/RepositoryInstaller/DependencyInjection/Compiler/RegisterSchemaBuilderEventSchemaProviderPassTest.php @@ -0,0 +1,63 @@ +setDefinition(IbexaOnlyDependencyFactory::SERVICE_ID, new Definition()); + $container->setDefinition(SchemaBuilderEventSchemaProvider::class, new Definition()); + + (new RegisterSchemaBuilderEventSchemaProviderPass())->process($container); + + $calls = $container->getDefinition(IbexaOnlyDependencyFactory::SERVICE_ID)->getMethodCalls(); + self::assertCount(1, $calls); + self::assertSame('setService', $calls[0][0]); + self::assertSame(SchemaProvider::class, $calls[0][1][0]); + self::assertInstanceOf(Reference::class, $calls[0][1][1]); + self::assertSame(SchemaBuilderEventSchemaProvider::class, (string) $calls[0][1][1]); + } + + public function testIsNoOpWhenIbexaOnlyDependencyFactoryIsNotDefined(): void + { + $container = new ContainerBuilder(); + $container->setDefinition(SchemaBuilderEventSchemaProvider::class, new Definition()); + + (new RegisterSchemaBuilderEventSchemaProviderPass())->process($container); + + $this->addToAssertionCount(1); + } + + public function testIsNoOpWhenSchemaBuilderEventSchemaProviderIsNotDefined(): void + { + $container = new ContainerBuilder(); + $container->setDefinition(IbexaOnlyDependencyFactory::SERVICE_ID, new Definition()); + + (new RegisterSchemaBuilderEventSchemaProviderPass())->process($container); + + self::assertSame( + [], + $container->getDefinition(IbexaOnlyDependencyFactory::SERVICE_ID)->getMethodCalls() + ); + } +} diff --git a/tests/bundle/RepositoryInstaller/Migration/SchemaBuilderEventSchemaProviderTest.php b/tests/bundle/RepositoryInstaller/Migration/SchemaBuilderEventSchemaProviderTest.php new file mode 100644 index 0000000000..b63fcbcd62 --- /dev/null +++ b/tests/bundle/RepositoryInstaller/Migration/SchemaBuilderEventSchemaProviderTest.php @@ -0,0 +1,34 @@ +createMock(SchemaBuilderInterface::class); + $schemaBuilder->expects(self::once()) + ->method('buildSchema') + ->willReturn($schema); + + $provider = new SchemaBuilderEventSchemaProvider($schemaBuilder); + + self::assertSame($schema, $provider->createSchema()); + } +} From af3e675ce9a86dfb16265ccd0b51ae1d4a5cd77b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 16 Jul 2026 23:55:49 +0200 Subject: [PATCH 12/38] [Doctrine Migrations] Added Doctrine Migrations-based schema and data install path Same as the 4.6 branch: adds an ibexa/doctrine-migrations-based alternative to the event-driven SchemaBuilderEvent mechanism CoreInstaller has used to install the core schema and bootstrap data. Controlled by the new "ibexa.installer.schema_builder_event.enabled" setting (defaults to true, preserving current behavior): - When enabled (default), CoreInstaller keeps dispatching SchemaBuilderEvent and importing cleandata.sql directly, unchanged. - When disabled, schema creation and data import are each modeled as an AbstractVersion migration (InstallSchemaMigration, ImportDataMigration), tagged for discovery, and executed via TaggedMigrationsRunner through the IbexaOnlyDependencyFactory service - an independent Doctrine Migrations DependencyFactory scoped to only Ibexa-tagged migrations, so a project's own migrations are never accidentally executed. Each migration's execution is recorded in the standard Doctrine Migrations versioning table, making repeated installs idempotent. InstallSchemaMigration's SQL (mysql/postgresql/sqlite, one statement per file) is generated from this branch's own schema.yaml (ibexa_* table naming); ImportDataMigration's from this branch's own per-DBMS cleandata.sql files (with the mysql statements reused verbatim for sqlite, which previously had no cleandata support at all). --- composer.json | 1 + .../Resources/migrations/import_data.yaml | 243 ++++++ .../Resources/migrations/install_schema.yaml | 773 ++++++++++++++++++ .../mysql/0001_create_ibexa_binary_file.sql | 1 + .../mysql/0002_create_ibexa_object_state.sql | 1 + .../0003_create_ibexa_object_state_group.sql | 1 + ...eate_ibexa_object_state_group_language.sql | 1 + ...005_create_ibexa_object_state_language.sql | 1 + .../0006_create_ibexa_object_state_link.sql | 1 + .../0007_create_ibexa_content_language.sql | 1 + .../sql/mysql/0008_create_ibexa_user.sql | 1 + .../mysql/0009_create_ibexa_content_tree.sql | 1 + .../0010_create_ibexa_content_bookmark.sql | 1 + .../mysql/0011_create_ibexa_content_type.sql | 1 + ...te_ibexa_content_type_field_definition.sql | 1 + ...ibexa_content_type_field_definition_ml.sql | 1 + ...te_ibexa_content_type_group_assignment.sql | 1 + .../0015_create_ibexa_content_type_name.sql | 1 + .../0016_create_ibexa_content_type_group.sql | 1 + .../sql/mysql/0017_create_ibexa_content.sql | 1 + .../mysql/0018_create_ibexa_content_field.sql | 1 + .../0019_create_ibexa_content_relation.sql | 1 + .../mysql/0020_create_ibexa_content_name.sql | 1 + .../mysql/0021_create_ibexa_content_trash.sql | 1 + .../0022_create_ibexa_content_version.sql | 1 + .../sql/mysql/0023_create_ibexa_dfs_file.sql | 1 + .../mysql/0024_create_ibexa_map_location.sql | 1 + .../mysql/0025_create_ibexa_image_file.sql | 1 + .../sql/mysql/0026_create_ibexa_keyword.sql | 1 + .../0027_create_ibexa_keyword_field_link.sql | 1 + .../sql/mysql/0028_create_ibexa_media.sql | 1 + .../0029_create_ibexa_node_assignment.sql | 1 + .../mysql/0030_create_ibexa_notification.sql | 1 + .../sql/mysql/0031_create_ibexa_package.sql | 1 + .../sql/mysql/0032_create_ibexa_policy.sql | 1 + .../0033_create_ibexa_policy_limitation.sql | 1 + ...4_create_ibexa_policy_limitation_value.sql | 1 + .../0035_create_ibexa_user_preference.sql | 1 + .../sql/mysql/0036_create_ibexa_role.sql | 1 + ...7_create_ibexa_search_object_word_link.sql | 1 + .../mysql/0038_create_ibexa_search_word.sql | 1 + .../sql/mysql/0039_create_ibexa_section.sql | 1 + .../sql/mysql/0040_create_ibexa_site_data.sql | 1 + .../sql/mysql/0041_create_ibexa_url.sql | 1 + .../0042_create_ibexa_url_content_link.sql | 1 + .../sql/mysql/0043_create_ibexa_url_alias.sql | 1 + .../mysql/0044_create_ibexa_url_alias_ml.sql | 1 + .../0045_create_ibexa_url_alias_ml_incr.sql | 1 + .../mysql/0046_create_ibexa_url_wildcard.sql | 1 + .../0047_create_ibexa_user_accountkey.sql | 1 + .../sql/mysql/0048_create_ibexa_user_role.sql | 1 + .../mysql/0049_create_ibexa_user_setting.sql | 1 + .../sql/mysql/0050_create_ibexa_setting.sql | 1 + .../mysql/0051_create_ibexa_token_type.sql | 1 + .../sql/mysql/0052_create_ibexa_token.sql | 1 + ...ark_ibexa_content_bookmark_location_fk.sql | 1 + ...ookmark_ibexa_content_bookmark_user_fk.sql | 1 + ...ntent_type_field_definition_ml_lang_fk.sql | 1 + ..._fk_ibexa_token_ibexa_token_type_id_fk.sql | 1 + .../data/0001_insert_ibexa_object_state.sql | 3 + .../0002_insert_ibexa_object_state_group.sql | 2 + ...sert_ibexa_object_state_group_language.sql | 2 + ...004_insert_ibexa_object_state_language.sql | 3 + .../0005_insert_ibexa_object_state_link.sql | 13 + .../0006_insert_ibexa_content_language.sql | 2 + .../data/0007_insert_ibexa_content_type.sql | 7 + ...rt_ibexa_content_type_field_definition.sql | 25 + ...rt_ibexa_content_type_group_assignment.sql | 7 + .../0010_insert_ibexa_content_type_name.sql | 7 + .../0011_insert_ibexa_content_type_group.sql | 4 + .../mysql/data/0012_insert_ibexa_content.sql | 13 + .../data/0013_insert_ibexa_content_field.sql | 41 + .../data/0014_insert_ibexa_content_name.sql | 13 + .../data/0015_insert_ibexa_content_tree.sql | 14 + .../0016_insert_ibexa_content_version.sql | 13 + .../0017_insert_ibexa_node_assignment.sql | 13 + .../mysql/data/0018_insert_ibexa_policy.sql | 9 + .../0019_insert_ibexa_policy_limitation.sql | 7 + ...0_insert_ibexa_policy_limitation_value.sql | 8 + .../sql/mysql/data/0021_insert_ibexa_role.sql | 5 + .../mysql/data/0022_insert_ibexa_section.sql | 4 + .../data/0023_insert_ibexa_site_data.sql | 2 + .../data/0024_insert_ibexa_url_alias.sql | 13 + .../data/0025_insert_ibexa_url_alias_ml.sql | 26 + .../0026_insert_ibexa_url_alias_ml_incr.sql | 4 + .../sql/mysql/data/0027_insert_ibexa_user.sql | 3 + .../data/0028_insert_ibexa_user_role.sql | 7 + .../data/0029_insert_ibexa_user_setting.sql | 3 + .../0030_insert_ibexa_user_preference.sql | 2 + .../0001_create_ibexa_binary_file.sql | 1 + .../0002_create_ibexa_object_state.sql | 1 + ...ject_state_ibexa_object_state_priority.sql | 1 + ..._object_state_ibexa_object_state_lmask.sql | 1 + ...ct_state_ibexa_object_state_identifier.sql | 1 + .../0006_create_ibexa_object_state_group.sql | 1 + ...e_group_ibexa_object_state_group_lmask.sql | 1 + ...up_ibexa_object_state_group_identifier.sql | 1 + ...eate_ibexa_object_state_group_language.sql | 1 + ...010_create_ibexa_object_state_language.sql | 1 + .../0011_create_ibexa_object_state_link.sql | 1 + .../0012_create_ibexa_content_language.sql | 1 + ...t_language_ibexa_content_language_name.sql | 1 + .../sql/postgresql/0014_create_ibexa_user.sql | 1 + ...0015_index_ibexa_user_ibexa_user_login.sql | 1 + .../0016_create_ibexa_content_tree.sql | 1 + ...tent_tree_ibexa_content_tree_p_node_id.sql | 1 + ...ent_tree_ibexa_content_tree_path_ident.sql | 1 + ...tent_tree_contentobject_id_path_string.sql | 1 + ..._content_tree_ibexa_content_tree_co_id.sql | 1 + ..._content_tree_ibexa_content_tree_depth.sql | 1 + ...a_content_tree_ibexa_content_tree_path.sql | 1 + ...nt_tree_ibexa_content_modified_subnode.sql | 1 + ...tent_tree_ibexa_content_tree_remote_id.sql | 1 + .../0025_create_ibexa_content_bookmark.sql | 1 + ...okmark_ibexa_content_bookmark_location.sql | 1 + ...t_bookmark_ibexa_content_bookmark_user.sql | 1 + ...k_ibexa_content_bookmark_user_location.sql | 1 + .../0029_create_ibexa_content_type.sql | 1 + ...content_type_ibexa_content_type_status.sql | 1 + ...ent_type_ibexa_content_type_identifier.sql | 1 + ...te_ibexa_content_type_field_definition.sql | 1 + ...exa_content_type_field_definition_ctid.sql | 1 + ...bexa_content_type_field_definition_dts.sql | 1 + ...ibexa_content_type_field_definition_ml.sql | 1 + ...ntent_type_field_definition_ml_lang_fk.sql | 1 + ...te_ibexa_content_type_group_assignment.sql | 1 + .../0038_create_ibexa_content_type_name.sql | 1 + .../0039_create_ibexa_content_type_group.sql | 1 + .../postgresql/0040_create_ibexa_content.sql | 1 + ...ex_ibexa_content_ibexa_content_type_id.sql | 1 + ...ndex_ibexa_content_ibexa_content_lmask.sql | 1 + ..._index_ibexa_content_ibexa_content_pub.sql | 1 + ...ex_ibexa_content_ibexa_content_section.sql | 1 + ...a_content_ibexa_content_currentversion.sql | 1 + ...ndex_ibexa_content_ibexa_content_owner.sql | 1 + ...dex_ibexa_content_ibexa_content_status.sql | 1 + ..._ibexa_content_ibexa_content_remote_id.sql | 1 + .../0049_create_ibexa_content_field.sql | 1 + ...bexa_content_field_co_id_ver_lang_code.sql | 1 + ...bexa_content_field_field_definition_id.sql | 1 + ...ex_ibexa_content_field_sort_key_string.sql | 1 + ...ield_ibexa_content_field_language_code.sql | 1 + ...index_ibexa_content_field_sort_key_int.sql | 1 + ...nt_field_ibexa_content_field_co_id_ver.sql | 1 + .../0056_create_ibexa_content_relation.sql | 1 + ...lation_ibexa_content_relation_to_co_id.sql | 1 + ...t_relation_ibexa_content_relation_from.sql | 1 + ...elation_ibexa_content_relation_ccfd_id.sql | 1 + .../0060_create_ibexa_content_name.sql | 1 + ...ontent_name_ibexa_content_name_lang_id.sql | 1 + ...content_name_ibexa_content_name_cov_id.sql | 1 + ...a_content_name_ibexa_content_name_name.sql | 1 + .../0064_create_ibexa_content_trash.sql | 1 + ...ontent_trash_ibexa_content_trash_depth.sql | 1 + ...nt_trash_ibexa_content_trash_p_node_id.sql | 1 + ...t_trash_ibexa_content_trash_path_ident.sql | 1 + ...ontent_trash_ibexa_content_trash_co_id.sql | 1 + ...h_ibexa_content_trash_modified_subnode.sql | 1 + ...content_trash_ibexa_content_trash_path.sql | 1 + .../0071_create_ibexa_content_version.sql | 1 + ...t_version_ibexa_content_version_status.sql | 1 + ..._version_ibexa_content_version_idx_ver.sql | 1 + ...rsion_ibexa_content_version_idx_status.sql | 1 + ...rsion_ibexa_content_version_creator_id.sql | 1 + .../postgresql/0076_create_ibexa_dfs_file.sql | 1 + ...exa_dfs_file_ibexa_dfs_file_name_trunk.sql | 1 + ...a_dfs_file_ibexa_dfs_file_expired_name.sql | 1 + ...dex_ibexa_dfs_file_ibexa_dfs_file_name.sql | 1 + ...ex_ibexa_dfs_file_ibexa_dfs_file_mtime.sql | 1 + .../0081_create_ibexa_map_location.sql | 1 + ...xa_map_location_latitude_longitude_key.sql | 1 + .../0083_create_ibexa_image_file.sql | 1 + ...ibexa_image_file_ibexa_image_file_file.sql | 1 + ...ibexa_image_file_ibexa_image_file_coid.sql | 1 + .../postgresql/0086_create_ibexa_keyword.sql | 1 + ...ex_ibexa_keyword_ibexa_keyword_keyword.sql | 1 + .../0088_create_ibexa_keyword_field_link.sql | 1 + ...eld_link_ibexa_keyword_field_link_oaid.sql | 1 + ...link_ibexa_keyword_field_link_kid_oaid.sql | 1 + ...link_ibexa_keyword_field_link_oaid_ver.sql | 1 + .../postgresql/0092_create_ibexa_media.sql | 1 + .../0093_create_ibexa_node_assignment.sql | 1 + ...signment_ibexa_node_assignment_is_main.sql | 1 + ...ignment_ibexa_node_assignment_coid_cov.sql | 1 + ...ment_ibexa_node_assignment_parent_node.sql | 1 + ...nment_ibexa_node_assignment_co_version.sql | 1 + .../0098_create_ibexa_notification.sql | 1 + ...on_ibexa_notification_owner_is_pending.sql | 1 + ..._notification_ibexa_notification_owner.sql | 1 + .../postgresql/0101_create_ibexa_package.sql | 1 + .../postgresql/0102_create_ibexa_policy.sql | 1 + ...ndex_ibexa_policy_ibexa_policy_role_id.sql | 1 + ..._ibexa_policy_ibexa_policy_original_id.sql | 1 + .../0105_create_ibexa_policy_limitation.sql | 1 + ...bexa_policy_limitation_ibexa_policy_id.sql | 1 + ...7_create_ibexa_policy_limitation_value.sql | 1 + ...alue_ibexa_policy_limit_value_limit_id.sql | 1 + ...alue_ibexa_policy_limitation_value_val.sql | 1 + .../0110_create_ibexa_user_preference.sql | 1 + ...ence_ibexa_user_preference_user_id_idx.sql | 1 + ..._preference_ibexa_user_preference_name.sql | 1 + .../sql/postgresql/0113_create_ibexa_role.sql | 1 + ...4_create_ibexa_search_object_word_link.sql | 1 + ...k_ibexa_search_object_word_link_object.sql | 1 + ...exa_search_object_word_link_identifier.sql | 1 + ..._search_object_word_link_integer_value.sql | 1 + ...ink_ibexa_search_object_word_link_word.sql | 1 + ...bexa_search_object_word_link_frequency.sql | 1 + .../0120_create_ibexa_search_word.sql | 1 + ...a_search_word_ibexa_search_word_word_i.sql | 1 + ...earch_word_ibexa_search_word_obj_count.sql | 1 + .../postgresql/0123_create_ibexa_section.sql | 1 + .../0124_create_ibexa_site_data.sql | 1 + .../sql/postgresql/0125_create_ibexa_url.sql | 1 + .../0126_index_ibexa_url_ibexa_url_url.sql | 1 + .../0127_create_ibexa_url_content_link.sql | 1 + ...a_url_content_link_ibexa_url_ol_coa_id.sql | 1 + ...a_url_content_link_ibexa_url_ol_url_id.sql | 1 + ..._content_link_ibexa_url_ol_coa_version.sql | 1 + ...l_content_link_ibexa_url_ol_coa_id_cav.sql | 1 + .../0132_create_ibexa_url_alias.sql | 1 + ...a_url_alias_ibexa_url_alias_source_md5.sql | 1 + ...xa_url_alias_ibexa_url_alias_wcard_fwd.sql | 1 + ...rl_alias_ibexa_url_alias_forward_to_id.sql | 1 + ...rl_alias_ibexa_url_alias_imp_wcard_fwd.sql | 1 + ...a_url_alias_ibexa_url_alias_source_url.sql | 1 + ...bexa_url_alias_ibexa_url_alias_desturl.sql | 1 + .../0139_create_ibexa_url_alias_ml.sql | 1 + ...lias_ml_ibexa_url_alias_ml_actt_org_al.sql | 1 + ..._alias_ml_ibexa_url_alias_ml_text_lang.sql | 1 + ...s_ml_ibexa_url_alias_ml_par_act_id_lnk.sql | 1 + ...lias_ml_ibexa_url_alias_ml_par_lnk_txt.sql | 1 + ...rl_alias_ml_ibexa_url_alias_ml_act_org.sql | 1 + ...a_url_alias_ml_ibexa_url_alias_ml_text.sql | 1 + ...a_url_alias_ml_ibexa_url_alias_ml_link.sql | 1 + ...exa_url_alias_ml_ibexa_url_alias_ml_id.sql | 1 + .../0148_create_ibexa_url_alias_ml_incr.sql | 1 + .../0149_create_ibexa_url_wildcard.sql | 1 + .../0150_create_ibexa_user_accountkey.sql | 1 + ...1_index_ibexa_user_accountkey_hash_key.sql | 1 + .../0152_create_ibexa_user_role.sql | 1 + ...bexa_user_role_ibexa_user_role_role_id.sql | 1 + ..._role_ibexa_user_role_contentobject_id.sql | 1 + .../0155_create_ibexa_user_setting.sql | 1 + .../postgresql/0156_create_ibexa_setting.sql | 1 + ...7_index_ibexa_setting_ibexa_setting_id.sql | 1 + ...setting_ibexa_setting_group_identifier.sql | 1 + .../0159_create_ibexa_token_type.sql | 1 + ...exa_token_type_ibexa_token_type_unique.sql | 1 + .../postgresql/0161_create_ibexa_token.sql | 1 + ...index_ibexa_token_IDX_B5412887C54C8C93.sql | 1 + ...3_index_ibexa_token_ibexa_token_unique.sql | 1 + ...ark_ibexa_content_bookmark_location_fk.sql | 1 + ...ookmark_ibexa_content_bookmark_user_fk.sql | 1 + ...ntent_type_field_definition_ml_lang_fk.sql | 1 + ..._fk_ibexa_token_ibexa_token_type_id_fk.sql | 1 + .../data/0001_insert_ibexa_object_state.sql | 3 + .../0002_insert_ibexa_object_state_group.sql | 2 + ...sert_ibexa_object_state_group_language.sql | 2 + ...004_insert_ibexa_object_state_language.sql | 3 + .../0005_insert_ibexa_object_state_link.sql | 13 + .../0006_insert_ibexa_content_language.sql | 2 + .../data/0007_insert_ibexa_content_type.sql | 7 + ...rt_ibexa_content_type_field_definition.sql | 25 + ...rt_ibexa_content_type_group_assignment.sql | 7 + .../0010_insert_ibexa_content_type_name.sql | 7 + .../0011_insert_ibexa_content_type_group.sql | 4 + .../data/0012_insert_ibexa_content.sql | 13 + .../data/0013_insert_ibexa_content_field.sql | 41 + .../data/0014_insert_ibexa_content_name.sql | 13 + .../data/0015_insert_ibexa_content_tree.sql | 14 + .../0016_insert_ibexa_content_version.sql | 13 + .../0017_insert_ibexa_node_assignment.sql | 13 + .../data/0018_insert_ibexa_policy.sql | 9 + .../0019_insert_ibexa_policy_limitation.sql | 7 + ...0_insert_ibexa_policy_limitation_value.sql | 8 + .../data/0021_insert_ibexa_role.sql | 5 + .../data/0022_insert_ibexa_section.sql | 4 + .../data/0023_insert_ibexa_site_data.sql | 2 + .../data/0024_insert_ibexa_url_alias.sql | 13 + .../data/0025_insert_ibexa_url_alias_ml.sql | 26 + .../0026_insert_ibexa_url_alias_ml_incr.sql | 4 + .../data/0027_insert_ibexa_user.sql | 3 + .../data/0028_insert_ibexa_user_role.sql | 7 + .../data/0029_insert_ibexa_user_setting.sql | 3 + .../0030_insert_ibexa_user_preference.sql | 2 + ...setval_ibexa_object_state_group_id_seq.sql | 2 + .../0032_setval_ibexa_object_state_id_seq.sql | 1 + ...3_setval_ibexa_content_bookmark_id_seq.sql | 1 + ...a_content_type_field_definition_id_seq.sql | 1 + .../0035_setval_ibexa_content_type_id_seq.sql | 1 + ...setval_ibexa_content_type_group_id_seq.sql | 1 + ...0037_setval_ibexa_content_field_id_seq.sql | 1 + .../data/0038_setval_ibexa_content_id_seq.sql | 1 + ...9_setval_ibexa_content_relation_id_seq.sql | 1 + ..._setval_ibexa_content_tree_node_id_seq.sql | 1 + ...41_setval_ibexa_content_version_id_seq.sql | 1 + .../0042_setval_ibexa_image_file_id_seq.sql | 1 + ...setval_ibexa_keyword_field_link_id_seq.sql | 1 + .../data/0044_setval_ibexa_keyword_id_seq.sql | 1 + ...45_setval_ibexa_node_assignment_id_seq.sql | 1 + .../0046_setval_ibexa_notification_id_seq.sql | 1 + .../data/0047_setval_ibexa_package_id_seq.sql | 1 + .../data/0048_setval_ibexa_policy_id_seq.sql | 1 + ..._setval_ibexa_policy_limitation_id_seq.sql | 1 + ...l_ibexa_policy_limitation_value_id_seq.sql | 1 + ...51_setval_ibexa_user_preference_id_seq.sql | 1 + .../data/0052_setval_ibexa_role_id_seq.sql | 1 + ...l_ibexa_search_object_word_link_id_seq.sql | 1 + .../0054_setval_ibexa_search_word_id_seq.sql | 1 + .../data/0055_setval_ibexa_section_id_seq.sql | 1 + .../data/0056_setval_ibexa_url_id_seq.sql | 1 + .../0057_setval_ibexa_url_alias_id_seq.sql | 1 + ..._setval_ibexa_url_alias_ml_incr_id_seq.sql | 1 + .../0059_setval_ibexa_url_wildcard_id_seq.sql | 1 + ...60_setval_ibexa_user_accountkey_id_seq.sql | 1 + .../0061_setval_ibexa_user_role_id_seq.sql | 1 + .../sqlite/0001_create_ibexa_binary_file.sql | 1 + .../sqlite/0002_create_ibexa_object_state.sql | 1 + ...ject_state_ibexa_object_state_priority.sql | 1 + ..._object_state_ibexa_object_state_lmask.sql | 1 + ...ct_state_ibexa_object_state_identifier.sql | 1 + .../0006_create_ibexa_object_state_group.sql | 1 + ...e_group_ibexa_object_state_group_lmask.sql | 1 + ...up_ibexa_object_state_group_identifier.sql | 1 + ...eate_ibexa_object_state_group_language.sql | 1 + ...010_create_ibexa_object_state_language.sql | 1 + .../0011_create_ibexa_object_state_link.sql | 1 + .../0012_create_ibexa_content_language.sql | 1 + ...t_language_ibexa_content_language_name.sql | 1 + .../sql/sqlite/0014_create_ibexa_user.sql | 1 + ...0015_index_ibexa_user_ibexa_user_login.sql | 1 + .../sqlite/0016_create_ibexa_content_tree.sql | 1 + ...tent_tree_ibexa_content_tree_p_node_id.sql | 1 + ...ent_tree_ibexa_content_tree_path_ident.sql | 1 + ...tent_tree_contentobject_id_path_string.sql | 1 + ..._content_tree_ibexa_content_tree_co_id.sql | 1 + ..._content_tree_ibexa_content_tree_depth.sql | 1 + ...a_content_tree_ibexa_content_tree_path.sql | 1 + ...nt_tree_ibexa_content_modified_subnode.sql | 1 + ...tent_tree_ibexa_content_tree_remote_id.sql | 1 + .../0025_create_ibexa_content_bookmark.sql | 1 + ...okmark_ibexa_content_bookmark_location.sql | 1 + ...t_bookmark_ibexa_content_bookmark_user.sql | 1 + ...k_ibexa_content_bookmark_user_location.sql | 1 + .../sqlite/0029_create_ibexa_content_type.sql | 1 + ...content_type_ibexa_content_type_status.sql | 1 + ...ent_type_ibexa_content_type_identifier.sql | 1 + ...te_ibexa_content_type_field_definition.sql | 1 + ...exa_content_type_field_definition_ctid.sql | 1 + ...bexa_content_type_field_definition_dts.sql | 1 + ...ibexa_content_type_field_definition_ml.sql | 1 + ...ntent_type_field_definition_ml_lang_fk.sql | 1 + ...te_ibexa_content_type_group_assignment.sql | 1 + .../0038_create_ibexa_content_type_name.sql | 1 + .../0039_create_ibexa_content_type_group.sql | 1 + .../sql/sqlite/0040_create_ibexa_content.sql | 1 + ...ex_ibexa_content_ibexa_content_type_id.sql | 1 + ...ndex_ibexa_content_ibexa_content_lmask.sql | 1 + ..._index_ibexa_content_ibexa_content_pub.sql | 1 + ...ex_ibexa_content_ibexa_content_section.sql | 1 + ...a_content_ibexa_content_currentversion.sql | 1 + ...ndex_ibexa_content_ibexa_content_owner.sql | 1 + ...dex_ibexa_content_ibexa_content_status.sql | 1 + ..._ibexa_content_ibexa_content_remote_id.sql | 1 + .../0049_create_ibexa_content_field.sql | 1 + ...bexa_content_field_co_id_ver_lang_code.sql | 1 + ...bexa_content_field_field_definition_id.sql | 1 + ...ex_ibexa_content_field_sort_key_string.sql | 1 + ...ield_ibexa_content_field_language_code.sql | 1 + ...index_ibexa_content_field_sort_key_int.sql | 1 + ...nt_field_ibexa_content_field_co_id_ver.sql | 1 + .../0056_create_ibexa_content_relation.sql | 1 + ...lation_ibexa_content_relation_to_co_id.sql | 1 + ...t_relation_ibexa_content_relation_from.sql | 1 + ...elation_ibexa_content_relation_ccfd_id.sql | 1 + .../sqlite/0060_create_ibexa_content_name.sql | 1 + ...ontent_name_ibexa_content_name_lang_id.sql | 1 + ...content_name_ibexa_content_name_cov_id.sql | 1 + ...a_content_name_ibexa_content_name_name.sql | 1 + .../0064_create_ibexa_content_trash.sql | 1 + ...ontent_trash_ibexa_content_trash_depth.sql | 1 + ...nt_trash_ibexa_content_trash_p_node_id.sql | 1 + ...t_trash_ibexa_content_trash_path_ident.sql | 1 + ...ontent_trash_ibexa_content_trash_co_id.sql | 1 + ...h_ibexa_content_trash_modified_subnode.sql | 1 + ...content_trash_ibexa_content_trash_path.sql | 1 + .../0071_create_ibexa_content_version.sql | 1 + ...t_version_ibexa_content_version_status.sql | 1 + ..._version_ibexa_content_version_idx_ver.sql | 1 + ...rsion_ibexa_content_version_idx_status.sql | 1 + ...rsion_ibexa_content_version_creator_id.sql | 1 + .../sql/sqlite/0076_create_ibexa_dfs_file.sql | 1 + ...exa_dfs_file_ibexa_dfs_file_name_trunk.sql | 1 + ...a_dfs_file_ibexa_dfs_file_expired_name.sql | 1 + ...dex_ibexa_dfs_file_ibexa_dfs_file_name.sql | 1 + ...ex_ibexa_dfs_file_ibexa_dfs_file_mtime.sql | 1 + .../sqlite/0081_create_ibexa_map_location.sql | 1 + ...xa_map_location_latitude_longitude_key.sql | 1 + .../sqlite/0083_create_ibexa_image_file.sql | 1 + ...ibexa_image_file_ibexa_image_file_file.sql | 1 + ...ibexa_image_file_ibexa_image_file_coid.sql | 1 + .../sql/sqlite/0086_create_ibexa_keyword.sql | 1 + ...ex_ibexa_keyword_ibexa_keyword_keyword.sql | 1 + .../0088_create_ibexa_keyword_field_link.sql | 1 + ...eld_link_ibexa_keyword_field_link_oaid.sql | 1 + ...link_ibexa_keyword_field_link_kid_oaid.sql | 1 + ...link_ibexa_keyword_field_link_oaid_ver.sql | 1 + .../sql/sqlite/0092_create_ibexa_media.sql | 1 + .../0093_create_ibexa_node_assignment.sql | 1 + ...signment_ibexa_node_assignment_is_main.sql | 1 + ...ignment_ibexa_node_assignment_coid_cov.sql | 1 + ...ment_ibexa_node_assignment_parent_node.sql | 1 + ...nment_ibexa_node_assignment_co_version.sql | 1 + .../sqlite/0098_create_ibexa_notification.sql | 1 + ...on_ibexa_notification_owner_is_pending.sql | 1 + ..._notification_ibexa_notification_owner.sql | 1 + .../sql/sqlite/0101_create_ibexa_package.sql | 1 + .../sql/sqlite/0102_create_ibexa_policy.sql | 1 + ...ndex_ibexa_policy_ibexa_policy_role_id.sql | 1 + ..._ibexa_policy_ibexa_policy_original_id.sql | 1 + .../0105_create_ibexa_policy_limitation.sql | 1 + ...bexa_policy_limitation_ibexa_policy_id.sql | 1 + ...7_create_ibexa_policy_limitation_value.sql | 1 + ...alue_ibexa_policy_limit_value_limit_id.sql | 1 + ...alue_ibexa_policy_limitation_value_val.sql | 1 + .../0110_create_ibexa_user_preference.sql | 1 + ...ence_ibexa_user_preference_user_id_idx.sql | 1 + ..._preference_ibexa_user_preference_name.sql | 1 + .../sql/sqlite/0113_create_ibexa_role.sql | 1 + ...4_create_ibexa_search_object_word_link.sql | 1 + ...k_ibexa_search_object_word_link_object.sql | 1 + ...exa_search_object_word_link_identifier.sql | 1 + ..._search_object_word_link_integer_value.sql | 1 + ...ink_ibexa_search_object_word_link_word.sql | 1 + ...bexa_search_object_word_link_frequency.sql | 1 + .../sqlite/0120_create_ibexa_search_word.sql | 1 + ...a_search_word_ibexa_search_word_word_i.sql | 1 + ...earch_word_ibexa_search_word_obj_count.sql | 1 + .../sql/sqlite/0123_create_ibexa_section.sql | 1 + .../sqlite/0124_create_ibexa_site_data.sql | 1 + .../sql/sqlite/0125_create_ibexa_url.sql | 1 + .../0126_index_ibexa_url_ibexa_url_url.sql | 1 + .../0127_create_ibexa_url_content_link.sql | 1 + ...a_url_content_link_ibexa_url_ol_coa_id.sql | 1 + ...a_url_content_link_ibexa_url_ol_url_id.sql | 1 + ..._content_link_ibexa_url_ol_coa_version.sql | 1 + ...l_content_link_ibexa_url_ol_coa_id_cav.sql | 1 + .../sqlite/0132_create_ibexa_url_alias.sql | 1 + ...a_url_alias_ibexa_url_alias_source_md5.sql | 1 + ...xa_url_alias_ibexa_url_alias_wcard_fwd.sql | 1 + ...rl_alias_ibexa_url_alias_forward_to_id.sql | 1 + ...rl_alias_ibexa_url_alias_imp_wcard_fwd.sql | 1 + ...a_url_alias_ibexa_url_alias_source_url.sql | 1 + ...bexa_url_alias_ibexa_url_alias_desturl.sql | 1 + .../sqlite/0139_create_ibexa_url_alias_ml.sql | 1 + ...lias_ml_ibexa_url_alias_ml_actt_org_al.sql | 1 + ..._alias_ml_ibexa_url_alias_ml_text_lang.sql | 1 + ...s_ml_ibexa_url_alias_ml_par_act_id_lnk.sql | 1 + ...lias_ml_ibexa_url_alias_ml_par_lnk_txt.sql | 1 + ...rl_alias_ml_ibexa_url_alias_ml_act_org.sql | 1 + ...a_url_alias_ml_ibexa_url_alias_ml_text.sql | 1 + ...a_url_alias_ml_ibexa_url_alias_ml_link.sql | 1 + ...exa_url_alias_ml_ibexa_url_alias_ml_id.sql | 1 + .../0148_create_ibexa_url_alias_ml_incr.sql | 1 + .../sqlite/0149_create_ibexa_url_wildcard.sql | 1 + .../0150_create_ibexa_user_accountkey.sql | 1 + ...1_index_ibexa_user_accountkey_hash_key.sql | 1 + .../sqlite/0152_create_ibexa_user_role.sql | 1 + ...bexa_user_role_ibexa_user_role_role_id.sql | 1 + ..._role_ibexa_user_role_contentobject_id.sql | 1 + .../sqlite/0155_create_ibexa_user_setting.sql | 1 + .../sql/sqlite/0156_create_ibexa_setting.sql | 2 + ...7_index_ibexa_setting_ibexa_setting_id.sql | 1 + ...setting_ibexa_setting_group_identifier.sql | 1 + .../sqlite/0159_create_ibexa_token_type.sql | 1 + ...exa_token_type_ibexa_token_type_unique.sql | 1 + .../sql/sqlite/0161_create_ibexa_token.sql | 1 + ...index_ibexa_token_IDX_B5412887C54C8C93.sql | 1 + ...3_index_ibexa_token_ibexa_token_unique.sql | 1 + .../data/0001_insert_ibexa_object_state.sql | 3 + .../0002_insert_ibexa_object_state_group.sql | 2 + ...sert_ibexa_object_state_group_language.sql | 2 + ...004_insert_ibexa_object_state_language.sql | 3 + .../0005_insert_ibexa_object_state_link.sql | 13 + .../0006_insert_ibexa_content_language.sql | 2 + .../data/0007_insert_ibexa_content_type.sql | 7 + ...rt_ibexa_content_type_field_definition.sql | 25 + ...rt_ibexa_content_type_group_assignment.sql | 7 + .../0010_insert_ibexa_content_type_name.sql | 7 + .../0011_insert_ibexa_content_type_group.sql | 4 + .../sqlite/data/0012_insert_ibexa_content.sql | 13 + .../data/0013_insert_ibexa_content_field.sql | 41 + .../data/0014_insert_ibexa_content_name.sql | 13 + .../data/0015_insert_ibexa_content_tree.sql | 14 + .../0016_insert_ibexa_content_version.sql | 13 + .../0017_insert_ibexa_node_assignment.sql | 13 + .../sqlite/data/0018_insert_ibexa_policy.sql | 9 + .../0019_insert_ibexa_policy_limitation.sql | 7 + ...0_insert_ibexa_policy_limitation_value.sql | 8 + .../sqlite/data/0021_insert_ibexa_role.sql | 5 + .../sqlite/data/0022_insert_ibexa_section.sql | 4 + .../data/0023_insert_ibexa_site_data.sql | 2 + .../data/0024_insert_ibexa_url_alias.sql | 13 + .../data/0025_insert_ibexa_url_alias_ml.sql | 26 + .../0026_insert_ibexa_url_alias_ml_incr.sql | 4 + .../sqlite/data/0027_insert_ibexa_user.sql | 3 + .../data/0028_insert_ibexa_user_role.sql | 7 + .../data/0029_insert_ibexa_user_setting.sql | 3 + .../0030_insert_ibexa_user_preference.sql | 2 + 510 files changed, 2261 insertions(+) create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql diff --git a/composer.json b/composer.json index d39bd7fc05..aa6ae3c200 100644 --- a/composer.json +++ b/composer.json @@ -34,6 +34,7 @@ "friendsofphp/proxy-manager-lts": "^1.0", "friendsofsymfony/http-cache-bundle": "^3.0", "friendsofsymfony/jsrouting-bundle": "^3.5", + "ibexa/doctrine-migrations": "dev-feat/doctrine-migrations-5.0", "ibexa/doctrine-schema": "~5.0.x-dev", "ibexa/jms-translation-bundle": "^2.6.0", "league/flysystem-memory": "^2.0.6", diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml b/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml new file mode 100644 index 0000000000..33aff3c69e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml @@ -0,0 +1,243 @@ +up: + - file: 'sql/mysql/data/0001_insert_ibexa_object_state.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0001_insert_ibexa_object_state.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0001_insert_ibexa_object_state.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0002_insert_ibexa_object_state_group.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0002_insert_ibexa_object_state_group.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0002_insert_ibexa_object_state_group.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0004_insert_ibexa_object_state_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0004_insert_ibexa_object_state_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0004_insert_ibexa_object_state_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0005_insert_ibexa_object_state_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0005_insert_ibexa_object_state_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0005_insert_ibexa_object_state_link.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0006_insert_ibexa_content_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0006_insert_ibexa_content_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0006_insert_ibexa_content_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0007_insert_ibexa_content_type.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0007_insert_ibexa_content_type.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0007_insert_ibexa_content_type.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0010_insert_ibexa_content_type_name.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0010_insert_ibexa_content_type_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0010_insert_ibexa_content_type_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0011_insert_ibexa_content_type_group.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0011_insert_ibexa_content_type_group.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0011_insert_ibexa_content_type_group.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0012_insert_ibexa_content.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0012_insert_ibexa_content.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0012_insert_ibexa_content.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0013_insert_ibexa_content_field.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0013_insert_ibexa_content_field.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0013_insert_ibexa_content_field.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0014_insert_ibexa_content_name.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0014_insert_ibexa_content_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0014_insert_ibexa_content_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0015_insert_ibexa_content_tree.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0015_insert_ibexa_content_tree.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0015_insert_ibexa_content_tree.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0016_insert_ibexa_content_version.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0016_insert_ibexa_content_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0016_insert_ibexa_content_version.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0017_insert_ibexa_node_assignment.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0017_insert_ibexa_node_assignment.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0017_insert_ibexa_node_assignment.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0018_insert_ibexa_policy.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0018_insert_ibexa_policy.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0018_insert_ibexa_policy.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0019_insert_ibexa_policy_limitation.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0021_insert_ibexa_role.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0021_insert_ibexa_role.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0021_insert_ibexa_role.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0022_insert_ibexa_section.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0022_insert_ibexa_section.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0022_insert_ibexa_section.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0023_insert_ibexa_site_data.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0023_insert_ibexa_site_data.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0023_insert_ibexa_site_data.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0024_insert_ibexa_url_alias.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0024_insert_ibexa_url_alias.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0024_insert_ibexa_url_alias.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0027_insert_ibexa_user.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0027_insert_ibexa_user.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0027_insert_ibexa_user.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0028_insert_ibexa_user_role.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0028_insert_ibexa_user_role.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0028_insert_ibexa_user_role.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0029_insert_ibexa_user_setting.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0029_insert_ibexa_user_setting.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0029_insert_ibexa_user_setting.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0030_insert_ibexa_user_preference.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0030_insert_ibexa_user_preference.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0030_insert_ibexa_user_preference.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql' + platforms: 'postgresql' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml b/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml new file mode 100644 index 0000000000..a2f4ec0ffe --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml @@ -0,0 +1,773 @@ +up: + - file: 'sql/mysql/0001_create_ibexa_binary_file.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0001_create_ibexa_binary_file.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0001_create_ibexa_binary_file.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0002_create_ibexa_object_state.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0002_create_ibexa_object_state.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0002_create_ibexa_object_state.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0003_create_ibexa_object_state_group.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0006_create_ibexa_object_state_group.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0006_create_ibexa_object_state_group.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0004_create_ibexa_object_state_group_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0009_create_ibexa_object_state_group_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0009_create_ibexa_object_state_group_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0005_create_ibexa_object_state_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0010_create_ibexa_object_state_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0010_create_ibexa_object_state_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0006_create_ibexa_object_state_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0011_create_ibexa_object_state_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0011_create_ibexa_object_state_link.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0007_create_ibexa_content_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0012_create_ibexa_content_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0012_create_ibexa_content_language.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0008_create_ibexa_user.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0014_create_ibexa_user.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0014_create_ibexa_user.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0009_create_ibexa_content_tree.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0016_create_ibexa_content_tree.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0016_create_ibexa_content_tree.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0010_create_ibexa_content_bookmark.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0025_create_ibexa_content_bookmark.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0025_create_ibexa_content_bookmark.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0011_create_ibexa_content_type.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0029_create_ibexa_content_type.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0029_create_ibexa_content_type.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0012_create_ibexa_content_type_field_definition.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0032_create_ibexa_content_type_field_definition.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0032_create_ibexa_content_type_field_definition.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0014_create_ibexa_content_type_group_assignment.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0015_create_ibexa_content_type_name.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0038_create_ibexa_content_type_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0038_create_ibexa_content_type_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0016_create_ibexa_content_type_group.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0039_create_ibexa_content_type_group.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0039_create_ibexa_content_type_group.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0017_create_ibexa_content.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0040_create_ibexa_content.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0040_create_ibexa_content.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0018_create_ibexa_content_field.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0049_create_ibexa_content_field.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0049_create_ibexa_content_field.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0019_create_ibexa_content_relation.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0056_create_ibexa_content_relation.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0056_create_ibexa_content_relation.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0020_create_ibexa_content_name.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0060_create_ibexa_content_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0060_create_ibexa_content_name.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0021_create_ibexa_content_trash.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0064_create_ibexa_content_trash.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0064_create_ibexa_content_trash.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0022_create_ibexa_content_version.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0071_create_ibexa_content_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0071_create_ibexa_content_version.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0023_create_ibexa_dfs_file.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0076_create_ibexa_dfs_file.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0076_create_ibexa_dfs_file.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0024_create_ibexa_map_location.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0081_create_ibexa_map_location.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0081_create_ibexa_map_location.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0025_create_ibexa_image_file.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0083_create_ibexa_image_file.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0083_create_ibexa_image_file.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0026_create_ibexa_keyword.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0086_create_ibexa_keyword.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0086_create_ibexa_keyword.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0027_create_ibexa_keyword_field_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0088_create_ibexa_keyword_field_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0088_create_ibexa_keyword_field_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0028_create_ibexa_media.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0092_create_ibexa_media.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0092_create_ibexa_media.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0029_create_ibexa_node_assignment.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0093_create_ibexa_node_assignment.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0093_create_ibexa_node_assignment.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0030_create_ibexa_notification.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0098_create_ibexa_notification.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0098_create_ibexa_notification.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0031_create_ibexa_package.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0101_create_ibexa_package.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0101_create_ibexa_package.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0032_create_ibexa_policy.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0102_create_ibexa_policy.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0102_create_ibexa_policy.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0033_create_ibexa_policy_limitation.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0105_create_ibexa_policy_limitation.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0105_create_ibexa_policy_limitation.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0034_create_ibexa_policy_limitation_value.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0107_create_ibexa_policy_limitation_value.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0107_create_ibexa_policy_limitation_value.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0035_create_ibexa_user_preference.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0110_create_ibexa_user_preference.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0110_create_ibexa_user_preference.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0036_create_ibexa_role.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0113_create_ibexa_role.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0113_create_ibexa_role.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0037_create_ibexa_search_object_word_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0114_create_ibexa_search_object_word_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0114_create_ibexa_search_object_word_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0038_create_ibexa_search_word.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0120_create_ibexa_search_word.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0120_create_ibexa_search_word.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0039_create_ibexa_section.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0123_create_ibexa_section.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0123_create_ibexa_section.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0040_create_ibexa_site_data.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0124_create_ibexa_site_data.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0124_create_ibexa_site_data.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0041_create_ibexa_url.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0125_create_ibexa_url.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0125_create_ibexa_url.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0042_create_ibexa_url_content_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0127_create_ibexa_url_content_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0127_create_ibexa_url_content_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0043_create_ibexa_url_alias.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0132_create_ibexa_url_alias.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0132_create_ibexa_url_alias.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0044_create_ibexa_url_alias_ml.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0139_create_ibexa_url_alias_ml.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0139_create_ibexa_url_alias_ml.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0046_create_ibexa_url_wildcard.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0149_create_ibexa_url_wildcard.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0149_create_ibexa_url_wildcard.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0047_create_ibexa_user_accountkey.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0150_create_ibexa_user_accountkey.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0150_create_ibexa_user_accountkey.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0048_create_ibexa_user_role.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0152_create_ibexa_user_role.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0152_create_ibexa_user_role.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0049_create_ibexa_user_setting.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0155_create_ibexa_user_setting.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0155_create_ibexa_user_setting.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0050_create_ibexa_setting.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0156_create_ibexa_setting.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0156_create_ibexa_setting.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0051_create_ibexa_token_type.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0159_create_ibexa_token_type.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0159_create_ibexa_token_type.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0052_create_ibexa_token.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0161_create_ibexa_token.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0161_create_ibexa_token.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql' + platforms: 'postgresql' + - file: 'sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql' + platforms: 'postgresql' + - file: 'sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' + platforms: 'postgresql' + - file: 'sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql' + platforms: 'postgresql' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql new file mode 100644 index 0000000000..c943527dcd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_binary_file (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql new file mode 100644 index 0000000000..1dfe6a0996 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, INDEX ibexa_object_state_priority (priority), INDEX ibexa_object_state_lmask (language_mask), UNIQUE INDEX ibexa_object_state_identifier (group_id, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql new file mode 100644 index 0000000000..5d213d116d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_group (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ibexa_object_state_group_lmask (language_mask), UNIQUE INDEX ibexa_object_state_group_identifier (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql new file mode 100644 index 0000000000..45148f2653 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql new file mode 100644 index 0000000000..85fe903387 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql new file mode 100644 index 0000000000..538f70b531 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql new file mode 100644 index 0000000000..d52bc456b4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ibexa_content_language_name (name(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql new file mode 100644 index 0000000000..d20233ca4a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, UNIQUE INDEX ibexa_user_login (login), PRIMARY KEY(contentobject_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql new file mode 100644 index 0000000000..606cd1350b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_tree (node_id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, INDEX ibexa_content_tree_p_node_id (parent_node_id), INDEX ibexa_content_tree_path_ident (path_identification_string(50)), INDEX ibexa_content_tree_contentobject_id_path_string (path_string(191), contentobject_id), INDEX ibexa_content_tree_co_id (contentobject_id), INDEX ibexa_content_tree_depth (depth), INDEX ibexa_content_tree_path (path_string(191)), INDEX ibexa_content_modified_subnode (modified_subnode), INDEX ibexa_content_tree_remote_id (remote_id), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql new file mode 100644 index 0000000000..5d151b7f76 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_bookmark (id INT AUTO_INCREMENT NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ibexa_content_bookmark_location (node_id), INDEX ibexa_content_bookmark_user (user_id), INDEX ibexa_content_bookmark_user_location (user_id, node_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql new file mode 100644 index 0000000000..ee03fa5c2e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type (id INT AUTO_INCREMENT NOT NULL, status INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, INDEX ibexa_content_type_status (status), INDEX ibexa_content_type_identifier (identifier, status), PRIMARY KEY(id, status)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql new file mode 100644 index 0000000000..4b19569c53 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_field_definition (id INT AUTO_INCREMENT NOT NULL, status INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail TINYINT(1) DEFAULT '0' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text LONGTEXT DEFAULT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT NOT NULL, INDEX ibexa_content_type_field_definition_ctid (content_type_id), INDEX ibexa_content_type_field_definition_dts (data_type_string), PRIMARY KEY(id, status)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql new file mode 100644 index 0000000000..e2c749811c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_field_definition_ml (content_type_field_definition_id INT NOT NULL, status INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, INDEX ibexa_content_type_field_definition_ml_lang_fk (language_id), PRIMARY KEY(content_type_field_definition_id, status, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql new file mode 100644 index 0000000000..feee823633 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_group_assignment (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(content_type_id, content_type_status, group_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql new file mode 100644 index 0000000000..e6f78e3ffb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_name (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(content_type_id, content_type_status, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql new file mode 100644 index 0000000000..67e1b4b74a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_group (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system TINYINT(1) DEFAULT '0' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql new file mode 100644 index 0000000000..8655ec78bf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content (id INT AUTO_INCREMENT NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden TINYINT(1) DEFAULT '0' NOT NULL, INDEX ibexa_content_type_id (content_type_id), INDEX ibexa_content_lmask (language_mask), INDEX ibexa_content_pub (published), INDEX ibexa_content_section (section_id), INDEX ibexa_content_currentversion (current_version), INDEX ibexa_content_owner (owner_id), INDEX ibexa_content_status (status), UNIQUE INDEX ibexa_content_remote_id (remote_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql new file mode 100644 index 0000000000..0531f77f6b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_field (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, content_type_field_definition_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, INDEX ibexa_content_field_co_id_ver_lang_code (contentobject_id, version, language_code), INDEX ibexa_content_field_field_definition_id (content_type_field_definition_id), INDEX sort_key_string (sort_key_string(191)), INDEX ibexa_content_field_language_code (language_code), INDEX sort_key_int (sort_key_int), INDEX ibexa_content_field_co_id_ver (contentobject_id, version), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql new file mode 100644 index 0000000000..5a3ec084a3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_relation (id INT AUTO_INCREMENT NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, INDEX ibexa_content_relation_to_co_id (to_contentobject_id), INDEX ibexa_content_relation_from (from_contentobject_id, from_contentobject_version, content_type_field_definition_id), INDEX ibexa_content_relation_ccfd_id (content_type_field_definition_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql new file mode 100644 index 0000000000..466f34fd24 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, INDEX ibexa_content_name_lang_id (language_id), INDEX ibexa_content_name_cov_id (content_version), INDEX ibexa_content_name_name (name(191)), PRIMARY KEY(contentobject_id, content_version, content_translation)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql new file mode 100644 index 0000000000..508d60ade2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, INDEX ibexa_content_trash_depth (depth), INDEX ibexa_content_trash_p_node_id (parent_node_id), INDEX ibexa_content_trash_path_ident (path_identification_string(50)), INDEX ibexa_content_trash_co_id (contentobject_id), INDEX ibexa_content_trash_modified_subnode (modified_subnode), INDEX ibexa_content_trash_path (path_string(191)), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql new file mode 100644 index 0000000000..b2b8c958c5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_version (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, INDEX ibexa_content_version_status (status), INDEX ibexa_content_version_idx_ver (contentobject_id, version), INDEX ibexa_content_version_idx_status (contentobject_id, status), INDEX ibexa_content_version_creator_id (creator_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql new file mode 100644 index 0000000000..788d674b31 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_dfs_file (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired TINYINT(1) DEFAULT '0' NOT NULL, status TINYINT(1) DEFAULT '0' NOT NULL, INDEX ibexa_dfs_file_name_trunk (name_trunk(191)), INDEX ibexa_dfs_file_expired_name (expired, name(191)), INDEX ibexa_dfs_file_name (name(191)), INDEX ibexa_dfs_file_mtime (mtime), PRIMARY KEY(name_hash)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql new file mode 100644 index 0000000000..c6717b1deb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_map_location (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, INDEX ibexa_map_location_latitude_longitude_key (latitude, longitude), PRIMARY KEY(contentobject_attribute_id, contentobject_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql new file mode 100644 index 0000000000..4b1b110eb9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_image_file (id INT AUTO_INCREMENT NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath LONGTEXT NOT NULL, INDEX ibexa_image_file_file (filepath(191)), INDEX ibexa_image_file_coid (contentobject_attribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql new file mode 100644 index 0000000000..cdaf39b246 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_keyword (id INT AUTO_INCREMENT NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, INDEX ibexa_keyword_keyword (keyword(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql new file mode 100644 index 0000000000..13cf8a2bb5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_keyword_field_link (id INT AUTO_INCREMENT NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, INDEX ibexa_keyword_field_link_oaid (objectattribute_id), INDEX ibexa_keyword_field_link_kid_oaid (keyword_id, objectattribute_id), INDEX ibexa_keyword_field_link_oaid_ver (objectattribute_id, version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql new file mode 100644 index 0000000000..84fbd67808 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_media (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql new file mode 100644 index 0000000000..3c6e1873ec --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_node_assignment (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, INDEX ibexa_node_assignment_is_main (is_main), INDEX ibexa_node_assignment_coid_cov (contentobject_id, contentobject_version), INDEX ibexa_node_assignment_parent_node (parent_node), INDEX ibexa_node_assignment_co_version (contentobject_version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql new file mode 100644 index 0000000000..f1f8dfbaf6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_notification (id INT AUTO_INCREMENT NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending TINYINT(1) DEFAULT '1' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INT DEFAULT 0 NOT NULL, data LONGTEXT DEFAULT NULL, INDEX ibexa_notification_owner_is_pending (owner_id, is_pending), INDEX ibexa_notification_owner (owner_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql new file mode 100644 index 0000000000..95e192f2c5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_package (id INT AUTO_INCREMENT NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql new file mode 100644 index 0000000000..6675be55e3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy (id INT AUTO_INCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, INDEX ibexa_policy_role_id (role_id), INDEX ibexa_policy_original_id (original_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql new file mode 100644 index 0000000000..e8bc6695bf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy_limitation (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, INDEX ibexa_policy_id (policy_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql new file mode 100644 index 0000000000..ae56570647 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy_limitation_value (id INT AUTO_INCREMENT NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, INDEX ibexa_policy_limit_value_limit_id (limitation_id), INDEX ibexa_policy_limitation_value_val (value(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql new file mode 100644 index 0000000000..fd6e5537f8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_preference (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value LONGTEXT DEFAULT NULL, INDEX ibexa_user_preference_user_id_idx (user_id, name), INDEX ibexa_user_preference_name (name), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql new file mode 100644 index 0000000000..5e0b1a68d9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_role (id INT AUTO_INCREMENT NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql new file mode 100644 index 0000000000..65c95303c6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_search_object_word_link (id INT AUTO_INCREMENT NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ibexa_search_object_word_link_object (contentobject_id), INDEX ibexa_search_object_word_link_identifier (identifier(191)), INDEX ibexa_search_object_word_link_integer_value (integer_value), INDEX ibexa_search_object_word_link_word (word_id), INDEX ibexa_search_object_word_link_frequency (frequency), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql new file mode 100644 index 0000000000..8f8501a790 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_search_word (id INT AUTO_INCREMENT NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, INDEX ibexa_search_word_word_i (word), INDEX ibexa_search_word_obj_count (object_count), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql new file mode 100644 index 0000000000..fd30887309 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_section (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql new file mode 100644 index 0000000000..f0c130755d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_site_data (name VARCHAR(60) DEFAULT '' NOT NULL, value LONGTEXT NOT NULL, PRIMARY KEY(name)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql new file mode 100644 index 0000000000..91a9ea5521 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url LONGTEXT DEFAULT NULL, INDEX ibexa_url_url (url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql new file mode 100644 index 0000000000..818099cb8c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_content_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL, INDEX ibexa_url_ol_coa_id (contentobject_attribute_id), INDEX ibexa_url_ol_url_id (url_id), INDEX ibexa_url_ol_coa_version (contentobject_attribute_version), INDEX ibexa_url_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql new file mode 100644 index 0000000000..10056978da --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url LONGTEXT NOT NULL, INDEX ibexa_url_alias_source_md5 (source_md5), INDEX ibexa_url_alias_wcard_fwd (is_wildcard, forward_to_id), INDEX ibexa_url_alias_forward_to_id (forward_to_id), INDEX ibexa_url_alias_imp_wcard_fwd (is_imported, is_wildcard, forward_to_id), INDEX ibexa_url_alias_source_url (source_url(191)), INDEX ibexa_url_alias_desturl (destination_url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql new file mode 100644 index 0000000000..124e784561 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, action LONGTEXT NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text LONGTEXT NOT NULL, INDEX ibexa_url_alias_ml_actt_org_al (action_type, is_original, is_alias), INDEX ibexa_url_alias_ml_text_lang (text(32), lang_mask, parent), INDEX ibexa_url_alias_ml_par_act_id_lnk (action(32), id, link, parent), INDEX ibexa_url_alias_ml_par_lnk_txt (parent, text(32), link), INDEX ibexa_url_alias_ml_act_org (action(32), is_original), INDEX ibexa_url_alias_ml_text (text(32), id, link), INDEX ibexa_url_alias_ml_link (link), INDEX ibexa_url_alias_ml_id (id), PRIMARY KEY(parent, text_md5)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql new file mode 100644 index 0000000000..c709d26910 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias_ml_incr (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql new file mode 100644 index 0000000000..6a04532c6a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_wildcard (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, source_url LONGTEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql new file mode 100644 index 0000000000..7e7f3409a9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_accountkey (id INT AUTO_INCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, INDEX hash_key (hash_key), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql new file mode 100644 index 0000000000..e0ac803371 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_role (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, INDEX ibexa_user_role_role_id (role_id), INDEX ibexa_user_role_contentobject_id (contentobject_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql new file mode 100644 index 0000000000..0d206a10a8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql new file mode 100644 index 0000000000..d664bb1bf9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_setting (id INT AUTO_INCREMENT NOT NULL, `group` VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, INDEX ibexa_setting_id (id), UNIQUE INDEX ibexa_setting_group_identifier (`group`, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql new file mode 100644 index 0000000000..050286548c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token_type (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL, UNIQUE INDEX ibexa_token_type_unique (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql new file mode 100644 index 0000000000..2cc774c11a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token (id INT AUTO_INCREMENT NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked TINYINT(1) DEFAULT '0' NOT NULL, INDEX IDX_B5412887C54C8C93 (type_id), UNIQUE INDEX ibexa_token_unique (token, identifier, type_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql new file mode 100644 index 0000000000..653438c362 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql new file mode 100644 index 0000000000..760aa35800 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql new file mode 100644 index 0000000000..c002dd7f33 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language (id) ON UPDATE CASCADE ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql new file mode 100644 index 0000000000..f8e58ffca0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql new file mode 100644 index 0000000000..28d054bae2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_object_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) +VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql new file mode 100644 index 0000000000..d6ecfca0a8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_object_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) +VALUES (2,2,'ibexa_lock',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql new file mode 100644 index 0000000000..c2cce56918 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_object_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) +VALUES (2,'',3,'Lock',2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql new file mode 100644 index 0000000000..5447342e3b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_object_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) +VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql new file mode 100644 index 0000000000..a58c50424a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_object_state_link` (`contentobject_id`, `contentobject_state_id`) +VALUES (1, 1), + (4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql new file mode 100644 index 0000000000..716102901f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_content_language` (`disabled`, `id`, `locale`, `name`) +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql new file mode 100644 index 0000000000..0acd993329 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_content_type` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `status`) +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql new file mode 100644 index 0000000000..d88a046425 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql @@ -0,0 +1,25 @@ +INSERT INTO `ibexa_content_type_field_definition` (`can_translate`, `category`, `content_type_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `status`) +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ibexa_string',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ibexa_string',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ibexa_user',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ibexa_string',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ibexa_image',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ibexa_richtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ibexa_richtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_boolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ibexa_string',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ibexa_binaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ibexa_author',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_object_relation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_string',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','ibexa_text',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ibexa_image',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql new file mode 100644 index 0000000000..06892a0765 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_content_type_group_assignment` (`content_type_id`, `content_type_status`, `group_id`, `group_name`) +VALUES (1, 0, 1, 'Content'), + (2, 0, 1, 'Content'), + (3, 0, 2, 'Users'), + (4, 0, 2, 'Users'), + (5, 0, 3, 'Media'), + (12, 0, 3, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql new file mode 100644 index 0000000000..b62ac8a988 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_content_type_name` (`content_type_id`, `content_type_status`, `language_id`, `language_locale`, `name`) +VALUES (1, 0, 2, 'eng-GB', 'Folder'), + (2, 0, 3, 'eng-GB', 'Article'), + (3, 0, 3, 'eng-GB', 'User group'), + (4, 0, 3, 'eng-GB', 'User'), + (5, 0, 3, 'eng-GB', 'Image'), + (12, 0, 3, 'eng-GB', 'File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql new file mode 100644 index 0000000000..2eb94f3b43 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql @@ -0,0 +1,4 @@ +INSERT INTO `ibexa_content_type_group` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) +VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql new file mode 100644 index 0000000000..7108cc1143 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_content` (`content_type_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) +VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql new file mode 100644 index 0000000000..0d542f8dbd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql @@ -0,0 +1,41 @@ +INSERT INTO `ibexa_content_field` (`attribute_original_id`, `content_type_field_definition_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) +VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ibexa_string',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ibexa_richtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ibexa_string',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ibexa_string',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ibexa_string',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ibexa_string',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ibexa_user',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ibexa_string',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ibexa_string',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ibexa_string',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ibexa_string',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ibexa_string',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ibexa_string',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ibexa_string',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ibexa_string',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ibexa_user',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ibexa_string',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,'\n
\n','ibexa_richtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ibexa_string',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ibexa_string',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ibexa_string',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ibexa_string',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ibexa_richtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,'\n
\n','ibexa_richtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ibexa_string',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ibexa_string',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,'\n
\n','ibexa_richtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,'\n
\n','ibexa_richtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ibexa_string',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ibexa_string',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,'\n
\n','ibexa_richtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,'\n
\n','ibexa_richtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ibexa_string',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ibexa_string',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,'\n
\n','ibexa_richtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,'\n
\n','ibexa_richtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','ibexa_text',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','ibexa_text',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ibexa_image',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,'\n\n','ibexa_image',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql new file mode 100644 index 0000000000..c36299fd6a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_content_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) +VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql new file mode 100644 index 0000000000..65d092ccef --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql @@ -0,0 +1,14 @@ +INSERT INTO `ibexa_content_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) +VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql new file mode 100644 index 0000000000..83f4e503e7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_content_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql new file mode 100644 index 0000000000..9640698edf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_node_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) +VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql new file mode 100644 index 0000000000..4d51ce8204 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql @@ -0,0 +1,9 @@ +INSERT INTO `ibexa_policy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) +VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql new file mode 100644 index 0000000000..cc61881062 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_policy_limitation` (`id`, `identifier`, `policy_id`) +VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql new file mode 100644 index 0000000000..4ac14df7f5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql @@ -0,0 +1,8 @@ +INSERT INTO `ibexa_policy_limitation_value` (`id`, `limitation_id`, `value`) +VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql new file mode 100644 index 0000000000..cde93d16ed --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql @@ -0,0 +1,5 @@ +INSERT INTO `ibexa_role` (`id`, `is_new`, `name`, `value`, `version`) +VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql new file mode 100644 index 0000000000..0436a276f7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql @@ -0,0 +1,4 @@ +INSERT INTO `ibexa_section` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) +VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql new file mode 100644 index 0000000000..1315785c03 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_site_data` (`name`, `value`) +VALUES ('ibexa-release','5.0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql new file mode 100644 index 0000000000..9b111ca869 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_url_alias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) +VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql new file mode 100644 index 0000000000..d9a59e6dc4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql @@ -0,0 +1,26 @@ +INSERT INTO `ibexa_url_alias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) +VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql new file mode 100644 index 0000000000..755c37655a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql @@ -0,0 +1,4 @@ +INSERT INTO `ibexa_url_alias_ml_incr` (`id`) +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql new file mode 100644 index 0000000000..a7d0cf247c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_user` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) +VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql new file mode 100644 index 0000000000..4dbaff1fbd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_user_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) +VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql new file mode 100644 index 0000000000..a3c25ef316 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_user_setting` (`is_enabled`, `max_login`, `user_id`) +VALUES (1,1000,10), + (1,10,14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql new file mode 100644 index 0000000000..6643c6b914 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_user_preference` (`name`, `user_id`, `value`) +SELECT 'focus_mode', u.contentobject_id, '0' FROM `ibexa_user` u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql new file mode 100644 index 0000000000..5c6a43d2ad --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_binary_file (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql new file mode 100644 index 0000000000..ac4ed70654 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql new file mode 100644 index 0000000000..5826aaef24 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql new file mode 100644 index 0000000000..60be743406 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql new file mode 100644 index 0000000000..38a0fa6827 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql new file mode 100644 index 0000000000..66967266f3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_group (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql new file mode 100644 index 0000000000..507f119efb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql new file mode 100644 index 0000000000..d3a6cf12d0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql new file mode 100644 index 0000000000..5d05a11ce1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql new file mode 100644 index 0000000000..9bf50f4a1f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql new file mode 100644 index 0000000000..b9d499e790 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql new file mode 100644 index 0000000000..07684961c0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql new file mode 100644 index 0000000000..f95137a14e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql new file mode 100644 index 0000000000..1f81a66b28 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, PRIMARY KEY(contentobject_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql new file mode 100644 index 0000000000..b49abbfa91 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql new file mode 100644 index 0000000000..8e5f58c330 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_tree (node_id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql new file mode 100644 index 0000000000..d686c910b2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql new file mode 100644 index 0000000000..0f9daed470 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql new file mode 100644 index 0000000000..1712708976 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql new file mode 100644 index 0000000000..ef847742e7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql new file mode 100644 index 0000000000..eab7a10df6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql new file mode 100644 index 0000000000..f4d449f8c8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql new file mode 100644 index 0000000000..597f0baf62 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql new file mode 100644 index 0000000000..f2407dd47f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql new file mode 100644 index 0000000000..1e269d7092 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_bookmark (id SERIAL NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql new file mode 100644 index 0000000000..da8bdcb2ee --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql new file mode 100644 index 0000000000..cebfbca729 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql new file mode 100644 index 0000000000..ceb1ad9be3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql new file mode 100644 index 0000000000..eb802edbb8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type (id SERIAL NOT NULL, status INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id, status)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql new file mode 100644 index 0000000000..abefabe9f2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_status ON ibexa_content_type (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql new file mode 100644 index 0000000000..e61735359b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql new file mode 100644 index 0000000000..cfafafcbd8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_field_definition (id SERIAL NOT NULL, status INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT 'false' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text TEXT DEFAULT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT NOT NULL, PRIMARY KEY(id, status)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql new file mode 100644 index 0000000000..f8e2452ae5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql new file mode 100644 index 0000000000..453cd13008 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql new file mode 100644 index 0000000000..bd0b624554 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_field_definition_ml (content_type_field_definition_id INT NOT NULL, status INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, PRIMARY KEY(content_type_field_definition_id, status, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql new file mode 100644 index 0000000000..670308e41e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql new file mode 100644 index 0000000000..d0abc06557 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_group_assignment (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(content_type_id, content_type_status, group_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql new file mode 100644 index 0000000000..0aee835c33 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_name (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(content_type_id, content_type_status, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql new file mode 100644 index 0000000000..062e1aa732 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_group (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql new file mode 100644 index 0000000000..5224bcd356 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content (id SERIAL NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql new file mode 100644 index 0000000000..33a031bd4d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_id ON ibexa_content (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql new file mode 100644 index 0000000000..32497a5d84 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql new file mode 100644 index 0000000000..736a4155af --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_pub ON ibexa_content (published); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql new file mode 100644 index 0000000000..19457bef18 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_section ON ibexa_content (section_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql new file mode 100644 index 0000000000..edd6826160 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql new file mode 100644 index 0000000000..0790e62c88 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql new file mode 100644 index 0000000000..48c05cd4f6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_status ON ibexa_content (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql new file mode 100644 index 0000000000..45c31edd02 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql new file mode 100644 index 0000000000..a281f913f7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_field (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, content_type_field_definition_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql new file mode 100644 index 0000000000..93726617f0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql new file mode 100644 index 0000000000..4d432626a5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql new file mode 100644 index 0000000000..ec24a9b21f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql @@ -0,0 +1 @@ +CREATE INDEX sort_key_string ON ibexa_content_field (sort_key_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql new file mode 100644 index 0000000000..c530bbb7d8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql new file mode 100644 index 0000000000..884b7ff664 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql @@ -0,0 +1 @@ +CREATE INDEX sort_key_int ON ibexa_content_field (sort_key_int); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql new file mode 100644 index 0000000000..9d647be9c1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql new file mode 100644 index 0000000000..c65bf209a7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_relation (id SERIAL NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql new file mode 100644 index 0000000000..ca644fd1dd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql new file mode 100644 index 0000000000..f62d709bae --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql new file mode 100644 index 0000000000..ef1e83724d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql new file mode 100644 index 0000000000..b9d627df74 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql new file mode 100644 index 0000000000..b4016f33cd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql new file mode 100644 index 0000000000..a162e3e70e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql new file mode 100644 index 0000000000..b1b1ed6f83 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql new file mode 100644 index 0000000000..25a18c58dd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql new file mode 100644 index 0000000000..a7f3aaf8cf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql new file mode 100644 index 0000000000..7353270650 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql new file mode 100644 index 0000000000..8108c8112e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql new file mode 100644 index 0000000000..7be1fea30f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql new file mode 100644 index 0000000000..1c0b897b62 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql new file mode 100644 index 0000000000..5a29b83d62 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql new file mode 100644 index 0000000000..0d09ac88a6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_version (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql new file mode 100644 index 0000000000..38615b8104 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql new file mode 100644 index 0000000000..6e2dfb52fa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql new file mode 100644 index 0000000000..1ba59bfc72 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql new file mode 100644 index 0000000000..834ec3deb3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql new file mode 100644 index 0000000000..9fcc404ba3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_dfs_file (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT 'false' NOT NULL, status BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(name_hash)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql new file mode 100644 index 0000000000..8391ba0217 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql new file mode 100644 index 0000000000..74985d0c93 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql new file mode 100644 index 0000000000..e921fe6650 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql new file mode 100644 index 0000000000..469533ca93 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql new file mode 100644 index 0000000000..c5019aacb4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_map_location (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql new file mode 100644 index 0000000000..6b5b375d51 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql new file mode 100644 index 0000000000..8b10f8366b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_image_file (id SERIAL NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath TEXT NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql new file mode 100644 index 0000000000..5a95b4318b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql new file mode 100644 index 0000000000..4134ec7b9f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql new file mode 100644 index 0000000000..68c151a74b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_keyword (id SERIAL NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql new file mode 100644 index 0000000000..499d339734 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql new file mode 100644 index 0000000000..eda4daf849 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_keyword_field_link (id SERIAL NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql new file mode 100644 index 0000000000..982b9a7f6a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql new file mode 100644 index 0000000000..0b45f48a7c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql new file mode 100644 index 0000000000..f26ce33baf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql new file mode 100644 index 0000000000..1ad747ea69 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_media (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql new file mode 100644 index 0000000000..b5e29f3a22 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_node_assignment (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql new file mode 100644 index 0000000000..7d474bf250 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql new file mode 100644 index 0000000000..e33fbd46b2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql new file mode 100644 index 0000000000..b6e3bb305b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql new file mode 100644 index 0000000000..ba16836181 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql new file mode 100644 index 0000000000..781e65a7de --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_notification (id SERIAL NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT 'true' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INT DEFAULT 0 NOT NULL, data TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql new file mode 100644 index 0000000000..74453e4129 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql new file mode 100644 index 0000000000..acc0093c1c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql new file mode 100644 index 0000000000..84a2dd7219 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_package (id SERIAL NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql new file mode 100644 index 0000000000..d2b1987a92 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy (id SERIAL NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql new file mode 100644 index 0000000000..a7390a7cc9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql new file mode 100644 index 0000000000..c84254dffc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql new file mode 100644 index 0000000000..c8bf8e0e9d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy_limitation (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql new file mode 100644 index 0000000000..18d2c85a03 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql new file mode 100644 index 0000000000..f16c66662e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy_limitation_value (id SERIAL NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql new file mode 100644 index 0000000000..04e7f07679 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql new file mode 100644 index 0000000000..8f30cd8184 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql new file mode 100644 index 0000000000..33779c66a5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_preference (id SERIAL NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql new file mode 100644 index 0000000000..3d17125e44 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql new file mode 100644 index 0000000000..763c959525 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql new file mode 100644 index 0000000000..10c8fc9827 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_role (id SERIAL NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql new file mode 100644 index 0000000000..f5ef170df9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_search_object_word_link (id SERIAL NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql new file mode 100644 index 0000000000..2979febcf7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql new file mode 100644 index 0000000000..7a7882ea59 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql new file mode 100644 index 0000000000..561c155c92 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql new file mode 100644 index 0000000000..c78a04a41a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql new file mode 100644 index 0000000000..b3d1751e6c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql new file mode 100644 index 0000000000..391f8d9338 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_search_word (id SERIAL NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql new file mode 100644 index 0000000000..171471b339 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql new file mode 100644 index 0000000000..a2098d0ab4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql new file mode 100644 index 0000000000..ed418c0a92 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_section (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql new file mode 100644 index 0000000000..05c78a8d9c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_site_data (name VARCHAR(60) DEFAULT '' NOT NULL, value TEXT NOT NULL, PRIMARY KEY(name)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql new file mode 100644 index 0000000000..61b4162a0f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql new file mode 100644 index 0000000000..7a08f3b1db --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_url ON ibexa_url (url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql new file mode 100644 index 0000000000..4976f77e90 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_content_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql new file mode 100644 index 0000000000..258187b47a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql new file mode 100644 index 0000000000..9dd2926df0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql new file mode 100644 index 0000000000..db2e9886fa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql new file mode 100644 index 0000000000..2c2b9b0ab5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql new file mode 100644 index 0000000000..20a5b42de2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias (id SERIAL NOT NULL, destination_url TEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url TEXT NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql new file mode 100644 index 0000000000..ffe6981649 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql new file mode 100644 index 0000000000..2e84f84a69 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql new file mode 100644 index 0000000000..daf44ce9e2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql new file mode 100644 index 0000000000..218055c124 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql new file mode 100644 index 0000000000..cd3078d4aa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql new file mode 100644 index 0000000000..1357e15320 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql new file mode 100644 index 0000000000..66e832b023 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, action TEXT NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text TEXT NOT NULL, PRIMARY KEY(parent, text_md5)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql new file mode 100644 index 0000000000..80426d6d25 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql new file mode 100644 index 0000000000..40898e833a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql new file mode 100644 index 0000000000..120d8b301d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml (action, id, link, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql new file mode 100644 index 0000000000..d8dd20bc1e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql new file mode 100644 index 0000000000..3e76cc88ba --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml (action, is_original); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql new file mode 100644 index 0000000000..0cf1bc2dbf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql new file mode 100644 index 0000000000..43d854ee19 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql new file mode 100644 index 0000000000..1d63e3df21 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql new file mode 100644 index 0000000000..0766455cfa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias_ml_incr (id SERIAL NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql new file mode 100644 index 0000000000..f26db352d9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_wildcard (id SERIAL NOT NULL, destination_url TEXT NOT NULL, source_url TEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql new file mode 100644 index 0000000000..8f4b865f98 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_accountkey (id SERIAL NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql new file mode 100644 index 0000000000..261d15ac25 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql @@ -0,0 +1 @@ +CREATE INDEX hash_key ON ibexa_user_accountkey (hash_key); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql new file mode 100644 index 0000000000..e768b8ab09 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_role (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql new file mode 100644 index 0000000000..8c83fae5a6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql new file mode 100644 index 0000000000..f2c678cebc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql new file mode 100644 index 0000000000..3132296fce --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql new file mode 100644 index 0000000000..d3ae1af8b3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_setting (id SERIAL NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql new file mode 100644 index 0000000000..d6f3d3b0dc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_setting_id ON ibexa_setting (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql new file mode 100644 index 0000000000..e2a05c6a8d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql new file mode 100644 index 0000000000..34e08782fb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token_type (id SERIAL NOT NULL, identifier VARCHAR(64) NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql new file mode 100644 index 0000000000..17f4b2cf68 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql new file mode 100644 index 0000000000..a67a678e35 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token (id SERIAL NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql new file mode 100644 index 0000000000..8217faeab1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql @@ -0,0 +1 @@ +CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql new file mode 100644 index 0000000000..1d13c98da4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql new file mode 100644 index 0000000000..fdafaa780d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql new file mode 100644 index 0000000000..2f8d81a319 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql new file mode 100644 index 0000000000..c03b65599b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql new file mode 100644 index 0000000000..973e602987 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql new file mode 100644 index 0000000000..b6e93a2054 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql @@ -0,0 +1,3 @@ +INSERT INTO "ibexa_object_state" ("default_language_id", "group_id", "id", "identifier", "language_mask", "priority") +VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql new file mode 100644 index 0000000000..539b01fc3b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql @@ -0,0 +1,2 @@ +INSERT INTO "ibexa_object_state_group" ("default_language_id", "id", "identifier", "language_mask") +VALUES (2, 2, 'ibexa_lock', 3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql new file mode 100644 index 0000000000..a6244ff430 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql @@ -0,0 +1,2 @@ +INSERT INTO "ibexa_object_state_group_language" ("contentobject_state_group_id", "description","language_id", "name", "real_language_id") +VALUES (2, '', 3, 'Lock', 2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql new file mode 100644 index 0000000000..2b22aad739 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql @@ -0,0 +1,3 @@ +INSERT INTO "ibexa_object_state_language" ("contentobject_state_id", "description", "language_id", "name") +VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql new file mode 100644 index 0000000000..f40935c418 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql @@ -0,0 +1,13 @@ +INSERT INTO "ibexa_object_state_link" ("contentobject_id", "contentobject_state_id") +VALUES ( 1, 1), + ( 4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql new file mode 100644 index 0000000000..a9e6bde55c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql @@ -0,0 +1,2 @@ +INSERT INTO "ibexa_content_language" ("disabled", "id", "locale", "name") +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql new file mode 100644 index 0000000000..dff061c9d5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql @@ -0,0 +1,7 @@ +INSERT INTO "ibexa_content_type" ("always_available", "contentobject_name", "created", "creator_id", "id", "identifier", "initial_language_id", "is_container", "language_mask", "modified", "modifier_id", "remote_id", "serialized_description_list", "serialized_name_list", "sort_field", "sort_order", "url_alias_name", "status") +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:"eng-GB";s:6:"Folder";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:"eng-GB";s:7:"Article";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql new file mode 100644 index 0000000000..5b0bd908df --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql @@ -0,0 +1,25 @@ +INSERT INTO "ibexa_content_type_field_definition" ("can_translate", "category", "content_type_id", "data_float1", "data_float2", "data_float3", "data_float4", "data_int1", "data_int2", "data_int3", "data_int4", "data_text1", "data_text2", "data_text3", "data_text4", "data_text5", "data_type_string", "id", "identifier", "is_information_collector", "is_required", "is_searchable", "is_thumbnail", "placement", "serialized_data_text", "serialized_description_list", "serialized_name_list", "status") +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ibexa_string',1,'title',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ibexa_string',4,'name',0,1,1,FALSE,1,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:4:"Name";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',6,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',7,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',8,'first_name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:10:"First name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',9,'last_name',0,1,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Last name";s:16:"always-available";s:6:"eng-GB";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ibexa_user',12,'user_account',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:12:"User account";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ibexa_string',116,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',117,'caption',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:7:"Caption";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ibexa_image',118,'image',0,0,1,TRUE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',119,'short_description',0,0,1,FALSE,3,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:17:"Short description";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ibexa_richtext',120,'intro',0,1,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Intro";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ibexa_richtext',121,'body',0,0,1,FALSE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Body";s:16:"always-available";s:6:"eng-GB";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_boolean',123,'enable_comments',0,0,0,FALSE,6,NULL,NULL,'a:2:{s:6:"eng-GB";s:15:"Enable comments";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ibexa_string',146,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',147,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ibexa_binaryfile',148,'file',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',152,'short_title',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Short title";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ibexa_author',153,'author',0,0,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:6:"Author";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_object_relation',154,'image',0,0,1,FALSE,7,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_string',155,'short_name',0,0,1,FALSE,2,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:10:"Short name";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',156,'description',0,0,1,FALSE,4,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:11:"Description";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','ibexa_text',179,'signature',0,0,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ibexa_image',180,'image',0,0,0,TRUE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql new file mode 100644 index 0000000000..0930c2a4c4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql @@ -0,0 +1,7 @@ +INSERT INTO "ibexa_content_type_group_assignment" ("content_type_id", "content_type_status", "group_id", "group_name") +VALUES (1,0,1,'Content'), + (2,0,1,'Content'), + (3,0,2,'Users'), + (4,0,2,'Users'), + (5,0,3,'Media'), + (12,0,3,'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql new file mode 100644 index 0000000000..4ce17b5c00 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql @@ -0,0 +1,7 @@ +INSERT INTO "ibexa_content_type_name" ("content_type_id", "content_type_status", "language_id", "language_locale", "name") +VALUES (1,0,2,'eng-GB','Folder'), + (2,0,3,'eng-GB','Article'), + (3,0,3,'eng-GB','User group'), + (4,0,3,'eng-GB','User'), + (5,0,3,'eng-GB','Image'), + (12,0,3,'eng-GB','File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql new file mode 100644 index 0000000000..dec1cfcde3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql @@ -0,0 +1,4 @@ +INSERT INTO "ibexa_content_type_group" ("created", "creator_id", "id", "modified", "modifier_id", "name") +VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql new file mode 100644 index 0000000000..40d7370b67 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql @@ -0,0 +1,13 @@ +INSERT INTO "ibexa_content" ("content_type_id", "current_version", "id", "initial_language_id", "language_mask", "modified", "name", "owner_id", "published", "remote_id", "section_id", "status") +VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql new file mode 100644 index 0000000000..0f8422d6ce --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql @@ -0,0 +1,41 @@ +INSERT INTO "ibexa_content_field" ("attribute_original_id", "content_type_field_definition_id", "contentobject_id", "data_float", "data_int", "data_text", "data_type_string", "id", "language_code", "language_id", "sort_key_int", "sort_key_string", "version") +VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ibexa_string',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,E'
You are now ready to start your project.
','ibexa_richtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ibexa_string',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ibexa_string',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ibexa_string',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ibexa_string',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ibexa_user',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ibexa_string',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ibexa_string',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ibexa_string',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ibexa_string',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ibexa_string',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ibexa_string',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ibexa_string',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ibexa_string',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ibexa_user',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ibexa_string',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,E'\n
\n','ibexa_richtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ibexa_string',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ibexa_string',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ibexa_string',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ibexa_string',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,E'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ibexa_richtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,E'\n
\n','ibexa_richtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ibexa_string',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ibexa_string',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,E'\n
\n','ibexa_richtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,E'\n
\n','ibexa_richtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ibexa_string',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ibexa_string',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,E'\n
\n','ibexa_richtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,E'\n
\n','ibexa_richtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ibexa_string',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ibexa_string',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,E'\n
\n','ibexa_richtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,E'\n
\n','ibexa_richtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','ibexa_text',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','ibexa_text',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ibexa_image',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,E'\n\n','ibexa_image',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql new file mode 100644 index 0000000000..f03b1eb85c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql @@ -0,0 +1,13 @@ +INSERT INTO "ibexa_content_name" ("content_translation", "content_version", "contentobject_id", "language_id", "name", "real_translation") +VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql new file mode 100644 index 0000000000..e373f6d94e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql @@ -0,0 +1,14 @@ +INSERT INTO "ibexa_content_tree" ("contentobject_id", "contentobject_is_published", "contentobject_version", "depth", "is_hidden", "is_invisible", "main_node_id", "modified_subnode", "node_id", "parent_node_id", "path_identification_string", "path_string", "priority", "remote_id", "sort_field", "sort_order") +VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql new file mode 100644 index 0000000000..6da2948ddc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql @@ -0,0 +1,13 @@ +INSERT INTO "ibexa_content_version" ("contentobject_id", "created", "creator_id", "id", "initial_language_id", "language_mask", "modified", "status", "user_id", "version", "workflow_event_pos") +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql new file mode 100644 index 0000000000..3c2930a01a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql @@ -0,0 +1,13 @@ +INSERT INTO "ibexa_node_assignment" ("contentobject_id", "contentobject_version", "from_node_id", "id", "is_main", "op_code", "parent_node", "parent_remote_id", "remote_id", "sort_field", "sort_order", "priority", "is_hidden") +VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql new file mode 100644 index 0000000000..0509cded66 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql @@ -0,0 +1,9 @@ +INSERT INTO "ibexa_policy" ("function_name", "id", "module_name", "original_id", "role_id") +VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql new file mode 100644 index 0000000000..5ee58ed2d5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql @@ -0,0 +1,7 @@ +INSERT INTO "ibexa_policy_limitation" ("id", "identifier", "policy_id") +VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql new file mode 100644 index 0000000000..1b1e99a293 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql @@ -0,0 +1,8 @@ +INSERT INTO "ibexa_policy_limitation_value" ("id", "limitation_id", "value") +VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql new file mode 100644 index 0000000000..2ef278a3f2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql @@ -0,0 +1,5 @@ +INSERT INTO "ibexa_role" ("id", "is_new", "name", "value", "version") +VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql new file mode 100644 index 0000000000..67a4ec349a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql @@ -0,0 +1,4 @@ +INSERT INTO "ibexa_section" ("id", "identifier", "locale", "name", "navigation_part_identifier") +VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql new file mode 100644 index 0000000000..6bfb9642f5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql @@ -0,0 +1,2 @@ +INSERT INTO "ibexa_site_data" ("name", "value") +VALUES ('ibexa-release','5.0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql new file mode 100644 index 0000000000..6261b39f37 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql @@ -0,0 +1,13 @@ +INSERT INTO "ibexa_url_alias" ("destination_url", "forward_to_id", "id", "is_imported", "is_internal", "is_wildcard", "source_md5", "source_url") +VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql new file mode 100644 index 0000000000..1d3efbc851 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql @@ -0,0 +1,26 @@ +INSERT INTO "ibexa_url_alias_ml" ("action", "action_type", "alias_redirects", "id", "is_alias", "is_original", "lang_mask", "link", "parent", "text", "text_md5") +VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql new file mode 100644 index 0000000000..ca0299588d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql @@ -0,0 +1,4 @@ +INSERT INTO "ibexa_url_alias_ml_incr" ("id") +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql new file mode 100644 index 0000000000..223331fee9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql @@ -0,0 +1,3 @@ +INSERT INTO "ibexa_user" ("contentobject_id", "email", "login", "password_hash", "password_hash_type") +VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql new file mode 100644 index 0000000000..8d29a039bf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql @@ -0,0 +1,7 @@ +INSERT INTO "ibexa_user_role" ("contentobject_id", "id", "limit_identifier", "limit_value", "role_id") +VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql new file mode 100644 index 0000000000..bc4b6d2e02 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql @@ -0,0 +1,3 @@ +INSERT INTO "ibexa_user_setting" ("is_enabled", "max_login", "user_id") +VALUES (1, 1000, 10), + (1, 10, 14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql new file mode 100644 index 0000000000..73d0e999e8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql @@ -0,0 +1,2 @@ +INSERT INTO "ibexa_user_preference" ("name", "user_id", "value") +SELECT 'focus_mode', u.contentobject_id, '0' FROM "ibexa_user" u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql new file mode 100644 index 0000000000..35ea9e6454 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql @@ -0,0 +1,2 @@ +-- Set proper sequence values after inserting data +SELECT SETVAL('ibexa_object_state_group_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_object_state_group; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql new file mode 100644 index 0000000000..143449a4de --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_object_state_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_object_state; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql new file mode 100644 index 0000000000..a7be654d44 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_bookmark_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_bookmark; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql new file mode 100644 index 0000000000..35f9eec982 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_type_field_definition_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_type_field_definition; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql new file mode 100644 index 0000000000..918015bbe8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_type_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_type; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql new file mode 100644 index 0000000000..672e305275 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_type_group_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_type_group; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql new file mode 100644 index 0000000000..7b6d0cfe1d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_field_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_field; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql new file mode 100644 index 0000000000..20229bca7a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql new file mode 100644 index 0000000000..1857a4d6ea --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_relation_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_relation; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql new file mode 100644 index 0000000000..aa3cfe2c04 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_tree_node_id_seq', COALESCE(MAX(node_id), 1) ) FROM ibexa_content_tree; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql new file mode 100644 index 0000000000..f0c12436af --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_version_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_version; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql new file mode 100644 index 0000000000..86730112e4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_image_file_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_image_file; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql new file mode 100644 index 0000000000..1767283a6b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_keyword_field_link_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_keyword_field_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql new file mode 100644 index 0000000000..1f06e40462 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_keyword_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_keyword; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql new file mode 100644 index 0000000000..69d629bb29 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_node_assignment_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_node_assignment; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql new file mode 100644 index 0000000000..29ef5708ee --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_notification_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_notification; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql new file mode 100644 index 0000000000..e88663a73b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_package_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_package; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql new file mode 100644 index 0000000000..7da0578503 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_policy_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_policy; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql new file mode 100644 index 0000000000..a731325f17 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_policy_limitation_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_policy_limitation; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql new file mode 100644 index 0000000000..8de743a58e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_policy_limitation_value_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_policy_limitation_value; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql new file mode 100644 index 0000000000..727674f0af --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_user_preference_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_user_preference; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql new file mode 100644 index 0000000000..542cbd22d1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_role_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_role; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql new file mode 100644 index 0000000000..c5028e319f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_search_object_word_link_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_search_object_word_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql new file mode 100644 index 0000000000..20334d7f3a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_search_word_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_search_word; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql new file mode 100644 index 0000000000..285bbdd057 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_section_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_section; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql new file mode 100644 index 0000000000..e9c38e4fb4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_url_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql new file mode 100644 index 0000000000..3785200f46 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_url_alias_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url_alias; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql new file mode 100644 index 0000000000..278e452839 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_url_alias_ml_incr_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url_alias_ml_incr; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql new file mode 100644 index 0000000000..51ec0baedb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_url_wildcard_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url_wildcard; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql new file mode 100644 index 0000000000..dcda0cd494 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_user_accountkey_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_user_accountkey; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql new file mode 100644 index 0000000000..5047855424 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_user_role_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_user_role; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql new file mode 100644 index 0000000000..72666e79c5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_binary_file (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, download_count INTEGER DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql new file mode 100644 index 0000000000..ecfba429b9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql new file mode 100644 index 0000000000..5826aaef24 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql new file mode 100644 index 0000000000..60be743406 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql new file mode 100644 index 0000000000..38a0fa6827 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql new file mode 100644 index 0000000000..e0a49092df --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_group (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql new file mode 100644 index 0000000000..507f119efb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql new file mode 100644 index 0000000000..d3a6cf12d0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql new file mode 100644 index 0000000000..7a74ca31eb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_group_language (contentobject_state_group_id INTEGER DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql new file mode 100644 index 0000000000..1db6e699f1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_language (contentobject_state_id INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql new file mode 100644 index 0000000000..9c930f3b81 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_link (contentobject_id INTEGER DEFAULT 0 NOT NULL, contentobject_state_id INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql new file mode 100644 index 0000000000..54f650f8ff --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_language (id BIGINT DEFAULT 0 NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql new file mode 100644 index 0000000000..f95137a14e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql new file mode 100644 index 0000000000..283e5d125d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user (contentobject_id INTEGER DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INTEGER DEFAULT 1 NOT NULL, password_updated_at INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql new file mode 100644 index 0000000000..b49abbfa91 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql new file mode 100644 index 0000000000..bf8300cb6e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_tree (node_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_is_published INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql new file mode 100644 index 0000000000..d686c910b2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql new file mode 100644 index 0000000000..0f9daed470 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql new file mode 100644 index 0000000000..1712708976 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql new file mode 100644 index 0000000000..ef847742e7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql new file mode 100644 index 0000000000..eab7a10df6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql new file mode 100644 index 0000000000..f4d449f8c8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql new file mode 100644 index 0000000000..597f0baf62 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql new file mode 100644 index 0000000000..f2407dd47f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql new file mode 100644 index 0000000000..73411b24ba --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_bookmark (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, node_id INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree (node_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE, CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user (contentobject_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql new file mode 100644 index 0000000000..da8bdcb2ee --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql new file mode 100644 index 0000000000..cebfbca729 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql new file mode 100644 index 0000000000..ceb1ad9be3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql new file mode 100644 index 0000000000..531c774503 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, status INTEGER DEFAULT 0 NOT NULL, always_available INTEGER DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB DEFAULT NULL, sort_field INTEGER DEFAULT 1 NOT NULL, sort_order INTEGER DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql new file mode 100644 index 0000000000..abefabe9f2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_status ON ibexa_content_type (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql new file mode 100644 index 0000000000..e61735359b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql new file mode 100644 index 0000000000..490fd2d69b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_field_definition (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, status INTEGER DEFAULT 0 NOT NULL, can_translate INTEGER DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, content_type_id INTEGER DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INTEGER DEFAULT NULL, data_int2 INTEGER DEFAULT NULL, data_int3 INTEGER DEFAULT NULL, data_int4 INTEGER DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INTEGER DEFAULT 0 NOT NULL, is_required INTEGER DEFAULT 0 NOT NULL, is_searchable INTEGER DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT '0' NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, serialized_data_text CLOB DEFAULT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql new file mode 100644 index 0000000000..f8e2452ae5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql new file mode 100644 index 0000000000..453cd13008 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql new file mode 100644 index 0000000000..9baca2231c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_field_definition_ml (content_type_field_definition_id INTEGER NOT NULL, status INTEGER NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description CLOB DEFAULT NULL, data_text CLOB DEFAULT NULL, data_json CLOB DEFAULT NULL, PRIMARY KEY(content_type_field_definition_id, status, language_id), CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql new file mode 100644 index 0000000000..670308e41e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql new file mode 100644 index 0000000000..2ee133c63f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_group_assignment (content_type_id INTEGER DEFAULT 0 NOT NULL, content_type_status INTEGER DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(content_type_id, content_type_status, group_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql new file mode 100644 index 0000000000..8556bc0d86 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_name (content_type_id INTEGER DEFAULT 0 NOT NULL, content_type_status INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(content_type_id, content_type_status, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql new file mode 100644 index 0000000000..ec89241b8b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_group (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql new file mode 100644 index 0000000000..6af42d7369 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, content_type_id INTEGER DEFAULT 0 NOT NULL, current_version INTEGER DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0, is_hidden BOOLEAN DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql new file mode 100644 index 0000000000..33a031bd4d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_id ON ibexa_content (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql new file mode 100644 index 0000000000..32497a5d84 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql new file mode 100644 index 0000000000..736a4155af --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_pub ON ibexa_content (published); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql new file mode 100644 index 0000000000..19457bef18 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_section ON ibexa_content (section_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql new file mode 100644 index 0000000000..edd6826160 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql new file mode 100644 index 0000000000..0790e62c88 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql new file mode 100644 index 0000000000..48c05cd4f6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_status ON ibexa_content (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql new file mode 100644 index 0000000000..45c31edd02 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql new file mode 100644 index 0000000000..51e68dbdbe --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_field (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, attribute_original_id INTEGER DEFAULT 0, content_type_field_definition_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INTEGER DEFAULT NULL, data_text CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INTEGER DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql new file mode 100644 index 0000000000..93726617f0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql new file mode 100644 index 0000000000..4d432626a5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql new file mode 100644 index 0000000000..ec24a9b21f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql @@ -0,0 +1 @@ +CREATE INDEX sort_key_string ON ibexa_content_field (sort_key_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql new file mode 100644 index 0000000000..c530bbb7d8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql new file mode 100644 index 0000000000..884b7ff664 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql @@ -0,0 +1 @@ +CREATE INDEX sort_key_int ON ibexa_content_field (sort_key_int); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql new file mode 100644 index 0000000000..9d647be9c1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql new file mode 100644 index 0000000000..b8d2cd590a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_relation (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, content_type_field_definition_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_version INTEGER DEFAULT 0 NOT NULL, relation_type INTEGER DEFAULT 1 NOT NULL, to_contentobject_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql new file mode 100644 index 0000000000..ca644fd1dd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql new file mode 100644 index 0000000000..f62d709bae --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql new file mode 100644 index 0000000000..ef1e83724d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql new file mode 100644 index 0000000000..95be4f4e69 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_name (contentobject_id INTEGER DEFAULT 0 NOT NULL, content_version INTEGER DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql new file mode 100644 index 0000000000..b4016f33cd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql new file mode 100644 index 0000000000..a162e3e70e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql new file mode 100644 index 0000000000..b1b1ed6f83 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql new file mode 100644 index 0000000000..cb167ea200 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_trash (node_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, trashed INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql new file mode 100644 index 0000000000..a7f3aaf8cf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql new file mode 100644 index 0000000000..7353270650 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql new file mode 100644 index 0000000000..8108c8112e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql new file mode 100644 index 0000000000..7be1fea30f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql new file mode 100644 index 0000000000..1c0b897b62 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql new file mode 100644 index 0000000000..5a29b83d62 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql new file mode 100644 index 0000000000..22ef073b23 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_version (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, workflow_event_pos INTEGER DEFAULT 0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql new file mode 100644 index 0000000000..38615b8104 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql new file mode 100644 index 0000000000..6e2dfb52fa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql new file mode 100644 index 0000000000..1ba59bfc72 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql new file mode 100644 index 0000000000..834ec3deb3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql new file mode 100644 index 0000000000..14a3a4fa5a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_dfs_file (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name CLOB NOT NULL, name_trunk CLOB NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INTEGER DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT '0' NOT NULL, status BOOLEAN DEFAULT '0' NOT NULL, PRIMARY KEY(name_hash)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql new file mode 100644 index 0000000000..8391ba0217 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql new file mode 100644 index 0000000000..74985d0c93 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql new file mode 100644 index 0000000000..e921fe6650 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql new file mode 100644 index 0000000000..469533ca93 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql new file mode 100644 index 0000000000..225f2946d8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_map_location (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_version INTEGER DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql new file mode 100644 index 0000000000..6b5b375d51 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql new file mode 100644 index 0000000000..f4294149c4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_image_file (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, filepath CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql new file mode 100644 index 0000000000..5a95b4318b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql new file mode 100644 index 0000000000..4134ec7b9f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql new file mode 100644 index 0000000000..a0e82d451f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_keyword (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, class_id INTEGER DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql new file mode 100644 index 0000000000..499d339734 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql new file mode 100644 index 0000000000..1bf50ba6c8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_keyword_field_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, keyword_id INTEGER DEFAULT 0 NOT NULL, objectattribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql new file mode 100644 index 0000000000..982b9a7f6a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql new file mode 100644 index 0000000000..0b45f48a7c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql new file mode 100644 index 0000000000..f26ce33baf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql new file mode 100644 index 0000000000..597a6b775c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_media (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INTEGER DEFAULT 0, height INTEGER DEFAULT NULL, is_autoplay INTEGER DEFAULT 0, is_loop INTEGER DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql new file mode 100644 index 0000000000..172cdae7e6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_node_assignment (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, from_node_id INTEGER DEFAULT 0, is_main INTEGER DEFAULT 0 NOT NULL, op_code INTEGER DEFAULT 0 NOT NULL, parent_node INTEGER DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, priority INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql new file mode 100644 index 0000000000..7d474bf250 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql new file mode 100644 index 0000000000..e33fbd46b2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql new file mode 100644 index 0000000000..b6e3bb305b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql new file mode 100644 index 0000000000..ba16836181 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql new file mode 100644 index 0000000000..0b847b3303 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_notification (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT '1' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INTEGER DEFAULT 0 NOT NULL, data CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql new file mode 100644 index 0000000000..74453e4129 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql new file mode 100644 index 0000000000..acc0093c1c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql new file mode 100644 index 0000000000..6f94beae79 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_package (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, install_date INTEGER DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql new file mode 100644 index 0000000000..a6592bf283 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INTEGER DEFAULT 0 NOT NULL, role_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql new file mode 100644 index 0000000000..a7390a7cc9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql new file mode 100644 index 0000000000..c84254dffc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql new file mode 100644 index 0000000000..3ad75585d5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy_limitation (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql new file mode 100644 index 0000000000..18d2c85a03 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql new file mode 100644 index 0000000000..e70595b525 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy_limitation_value (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, limitation_id INTEGER DEFAULT NULL, value VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql new file mode 100644 index 0000000000..04e7f07679 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql new file mode 100644 index 0000000000..8f30cd8184 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql new file mode 100644 index 0000000000..29781d3a49 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_preference (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INTEGER DEFAULT 0 NOT NULL, value CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql new file mode 100644 index 0000000000..3d17125e44 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql new file mode 100644 index 0000000000..763c959525 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql new file mode 100644 index 0000000000..fca332a08b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_role (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, is_new INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INTEGER DEFAULT 0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql new file mode 100644 index 0000000000..0fdc19594b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_search_object_word_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, content_type_field_definition_id INTEGER DEFAULT 0 NOT NULL, content_type_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INTEGER DEFAULT 0 NOT NULL, next_word_id INTEGER DEFAULT 0 NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, prev_word_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, section_id INTEGER DEFAULT 0 NOT NULL, word_id INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql new file mode 100644 index 0000000000..2979febcf7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql new file mode 100644 index 0000000000..7a7882ea59 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql new file mode 100644 index 0000000000..561c155c92 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql new file mode 100644 index 0000000000..c78a04a41a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql new file mode 100644 index 0000000000..b3d1751e6c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql new file mode 100644 index 0000000000..4975eb3136 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_search_word (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, object_count INTEGER DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql new file mode 100644 index 0000000000..171471b339 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql new file mode 100644 index 0000000000..a2098d0ab4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql new file mode 100644 index 0000000000..8df5a3a64b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_section (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql new file mode 100644 index 0000000000..613fa731b5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_site_data (name VARCHAR(60) DEFAULT '' NOT NULL, value CLOB NOT NULL, PRIMARY KEY(name)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql new file mode 100644 index 0000000000..4d44606ea3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, is_valid INTEGER DEFAULT 1 NOT NULL, last_checked INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql new file mode 100644 index 0000000000..7a08f3b1db --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_url ON ibexa_url (url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql new file mode 100644 index 0000000000..abf45d5f71 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_content_link (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_attribute_version INTEGER DEFAULT 0 NOT NULL, url_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql new file mode 100644 index 0000000000..258187b47a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql new file mode 100644 index 0000000000..9dd2926df0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql new file mode 100644 index 0000000000..db2e9886fa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql new file mode 100644 index 0000000000..2c2b9b0ab5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql new file mode 100644 index 0000000000..e6e5bf58a8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, forward_to_id INTEGER DEFAULT 0 NOT NULL, is_imported INTEGER DEFAULT 0 NOT NULL, is_internal INTEGER DEFAULT 1 NOT NULL, is_wildcard INTEGER DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql new file mode 100644 index 0000000000..ffe6981649 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql new file mode 100644 index 0000000000..2e84f84a69 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql new file mode 100644 index 0000000000..daf44ce9e2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql new file mode 100644 index 0000000000..218055c124 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql new file mode 100644 index 0000000000..cd3078d4aa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql new file mode 100644 index 0000000000..1357e15320 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql new file mode 100644 index 0000000000..09360d07da --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias_ml (parent INTEGER DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, "action" CLOB NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INTEGER DEFAULT 1 NOT NULL, id INTEGER DEFAULT 0 NOT NULL, is_alias INTEGER DEFAULT 0 NOT NULL, is_original INTEGER DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INTEGER DEFAULT 0 NOT NULL, text CLOB NOT NULL, PRIMARY KEY(parent, text_md5)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql new file mode 100644 index 0000000000..80426d6d25 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql new file mode 100644 index 0000000000..40898e833a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql new file mode 100644 index 0000000000..b66f77c26d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml ("action", id, link, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql new file mode 100644 index 0000000000..d8dd20bc1e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql new file mode 100644 index 0000000000..9da9048bbd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml ("action", is_original); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql new file mode 100644 index 0000000000..0cf1bc2dbf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql new file mode 100644 index 0000000000..43d854ee19 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql new file mode 100644 index 0000000000..1d63e3df21 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql new file mode 100644 index 0000000000..8a61928479 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias_ml_incr (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql new file mode 100644 index 0000000000..3fea66d9ef --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_wildcard (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, source_url CLOB NOT NULL, type INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql new file mode 100644 index 0000000000..662e5a0e80 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_accountkey (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql new file mode 100644 index 0000000000..261d15ac25 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql @@ -0,0 +1 @@ +CREATE INDEX hash_key ON ibexa_user_accountkey (hash_key); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql new file mode 100644 index 0000000000..bf42a480ed --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_role (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql new file mode 100644 index 0000000000..8c83fae5a6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql new file mode 100644 index 0000000000..f2c678cebc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql new file mode 100644 index 0000000000..f6421b7bdf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_setting (user_id INTEGER DEFAULT 0 NOT NULL, is_enabled INTEGER DEFAULT 0 NOT NULL, max_login INTEGER DEFAULT NULL, PRIMARY KEY(user_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql new file mode 100644 index 0000000000..8d12ee2b45 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql @@ -0,0 +1,2 @@ +CREATE TABLE ibexa_setting (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value CLOB NOT NULL --(DC2Type:json) +); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql new file mode 100644 index 0000000000..d6f3d3b0dc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_setting_id ON ibexa_setting (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql new file mode 100644 index 0000000000..e2a05c6a8d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql new file mode 100644 index 0000000000..56545a77df --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token_type (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql new file mode 100644 index 0000000000..17f4b2cf68 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql new file mode 100644 index 0000000000..4ccb1fc31a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, type_id INTEGER NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, expires INTEGER DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT '0' NOT NULL, CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql new file mode 100644 index 0000000000..8217faeab1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql @@ -0,0 +1 @@ +CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql new file mode 100644 index 0000000000..1d13c98da4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql new file mode 100644 index 0000000000..28d054bae2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_object_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) +VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql new file mode 100644 index 0000000000..d6ecfca0a8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_object_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) +VALUES (2,2,'ibexa_lock',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql new file mode 100644 index 0000000000..c2cce56918 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_object_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) +VALUES (2,'',3,'Lock',2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql new file mode 100644 index 0000000000..5447342e3b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_object_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) +VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql new file mode 100644 index 0000000000..a58c50424a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_object_state_link` (`contentobject_id`, `contentobject_state_id`) +VALUES (1, 1), + (4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql new file mode 100644 index 0000000000..716102901f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_content_language` (`disabled`, `id`, `locale`, `name`) +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql new file mode 100644 index 0000000000..0acd993329 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_content_type` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `status`) +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql new file mode 100644 index 0000000000..d88a046425 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql @@ -0,0 +1,25 @@ +INSERT INTO `ibexa_content_type_field_definition` (`can_translate`, `category`, `content_type_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `status`) +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ibexa_string',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ibexa_string',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ibexa_user',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ibexa_string',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ibexa_image',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ibexa_richtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ibexa_richtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_boolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ibexa_string',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ibexa_binaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ibexa_author',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_object_relation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_string',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','ibexa_text',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ibexa_image',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql new file mode 100644 index 0000000000..06892a0765 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_content_type_group_assignment` (`content_type_id`, `content_type_status`, `group_id`, `group_name`) +VALUES (1, 0, 1, 'Content'), + (2, 0, 1, 'Content'), + (3, 0, 2, 'Users'), + (4, 0, 2, 'Users'), + (5, 0, 3, 'Media'), + (12, 0, 3, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql new file mode 100644 index 0000000000..b62ac8a988 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_content_type_name` (`content_type_id`, `content_type_status`, `language_id`, `language_locale`, `name`) +VALUES (1, 0, 2, 'eng-GB', 'Folder'), + (2, 0, 3, 'eng-GB', 'Article'), + (3, 0, 3, 'eng-GB', 'User group'), + (4, 0, 3, 'eng-GB', 'User'), + (5, 0, 3, 'eng-GB', 'Image'), + (12, 0, 3, 'eng-GB', 'File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql new file mode 100644 index 0000000000..2eb94f3b43 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql @@ -0,0 +1,4 @@ +INSERT INTO `ibexa_content_type_group` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) +VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql new file mode 100644 index 0000000000..7108cc1143 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_content` (`content_type_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) +VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql new file mode 100644 index 0000000000..0d542f8dbd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql @@ -0,0 +1,41 @@ +INSERT INTO `ibexa_content_field` (`attribute_original_id`, `content_type_field_definition_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) +VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ibexa_string',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ibexa_richtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ibexa_string',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ibexa_string',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ibexa_string',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ibexa_string',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ibexa_user',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ibexa_string',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ibexa_string',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ibexa_string',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ibexa_string',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ibexa_string',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ibexa_string',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ibexa_string',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ibexa_string',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ibexa_user',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ibexa_string',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,'\n
\n','ibexa_richtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ibexa_string',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ibexa_string',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ibexa_string',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ibexa_string',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ibexa_richtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,'\n
\n','ibexa_richtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ibexa_string',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ibexa_string',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,'\n
\n','ibexa_richtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,'\n
\n','ibexa_richtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ibexa_string',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ibexa_string',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,'\n
\n','ibexa_richtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,'\n
\n','ibexa_richtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ibexa_string',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ibexa_string',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,'\n
\n','ibexa_richtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,'\n
\n','ibexa_richtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','ibexa_text',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','ibexa_text',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ibexa_image',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,'\n\n','ibexa_image',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql new file mode 100644 index 0000000000..c36299fd6a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_content_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) +VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql new file mode 100644 index 0000000000..65d092ccef --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql @@ -0,0 +1,14 @@ +INSERT INTO `ibexa_content_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) +VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql new file mode 100644 index 0000000000..83f4e503e7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_content_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql new file mode 100644 index 0000000000..9640698edf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_node_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) +VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql new file mode 100644 index 0000000000..4d51ce8204 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql @@ -0,0 +1,9 @@ +INSERT INTO `ibexa_policy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) +VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql new file mode 100644 index 0000000000..cc61881062 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_policy_limitation` (`id`, `identifier`, `policy_id`) +VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql new file mode 100644 index 0000000000..4ac14df7f5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql @@ -0,0 +1,8 @@ +INSERT INTO `ibexa_policy_limitation_value` (`id`, `limitation_id`, `value`) +VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql new file mode 100644 index 0000000000..cde93d16ed --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql @@ -0,0 +1,5 @@ +INSERT INTO `ibexa_role` (`id`, `is_new`, `name`, `value`, `version`) +VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql new file mode 100644 index 0000000000..0436a276f7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql @@ -0,0 +1,4 @@ +INSERT INTO `ibexa_section` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) +VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql new file mode 100644 index 0000000000..1315785c03 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_site_data` (`name`, `value`) +VALUES ('ibexa-release','5.0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql new file mode 100644 index 0000000000..9b111ca869 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_url_alias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) +VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql new file mode 100644 index 0000000000..d9a59e6dc4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql @@ -0,0 +1,26 @@ +INSERT INTO `ibexa_url_alias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) +VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql new file mode 100644 index 0000000000..755c37655a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql @@ -0,0 +1,4 @@ +INSERT INTO `ibexa_url_alias_ml_incr` (`id`) +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql new file mode 100644 index 0000000000..a7d0cf247c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_user` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) +VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql new file mode 100644 index 0000000000..4dbaff1fbd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_user_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) +VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql new file mode 100644 index 0000000000..a3c25ef316 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_user_setting` (`is_enabled`, `max_login`, `user_id`) +VALUES (1,1000,10), + (1,10,14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql new file mode 100644 index 0000000000..6643c6b914 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_user_preference` (`name`, `user_id`, `value`) +SELECT 'focus_mode', u.contentobject_id, '0' FROM `ibexa_user` u WHERE u.login = 'admin'; From c7963abc1c89078dd22e8fd441d456c658977a55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Fri, 17 Jul 2026 15:44:31 +0200 Subject: [PATCH 13/38] [Doctrine Migrations] Inlined SQL directly into migration classes Replaces the AbstractVersion + YAML manifest + one-SQL-statement-per-file mechanism with InstallSchemaMigration/ImportDataMigration implemented as plain Doctrine\Migrations\AbstractMigration subclasses with all SQL inlined via addSql(), still implementing IbexaMigrationInterface and tagged with IbexaMigrationTag so TaggedMigrationsRunner/IbexaOnlyDependencyFactory work unchanged. Long/multiline statements use PHP NOWDOC for readability, with CREATE TABLE bodies pretty-printed one column per line. Same conversion as ibexa/core#785 for the 4.6 line, adapted for this branch's ibexa_*-renamed schema and dbal 3.x platform class names (AbstractMySQLPlatform/PostgreSQLPlatform instead of MySqlPlatform/ PostgreSqlPlatform). --- .../Resources/migrations/import_data.yaml | 243 ------ .../Resources/migrations/install_schema.yaml | 773 ------------------ .../mysql/0001_create_ibexa_binary_file.sql | 1 - .../mysql/0002_create_ibexa_object_state.sql | 1 - .../0003_create_ibexa_object_state_group.sql | 1 - ...eate_ibexa_object_state_group_language.sql | 1 - ...005_create_ibexa_object_state_language.sql | 1 - .../0006_create_ibexa_object_state_link.sql | 1 - .../0007_create_ibexa_content_language.sql | 1 - .../sql/mysql/0008_create_ibexa_user.sql | 1 - .../mysql/0009_create_ibexa_content_tree.sql | 1 - .../0010_create_ibexa_content_bookmark.sql | 1 - .../mysql/0011_create_ibexa_content_type.sql | 1 - ...te_ibexa_content_type_field_definition.sql | 1 - ...ibexa_content_type_field_definition_ml.sql | 1 - ...te_ibexa_content_type_group_assignment.sql | 1 - .../0015_create_ibexa_content_type_name.sql | 1 - .../0016_create_ibexa_content_type_group.sql | 1 - .../sql/mysql/0017_create_ibexa_content.sql | 1 - .../mysql/0018_create_ibexa_content_field.sql | 1 - .../0019_create_ibexa_content_relation.sql | 1 - .../mysql/0020_create_ibexa_content_name.sql | 1 - .../mysql/0021_create_ibexa_content_trash.sql | 1 - .../0022_create_ibexa_content_version.sql | 1 - .../sql/mysql/0023_create_ibexa_dfs_file.sql | 1 - .../mysql/0024_create_ibexa_map_location.sql | 1 - .../mysql/0025_create_ibexa_image_file.sql | 1 - .../sql/mysql/0026_create_ibexa_keyword.sql | 1 - .../0027_create_ibexa_keyword_field_link.sql | 1 - .../sql/mysql/0028_create_ibexa_media.sql | 1 - .../0029_create_ibexa_node_assignment.sql | 1 - .../mysql/0030_create_ibexa_notification.sql | 1 - .../sql/mysql/0031_create_ibexa_package.sql | 1 - .../sql/mysql/0032_create_ibexa_policy.sql | 1 - .../0033_create_ibexa_policy_limitation.sql | 1 - ...4_create_ibexa_policy_limitation_value.sql | 1 - .../0035_create_ibexa_user_preference.sql | 1 - .../sql/mysql/0036_create_ibexa_role.sql | 1 - ...7_create_ibexa_search_object_word_link.sql | 1 - .../mysql/0038_create_ibexa_search_word.sql | 1 - .../sql/mysql/0039_create_ibexa_section.sql | 1 - .../sql/mysql/0040_create_ibexa_site_data.sql | 1 - .../sql/mysql/0041_create_ibexa_url.sql | 1 - .../0042_create_ibexa_url_content_link.sql | 1 - .../sql/mysql/0043_create_ibexa_url_alias.sql | 1 - .../mysql/0044_create_ibexa_url_alias_ml.sql | 1 - .../0045_create_ibexa_url_alias_ml_incr.sql | 1 - .../mysql/0046_create_ibexa_url_wildcard.sql | 1 - .../0047_create_ibexa_user_accountkey.sql | 1 - .../sql/mysql/0048_create_ibexa_user_role.sql | 1 - .../mysql/0049_create_ibexa_user_setting.sql | 1 - .../sql/mysql/0050_create_ibexa_setting.sql | 1 - .../mysql/0051_create_ibexa_token_type.sql | 1 - .../sql/mysql/0052_create_ibexa_token.sql | 1 - ...ark_ibexa_content_bookmark_location_fk.sql | 1 - ...ookmark_ibexa_content_bookmark_user_fk.sql | 1 - ...ntent_type_field_definition_ml_lang_fk.sql | 1 - ..._fk_ibexa_token_ibexa_token_type_id_fk.sql | 1 - .../data/0001_insert_ibexa_object_state.sql | 3 - .../0002_insert_ibexa_object_state_group.sql | 2 - ...sert_ibexa_object_state_group_language.sql | 2 - ...004_insert_ibexa_object_state_language.sql | 3 - .../0005_insert_ibexa_object_state_link.sql | 13 - .../0006_insert_ibexa_content_language.sql | 2 - .../data/0007_insert_ibexa_content_type.sql | 7 - ...rt_ibexa_content_type_field_definition.sql | 25 - ...rt_ibexa_content_type_group_assignment.sql | 7 - .../0010_insert_ibexa_content_type_name.sql | 7 - .../0011_insert_ibexa_content_type_group.sql | 4 - .../mysql/data/0012_insert_ibexa_content.sql | 13 - .../data/0013_insert_ibexa_content_field.sql | 41 - .../data/0014_insert_ibexa_content_name.sql | 13 - .../data/0015_insert_ibexa_content_tree.sql | 14 - .../0016_insert_ibexa_content_version.sql | 13 - .../0017_insert_ibexa_node_assignment.sql | 13 - .../mysql/data/0018_insert_ibexa_policy.sql | 9 - .../0019_insert_ibexa_policy_limitation.sql | 7 - ...0_insert_ibexa_policy_limitation_value.sql | 8 - .../sql/mysql/data/0021_insert_ibexa_role.sql | 5 - .../mysql/data/0022_insert_ibexa_section.sql | 4 - .../data/0023_insert_ibexa_site_data.sql | 2 - .../data/0024_insert_ibexa_url_alias.sql | 13 - .../data/0025_insert_ibexa_url_alias_ml.sql | 26 - .../0026_insert_ibexa_url_alias_ml_incr.sql | 4 - .../sql/mysql/data/0027_insert_ibexa_user.sql | 3 - .../data/0028_insert_ibexa_user_role.sql | 7 - .../data/0029_insert_ibexa_user_setting.sql | 3 - .../0030_insert_ibexa_user_preference.sql | 2 - .../0001_create_ibexa_binary_file.sql | 1 - .../0002_create_ibexa_object_state.sql | 1 - ...ject_state_ibexa_object_state_priority.sql | 1 - ..._object_state_ibexa_object_state_lmask.sql | 1 - ...ct_state_ibexa_object_state_identifier.sql | 1 - .../0006_create_ibexa_object_state_group.sql | 1 - ...e_group_ibexa_object_state_group_lmask.sql | 1 - ...up_ibexa_object_state_group_identifier.sql | 1 - ...eate_ibexa_object_state_group_language.sql | 1 - ...010_create_ibexa_object_state_language.sql | 1 - .../0011_create_ibexa_object_state_link.sql | 1 - .../0012_create_ibexa_content_language.sql | 1 - ...t_language_ibexa_content_language_name.sql | 1 - .../sql/postgresql/0014_create_ibexa_user.sql | 1 - ...0015_index_ibexa_user_ibexa_user_login.sql | 1 - .../0016_create_ibexa_content_tree.sql | 1 - ...tent_tree_ibexa_content_tree_p_node_id.sql | 1 - ...ent_tree_ibexa_content_tree_path_ident.sql | 1 - ...tent_tree_contentobject_id_path_string.sql | 1 - ..._content_tree_ibexa_content_tree_co_id.sql | 1 - ..._content_tree_ibexa_content_tree_depth.sql | 1 - ...a_content_tree_ibexa_content_tree_path.sql | 1 - ...nt_tree_ibexa_content_modified_subnode.sql | 1 - ...tent_tree_ibexa_content_tree_remote_id.sql | 1 - .../0025_create_ibexa_content_bookmark.sql | 1 - ...okmark_ibexa_content_bookmark_location.sql | 1 - ...t_bookmark_ibexa_content_bookmark_user.sql | 1 - ...k_ibexa_content_bookmark_user_location.sql | 1 - .../0029_create_ibexa_content_type.sql | 1 - ...content_type_ibexa_content_type_status.sql | 1 - ...ent_type_ibexa_content_type_identifier.sql | 1 - ...te_ibexa_content_type_field_definition.sql | 1 - ...exa_content_type_field_definition_ctid.sql | 1 - ...bexa_content_type_field_definition_dts.sql | 1 - ...ibexa_content_type_field_definition_ml.sql | 1 - ...ntent_type_field_definition_ml_lang_fk.sql | 1 - ...te_ibexa_content_type_group_assignment.sql | 1 - .../0038_create_ibexa_content_type_name.sql | 1 - .../0039_create_ibexa_content_type_group.sql | 1 - .../postgresql/0040_create_ibexa_content.sql | 1 - ...ex_ibexa_content_ibexa_content_type_id.sql | 1 - ...ndex_ibexa_content_ibexa_content_lmask.sql | 1 - ..._index_ibexa_content_ibexa_content_pub.sql | 1 - ...ex_ibexa_content_ibexa_content_section.sql | 1 - ...a_content_ibexa_content_currentversion.sql | 1 - ...ndex_ibexa_content_ibexa_content_owner.sql | 1 - ...dex_ibexa_content_ibexa_content_status.sql | 1 - ..._ibexa_content_ibexa_content_remote_id.sql | 1 - .../0049_create_ibexa_content_field.sql | 1 - ...bexa_content_field_co_id_ver_lang_code.sql | 1 - ...bexa_content_field_field_definition_id.sql | 1 - ...ex_ibexa_content_field_sort_key_string.sql | 1 - ...ield_ibexa_content_field_language_code.sql | 1 - ...index_ibexa_content_field_sort_key_int.sql | 1 - ...nt_field_ibexa_content_field_co_id_ver.sql | 1 - .../0056_create_ibexa_content_relation.sql | 1 - ...lation_ibexa_content_relation_to_co_id.sql | 1 - ...t_relation_ibexa_content_relation_from.sql | 1 - ...elation_ibexa_content_relation_ccfd_id.sql | 1 - .../0060_create_ibexa_content_name.sql | 1 - ...ontent_name_ibexa_content_name_lang_id.sql | 1 - ...content_name_ibexa_content_name_cov_id.sql | 1 - ...a_content_name_ibexa_content_name_name.sql | 1 - .../0064_create_ibexa_content_trash.sql | 1 - ...ontent_trash_ibexa_content_trash_depth.sql | 1 - ...nt_trash_ibexa_content_trash_p_node_id.sql | 1 - ...t_trash_ibexa_content_trash_path_ident.sql | 1 - ...ontent_trash_ibexa_content_trash_co_id.sql | 1 - ...h_ibexa_content_trash_modified_subnode.sql | 1 - ...content_trash_ibexa_content_trash_path.sql | 1 - .../0071_create_ibexa_content_version.sql | 1 - ...t_version_ibexa_content_version_status.sql | 1 - ..._version_ibexa_content_version_idx_ver.sql | 1 - ...rsion_ibexa_content_version_idx_status.sql | 1 - ...rsion_ibexa_content_version_creator_id.sql | 1 - .../postgresql/0076_create_ibexa_dfs_file.sql | 1 - ...exa_dfs_file_ibexa_dfs_file_name_trunk.sql | 1 - ...a_dfs_file_ibexa_dfs_file_expired_name.sql | 1 - ...dex_ibexa_dfs_file_ibexa_dfs_file_name.sql | 1 - ...ex_ibexa_dfs_file_ibexa_dfs_file_mtime.sql | 1 - .../0081_create_ibexa_map_location.sql | 1 - ...xa_map_location_latitude_longitude_key.sql | 1 - .../0083_create_ibexa_image_file.sql | 1 - ...ibexa_image_file_ibexa_image_file_file.sql | 1 - ...ibexa_image_file_ibexa_image_file_coid.sql | 1 - .../postgresql/0086_create_ibexa_keyword.sql | 1 - ...ex_ibexa_keyword_ibexa_keyword_keyword.sql | 1 - .../0088_create_ibexa_keyword_field_link.sql | 1 - ...eld_link_ibexa_keyword_field_link_oaid.sql | 1 - ...link_ibexa_keyword_field_link_kid_oaid.sql | 1 - ...link_ibexa_keyword_field_link_oaid_ver.sql | 1 - .../postgresql/0092_create_ibexa_media.sql | 1 - .../0093_create_ibexa_node_assignment.sql | 1 - ...signment_ibexa_node_assignment_is_main.sql | 1 - ...ignment_ibexa_node_assignment_coid_cov.sql | 1 - ...ment_ibexa_node_assignment_parent_node.sql | 1 - ...nment_ibexa_node_assignment_co_version.sql | 1 - .../0098_create_ibexa_notification.sql | 1 - ...on_ibexa_notification_owner_is_pending.sql | 1 - ..._notification_ibexa_notification_owner.sql | 1 - .../postgresql/0101_create_ibexa_package.sql | 1 - .../postgresql/0102_create_ibexa_policy.sql | 1 - ...ndex_ibexa_policy_ibexa_policy_role_id.sql | 1 - ..._ibexa_policy_ibexa_policy_original_id.sql | 1 - .../0105_create_ibexa_policy_limitation.sql | 1 - ...bexa_policy_limitation_ibexa_policy_id.sql | 1 - ...7_create_ibexa_policy_limitation_value.sql | 1 - ...alue_ibexa_policy_limit_value_limit_id.sql | 1 - ...alue_ibexa_policy_limitation_value_val.sql | 1 - .../0110_create_ibexa_user_preference.sql | 1 - ...ence_ibexa_user_preference_user_id_idx.sql | 1 - ..._preference_ibexa_user_preference_name.sql | 1 - .../sql/postgresql/0113_create_ibexa_role.sql | 1 - ...4_create_ibexa_search_object_word_link.sql | 1 - ...k_ibexa_search_object_word_link_object.sql | 1 - ...exa_search_object_word_link_identifier.sql | 1 - ..._search_object_word_link_integer_value.sql | 1 - ...ink_ibexa_search_object_word_link_word.sql | 1 - ...bexa_search_object_word_link_frequency.sql | 1 - .../0120_create_ibexa_search_word.sql | 1 - ...a_search_word_ibexa_search_word_word_i.sql | 1 - ...earch_word_ibexa_search_word_obj_count.sql | 1 - .../postgresql/0123_create_ibexa_section.sql | 1 - .../0124_create_ibexa_site_data.sql | 1 - .../sql/postgresql/0125_create_ibexa_url.sql | 1 - .../0126_index_ibexa_url_ibexa_url_url.sql | 1 - .../0127_create_ibexa_url_content_link.sql | 1 - ...a_url_content_link_ibexa_url_ol_coa_id.sql | 1 - ...a_url_content_link_ibexa_url_ol_url_id.sql | 1 - ..._content_link_ibexa_url_ol_coa_version.sql | 1 - ...l_content_link_ibexa_url_ol_coa_id_cav.sql | 1 - .../0132_create_ibexa_url_alias.sql | 1 - ...a_url_alias_ibexa_url_alias_source_md5.sql | 1 - ...xa_url_alias_ibexa_url_alias_wcard_fwd.sql | 1 - ...rl_alias_ibexa_url_alias_forward_to_id.sql | 1 - ...rl_alias_ibexa_url_alias_imp_wcard_fwd.sql | 1 - ...a_url_alias_ibexa_url_alias_source_url.sql | 1 - ...bexa_url_alias_ibexa_url_alias_desturl.sql | 1 - .../0139_create_ibexa_url_alias_ml.sql | 1 - ...lias_ml_ibexa_url_alias_ml_actt_org_al.sql | 1 - ..._alias_ml_ibexa_url_alias_ml_text_lang.sql | 1 - ...s_ml_ibexa_url_alias_ml_par_act_id_lnk.sql | 1 - ...lias_ml_ibexa_url_alias_ml_par_lnk_txt.sql | 1 - ...rl_alias_ml_ibexa_url_alias_ml_act_org.sql | 1 - ...a_url_alias_ml_ibexa_url_alias_ml_text.sql | 1 - ...a_url_alias_ml_ibexa_url_alias_ml_link.sql | 1 - ...exa_url_alias_ml_ibexa_url_alias_ml_id.sql | 1 - .../0148_create_ibexa_url_alias_ml_incr.sql | 1 - .../0149_create_ibexa_url_wildcard.sql | 1 - .../0150_create_ibexa_user_accountkey.sql | 1 - ...1_index_ibexa_user_accountkey_hash_key.sql | 1 - .../0152_create_ibexa_user_role.sql | 1 - ...bexa_user_role_ibexa_user_role_role_id.sql | 1 - ..._role_ibexa_user_role_contentobject_id.sql | 1 - .../0155_create_ibexa_user_setting.sql | 1 - .../postgresql/0156_create_ibexa_setting.sql | 1 - ...7_index_ibexa_setting_ibexa_setting_id.sql | 1 - ...setting_ibexa_setting_group_identifier.sql | 1 - .../0159_create_ibexa_token_type.sql | 1 - ...exa_token_type_ibexa_token_type_unique.sql | 1 - .../postgresql/0161_create_ibexa_token.sql | 1 - ...index_ibexa_token_IDX_B5412887C54C8C93.sql | 1 - ...3_index_ibexa_token_ibexa_token_unique.sql | 1 - ...ark_ibexa_content_bookmark_location_fk.sql | 1 - ...ookmark_ibexa_content_bookmark_user_fk.sql | 1 - ...ntent_type_field_definition_ml_lang_fk.sql | 1 - ..._fk_ibexa_token_ibexa_token_type_id_fk.sql | 1 - .../data/0001_insert_ibexa_object_state.sql | 3 - .../0002_insert_ibexa_object_state_group.sql | 2 - ...sert_ibexa_object_state_group_language.sql | 2 - ...004_insert_ibexa_object_state_language.sql | 3 - .../0005_insert_ibexa_object_state_link.sql | 13 - .../0006_insert_ibexa_content_language.sql | 2 - .../data/0007_insert_ibexa_content_type.sql | 7 - ...rt_ibexa_content_type_field_definition.sql | 25 - ...rt_ibexa_content_type_group_assignment.sql | 7 - .../0010_insert_ibexa_content_type_name.sql | 7 - .../0011_insert_ibexa_content_type_group.sql | 4 - .../data/0012_insert_ibexa_content.sql | 13 - .../data/0013_insert_ibexa_content_field.sql | 41 - .../data/0014_insert_ibexa_content_name.sql | 13 - .../data/0015_insert_ibexa_content_tree.sql | 14 - .../0016_insert_ibexa_content_version.sql | 13 - .../0017_insert_ibexa_node_assignment.sql | 13 - .../data/0018_insert_ibexa_policy.sql | 9 - .../0019_insert_ibexa_policy_limitation.sql | 7 - ...0_insert_ibexa_policy_limitation_value.sql | 8 - .../data/0021_insert_ibexa_role.sql | 5 - .../data/0022_insert_ibexa_section.sql | 4 - .../data/0023_insert_ibexa_site_data.sql | 2 - .../data/0024_insert_ibexa_url_alias.sql | 13 - .../data/0025_insert_ibexa_url_alias_ml.sql | 26 - .../0026_insert_ibexa_url_alias_ml_incr.sql | 4 - .../data/0027_insert_ibexa_user.sql | 3 - .../data/0028_insert_ibexa_user_role.sql | 7 - .../data/0029_insert_ibexa_user_setting.sql | 3 - .../0030_insert_ibexa_user_preference.sql | 2 - ...setval_ibexa_object_state_group_id_seq.sql | 2 - .../0032_setval_ibexa_object_state_id_seq.sql | 1 - ...3_setval_ibexa_content_bookmark_id_seq.sql | 1 - ...a_content_type_field_definition_id_seq.sql | 1 - .../0035_setval_ibexa_content_type_id_seq.sql | 1 - ...setval_ibexa_content_type_group_id_seq.sql | 1 - ...0037_setval_ibexa_content_field_id_seq.sql | 1 - .../data/0038_setval_ibexa_content_id_seq.sql | 1 - ...9_setval_ibexa_content_relation_id_seq.sql | 1 - ..._setval_ibexa_content_tree_node_id_seq.sql | 1 - ...41_setval_ibexa_content_version_id_seq.sql | 1 - .../0042_setval_ibexa_image_file_id_seq.sql | 1 - ...setval_ibexa_keyword_field_link_id_seq.sql | 1 - .../data/0044_setval_ibexa_keyword_id_seq.sql | 1 - ...45_setval_ibexa_node_assignment_id_seq.sql | 1 - .../0046_setval_ibexa_notification_id_seq.sql | 1 - .../data/0047_setval_ibexa_package_id_seq.sql | 1 - .../data/0048_setval_ibexa_policy_id_seq.sql | 1 - ..._setval_ibexa_policy_limitation_id_seq.sql | 1 - ...l_ibexa_policy_limitation_value_id_seq.sql | 1 - ...51_setval_ibexa_user_preference_id_seq.sql | 1 - .../data/0052_setval_ibexa_role_id_seq.sql | 1 - ...l_ibexa_search_object_word_link_id_seq.sql | 1 - .../0054_setval_ibexa_search_word_id_seq.sql | 1 - .../data/0055_setval_ibexa_section_id_seq.sql | 1 - .../data/0056_setval_ibexa_url_id_seq.sql | 1 - .../0057_setval_ibexa_url_alias_id_seq.sql | 1 - ..._setval_ibexa_url_alias_ml_incr_id_seq.sql | 1 - .../0059_setval_ibexa_url_wildcard_id_seq.sql | 1 - ...60_setval_ibexa_user_accountkey_id_seq.sql | 1 - .../0061_setval_ibexa_user_role_id_seq.sql | 1 - .../sqlite/0001_create_ibexa_binary_file.sql | 1 - .../sqlite/0002_create_ibexa_object_state.sql | 1 - ...ject_state_ibexa_object_state_priority.sql | 1 - ..._object_state_ibexa_object_state_lmask.sql | 1 - ...ct_state_ibexa_object_state_identifier.sql | 1 - .../0006_create_ibexa_object_state_group.sql | 1 - ...e_group_ibexa_object_state_group_lmask.sql | 1 - ...up_ibexa_object_state_group_identifier.sql | 1 - ...eate_ibexa_object_state_group_language.sql | 1 - ...010_create_ibexa_object_state_language.sql | 1 - .../0011_create_ibexa_object_state_link.sql | 1 - .../0012_create_ibexa_content_language.sql | 1 - ...t_language_ibexa_content_language_name.sql | 1 - .../sql/sqlite/0014_create_ibexa_user.sql | 1 - ...0015_index_ibexa_user_ibexa_user_login.sql | 1 - .../sqlite/0016_create_ibexa_content_tree.sql | 1 - ...tent_tree_ibexa_content_tree_p_node_id.sql | 1 - ...ent_tree_ibexa_content_tree_path_ident.sql | 1 - ...tent_tree_contentobject_id_path_string.sql | 1 - ..._content_tree_ibexa_content_tree_co_id.sql | 1 - ..._content_tree_ibexa_content_tree_depth.sql | 1 - ...a_content_tree_ibexa_content_tree_path.sql | 1 - ...nt_tree_ibexa_content_modified_subnode.sql | 1 - ...tent_tree_ibexa_content_tree_remote_id.sql | 1 - .../0025_create_ibexa_content_bookmark.sql | 1 - ...okmark_ibexa_content_bookmark_location.sql | 1 - ...t_bookmark_ibexa_content_bookmark_user.sql | 1 - ...k_ibexa_content_bookmark_user_location.sql | 1 - .../sqlite/0029_create_ibexa_content_type.sql | 1 - ...content_type_ibexa_content_type_status.sql | 1 - ...ent_type_ibexa_content_type_identifier.sql | 1 - ...te_ibexa_content_type_field_definition.sql | 1 - ...exa_content_type_field_definition_ctid.sql | 1 - ...bexa_content_type_field_definition_dts.sql | 1 - ...ibexa_content_type_field_definition_ml.sql | 1 - ...ntent_type_field_definition_ml_lang_fk.sql | 1 - ...te_ibexa_content_type_group_assignment.sql | 1 - .../0038_create_ibexa_content_type_name.sql | 1 - .../0039_create_ibexa_content_type_group.sql | 1 - .../sql/sqlite/0040_create_ibexa_content.sql | 1 - ...ex_ibexa_content_ibexa_content_type_id.sql | 1 - ...ndex_ibexa_content_ibexa_content_lmask.sql | 1 - ..._index_ibexa_content_ibexa_content_pub.sql | 1 - ...ex_ibexa_content_ibexa_content_section.sql | 1 - ...a_content_ibexa_content_currentversion.sql | 1 - ...ndex_ibexa_content_ibexa_content_owner.sql | 1 - ...dex_ibexa_content_ibexa_content_status.sql | 1 - ..._ibexa_content_ibexa_content_remote_id.sql | 1 - .../0049_create_ibexa_content_field.sql | 1 - ...bexa_content_field_co_id_ver_lang_code.sql | 1 - ...bexa_content_field_field_definition_id.sql | 1 - ...ex_ibexa_content_field_sort_key_string.sql | 1 - ...ield_ibexa_content_field_language_code.sql | 1 - ...index_ibexa_content_field_sort_key_int.sql | 1 - ...nt_field_ibexa_content_field_co_id_ver.sql | 1 - .../0056_create_ibexa_content_relation.sql | 1 - ...lation_ibexa_content_relation_to_co_id.sql | 1 - ...t_relation_ibexa_content_relation_from.sql | 1 - ...elation_ibexa_content_relation_ccfd_id.sql | 1 - .../sqlite/0060_create_ibexa_content_name.sql | 1 - ...ontent_name_ibexa_content_name_lang_id.sql | 1 - ...content_name_ibexa_content_name_cov_id.sql | 1 - ...a_content_name_ibexa_content_name_name.sql | 1 - .../0064_create_ibexa_content_trash.sql | 1 - ...ontent_trash_ibexa_content_trash_depth.sql | 1 - ...nt_trash_ibexa_content_trash_p_node_id.sql | 1 - ...t_trash_ibexa_content_trash_path_ident.sql | 1 - ...ontent_trash_ibexa_content_trash_co_id.sql | 1 - ...h_ibexa_content_trash_modified_subnode.sql | 1 - ...content_trash_ibexa_content_trash_path.sql | 1 - .../0071_create_ibexa_content_version.sql | 1 - ...t_version_ibexa_content_version_status.sql | 1 - ..._version_ibexa_content_version_idx_ver.sql | 1 - ...rsion_ibexa_content_version_idx_status.sql | 1 - ...rsion_ibexa_content_version_creator_id.sql | 1 - .../sql/sqlite/0076_create_ibexa_dfs_file.sql | 1 - ...exa_dfs_file_ibexa_dfs_file_name_trunk.sql | 1 - ...a_dfs_file_ibexa_dfs_file_expired_name.sql | 1 - ...dex_ibexa_dfs_file_ibexa_dfs_file_name.sql | 1 - ...ex_ibexa_dfs_file_ibexa_dfs_file_mtime.sql | 1 - .../sqlite/0081_create_ibexa_map_location.sql | 1 - ...xa_map_location_latitude_longitude_key.sql | 1 - .../sqlite/0083_create_ibexa_image_file.sql | 1 - ...ibexa_image_file_ibexa_image_file_file.sql | 1 - ...ibexa_image_file_ibexa_image_file_coid.sql | 1 - .../sql/sqlite/0086_create_ibexa_keyword.sql | 1 - ...ex_ibexa_keyword_ibexa_keyword_keyword.sql | 1 - .../0088_create_ibexa_keyword_field_link.sql | 1 - ...eld_link_ibexa_keyword_field_link_oaid.sql | 1 - ...link_ibexa_keyword_field_link_kid_oaid.sql | 1 - ...link_ibexa_keyword_field_link_oaid_ver.sql | 1 - .../sql/sqlite/0092_create_ibexa_media.sql | 1 - .../0093_create_ibexa_node_assignment.sql | 1 - ...signment_ibexa_node_assignment_is_main.sql | 1 - ...ignment_ibexa_node_assignment_coid_cov.sql | 1 - ...ment_ibexa_node_assignment_parent_node.sql | 1 - ...nment_ibexa_node_assignment_co_version.sql | 1 - .../sqlite/0098_create_ibexa_notification.sql | 1 - ...on_ibexa_notification_owner_is_pending.sql | 1 - ..._notification_ibexa_notification_owner.sql | 1 - .../sql/sqlite/0101_create_ibexa_package.sql | 1 - .../sql/sqlite/0102_create_ibexa_policy.sql | 1 - ...ndex_ibexa_policy_ibexa_policy_role_id.sql | 1 - ..._ibexa_policy_ibexa_policy_original_id.sql | 1 - .../0105_create_ibexa_policy_limitation.sql | 1 - ...bexa_policy_limitation_ibexa_policy_id.sql | 1 - ...7_create_ibexa_policy_limitation_value.sql | 1 - ...alue_ibexa_policy_limit_value_limit_id.sql | 1 - ...alue_ibexa_policy_limitation_value_val.sql | 1 - .../0110_create_ibexa_user_preference.sql | 1 - ...ence_ibexa_user_preference_user_id_idx.sql | 1 - ..._preference_ibexa_user_preference_name.sql | 1 - .../sql/sqlite/0113_create_ibexa_role.sql | 1 - ...4_create_ibexa_search_object_word_link.sql | 1 - ...k_ibexa_search_object_word_link_object.sql | 1 - ...exa_search_object_word_link_identifier.sql | 1 - ..._search_object_word_link_integer_value.sql | 1 - ...ink_ibexa_search_object_word_link_word.sql | 1 - ...bexa_search_object_word_link_frequency.sql | 1 - .../sqlite/0120_create_ibexa_search_word.sql | 1 - ...a_search_word_ibexa_search_word_word_i.sql | 1 - ...earch_word_ibexa_search_word_obj_count.sql | 1 - .../sql/sqlite/0123_create_ibexa_section.sql | 1 - .../sqlite/0124_create_ibexa_site_data.sql | 1 - .../sql/sqlite/0125_create_ibexa_url.sql | 1 - .../0126_index_ibexa_url_ibexa_url_url.sql | 1 - .../0127_create_ibexa_url_content_link.sql | 1 - ...a_url_content_link_ibexa_url_ol_coa_id.sql | 1 - ...a_url_content_link_ibexa_url_ol_url_id.sql | 1 - ..._content_link_ibexa_url_ol_coa_version.sql | 1 - ...l_content_link_ibexa_url_ol_coa_id_cav.sql | 1 - .../sqlite/0132_create_ibexa_url_alias.sql | 1 - ...a_url_alias_ibexa_url_alias_source_md5.sql | 1 - ...xa_url_alias_ibexa_url_alias_wcard_fwd.sql | 1 - ...rl_alias_ibexa_url_alias_forward_to_id.sql | 1 - ...rl_alias_ibexa_url_alias_imp_wcard_fwd.sql | 1 - ...a_url_alias_ibexa_url_alias_source_url.sql | 1 - ...bexa_url_alias_ibexa_url_alias_desturl.sql | 1 - .../sqlite/0139_create_ibexa_url_alias_ml.sql | 1 - ...lias_ml_ibexa_url_alias_ml_actt_org_al.sql | 1 - ..._alias_ml_ibexa_url_alias_ml_text_lang.sql | 1 - ...s_ml_ibexa_url_alias_ml_par_act_id_lnk.sql | 1 - ...lias_ml_ibexa_url_alias_ml_par_lnk_txt.sql | 1 - ...rl_alias_ml_ibexa_url_alias_ml_act_org.sql | 1 - ...a_url_alias_ml_ibexa_url_alias_ml_text.sql | 1 - ...a_url_alias_ml_ibexa_url_alias_ml_link.sql | 1 - ...exa_url_alias_ml_ibexa_url_alias_ml_id.sql | 1 - .../0148_create_ibexa_url_alias_ml_incr.sql | 1 - .../sqlite/0149_create_ibexa_url_wildcard.sql | 1 - .../0150_create_ibexa_user_accountkey.sql | 1 - ...1_index_ibexa_user_accountkey_hash_key.sql | 1 - .../sqlite/0152_create_ibexa_user_role.sql | 1 - ...bexa_user_role_ibexa_user_role_role_id.sql | 1 - ..._role_ibexa_user_role_contentobject_id.sql | 1 - .../sqlite/0155_create_ibexa_user_setting.sql | 1 - .../sql/sqlite/0156_create_ibexa_setting.sql | 2 - ...7_index_ibexa_setting_ibexa_setting_id.sql | 1 - ...setting_ibexa_setting_group_identifier.sql | 1 - .../sqlite/0159_create_ibexa_token_type.sql | 1 - ...exa_token_type_ibexa_token_type_unique.sql | 1 - .../sql/sqlite/0161_create_ibexa_token.sql | 1 - ...index_ibexa_token_IDX_B5412887C54C8C93.sql | 1 - ...3_index_ibexa_token_ibexa_token_unique.sql | 1 - .../data/0001_insert_ibexa_object_state.sql | 3 - .../0002_insert_ibexa_object_state_group.sql | 2 - ...sert_ibexa_object_state_group_language.sql | 2 - ...004_insert_ibexa_object_state_language.sql | 3 - .../0005_insert_ibexa_object_state_link.sql | 13 - .../0006_insert_ibexa_content_language.sql | 2 - .../data/0007_insert_ibexa_content_type.sql | 7 - ...rt_ibexa_content_type_field_definition.sql | 25 - ...rt_ibexa_content_type_group_assignment.sql | 7 - .../0010_insert_ibexa_content_type_name.sql | 7 - .../0011_insert_ibexa_content_type_group.sql | 4 - .../sqlite/data/0012_insert_ibexa_content.sql | 13 - .../data/0013_insert_ibexa_content_field.sql | 41 - .../data/0014_insert_ibexa_content_name.sql | 13 - .../data/0015_insert_ibexa_content_tree.sql | 14 - .../0016_insert_ibexa_content_version.sql | 13 - .../0017_insert_ibexa_node_assignment.sql | 13 - .../sqlite/data/0018_insert_ibexa_policy.sql | 9 - .../0019_insert_ibexa_policy_limitation.sql | 7 - ...0_insert_ibexa_policy_limitation_value.sql | 8 - .../sqlite/data/0021_insert_ibexa_role.sql | 5 - .../sqlite/data/0022_insert_ibexa_section.sql | 4 - .../data/0023_insert_ibexa_site_data.sql | 2 - .../data/0024_insert_ibexa_url_alias.sql | 13 - .../data/0025_insert_ibexa_url_alias_ml.sql | 26 - .../0026_insert_ibexa_url_alias_ml_incr.sql | 4 - .../sqlite/data/0027_insert_ibexa_user.sql | 3 - .../data/0028_insert_ibexa_user_role.sql | 7 - .../data/0029_insert_ibexa_user_setting.sql | 3 - .../0030_insert_ibexa_user_preference.sql | 2 - 509 files changed, 2260 deletions(-) delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml b/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml deleted file mode 100644 index 33aff3c69e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml +++ /dev/null @@ -1,243 +0,0 @@ -up: - - file: 'sql/mysql/data/0001_insert_ibexa_object_state.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0001_insert_ibexa_object_state.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0001_insert_ibexa_object_state.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0002_insert_ibexa_object_state_group.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0002_insert_ibexa_object_state_group.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0002_insert_ibexa_object_state_group.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0004_insert_ibexa_object_state_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0004_insert_ibexa_object_state_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0004_insert_ibexa_object_state_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0005_insert_ibexa_object_state_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0005_insert_ibexa_object_state_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0005_insert_ibexa_object_state_link.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0006_insert_ibexa_content_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0006_insert_ibexa_content_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0006_insert_ibexa_content_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0007_insert_ibexa_content_type.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0007_insert_ibexa_content_type.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0007_insert_ibexa_content_type.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0010_insert_ibexa_content_type_name.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0010_insert_ibexa_content_type_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0010_insert_ibexa_content_type_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0011_insert_ibexa_content_type_group.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0011_insert_ibexa_content_type_group.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0011_insert_ibexa_content_type_group.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0012_insert_ibexa_content.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0012_insert_ibexa_content.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0012_insert_ibexa_content.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0013_insert_ibexa_content_field.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0013_insert_ibexa_content_field.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0013_insert_ibexa_content_field.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0014_insert_ibexa_content_name.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0014_insert_ibexa_content_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0014_insert_ibexa_content_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0015_insert_ibexa_content_tree.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0015_insert_ibexa_content_tree.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0015_insert_ibexa_content_tree.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0016_insert_ibexa_content_version.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0016_insert_ibexa_content_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0016_insert_ibexa_content_version.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0017_insert_ibexa_node_assignment.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0017_insert_ibexa_node_assignment.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0017_insert_ibexa_node_assignment.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0018_insert_ibexa_policy.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0018_insert_ibexa_policy.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0018_insert_ibexa_policy.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0019_insert_ibexa_policy_limitation.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0021_insert_ibexa_role.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0021_insert_ibexa_role.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0021_insert_ibexa_role.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0022_insert_ibexa_section.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0022_insert_ibexa_section.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0022_insert_ibexa_section.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0023_insert_ibexa_site_data.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0023_insert_ibexa_site_data.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0023_insert_ibexa_site_data.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0024_insert_ibexa_url_alias.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0024_insert_ibexa_url_alias.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0024_insert_ibexa_url_alias.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0027_insert_ibexa_user.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0027_insert_ibexa_user.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0027_insert_ibexa_user.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0028_insert_ibexa_user_role.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0028_insert_ibexa_user_role.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0028_insert_ibexa_user_role.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0029_insert_ibexa_user_setting.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0029_insert_ibexa_user_setting.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0029_insert_ibexa_user_setting.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0030_insert_ibexa_user_preference.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0030_insert_ibexa_user_preference.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0030_insert_ibexa_user_preference.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql' - platforms: 'postgresql' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml b/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml deleted file mode 100644 index a2f4ec0ffe..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml +++ /dev/null @@ -1,773 +0,0 @@ -up: - - file: 'sql/mysql/0001_create_ibexa_binary_file.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0001_create_ibexa_binary_file.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0001_create_ibexa_binary_file.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0002_create_ibexa_object_state.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0002_create_ibexa_object_state.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0002_create_ibexa_object_state.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0003_create_ibexa_object_state_group.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0006_create_ibexa_object_state_group.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0006_create_ibexa_object_state_group.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0004_create_ibexa_object_state_group_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0009_create_ibexa_object_state_group_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0009_create_ibexa_object_state_group_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0005_create_ibexa_object_state_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0010_create_ibexa_object_state_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0010_create_ibexa_object_state_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0006_create_ibexa_object_state_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0011_create_ibexa_object_state_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0011_create_ibexa_object_state_link.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0007_create_ibexa_content_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0012_create_ibexa_content_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0012_create_ibexa_content_language.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0008_create_ibexa_user.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0014_create_ibexa_user.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0014_create_ibexa_user.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0009_create_ibexa_content_tree.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0016_create_ibexa_content_tree.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0016_create_ibexa_content_tree.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0010_create_ibexa_content_bookmark.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0025_create_ibexa_content_bookmark.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0025_create_ibexa_content_bookmark.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0011_create_ibexa_content_type.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0029_create_ibexa_content_type.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0029_create_ibexa_content_type.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0012_create_ibexa_content_type_field_definition.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0032_create_ibexa_content_type_field_definition.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0032_create_ibexa_content_type_field_definition.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0014_create_ibexa_content_type_group_assignment.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0015_create_ibexa_content_type_name.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0038_create_ibexa_content_type_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0038_create_ibexa_content_type_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0016_create_ibexa_content_type_group.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0039_create_ibexa_content_type_group.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0039_create_ibexa_content_type_group.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0017_create_ibexa_content.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0040_create_ibexa_content.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0040_create_ibexa_content.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0018_create_ibexa_content_field.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0049_create_ibexa_content_field.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0049_create_ibexa_content_field.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0019_create_ibexa_content_relation.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0056_create_ibexa_content_relation.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0056_create_ibexa_content_relation.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0020_create_ibexa_content_name.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0060_create_ibexa_content_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0060_create_ibexa_content_name.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0021_create_ibexa_content_trash.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0064_create_ibexa_content_trash.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0064_create_ibexa_content_trash.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0022_create_ibexa_content_version.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0071_create_ibexa_content_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0071_create_ibexa_content_version.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0023_create_ibexa_dfs_file.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0076_create_ibexa_dfs_file.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0076_create_ibexa_dfs_file.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0024_create_ibexa_map_location.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0081_create_ibexa_map_location.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0081_create_ibexa_map_location.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0025_create_ibexa_image_file.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0083_create_ibexa_image_file.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0083_create_ibexa_image_file.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0026_create_ibexa_keyword.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0086_create_ibexa_keyword.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0086_create_ibexa_keyword.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0027_create_ibexa_keyword_field_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0088_create_ibexa_keyword_field_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0088_create_ibexa_keyword_field_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0028_create_ibexa_media.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0092_create_ibexa_media.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0092_create_ibexa_media.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0029_create_ibexa_node_assignment.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0093_create_ibexa_node_assignment.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0093_create_ibexa_node_assignment.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0030_create_ibexa_notification.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0098_create_ibexa_notification.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0098_create_ibexa_notification.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0031_create_ibexa_package.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0101_create_ibexa_package.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0101_create_ibexa_package.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0032_create_ibexa_policy.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0102_create_ibexa_policy.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0102_create_ibexa_policy.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0033_create_ibexa_policy_limitation.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0105_create_ibexa_policy_limitation.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0105_create_ibexa_policy_limitation.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0034_create_ibexa_policy_limitation_value.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0107_create_ibexa_policy_limitation_value.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0107_create_ibexa_policy_limitation_value.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0035_create_ibexa_user_preference.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0110_create_ibexa_user_preference.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0110_create_ibexa_user_preference.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0036_create_ibexa_role.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0113_create_ibexa_role.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0113_create_ibexa_role.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0037_create_ibexa_search_object_word_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0114_create_ibexa_search_object_word_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0114_create_ibexa_search_object_word_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0038_create_ibexa_search_word.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0120_create_ibexa_search_word.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0120_create_ibexa_search_word.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0039_create_ibexa_section.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0123_create_ibexa_section.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0123_create_ibexa_section.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0040_create_ibexa_site_data.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0124_create_ibexa_site_data.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0124_create_ibexa_site_data.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0041_create_ibexa_url.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0125_create_ibexa_url.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0125_create_ibexa_url.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0042_create_ibexa_url_content_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0127_create_ibexa_url_content_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0127_create_ibexa_url_content_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0043_create_ibexa_url_alias.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0132_create_ibexa_url_alias.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0132_create_ibexa_url_alias.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0044_create_ibexa_url_alias_ml.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0139_create_ibexa_url_alias_ml.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0139_create_ibexa_url_alias_ml.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0046_create_ibexa_url_wildcard.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0149_create_ibexa_url_wildcard.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0149_create_ibexa_url_wildcard.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0047_create_ibexa_user_accountkey.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0150_create_ibexa_user_accountkey.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0150_create_ibexa_user_accountkey.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0048_create_ibexa_user_role.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0152_create_ibexa_user_role.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0152_create_ibexa_user_role.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0049_create_ibexa_user_setting.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0155_create_ibexa_user_setting.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0155_create_ibexa_user_setting.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0050_create_ibexa_setting.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0156_create_ibexa_setting.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0156_create_ibexa_setting.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0051_create_ibexa_token_type.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0159_create_ibexa_token_type.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0159_create_ibexa_token_type.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0052_create_ibexa_token.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0161_create_ibexa_token.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0161_create_ibexa_token.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql' - platforms: 'postgresql' - - file: 'sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql' - platforms: 'postgresql' - - file: 'sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' - platforms: 'postgresql' - - file: 'sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql' - platforms: 'postgresql' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql deleted file mode 100644 index c943527dcd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_binary_file (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql deleted file mode 100644 index 1dfe6a0996..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, INDEX ibexa_object_state_priority (priority), INDEX ibexa_object_state_lmask (language_mask), UNIQUE INDEX ibexa_object_state_identifier (group_id, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql deleted file mode 100644 index 5d213d116d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_group (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ibexa_object_state_group_lmask (language_mask), UNIQUE INDEX ibexa_object_state_group_identifier (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql deleted file mode 100644 index 45148f2653..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql deleted file mode 100644 index 85fe903387..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql deleted file mode 100644 index 538f70b531..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql deleted file mode 100644 index d52bc456b4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ibexa_content_language_name (name(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql deleted file mode 100644 index d20233ca4a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, UNIQUE INDEX ibexa_user_login (login), PRIMARY KEY(contentobject_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql deleted file mode 100644 index 606cd1350b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_tree (node_id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, INDEX ibexa_content_tree_p_node_id (parent_node_id), INDEX ibexa_content_tree_path_ident (path_identification_string(50)), INDEX ibexa_content_tree_contentobject_id_path_string (path_string(191), contentobject_id), INDEX ibexa_content_tree_co_id (contentobject_id), INDEX ibexa_content_tree_depth (depth), INDEX ibexa_content_tree_path (path_string(191)), INDEX ibexa_content_modified_subnode (modified_subnode), INDEX ibexa_content_tree_remote_id (remote_id), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql deleted file mode 100644 index 5d151b7f76..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_bookmark (id INT AUTO_INCREMENT NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ibexa_content_bookmark_location (node_id), INDEX ibexa_content_bookmark_user (user_id), INDEX ibexa_content_bookmark_user_location (user_id, node_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql deleted file mode 100644 index ee03fa5c2e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type (id INT AUTO_INCREMENT NOT NULL, status INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, INDEX ibexa_content_type_status (status), INDEX ibexa_content_type_identifier (identifier, status), PRIMARY KEY(id, status)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql deleted file mode 100644 index 4b19569c53..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_field_definition (id INT AUTO_INCREMENT NOT NULL, status INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail TINYINT(1) DEFAULT '0' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text LONGTEXT DEFAULT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT NOT NULL, INDEX ibexa_content_type_field_definition_ctid (content_type_id), INDEX ibexa_content_type_field_definition_dts (data_type_string), PRIMARY KEY(id, status)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql deleted file mode 100644 index e2c749811c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_field_definition_ml (content_type_field_definition_id INT NOT NULL, status INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, INDEX ibexa_content_type_field_definition_ml_lang_fk (language_id), PRIMARY KEY(content_type_field_definition_id, status, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql deleted file mode 100644 index feee823633..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_group_assignment (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(content_type_id, content_type_status, group_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql deleted file mode 100644 index e6f78e3ffb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_name (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(content_type_id, content_type_status, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql deleted file mode 100644 index 67e1b4b74a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_group (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system TINYINT(1) DEFAULT '0' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql deleted file mode 100644 index 8655ec78bf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content (id INT AUTO_INCREMENT NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden TINYINT(1) DEFAULT '0' NOT NULL, INDEX ibexa_content_type_id (content_type_id), INDEX ibexa_content_lmask (language_mask), INDEX ibexa_content_pub (published), INDEX ibexa_content_section (section_id), INDEX ibexa_content_currentversion (current_version), INDEX ibexa_content_owner (owner_id), INDEX ibexa_content_status (status), UNIQUE INDEX ibexa_content_remote_id (remote_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql deleted file mode 100644 index 0531f77f6b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_field (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, content_type_field_definition_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, INDEX ibexa_content_field_co_id_ver_lang_code (contentobject_id, version, language_code), INDEX ibexa_content_field_field_definition_id (content_type_field_definition_id), INDEX sort_key_string (sort_key_string(191)), INDEX ibexa_content_field_language_code (language_code), INDEX sort_key_int (sort_key_int), INDEX ibexa_content_field_co_id_ver (contentobject_id, version), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql deleted file mode 100644 index 5a3ec084a3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_relation (id INT AUTO_INCREMENT NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, INDEX ibexa_content_relation_to_co_id (to_contentobject_id), INDEX ibexa_content_relation_from (from_contentobject_id, from_contentobject_version, content_type_field_definition_id), INDEX ibexa_content_relation_ccfd_id (content_type_field_definition_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql deleted file mode 100644 index 466f34fd24..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, INDEX ibexa_content_name_lang_id (language_id), INDEX ibexa_content_name_cov_id (content_version), INDEX ibexa_content_name_name (name(191)), PRIMARY KEY(contentobject_id, content_version, content_translation)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql deleted file mode 100644 index 508d60ade2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, INDEX ibexa_content_trash_depth (depth), INDEX ibexa_content_trash_p_node_id (parent_node_id), INDEX ibexa_content_trash_path_ident (path_identification_string(50)), INDEX ibexa_content_trash_co_id (contentobject_id), INDEX ibexa_content_trash_modified_subnode (modified_subnode), INDEX ibexa_content_trash_path (path_string(191)), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql deleted file mode 100644 index b2b8c958c5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_version (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, INDEX ibexa_content_version_status (status), INDEX ibexa_content_version_idx_ver (contentobject_id, version), INDEX ibexa_content_version_idx_status (contentobject_id, status), INDEX ibexa_content_version_creator_id (creator_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql deleted file mode 100644 index 788d674b31..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_dfs_file (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired TINYINT(1) DEFAULT '0' NOT NULL, status TINYINT(1) DEFAULT '0' NOT NULL, INDEX ibexa_dfs_file_name_trunk (name_trunk(191)), INDEX ibexa_dfs_file_expired_name (expired, name(191)), INDEX ibexa_dfs_file_name (name(191)), INDEX ibexa_dfs_file_mtime (mtime), PRIMARY KEY(name_hash)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql deleted file mode 100644 index c6717b1deb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_map_location (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, INDEX ibexa_map_location_latitude_longitude_key (latitude, longitude), PRIMARY KEY(contentobject_attribute_id, contentobject_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql deleted file mode 100644 index 4b1b110eb9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_image_file (id INT AUTO_INCREMENT NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath LONGTEXT NOT NULL, INDEX ibexa_image_file_file (filepath(191)), INDEX ibexa_image_file_coid (contentobject_attribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql deleted file mode 100644 index cdaf39b246..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_keyword (id INT AUTO_INCREMENT NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, INDEX ibexa_keyword_keyword (keyword(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql deleted file mode 100644 index 13cf8a2bb5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_keyword_field_link (id INT AUTO_INCREMENT NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, INDEX ibexa_keyword_field_link_oaid (objectattribute_id), INDEX ibexa_keyword_field_link_kid_oaid (keyword_id, objectattribute_id), INDEX ibexa_keyword_field_link_oaid_ver (objectattribute_id, version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql deleted file mode 100644 index 84fbd67808..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_media (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql deleted file mode 100644 index 3c6e1873ec..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_node_assignment (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, INDEX ibexa_node_assignment_is_main (is_main), INDEX ibexa_node_assignment_coid_cov (contentobject_id, contentobject_version), INDEX ibexa_node_assignment_parent_node (parent_node), INDEX ibexa_node_assignment_co_version (contentobject_version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql deleted file mode 100644 index f1f8dfbaf6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_notification (id INT AUTO_INCREMENT NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending TINYINT(1) DEFAULT '1' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INT DEFAULT 0 NOT NULL, data LONGTEXT DEFAULT NULL, INDEX ibexa_notification_owner_is_pending (owner_id, is_pending), INDEX ibexa_notification_owner (owner_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql deleted file mode 100644 index 95e192f2c5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_package (id INT AUTO_INCREMENT NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql deleted file mode 100644 index 6675be55e3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy (id INT AUTO_INCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, INDEX ibexa_policy_role_id (role_id), INDEX ibexa_policy_original_id (original_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql deleted file mode 100644 index e8bc6695bf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy_limitation (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, INDEX ibexa_policy_id (policy_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql deleted file mode 100644 index ae56570647..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy_limitation_value (id INT AUTO_INCREMENT NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, INDEX ibexa_policy_limit_value_limit_id (limitation_id), INDEX ibexa_policy_limitation_value_val (value(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql deleted file mode 100644 index fd6e5537f8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_preference (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value LONGTEXT DEFAULT NULL, INDEX ibexa_user_preference_user_id_idx (user_id, name), INDEX ibexa_user_preference_name (name), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql deleted file mode 100644 index 5e0b1a68d9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_role (id INT AUTO_INCREMENT NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql deleted file mode 100644 index 65c95303c6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_search_object_word_link (id INT AUTO_INCREMENT NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ibexa_search_object_word_link_object (contentobject_id), INDEX ibexa_search_object_word_link_identifier (identifier(191)), INDEX ibexa_search_object_word_link_integer_value (integer_value), INDEX ibexa_search_object_word_link_word (word_id), INDEX ibexa_search_object_word_link_frequency (frequency), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql deleted file mode 100644 index 8f8501a790..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_search_word (id INT AUTO_INCREMENT NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, INDEX ibexa_search_word_word_i (word), INDEX ibexa_search_word_obj_count (object_count), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql deleted file mode 100644 index fd30887309..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_section (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql deleted file mode 100644 index f0c130755d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_site_data (name VARCHAR(60) DEFAULT '' NOT NULL, value LONGTEXT NOT NULL, PRIMARY KEY(name)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql deleted file mode 100644 index 91a9ea5521..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url LONGTEXT DEFAULT NULL, INDEX ibexa_url_url (url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql deleted file mode 100644 index 818099cb8c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_content_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL, INDEX ibexa_url_ol_coa_id (contentobject_attribute_id), INDEX ibexa_url_ol_url_id (url_id), INDEX ibexa_url_ol_coa_version (contentobject_attribute_version), INDEX ibexa_url_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql deleted file mode 100644 index 10056978da..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url LONGTEXT NOT NULL, INDEX ibexa_url_alias_source_md5 (source_md5), INDEX ibexa_url_alias_wcard_fwd (is_wildcard, forward_to_id), INDEX ibexa_url_alias_forward_to_id (forward_to_id), INDEX ibexa_url_alias_imp_wcard_fwd (is_imported, is_wildcard, forward_to_id), INDEX ibexa_url_alias_source_url (source_url(191)), INDEX ibexa_url_alias_desturl (destination_url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql deleted file mode 100644 index 124e784561..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, action LONGTEXT NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text LONGTEXT NOT NULL, INDEX ibexa_url_alias_ml_actt_org_al (action_type, is_original, is_alias), INDEX ibexa_url_alias_ml_text_lang (text(32), lang_mask, parent), INDEX ibexa_url_alias_ml_par_act_id_lnk (action(32), id, link, parent), INDEX ibexa_url_alias_ml_par_lnk_txt (parent, text(32), link), INDEX ibexa_url_alias_ml_act_org (action(32), is_original), INDEX ibexa_url_alias_ml_text (text(32), id, link), INDEX ibexa_url_alias_ml_link (link), INDEX ibexa_url_alias_ml_id (id), PRIMARY KEY(parent, text_md5)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql deleted file mode 100644 index c709d26910..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias_ml_incr (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql deleted file mode 100644 index 6a04532c6a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_wildcard (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, source_url LONGTEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql deleted file mode 100644 index 7e7f3409a9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_accountkey (id INT AUTO_INCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, INDEX hash_key (hash_key), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql deleted file mode 100644 index e0ac803371..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_role (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, INDEX ibexa_user_role_role_id (role_id), INDEX ibexa_user_role_contentobject_id (contentobject_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql deleted file mode 100644 index 0d206a10a8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql deleted file mode 100644 index d664bb1bf9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_setting (id INT AUTO_INCREMENT NOT NULL, `group` VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, INDEX ibexa_setting_id (id), UNIQUE INDEX ibexa_setting_group_identifier (`group`, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql deleted file mode 100644 index 050286548c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token_type (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL, UNIQUE INDEX ibexa_token_type_unique (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql deleted file mode 100644 index 2cc774c11a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token (id INT AUTO_INCREMENT NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked TINYINT(1) DEFAULT '0' NOT NULL, INDEX IDX_B5412887C54C8C93 (type_id), UNIQUE INDEX ibexa_token_unique (token, identifier, type_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql deleted file mode 100644 index 653438c362..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql deleted file mode 100644 index 760aa35800..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql deleted file mode 100644 index c002dd7f33..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language (id) ON UPDATE CASCADE ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql deleted file mode 100644 index f8e58ffca0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql deleted file mode 100644 index 28d054bae2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_object_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) -VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql deleted file mode 100644 index d6ecfca0a8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_object_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) -VALUES (2,2,'ibexa_lock',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql deleted file mode 100644 index c2cce56918..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_object_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) -VALUES (2,'',3,'Lock',2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql deleted file mode 100644 index 5447342e3b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_object_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) -VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql deleted file mode 100644 index a58c50424a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_object_state_link` (`contentobject_id`, `contentobject_state_id`) -VALUES (1, 1), - (4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql deleted file mode 100644 index 716102901f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_content_language` (`disabled`, `id`, `locale`, `name`) -VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql deleted file mode 100644 index 0acd993329..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_content_type` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `status`) -VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql deleted file mode 100644 index d88a046425..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql +++ /dev/null @@ -1,25 +0,0 @@ -INSERT INTO `ibexa_content_type_field_definition` (`can_translate`, `category`, `content_type_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `status`) -VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ibexa_string',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ibexa_string',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ibexa_user',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ibexa_string',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ibexa_image',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ibexa_richtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ibexa_richtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_boolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ibexa_string',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ibexa_binaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ibexa_author',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_object_relation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_string',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','ibexa_text',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ibexa_image',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql deleted file mode 100644 index 06892a0765..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_content_type_group_assignment` (`content_type_id`, `content_type_status`, `group_id`, `group_name`) -VALUES (1, 0, 1, 'Content'), - (2, 0, 1, 'Content'), - (3, 0, 2, 'Users'), - (4, 0, 2, 'Users'), - (5, 0, 3, 'Media'), - (12, 0, 3, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql deleted file mode 100644 index b62ac8a988..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_content_type_name` (`content_type_id`, `content_type_status`, `language_id`, `language_locale`, `name`) -VALUES (1, 0, 2, 'eng-GB', 'Folder'), - (2, 0, 3, 'eng-GB', 'Article'), - (3, 0, 3, 'eng-GB', 'User group'), - (4, 0, 3, 'eng-GB', 'User'), - (5, 0, 3, 'eng-GB', 'Image'), - (12, 0, 3, 'eng-GB', 'File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql deleted file mode 100644 index 2eb94f3b43..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ibexa_content_type_group` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) -VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), - (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql deleted file mode 100644 index 7108cc1143..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_content` (`content_type_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) -VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), - (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), - (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), - (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), - (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), - (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), - (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), - (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), - (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), - (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), - (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql deleted file mode 100644 index 0d542f8dbd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql +++ /dev/null @@ -1,41 +0,0 @@ -INSERT INTO `ibexa_content_field` (`attribute_original_id`, `content_type_field_definition_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) -VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ibexa_string',1,'eng-GB',3,0,'ibexa platform',9), - (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ibexa_richtext',2,'eng-GB',3,0,'',9), - (0,7,4,NULL,NULL,'Main group','ibexa_string',7,'eng-GB',3,0,'',1), - (0,6,4,NULL,NULL,'Users','ibexa_string',8,'eng-GB',3,0,'',1), - (0,8,10,0,0,'Anonymous','ibexa_string',19,'eng-GB',3,0,'anonymous',2), - (0,9,10,0,0,'User','ibexa_string',20,'eng-GB',3,0,'user',2), - (0,12,10,0,0,'','ibexa_user',21,'eng-GB',3,0,'',2), - (0,6,11,0,0,'Guest accounts','ibexa_string',22,'eng-GB',3,0,'',1), - (0,7,11,0,0,'','ibexa_string',23,'eng-GB',3,0,'',1), - (0,6,12,0,0,'Administrator users','ibexa_string',24,'eng-GB',3,0,'',1), - (0,7,12,0,0,'','ibexa_string',25,'eng-GB',3,0,'',1), - (0,6,13,0,0,'Editors','ibexa_string',26,'eng-GB',3,0,'',1), - (0,7,13,0,0,'','ibexa_string',27,'eng-GB',3,0,'',1), - (0,8,14,0,0,'Administrator','ibexa_string',28,'eng-GB',3,0,'administrator',3), - (0,9,14,0,0,'User','ibexa_string',29,'eng-GB',3,0,'user',3), - (30,12,14,0,0,'','ibexa_user',30,'eng-GB',3,0,'',3), - (0,4,41,0,0,'Media','ibexa_string',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,'\n
\n','ibexa_richtext',99,'eng-GB',3,0,'',1), - (0,6,42,0,0,'Anonymous users','ibexa_string',100,'eng-GB',3,0,'anonymous users',1), - (0,7,42,0,0,'User group for the anonymous user','ibexa_string',101,'eng-GB',3,0,'user group for the anonymous user',1), - (0,155,1,NULL,NULL,'Ibexa Platform','ibexa_string',102,'eng-GB',3,0,'ibexa platform',9), - (0,155,41,0,0,'','ibexa_string',103,'eng-GB',3,0,'',1), - (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ibexa_richtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,'\n
\n','ibexa_richtext',105,'eng-GB',3,0,'',1), - (0,4,49,0,0,'Images','ibexa_string',142,'eng-GB',3,0,'images',1), - (0,155,49,0,0,'','ibexa_string',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,'\n
\n','ibexa_richtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,'\n
\n','ibexa_richtext',145,'eng-GB',3,0,'',1), - (0,4,50,0,0,'Files','ibexa_string',147,'eng-GB',3,0,'files',1), - (0,155,50,0,0,'','ibexa_string',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,'\n
\n','ibexa_richtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,'\n
\n','ibexa_richtext',150,'eng-GB',3,0,'',1), - (0,4,51,0,0,'Multimedia','ibexa_string',152,'eng-GB',3,0,'multimedia',1), - (0,155,51,0,0,'','ibexa_string',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,'\n
\n','ibexa_richtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,'\n
\n','ibexa_richtext',155,'eng-GB',3,0,'',1), - (0,179,10,0,0,'','ibexa_text',177,'eng-GB',3,0,'',2), - (0,179,14,0,0,'','ibexa_text',178,'eng-GB',3,0,'',3), - (0,180,10,0,0,'','ibexa_image',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,'\n\n','ibexa_image',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql deleted file mode 100644 index c36299fd6a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_content_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) -VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), - ('eng-GB',1,4,3,'Users','eng-GB'), - ('eng-GB',2,10,3,'Anonymous User','eng-GB'), - ('eng-GB',1,11,3,'Guest accounts','eng-GB'), - ('eng-GB',1,12,3,'Administrator users','eng-GB'), - ('eng-GB',1,13,3,'Editors','eng-GB'), - ('eng-GB',3,14,3,'Administrator User','eng-GB'), - ('eng-GB',1,41,3,'Media','eng-GB'), - ('eng-GB',1,42,3,'Anonymous users','eng-GB'), - ('eng-GB',1,49,3,'Images','eng-GB'), - ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql deleted file mode 100644 index 65d092ccef..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql +++ /dev/null @@ -1,14 +0,0 @@ -INSERT INTO `ibexa_content_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) -VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql deleted file mode 100644 index 83f4e503e7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_content_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) -VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql deleted file mode 100644 index 9640698edf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_node_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) -VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), - (42,1,0,5,1,2,5,'','0',9,1,0,0), - (10,2,-1,6,1,2,44,'','0',9,1,0,0), - (4,1,0,7,1,2,1,'','0',1,1,0,0), - (12,1,0,8,1,2,5,'','0',1,1,0,0), - (13,1,0,9,1,2,5,'','0',1,1,0,0), - (41,1,0,11,1,2,1,'','0',1,1,0,0), - (11,1,0,12,1,2,5,'','0',1,1,0,0), - (49,1,0,27,1,2,43,'','0',9,1,0,0), - (50,1,0,28,1,2,43,'','0',9,1,0,0), - (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql deleted file mode 100644 index 4d51ce8204..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql +++ /dev/null @@ -1,9 +0,0 @@ -INSERT INTO `ibexa_policy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) -VALUES ('*',317,'content',0,3), - ('login',319,'user',0,3), - ('read',328,'content',0,1), - ('login',331,'user',0,1), - ('*',332,'*',0,2), - ('read',333,'content',0,4), - ('view_embed',334,'content',0,1), - ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql deleted file mode 100644 index cc61881062..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_policy_limitation` (`id`, `identifier`, `policy_id`) -VALUES (251,'Section',328), - (252,'Section',329), - (253,'SiteAccess',331), - (254,'Class',333), - (255,'Owner',333), - (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql deleted file mode 100644 index 4ac14df7f5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql +++ /dev/null @@ -1,8 +0,0 @@ -INSERT INTO `ibexa_policy_limitation_value` (`id`, `limitation_id`, `value`) -VALUES (477,251,'1'), - (478,252,'1'), - (479,253,'1766001124'), - (480,254,'4'), - (481,255,'1'), - (482,256,'5'), - (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql deleted file mode 100644 index cde93d16ed..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql +++ /dev/null @@ -1,5 +0,0 @@ -INSERT INTO `ibexa_role` (`id`, `is_new`, `name`, `value`, `version`) -VALUES (1,0,'Anonymous','',0), - (2,0,'Administrator','0',0), - (3,0,'Editor','',0), - (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql deleted file mode 100644 index 0436a276f7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ibexa_section` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) -VALUES (1,'standard','','Standard','ezcontentnavigationpart'), - (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql deleted file mode 100644 index 1315785c03..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_site_data` (`name`, `value`) -VALUES ('ibexa-release','5.0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql deleted file mode 100644 index 9b111ca869..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_url_alias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) -VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), - ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), - ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), - ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), - ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), - ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), - ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), - ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), - ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), - ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), - ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql deleted file mode 100644 index d9a59e6dc4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql +++ /dev/null @@ -1,26 +0,0 @@ -INSERT INTO `ibexa_url_alias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) -VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), - ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), - ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), - ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), - ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), - ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), - ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), - ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), - ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), - ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), - ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), - ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), - ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), - ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), - ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), - ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), - ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), - ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), - ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), - ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), - ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql deleted file mode 100644 index 755c37655a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ibexa_url_alias_ml_incr` (`id`) -VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql deleted file mode 100644 index a7d0cf247c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_user` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) -VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql deleted file mode 100644 index 4dbaff1fbd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_user_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) -VALUES (11,28,'','',1), - (42,31,'','',1), - (13,32,'Subtree','/1/2/',3), - (13,33,'Subtree','/1/43/',3), - (12,34,'','',2), - (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql deleted file mode 100644 index a3c25ef316..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_user_setting` (`is_enabled`, `max_login`, `user_id`) -VALUES (1,1000,10), - (1,10,14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql deleted file mode 100644 index 6643c6b914..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_user_preference` (`name`, `user_id`, `value`) -SELECT 'focus_mode', u.contentobject_id, '0' FROM `ibexa_user` u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql deleted file mode 100644 index 5c6a43d2ad..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_binary_file (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql deleted file mode 100644 index ac4ed70654..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql deleted file mode 100644 index 5826aaef24..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql deleted file mode 100644 index 60be743406..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql deleted file mode 100644 index 38a0fa6827..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql deleted file mode 100644 index 66967266f3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_group (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql deleted file mode 100644 index 507f119efb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql deleted file mode 100644 index d3a6cf12d0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql deleted file mode 100644 index 5d05a11ce1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql deleted file mode 100644 index 9bf50f4a1f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql deleted file mode 100644 index b9d499e790..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql deleted file mode 100644 index 07684961c0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql deleted file mode 100644 index f95137a14e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql deleted file mode 100644 index 1f81a66b28..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, PRIMARY KEY(contentobject_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql deleted file mode 100644 index b49abbfa91..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql deleted file mode 100644 index 8e5f58c330..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_tree (node_id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql deleted file mode 100644 index d686c910b2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql deleted file mode 100644 index 0f9daed470..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql deleted file mode 100644 index 1712708976..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql deleted file mode 100644 index ef847742e7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql deleted file mode 100644 index eab7a10df6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql deleted file mode 100644 index f4d449f8c8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql deleted file mode 100644 index 597f0baf62..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql deleted file mode 100644 index f2407dd47f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql deleted file mode 100644 index 1e269d7092..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_bookmark (id SERIAL NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql deleted file mode 100644 index da8bdcb2ee..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql deleted file mode 100644 index cebfbca729..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql deleted file mode 100644 index ceb1ad9be3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql deleted file mode 100644 index eb802edbb8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type (id SERIAL NOT NULL, status INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id, status)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql deleted file mode 100644 index abefabe9f2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_status ON ibexa_content_type (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql deleted file mode 100644 index e61735359b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql deleted file mode 100644 index cfafafcbd8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_field_definition (id SERIAL NOT NULL, status INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT 'false' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text TEXT DEFAULT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT NOT NULL, PRIMARY KEY(id, status)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql deleted file mode 100644 index f8e2452ae5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql deleted file mode 100644 index 453cd13008..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql deleted file mode 100644 index bd0b624554..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_field_definition_ml (content_type_field_definition_id INT NOT NULL, status INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, PRIMARY KEY(content_type_field_definition_id, status, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql deleted file mode 100644 index 670308e41e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql deleted file mode 100644 index d0abc06557..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_group_assignment (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(content_type_id, content_type_status, group_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql deleted file mode 100644 index 0aee835c33..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_name (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(content_type_id, content_type_status, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql deleted file mode 100644 index 062e1aa732..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_group (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql deleted file mode 100644 index 5224bcd356..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content (id SERIAL NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql deleted file mode 100644 index 33a031bd4d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_id ON ibexa_content (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql deleted file mode 100644 index 32497a5d84..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql deleted file mode 100644 index 736a4155af..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_pub ON ibexa_content (published); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql deleted file mode 100644 index 19457bef18..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_section ON ibexa_content (section_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql deleted file mode 100644 index edd6826160..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql deleted file mode 100644 index 0790e62c88..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql deleted file mode 100644 index 48c05cd4f6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_status ON ibexa_content (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql deleted file mode 100644 index 45c31edd02..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql deleted file mode 100644 index a281f913f7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_field (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, content_type_field_definition_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql deleted file mode 100644 index 93726617f0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql deleted file mode 100644 index 4d432626a5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql deleted file mode 100644 index ec24a9b21f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX sort_key_string ON ibexa_content_field (sort_key_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql deleted file mode 100644 index c530bbb7d8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql deleted file mode 100644 index 884b7ff664..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX sort_key_int ON ibexa_content_field (sort_key_int); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql deleted file mode 100644 index 9d647be9c1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql deleted file mode 100644 index c65bf209a7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_relation (id SERIAL NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql deleted file mode 100644 index ca644fd1dd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql deleted file mode 100644 index f62d709bae..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql deleted file mode 100644 index ef1e83724d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql deleted file mode 100644 index b9d627df74..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql deleted file mode 100644 index b4016f33cd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql deleted file mode 100644 index a162e3e70e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql deleted file mode 100644 index b1b1ed6f83..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql deleted file mode 100644 index 25a18c58dd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql deleted file mode 100644 index a7f3aaf8cf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql deleted file mode 100644 index 7353270650..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql deleted file mode 100644 index 8108c8112e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql deleted file mode 100644 index 7be1fea30f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql deleted file mode 100644 index 1c0b897b62..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql deleted file mode 100644 index 5a29b83d62..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql deleted file mode 100644 index 0d09ac88a6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_version (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql deleted file mode 100644 index 38615b8104..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql deleted file mode 100644 index 6e2dfb52fa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql deleted file mode 100644 index 1ba59bfc72..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql deleted file mode 100644 index 834ec3deb3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql deleted file mode 100644 index 9fcc404ba3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_dfs_file (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT 'false' NOT NULL, status BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(name_hash)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql deleted file mode 100644 index 8391ba0217..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql deleted file mode 100644 index 74985d0c93..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql deleted file mode 100644 index e921fe6650..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql deleted file mode 100644 index 469533ca93..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql deleted file mode 100644 index c5019aacb4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_map_location (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql deleted file mode 100644 index 6b5b375d51..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql deleted file mode 100644 index 8b10f8366b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_image_file (id SERIAL NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath TEXT NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql deleted file mode 100644 index 5a95b4318b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql deleted file mode 100644 index 4134ec7b9f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql deleted file mode 100644 index 68c151a74b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_keyword (id SERIAL NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql deleted file mode 100644 index 499d339734..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql deleted file mode 100644 index eda4daf849..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_keyword_field_link (id SERIAL NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql deleted file mode 100644 index 982b9a7f6a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql deleted file mode 100644 index 0b45f48a7c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql deleted file mode 100644 index f26ce33baf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql deleted file mode 100644 index 1ad747ea69..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_media (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql deleted file mode 100644 index b5e29f3a22..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_node_assignment (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql deleted file mode 100644 index 7d474bf250..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql deleted file mode 100644 index e33fbd46b2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql deleted file mode 100644 index b6e3bb305b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql deleted file mode 100644 index ba16836181..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql deleted file mode 100644 index 781e65a7de..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_notification (id SERIAL NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT 'true' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INT DEFAULT 0 NOT NULL, data TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql deleted file mode 100644 index 74453e4129..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql deleted file mode 100644 index acc0093c1c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql deleted file mode 100644 index 84a2dd7219..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_package (id SERIAL NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql deleted file mode 100644 index d2b1987a92..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy (id SERIAL NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql deleted file mode 100644 index a7390a7cc9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql deleted file mode 100644 index c84254dffc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql deleted file mode 100644 index c8bf8e0e9d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy_limitation (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql deleted file mode 100644 index 18d2c85a03..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql deleted file mode 100644 index f16c66662e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy_limitation_value (id SERIAL NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql deleted file mode 100644 index 04e7f07679..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql deleted file mode 100644 index 8f30cd8184..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql deleted file mode 100644 index 33779c66a5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_preference (id SERIAL NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql deleted file mode 100644 index 3d17125e44..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql deleted file mode 100644 index 763c959525..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql deleted file mode 100644 index 10c8fc9827..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_role (id SERIAL NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql deleted file mode 100644 index f5ef170df9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_search_object_word_link (id SERIAL NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql deleted file mode 100644 index 2979febcf7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql deleted file mode 100644 index 7a7882ea59..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql deleted file mode 100644 index 561c155c92..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql deleted file mode 100644 index c78a04a41a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql deleted file mode 100644 index b3d1751e6c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql deleted file mode 100644 index 391f8d9338..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_search_word (id SERIAL NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql deleted file mode 100644 index 171471b339..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql deleted file mode 100644 index a2098d0ab4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql deleted file mode 100644 index ed418c0a92..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_section (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql deleted file mode 100644 index 05c78a8d9c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_site_data (name VARCHAR(60) DEFAULT '' NOT NULL, value TEXT NOT NULL, PRIMARY KEY(name)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql deleted file mode 100644 index 61b4162a0f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql deleted file mode 100644 index 7a08f3b1db..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_url ON ibexa_url (url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql deleted file mode 100644 index 4976f77e90..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_content_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql deleted file mode 100644 index 258187b47a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql deleted file mode 100644 index 9dd2926df0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql deleted file mode 100644 index db2e9886fa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql deleted file mode 100644 index 2c2b9b0ab5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql deleted file mode 100644 index 20a5b42de2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias (id SERIAL NOT NULL, destination_url TEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url TEXT NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql deleted file mode 100644 index ffe6981649..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql deleted file mode 100644 index 2e84f84a69..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql deleted file mode 100644 index daf44ce9e2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql deleted file mode 100644 index 218055c124..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql deleted file mode 100644 index cd3078d4aa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql deleted file mode 100644 index 1357e15320..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql deleted file mode 100644 index 66e832b023..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, action TEXT NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text TEXT NOT NULL, PRIMARY KEY(parent, text_md5)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql deleted file mode 100644 index 80426d6d25..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql deleted file mode 100644 index 40898e833a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql deleted file mode 100644 index 120d8b301d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml (action, id, link, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql deleted file mode 100644 index d8dd20bc1e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql deleted file mode 100644 index 3e76cc88ba..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml (action, is_original); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql deleted file mode 100644 index 0cf1bc2dbf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql deleted file mode 100644 index 43d854ee19..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql deleted file mode 100644 index 1d63e3df21..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql deleted file mode 100644 index 0766455cfa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias_ml_incr (id SERIAL NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql deleted file mode 100644 index f26db352d9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_wildcard (id SERIAL NOT NULL, destination_url TEXT NOT NULL, source_url TEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql deleted file mode 100644 index 8f4b865f98..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_accountkey (id SERIAL NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql deleted file mode 100644 index 261d15ac25..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX hash_key ON ibexa_user_accountkey (hash_key); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql deleted file mode 100644 index e768b8ab09..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_role (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql deleted file mode 100644 index 8c83fae5a6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql deleted file mode 100644 index f2c678cebc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql deleted file mode 100644 index 3132296fce..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql deleted file mode 100644 index d3ae1af8b3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_setting (id SERIAL NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql deleted file mode 100644 index d6f3d3b0dc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_setting_id ON ibexa_setting (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql deleted file mode 100644 index e2a05c6a8d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql deleted file mode 100644 index 34e08782fb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token_type (id SERIAL NOT NULL, identifier VARCHAR(64) NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql deleted file mode 100644 index 17f4b2cf68..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql deleted file mode 100644 index a67a678e35..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token (id SERIAL NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql deleted file mode 100644 index 8217faeab1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql deleted file mode 100644 index 1d13c98da4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql deleted file mode 100644 index fdafaa780d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql deleted file mode 100644 index 2f8d81a319..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql deleted file mode 100644 index c03b65599b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql deleted file mode 100644 index 973e602987..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql deleted file mode 100644 index b6e93a2054..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO "ibexa_object_state" ("default_language_id", "group_id", "id", "identifier", "language_mask", "priority") -VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql deleted file mode 100644 index 539b01fc3b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ibexa_object_state_group" ("default_language_id", "id", "identifier", "language_mask") -VALUES (2, 2, 'ibexa_lock', 3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql deleted file mode 100644 index a6244ff430..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ibexa_object_state_group_language" ("contentobject_state_group_id", "description","language_id", "name", "real_language_id") -VALUES (2, '', 3, 'Lock', 2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql deleted file mode 100644 index 2b22aad739..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO "ibexa_object_state_language" ("contentobject_state_id", "description", "language_id", "name") -VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql deleted file mode 100644 index f40935c418..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ibexa_object_state_link" ("contentobject_id", "contentobject_state_id") -VALUES ( 1, 1), - ( 4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql deleted file mode 100644 index a9e6bde55c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ibexa_content_language" ("disabled", "id", "locale", "name") -VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql deleted file mode 100644 index dff061c9d5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ibexa_content_type" ("always_available", "contentobject_name", "created", "creator_id", "id", "identifier", "initial_language_id", "is_container", "language_mask", "modified", "modifier_id", "remote_id", "serialized_description_list", "serialized_name_list", "sort_field", "sort_order", "url_alias_name", "status") -VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:"eng-GB";s:6:"Folder";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:"eng-GB";s:7:"Article";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql deleted file mode 100644 index 5b0bd908df..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql +++ /dev/null @@ -1,25 +0,0 @@ -INSERT INTO "ibexa_content_type_field_definition" ("can_translate", "category", "content_type_id", "data_float1", "data_float2", "data_float3", "data_float4", "data_int1", "data_int2", "data_int3", "data_int4", "data_text1", "data_text2", "data_text3", "data_text4", "data_text5", "data_type_string", "id", "identifier", "is_information_collector", "is_required", "is_searchable", "is_thumbnail", "placement", "serialized_data_text", "serialized_description_list", "serialized_name_list", "status") -VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ibexa_string',1,'title',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ibexa_string',4,'name',0,1,1,FALSE,1,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:4:"Name";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',6,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',7,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',8,'first_name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:10:"First name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',9,'last_name',0,1,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Last name";s:16:"always-available";s:6:"eng-GB";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ibexa_user',12,'user_account',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:12:"User account";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ibexa_string',116,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',117,'caption',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:7:"Caption";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ibexa_image',118,'image',0,0,1,TRUE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',119,'short_description',0,0,1,FALSE,3,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:17:"Short description";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ibexa_richtext',120,'intro',0,1,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Intro";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ibexa_richtext',121,'body',0,0,1,FALSE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Body";s:16:"always-available";s:6:"eng-GB";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_boolean',123,'enable_comments',0,0,0,FALSE,6,NULL,NULL,'a:2:{s:6:"eng-GB";s:15:"Enable comments";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ibexa_string',146,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',147,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ibexa_binaryfile',148,'file',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',152,'short_title',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Short title";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ibexa_author',153,'author',0,0,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:6:"Author";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_object_relation',154,'image',0,0,1,FALSE,7,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_string',155,'short_name',0,0,1,FALSE,2,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:10:"Short name";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',156,'description',0,0,1,FALSE,4,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:11:"Description";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','ibexa_text',179,'signature',0,0,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ibexa_image',180,'image',0,0,0,TRUE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql deleted file mode 100644 index 0930c2a4c4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ibexa_content_type_group_assignment" ("content_type_id", "content_type_status", "group_id", "group_name") -VALUES (1,0,1,'Content'), - (2,0,1,'Content'), - (3,0,2,'Users'), - (4,0,2,'Users'), - (5,0,3,'Media'), - (12,0,3,'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql deleted file mode 100644 index 4ce17b5c00..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ibexa_content_type_name" ("content_type_id", "content_type_status", "language_id", "language_locale", "name") -VALUES (1,0,2,'eng-GB','Folder'), - (2,0,3,'eng-GB','Article'), - (3,0,3,'eng-GB','User group'), - (4,0,3,'eng-GB','User'), - (5,0,3,'eng-GB','Image'), - (12,0,3,'eng-GB','File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql deleted file mode 100644 index dec1cfcde3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO "ibexa_content_type_group" ("created", "creator_id", "id", "modified", "modifier_id", "name") -VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), - (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql deleted file mode 100644 index 40d7370b67..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ibexa_content" ("content_type_id", "current_version", "id", "initial_language_id", "language_mask", "modified", "name", "owner_id", "published", "remote_id", "section_id", "status") -VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), - (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), - (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), - (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), - (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), - (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), - (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), - (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), - (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), - (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), - (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql deleted file mode 100644 index 0f8422d6ce..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql +++ /dev/null @@ -1,41 +0,0 @@ -INSERT INTO "ibexa_content_field" ("attribute_original_id", "content_type_field_definition_id", "contentobject_id", "data_float", "data_int", "data_text", "data_type_string", "id", "language_code", "language_id", "sort_key_int", "sort_key_string", "version") -VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ibexa_string',1,'eng-GB',3,0,'ibexa platform',9), - (0,119,1,NULL,NULL,E'
You are now ready to start your project.
','ibexa_richtext',2,'eng-GB',3,0,'',9), - (0,7,4,NULL,NULL,'Main group','ibexa_string',7,'eng-GB',3,0,'',1), - (0,6,4,NULL,NULL,'Users','ibexa_string',8,'eng-GB',3,0,'',1), - (0,8,10,0,0,'Anonymous','ibexa_string',19,'eng-GB',3,0,'anonymous',2), - (0,9,10,0,0,'User','ibexa_string',20,'eng-GB',3,0,'user',2), - (0,12,10,0,0,'','ibexa_user',21,'eng-GB',3,0,'',2), - (0,6,11,0,0,'Guest accounts','ibexa_string',22,'eng-GB',3,0,'',1), - (0,7,11,0,0,'','ibexa_string',23,'eng-GB',3,0,'',1), - (0,6,12,0,0,'Administrator users','ibexa_string',24,'eng-GB',3,0,'',1), - (0,7,12,0,0,'','ibexa_string',25,'eng-GB',3,0,'',1), - (0,6,13,0,0,'Editors','ibexa_string',26,'eng-GB',3,0,'',1), - (0,7,13,0,0,'','ibexa_string',27,'eng-GB',3,0,'',1), - (0,8,14,0,0,'Administrator','ibexa_string',28,'eng-GB',3,0,'administrator',3), - (0,9,14,0,0,'User','ibexa_string',29,'eng-GB',3,0,'user',3), - (30,12,14,0,0,'','ibexa_user',30,'eng-GB',3,0,'',3), - (0,4,41,0,0,'Media','ibexa_string',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,E'\n
\n','ibexa_richtext',99,'eng-GB',3,0,'',1), - (0,6,42,0,0,'Anonymous users','ibexa_string',100,'eng-GB',3,0,'anonymous users',1), - (0,7,42,0,0,'User group for the anonymous user','ibexa_string',101,'eng-GB',3,0,'user group for the anonymous user',1), - (0,155,1,NULL,NULL,'Ibexa Platform','ibexa_string',102,'eng-GB',3,0,'ibexa platform',9), - (0,155,41,0,0,'','ibexa_string',103,'eng-GB',3,0,'',1), - (0,156,1,NULL,NULL,E'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ibexa_richtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,E'\n
\n','ibexa_richtext',105,'eng-GB',3,0,'',1), - (0,4,49,0,0,'Images','ibexa_string',142,'eng-GB',3,0,'images',1), - (0,155,49,0,0,'','ibexa_string',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,E'\n
\n','ibexa_richtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,E'\n
\n','ibexa_richtext',145,'eng-GB',3,0,'',1), - (0,4,50,0,0,'Files','ibexa_string',147,'eng-GB',3,0,'files',1), - (0,155,50,0,0,'','ibexa_string',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,E'\n
\n','ibexa_richtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,E'\n
\n','ibexa_richtext',150,'eng-GB',3,0,'',1), - (0,4,51,0,0,'Multimedia','ibexa_string',152,'eng-GB',3,0,'multimedia',1), - (0,155,51,0,0,'','ibexa_string',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,E'\n
\n','ibexa_richtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,E'\n
\n','ibexa_richtext',155,'eng-GB',3,0,'',1), - (0,179,10,0,0,'','ibexa_text',177,'eng-GB',3,0,'',2), - (0,179,14,0,0,'','ibexa_text',178,'eng-GB',3,0,'',3), - (0,180,10,0,0,'','ibexa_image',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,E'\n\n','ibexa_image',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql deleted file mode 100644 index f03b1eb85c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ibexa_content_name" ("content_translation", "content_version", "contentobject_id", "language_id", "name", "real_translation") -VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), - ('eng-GB',1,4,3,'Users','eng-GB'), - ('eng-GB',2,10,3,'Anonymous User','eng-GB'), - ('eng-GB',1,11,3,'Guest accounts','eng-GB'), - ('eng-GB',1,12,3,'Administrator users','eng-GB'), - ('eng-GB',1,13,3,'Editors','eng-GB'), - ('eng-GB',3,14,3,'Administrator User','eng-GB'), - ('eng-GB',1,41,3,'Media','eng-GB'), - ('eng-GB',1,42,3,'Anonymous users','eng-GB'), - ('eng-GB',1,49,3,'Images','eng-GB'), - ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql deleted file mode 100644 index e373f6d94e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql +++ /dev/null @@ -1,14 +0,0 @@ -INSERT INTO "ibexa_content_tree" ("contentobject_id", "contentobject_is_published", "contentobject_version", "depth", "is_hidden", "is_invisible", "main_node_id", "modified_subnode", "node_id", "parent_node_id", "path_identification_string", "path_string", "priority", "remote_id", "sort_field", "sort_order") -VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql deleted file mode 100644 index 6da2948ddc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ibexa_content_version" ("contentobject_id", "created", "creator_id", "id", "initial_language_id", "language_mask", "modified", "status", "user_id", "version", "workflow_event_pos") -VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql deleted file mode 100644 index 3c2930a01a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ibexa_node_assignment" ("contentobject_id", "contentobject_version", "from_node_id", "id", "is_main", "op_code", "parent_node", "parent_remote_id", "remote_id", "sort_field", "sort_order", "priority", "is_hidden") -VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), - (42,1,0,5,1,2,5,'','0',9,1,0,0), - (10,2,-1,6,1,2,44,'','0',9,1,0,0), - (4,1,0,7,1,2,1,'','0',1,1,0,0), - (12,1,0,8,1,2,5,'','0',1,1,0,0), - (13,1,0,9,1,2,5,'','0',1,1,0,0), - (41,1,0,11,1,2,1,'','0',1,1,0,0), - (11,1,0,12,1,2,5,'','0',1,1,0,0), - (49,1,0,27,1,2,43,'','0',9,1,0,0), - (50,1,0,28,1,2,43,'','0',9,1,0,0), - (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql deleted file mode 100644 index 0509cded66..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql +++ /dev/null @@ -1,9 +0,0 @@ -INSERT INTO "ibexa_policy" ("function_name", "id", "module_name", "original_id", "role_id") -VALUES ('*',317,'content',0,3), - ('login',319,'user',0,3), - ('read',328,'content',0,1), - ('login',331,'user',0,1), - ('*',332,'*',0,2), - ('read',333,'content',0,4), - ('view_embed',334,'content',0,1), - ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql deleted file mode 100644 index 5ee58ed2d5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ibexa_policy_limitation" ("id", "identifier", "policy_id") -VALUES (251,'Section',328), - (252,'Section',329), - (253,'SiteAccess',331), - (254,'Class',333), - (255,'Owner',333), - (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql deleted file mode 100644 index 1b1e99a293..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql +++ /dev/null @@ -1,8 +0,0 @@ -INSERT INTO "ibexa_policy_limitation_value" ("id", "limitation_id", "value") -VALUES (477,251,'1'), - (478,252,'1'), - (479,253,'1766001124'), - (480,254,'4'), - (481,255,'1'), - (482,256,'5'), - (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql deleted file mode 100644 index 2ef278a3f2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql +++ /dev/null @@ -1,5 +0,0 @@ -INSERT INTO "ibexa_role" ("id", "is_new", "name", "value", "version") -VALUES (1,0,'Anonymous','',0), - (2,0,'Administrator','0',0), - (3,0,'Editor','',0), - (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql deleted file mode 100644 index 67a4ec349a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO "ibexa_section" ("id", "identifier", "locale", "name", "navigation_part_identifier") -VALUES (1,'standard','','Standard','ezcontentnavigationpart'), - (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql deleted file mode 100644 index 6bfb9642f5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ibexa_site_data" ("name", "value") -VALUES ('ibexa-release','5.0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql deleted file mode 100644 index 6261b39f37..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ibexa_url_alias" ("destination_url", "forward_to_id", "id", "is_imported", "is_internal", "is_wildcard", "source_md5", "source_url") -VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), - ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), - ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), - ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), - ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), - ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), - ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), - ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), - ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), - ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), - ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql deleted file mode 100644 index 1d3efbc851..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql +++ /dev/null @@ -1,26 +0,0 @@ -INSERT INTO "ibexa_url_alias_ml" ("action", "action_type", "alias_redirects", "id", "is_alias", "is_original", "lang_mask", "link", "parent", "text", "text_md5") -VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), - ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), - ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), - ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), - ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), - ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), - ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), - ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), - ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), - ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), - ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), - ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), - ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), - ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), - ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), - ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), - ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), - ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), - ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), - ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), - ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql deleted file mode 100644 index ca0299588d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO "ibexa_url_alias_ml_incr" ("id") -VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql deleted file mode 100644 index 223331fee9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO "ibexa_user" ("contentobject_id", "email", "login", "password_hash", "password_hash_type") -VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql deleted file mode 100644 index 8d29a039bf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ibexa_user_role" ("contentobject_id", "id", "limit_identifier", "limit_value", "role_id") -VALUES (11,28,'','',1), - (42,31,'','',1), - (13,32,'Subtree','/1/2/',3), - (13,33,'Subtree','/1/43/',3), - (12,34,'','',2), - (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql deleted file mode 100644 index bc4b6d2e02..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO "ibexa_user_setting" ("is_enabled", "max_login", "user_id") -VALUES (1, 1000, 10), - (1, 10, 14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql deleted file mode 100644 index 73d0e999e8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ibexa_user_preference" ("name", "user_id", "value") -SELECT 'focus_mode', u.contentobject_id, '0' FROM "ibexa_user" u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql deleted file mode 100644 index 35ea9e6454..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql +++ /dev/null @@ -1,2 +0,0 @@ --- Set proper sequence values after inserting data -SELECT SETVAL('ibexa_object_state_group_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_object_state_group; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql deleted file mode 100644 index 143449a4de..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_object_state_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_object_state; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql deleted file mode 100644 index a7be654d44..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_bookmark_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_bookmark; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql deleted file mode 100644 index 35f9eec982..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_type_field_definition_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_type_field_definition; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql deleted file mode 100644 index 918015bbe8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_type_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_type; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql deleted file mode 100644 index 672e305275..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_type_group_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_type_group; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql deleted file mode 100644 index 7b6d0cfe1d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_field_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_field; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql deleted file mode 100644 index 20229bca7a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql deleted file mode 100644 index 1857a4d6ea..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_relation_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_relation; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql deleted file mode 100644 index aa3cfe2c04..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_tree_node_id_seq', COALESCE(MAX(node_id), 1) ) FROM ibexa_content_tree; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql deleted file mode 100644 index f0c12436af..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_version_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_version; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql deleted file mode 100644 index 86730112e4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_image_file_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_image_file; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql deleted file mode 100644 index 1767283a6b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_keyword_field_link_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_keyword_field_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql deleted file mode 100644 index 1f06e40462..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_keyword_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_keyword; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql deleted file mode 100644 index 69d629bb29..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_node_assignment_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_node_assignment; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql deleted file mode 100644 index 29ef5708ee..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_notification_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_notification; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql deleted file mode 100644 index e88663a73b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_package_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_package; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql deleted file mode 100644 index 7da0578503..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_policy_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_policy; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql deleted file mode 100644 index a731325f17..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_policy_limitation_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_policy_limitation; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql deleted file mode 100644 index 8de743a58e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_policy_limitation_value_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_policy_limitation_value; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql deleted file mode 100644 index 727674f0af..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_user_preference_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_user_preference; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql deleted file mode 100644 index 542cbd22d1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_role_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_role; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql deleted file mode 100644 index c5028e319f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_search_object_word_link_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_search_object_word_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql deleted file mode 100644 index 20334d7f3a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_search_word_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_search_word; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql deleted file mode 100644 index 285bbdd057..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_section_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_section; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql deleted file mode 100644 index e9c38e4fb4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_url_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql deleted file mode 100644 index 3785200f46..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_url_alias_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url_alias; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql deleted file mode 100644 index 278e452839..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_url_alias_ml_incr_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url_alias_ml_incr; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql deleted file mode 100644 index 51ec0baedb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_url_wildcard_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url_wildcard; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql deleted file mode 100644 index dcda0cd494..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_user_accountkey_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_user_accountkey; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql deleted file mode 100644 index 5047855424..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_user_role_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_user_role; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql deleted file mode 100644 index 72666e79c5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_binary_file (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, download_count INTEGER DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql deleted file mode 100644 index ecfba429b9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql deleted file mode 100644 index 5826aaef24..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql deleted file mode 100644 index 60be743406..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql deleted file mode 100644 index 38a0fa6827..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql deleted file mode 100644 index e0a49092df..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_group (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql deleted file mode 100644 index 507f119efb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql deleted file mode 100644 index d3a6cf12d0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql deleted file mode 100644 index 7a74ca31eb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_group_language (contentobject_state_group_id INTEGER DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql deleted file mode 100644 index 1db6e699f1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_language (contentobject_state_id INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql deleted file mode 100644 index 9c930f3b81..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_link (contentobject_id INTEGER DEFAULT 0 NOT NULL, contentobject_state_id INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql deleted file mode 100644 index 54f650f8ff..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_language (id BIGINT DEFAULT 0 NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql deleted file mode 100644 index f95137a14e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql deleted file mode 100644 index 283e5d125d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user (contentobject_id INTEGER DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INTEGER DEFAULT 1 NOT NULL, password_updated_at INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql deleted file mode 100644 index b49abbfa91..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql deleted file mode 100644 index bf8300cb6e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_tree (node_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_is_published INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql deleted file mode 100644 index d686c910b2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql deleted file mode 100644 index 0f9daed470..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql deleted file mode 100644 index 1712708976..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql deleted file mode 100644 index ef847742e7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql deleted file mode 100644 index eab7a10df6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql deleted file mode 100644 index f4d449f8c8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql deleted file mode 100644 index 597f0baf62..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql deleted file mode 100644 index f2407dd47f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql deleted file mode 100644 index 73411b24ba..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_bookmark (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, node_id INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree (node_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE, CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user (contentobject_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql deleted file mode 100644 index da8bdcb2ee..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql deleted file mode 100644 index cebfbca729..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql deleted file mode 100644 index ceb1ad9be3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql deleted file mode 100644 index 531c774503..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, status INTEGER DEFAULT 0 NOT NULL, always_available INTEGER DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB DEFAULT NULL, sort_field INTEGER DEFAULT 1 NOT NULL, sort_order INTEGER DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql deleted file mode 100644 index abefabe9f2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_status ON ibexa_content_type (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql deleted file mode 100644 index e61735359b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql deleted file mode 100644 index 490fd2d69b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_field_definition (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, status INTEGER DEFAULT 0 NOT NULL, can_translate INTEGER DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, content_type_id INTEGER DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INTEGER DEFAULT NULL, data_int2 INTEGER DEFAULT NULL, data_int3 INTEGER DEFAULT NULL, data_int4 INTEGER DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INTEGER DEFAULT 0 NOT NULL, is_required INTEGER DEFAULT 0 NOT NULL, is_searchable INTEGER DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT '0' NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, serialized_data_text CLOB DEFAULT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql deleted file mode 100644 index f8e2452ae5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql deleted file mode 100644 index 453cd13008..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql deleted file mode 100644 index 9baca2231c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_field_definition_ml (content_type_field_definition_id INTEGER NOT NULL, status INTEGER NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description CLOB DEFAULT NULL, data_text CLOB DEFAULT NULL, data_json CLOB DEFAULT NULL, PRIMARY KEY(content_type_field_definition_id, status, language_id), CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql deleted file mode 100644 index 670308e41e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql deleted file mode 100644 index 2ee133c63f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_group_assignment (content_type_id INTEGER DEFAULT 0 NOT NULL, content_type_status INTEGER DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(content_type_id, content_type_status, group_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql deleted file mode 100644 index 8556bc0d86..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_name (content_type_id INTEGER DEFAULT 0 NOT NULL, content_type_status INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(content_type_id, content_type_status, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql deleted file mode 100644 index ec89241b8b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_group (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql deleted file mode 100644 index 6af42d7369..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, content_type_id INTEGER DEFAULT 0 NOT NULL, current_version INTEGER DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0, is_hidden BOOLEAN DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql deleted file mode 100644 index 33a031bd4d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_id ON ibexa_content (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql deleted file mode 100644 index 32497a5d84..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql deleted file mode 100644 index 736a4155af..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_pub ON ibexa_content (published); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql deleted file mode 100644 index 19457bef18..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_section ON ibexa_content (section_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql deleted file mode 100644 index edd6826160..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql deleted file mode 100644 index 0790e62c88..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql deleted file mode 100644 index 48c05cd4f6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_status ON ibexa_content (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql deleted file mode 100644 index 45c31edd02..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql deleted file mode 100644 index 51e68dbdbe..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_field (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, attribute_original_id INTEGER DEFAULT 0, content_type_field_definition_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INTEGER DEFAULT NULL, data_text CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INTEGER DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql deleted file mode 100644 index 93726617f0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql deleted file mode 100644 index 4d432626a5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql deleted file mode 100644 index ec24a9b21f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX sort_key_string ON ibexa_content_field (sort_key_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql deleted file mode 100644 index c530bbb7d8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql deleted file mode 100644 index 884b7ff664..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX sort_key_int ON ibexa_content_field (sort_key_int); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql deleted file mode 100644 index 9d647be9c1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql deleted file mode 100644 index b8d2cd590a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_relation (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, content_type_field_definition_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_version INTEGER DEFAULT 0 NOT NULL, relation_type INTEGER DEFAULT 1 NOT NULL, to_contentobject_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql deleted file mode 100644 index ca644fd1dd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql deleted file mode 100644 index f62d709bae..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql deleted file mode 100644 index ef1e83724d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql deleted file mode 100644 index 95be4f4e69..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_name (contentobject_id INTEGER DEFAULT 0 NOT NULL, content_version INTEGER DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql deleted file mode 100644 index b4016f33cd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql deleted file mode 100644 index a162e3e70e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql deleted file mode 100644 index b1b1ed6f83..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql deleted file mode 100644 index cb167ea200..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_trash (node_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, trashed INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql deleted file mode 100644 index a7f3aaf8cf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql deleted file mode 100644 index 7353270650..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql deleted file mode 100644 index 8108c8112e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql deleted file mode 100644 index 7be1fea30f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql deleted file mode 100644 index 1c0b897b62..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql deleted file mode 100644 index 5a29b83d62..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql deleted file mode 100644 index 22ef073b23..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_version (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, workflow_event_pos INTEGER DEFAULT 0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql deleted file mode 100644 index 38615b8104..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql deleted file mode 100644 index 6e2dfb52fa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql deleted file mode 100644 index 1ba59bfc72..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql deleted file mode 100644 index 834ec3deb3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql deleted file mode 100644 index 14a3a4fa5a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_dfs_file (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name CLOB NOT NULL, name_trunk CLOB NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INTEGER DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT '0' NOT NULL, status BOOLEAN DEFAULT '0' NOT NULL, PRIMARY KEY(name_hash)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql deleted file mode 100644 index 8391ba0217..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql deleted file mode 100644 index 74985d0c93..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql deleted file mode 100644 index e921fe6650..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql deleted file mode 100644 index 469533ca93..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql deleted file mode 100644 index 225f2946d8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_map_location (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_version INTEGER DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql deleted file mode 100644 index 6b5b375d51..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql deleted file mode 100644 index f4294149c4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_image_file (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, filepath CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql deleted file mode 100644 index 5a95b4318b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql deleted file mode 100644 index 4134ec7b9f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql deleted file mode 100644 index a0e82d451f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_keyword (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, class_id INTEGER DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql deleted file mode 100644 index 499d339734..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql deleted file mode 100644 index 1bf50ba6c8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_keyword_field_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, keyword_id INTEGER DEFAULT 0 NOT NULL, objectattribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql deleted file mode 100644 index 982b9a7f6a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql deleted file mode 100644 index 0b45f48a7c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql deleted file mode 100644 index f26ce33baf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql deleted file mode 100644 index 597a6b775c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_media (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INTEGER DEFAULT 0, height INTEGER DEFAULT NULL, is_autoplay INTEGER DEFAULT 0, is_loop INTEGER DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql deleted file mode 100644 index 172cdae7e6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_node_assignment (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, from_node_id INTEGER DEFAULT 0, is_main INTEGER DEFAULT 0 NOT NULL, op_code INTEGER DEFAULT 0 NOT NULL, parent_node INTEGER DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, priority INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql deleted file mode 100644 index 7d474bf250..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql deleted file mode 100644 index e33fbd46b2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql deleted file mode 100644 index b6e3bb305b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql deleted file mode 100644 index ba16836181..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql deleted file mode 100644 index 0b847b3303..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_notification (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT '1' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INTEGER DEFAULT 0 NOT NULL, data CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql deleted file mode 100644 index 74453e4129..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql deleted file mode 100644 index acc0093c1c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql deleted file mode 100644 index 6f94beae79..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_package (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, install_date INTEGER DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql deleted file mode 100644 index a6592bf283..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INTEGER DEFAULT 0 NOT NULL, role_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql deleted file mode 100644 index a7390a7cc9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql deleted file mode 100644 index c84254dffc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql deleted file mode 100644 index 3ad75585d5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy_limitation (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql deleted file mode 100644 index 18d2c85a03..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql deleted file mode 100644 index e70595b525..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy_limitation_value (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, limitation_id INTEGER DEFAULT NULL, value VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql deleted file mode 100644 index 04e7f07679..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql deleted file mode 100644 index 8f30cd8184..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql deleted file mode 100644 index 29781d3a49..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_preference (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INTEGER DEFAULT 0 NOT NULL, value CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql deleted file mode 100644 index 3d17125e44..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql deleted file mode 100644 index 763c959525..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql deleted file mode 100644 index fca332a08b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_role (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, is_new INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INTEGER DEFAULT 0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql deleted file mode 100644 index 0fdc19594b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_search_object_word_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, content_type_field_definition_id INTEGER DEFAULT 0 NOT NULL, content_type_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INTEGER DEFAULT 0 NOT NULL, next_word_id INTEGER DEFAULT 0 NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, prev_word_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, section_id INTEGER DEFAULT 0 NOT NULL, word_id INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql deleted file mode 100644 index 2979febcf7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql deleted file mode 100644 index 7a7882ea59..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql deleted file mode 100644 index 561c155c92..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql deleted file mode 100644 index c78a04a41a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql deleted file mode 100644 index b3d1751e6c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql deleted file mode 100644 index 4975eb3136..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_search_word (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, object_count INTEGER DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql deleted file mode 100644 index 171471b339..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql deleted file mode 100644 index a2098d0ab4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql deleted file mode 100644 index 8df5a3a64b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_section (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql deleted file mode 100644 index 613fa731b5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_site_data (name VARCHAR(60) DEFAULT '' NOT NULL, value CLOB NOT NULL, PRIMARY KEY(name)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql deleted file mode 100644 index 4d44606ea3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, is_valid INTEGER DEFAULT 1 NOT NULL, last_checked INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql deleted file mode 100644 index 7a08f3b1db..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_url ON ibexa_url (url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql deleted file mode 100644 index abf45d5f71..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_content_link (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_attribute_version INTEGER DEFAULT 0 NOT NULL, url_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql deleted file mode 100644 index 258187b47a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql deleted file mode 100644 index 9dd2926df0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql deleted file mode 100644 index db2e9886fa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql deleted file mode 100644 index 2c2b9b0ab5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql deleted file mode 100644 index e6e5bf58a8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, forward_to_id INTEGER DEFAULT 0 NOT NULL, is_imported INTEGER DEFAULT 0 NOT NULL, is_internal INTEGER DEFAULT 1 NOT NULL, is_wildcard INTEGER DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql deleted file mode 100644 index ffe6981649..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql deleted file mode 100644 index 2e84f84a69..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql deleted file mode 100644 index daf44ce9e2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql deleted file mode 100644 index 218055c124..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql deleted file mode 100644 index cd3078d4aa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql deleted file mode 100644 index 1357e15320..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql deleted file mode 100644 index 09360d07da..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias_ml (parent INTEGER DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, "action" CLOB NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INTEGER DEFAULT 1 NOT NULL, id INTEGER DEFAULT 0 NOT NULL, is_alias INTEGER DEFAULT 0 NOT NULL, is_original INTEGER DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INTEGER DEFAULT 0 NOT NULL, text CLOB NOT NULL, PRIMARY KEY(parent, text_md5)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql deleted file mode 100644 index 80426d6d25..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql deleted file mode 100644 index 40898e833a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql deleted file mode 100644 index b66f77c26d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml ("action", id, link, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql deleted file mode 100644 index d8dd20bc1e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql deleted file mode 100644 index 9da9048bbd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml ("action", is_original); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql deleted file mode 100644 index 0cf1bc2dbf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql deleted file mode 100644 index 43d854ee19..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql deleted file mode 100644 index 1d63e3df21..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql deleted file mode 100644 index 8a61928479..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias_ml_incr (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql deleted file mode 100644 index 3fea66d9ef..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_wildcard (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, source_url CLOB NOT NULL, type INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql deleted file mode 100644 index 662e5a0e80..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_accountkey (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql deleted file mode 100644 index 261d15ac25..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX hash_key ON ibexa_user_accountkey (hash_key); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql deleted file mode 100644 index bf42a480ed..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_role (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql deleted file mode 100644 index 8c83fae5a6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql deleted file mode 100644 index f2c678cebc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql deleted file mode 100644 index f6421b7bdf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_setting (user_id INTEGER DEFAULT 0 NOT NULL, is_enabled INTEGER DEFAULT 0 NOT NULL, max_login INTEGER DEFAULT NULL, PRIMARY KEY(user_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql deleted file mode 100644 index 8d12ee2b45..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql +++ /dev/null @@ -1,2 +0,0 @@ -CREATE TABLE ibexa_setting (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value CLOB NOT NULL --(DC2Type:json) -); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql deleted file mode 100644 index d6f3d3b0dc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_setting_id ON ibexa_setting (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql deleted file mode 100644 index e2a05c6a8d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql deleted file mode 100644 index 56545a77df..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token_type (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql deleted file mode 100644 index 17f4b2cf68..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql deleted file mode 100644 index 4ccb1fc31a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, type_id INTEGER NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, expires INTEGER DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT '0' NOT NULL, CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql deleted file mode 100644 index 8217faeab1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql deleted file mode 100644 index 1d13c98da4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql deleted file mode 100644 index 28d054bae2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_object_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) -VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql deleted file mode 100644 index d6ecfca0a8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_object_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) -VALUES (2,2,'ibexa_lock',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql deleted file mode 100644 index c2cce56918..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_object_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) -VALUES (2,'',3,'Lock',2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql deleted file mode 100644 index 5447342e3b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_object_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) -VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql deleted file mode 100644 index a58c50424a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_object_state_link` (`contentobject_id`, `contentobject_state_id`) -VALUES (1, 1), - (4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql deleted file mode 100644 index 716102901f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_content_language` (`disabled`, `id`, `locale`, `name`) -VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql deleted file mode 100644 index 0acd993329..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_content_type` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `status`) -VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql deleted file mode 100644 index d88a046425..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql +++ /dev/null @@ -1,25 +0,0 @@ -INSERT INTO `ibexa_content_type_field_definition` (`can_translate`, `category`, `content_type_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `status`) -VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ibexa_string',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ibexa_string',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ibexa_user',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ibexa_string',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ibexa_image',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ibexa_richtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ibexa_richtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_boolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ibexa_string',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ibexa_binaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ibexa_author',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_object_relation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_string',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','ibexa_text',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ibexa_image',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql deleted file mode 100644 index 06892a0765..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_content_type_group_assignment` (`content_type_id`, `content_type_status`, `group_id`, `group_name`) -VALUES (1, 0, 1, 'Content'), - (2, 0, 1, 'Content'), - (3, 0, 2, 'Users'), - (4, 0, 2, 'Users'), - (5, 0, 3, 'Media'), - (12, 0, 3, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql deleted file mode 100644 index b62ac8a988..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_content_type_name` (`content_type_id`, `content_type_status`, `language_id`, `language_locale`, `name`) -VALUES (1, 0, 2, 'eng-GB', 'Folder'), - (2, 0, 3, 'eng-GB', 'Article'), - (3, 0, 3, 'eng-GB', 'User group'), - (4, 0, 3, 'eng-GB', 'User'), - (5, 0, 3, 'eng-GB', 'Image'), - (12, 0, 3, 'eng-GB', 'File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql deleted file mode 100644 index 2eb94f3b43..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ibexa_content_type_group` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) -VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), - (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql deleted file mode 100644 index 7108cc1143..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_content` (`content_type_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) -VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), - (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), - (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), - (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), - (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), - (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), - (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), - (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), - (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), - (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), - (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql deleted file mode 100644 index 0d542f8dbd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql +++ /dev/null @@ -1,41 +0,0 @@ -INSERT INTO `ibexa_content_field` (`attribute_original_id`, `content_type_field_definition_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) -VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ibexa_string',1,'eng-GB',3,0,'ibexa platform',9), - (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ibexa_richtext',2,'eng-GB',3,0,'',9), - (0,7,4,NULL,NULL,'Main group','ibexa_string',7,'eng-GB',3,0,'',1), - (0,6,4,NULL,NULL,'Users','ibexa_string',8,'eng-GB',3,0,'',1), - (0,8,10,0,0,'Anonymous','ibexa_string',19,'eng-GB',3,0,'anonymous',2), - (0,9,10,0,0,'User','ibexa_string',20,'eng-GB',3,0,'user',2), - (0,12,10,0,0,'','ibexa_user',21,'eng-GB',3,0,'',2), - (0,6,11,0,0,'Guest accounts','ibexa_string',22,'eng-GB',3,0,'',1), - (0,7,11,0,0,'','ibexa_string',23,'eng-GB',3,0,'',1), - (0,6,12,0,0,'Administrator users','ibexa_string',24,'eng-GB',3,0,'',1), - (0,7,12,0,0,'','ibexa_string',25,'eng-GB',3,0,'',1), - (0,6,13,0,0,'Editors','ibexa_string',26,'eng-GB',3,0,'',1), - (0,7,13,0,0,'','ibexa_string',27,'eng-GB',3,0,'',1), - (0,8,14,0,0,'Administrator','ibexa_string',28,'eng-GB',3,0,'administrator',3), - (0,9,14,0,0,'User','ibexa_string',29,'eng-GB',3,0,'user',3), - (30,12,14,0,0,'','ibexa_user',30,'eng-GB',3,0,'',3), - (0,4,41,0,0,'Media','ibexa_string',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,'\n
\n','ibexa_richtext',99,'eng-GB',3,0,'',1), - (0,6,42,0,0,'Anonymous users','ibexa_string',100,'eng-GB',3,0,'anonymous users',1), - (0,7,42,0,0,'User group for the anonymous user','ibexa_string',101,'eng-GB',3,0,'user group for the anonymous user',1), - (0,155,1,NULL,NULL,'Ibexa Platform','ibexa_string',102,'eng-GB',3,0,'ibexa platform',9), - (0,155,41,0,0,'','ibexa_string',103,'eng-GB',3,0,'',1), - (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ibexa_richtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,'\n
\n','ibexa_richtext',105,'eng-GB',3,0,'',1), - (0,4,49,0,0,'Images','ibexa_string',142,'eng-GB',3,0,'images',1), - (0,155,49,0,0,'','ibexa_string',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,'\n
\n','ibexa_richtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,'\n
\n','ibexa_richtext',145,'eng-GB',3,0,'',1), - (0,4,50,0,0,'Files','ibexa_string',147,'eng-GB',3,0,'files',1), - (0,155,50,0,0,'','ibexa_string',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,'\n
\n','ibexa_richtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,'\n
\n','ibexa_richtext',150,'eng-GB',3,0,'',1), - (0,4,51,0,0,'Multimedia','ibexa_string',152,'eng-GB',3,0,'multimedia',1), - (0,155,51,0,0,'','ibexa_string',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,'\n
\n','ibexa_richtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,'\n
\n','ibexa_richtext',155,'eng-GB',3,0,'',1), - (0,179,10,0,0,'','ibexa_text',177,'eng-GB',3,0,'',2), - (0,179,14,0,0,'','ibexa_text',178,'eng-GB',3,0,'',3), - (0,180,10,0,0,'','ibexa_image',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,'\n\n','ibexa_image',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql deleted file mode 100644 index c36299fd6a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_content_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) -VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), - ('eng-GB',1,4,3,'Users','eng-GB'), - ('eng-GB',2,10,3,'Anonymous User','eng-GB'), - ('eng-GB',1,11,3,'Guest accounts','eng-GB'), - ('eng-GB',1,12,3,'Administrator users','eng-GB'), - ('eng-GB',1,13,3,'Editors','eng-GB'), - ('eng-GB',3,14,3,'Administrator User','eng-GB'), - ('eng-GB',1,41,3,'Media','eng-GB'), - ('eng-GB',1,42,3,'Anonymous users','eng-GB'), - ('eng-GB',1,49,3,'Images','eng-GB'), - ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql deleted file mode 100644 index 65d092ccef..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql +++ /dev/null @@ -1,14 +0,0 @@ -INSERT INTO `ibexa_content_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) -VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql deleted file mode 100644 index 83f4e503e7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_content_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) -VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql deleted file mode 100644 index 9640698edf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_node_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) -VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), - (42,1,0,5,1,2,5,'','0',9,1,0,0), - (10,2,-1,6,1,2,44,'','0',9,1,0,0), - (4,1,0,7,1,2,1,'','0',1,1,0,0), - (12,1,0,8,1,2,5,'','0',1,1,0,0), - (13,1,0,9,1,2,5,'','0',1,1,0,0), - (41,1,0,11,1,2,1,'','0',1,1,0,0), - (11,1,0,12,1,2,5,'','0',1,1,0,0), - (49,1,0,27,1,2,43,'','0',9,1,0,0), - (50,1,0,28,1,2,43,'','0',9,1,0,0), - (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql deleted file mode 100644 index 4d51ce8204..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql +++ /dev/null @@ -1,9 +0,0 @@ -INSERT INTO `ibexa_policy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) -VALUES ('*',317,'content',0,3), - ('login',319,'user',0,3), - ('read',328,'content',0,1), - ('login',331,'user',0,1), - ('*',332,'*',0,2), - ('read',333,'content',0,4), - ('view_embed',334,'content',0,1), - ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql deleted file mode 100644 index cc61881062..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_policy_limitation` (`id`, `identifier`, `policy_id`) -VALUES (251,'Section',328), - (252,'Section',329), - (253,'SiteAccess',331), - (254,'Class',333), - (255,'Owner',333), - (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql deleted file mode 100644 index 4ac14df7f5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql +++ /dev/null @@ -1,8 +0,0 @@ -INSERT INTO `ibexa_policy_limitation_value` (`id`, `limitation_id`, `value`) -VALUES (477,251,'1'), - (478,252,'1'), - (479,253,'1766001124'), - (480,254,'4'), - (481,255,'1'), - (482,256,'5'), - (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql deleted file mode 100644 index cde93d16ed..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql +++ /dev/null @@ -1,5 +0,0 @@ -INSERT INTO `ibexa_role` (`id`, `is_new`, `name`, `value`, `version`) -VALUES (1,0,'Anonymous','',0), - (2,0,'Administrator','0',0), - (3,0,'Editor','',0), - (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql deleted file mode 100644 index 0436a276f7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ibexa_section` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) -VALUES (1,'standard','','Standard','ezcontentnavigationpart'), - (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql deleted file mode 100644 index 1315785c03..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_site_data` (`name`, `value`) -VALUES ('ibexa-release','5.0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql deleted file mode 100644 index 9b111ca869..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_url_alias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) -VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), - ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), - ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), - ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), - ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), - ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), - ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), - ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), - ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), - ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), - ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql deleted file mode 100644 index d9a59e6dc4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql +++ /dev/null @@ -1,26 +0,0 @@ -INSERT INTO `ibexa_url_alias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) -VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), - ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), - ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), - ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), - ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), - ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), - ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), - ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), - ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), - ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), - ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), - ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), - ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), - ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), - ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), - ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), - ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), - ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), - ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), - ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), - ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql deleted file mode 100644 index 755c37655a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ibexa_url_alias_ml_incr` (`id`) -VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql deleted file mode 100644 index a7d0cf247c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_user` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) -VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql deleted file mode 100644 index 4dbaff1fbd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_user_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) -VALUES (11,28,'','',1), - (42,31,'','',1), - (13,32,'Subtree','/1/2/',3), - (13,33,'Subtree','/1/43/',3), - (12,34,'','',2), - (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql deleted file mode 100644 index a3c25ef316..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_user_setting` (`is_enabled`, `max_login`, `user_id`) -VALUES (1,1000,10), - (1,10,14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql deleted file mode 100644 index 6643c6b914..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_user_preference` (`name`, `user_id`, `value`) -SELECT 'focus_mode', u.contentobject_id, '0' FROM `ibexa_user` u WHERE u.login = 'admin'; From 0d8d7f6408519bdbd6ee596201c1de03ad84be55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Mon, 20 Jul 2026 11:36:01 +0200 Subject: [PATCH 14/38] Split monolithic schema migration into 4.6.0 baseline + 5.0.0 rename diff InstallSchemaMigration/ImportDataMigration previously recreated the already-renamed (ibexa_*) schema from scratch on every branch, tagged 4.6.0. This meant an existing 4.6 install (still using legacy ez* table names) had no real migration path to 5.0/6.0. Reuse the 4.6-shaped baseline (legacy ez* names, correct on the 4.6 branch) and add RenameSchemaTo5_0Migration (tagged 5.0.0) containing the actual rename statements, sourced from ibexa/installer's own shipped upgrade SQL (upgrade/db/{mysql,postgresql}/ibexa-4.6.latest-to-5.0.0.sql). SQLite equivalents were derived and verified end-to-end against a real SQLite connection (table/index names now match a fresh dump-sql of the current schema.yaml exactly). --- .../Migration/RenameSchemaTo5_0Migration.php | 2041 +++++++++++++++++ .../Resources/config/services.yml | 8 + 2 files changed, 2049 insertions(+) create mode 100644 src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php diff --git a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php new file mode 100644 index 0000000000..d6b7c79a38 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php @@ -0,0 +1,2041 @@ +platform instanceof AbstractMySQLPlatform) { + $this->addSql(<<<'SQL' + ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state RENAME TO ibexa_object_state + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_priority TO ibexa_object_state_priority + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_lmask TO ibexa_object_state_lmask + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_identifier TO ibexa_object_state_identifier + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_lmask TO ibexa_object_state_group_lmask + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_identifier TO ibexa_object_state_group_identifier + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontent_language RENAME TO ibexa_content_language + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_language RENAME INDEX ezcontent_language_name TO ibexa_content_language_name + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_location TO ibexa_content_bookmark_location + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user TO ibexa_content_bookmark_user + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user_location TO ibexa_content_bookmark_user_location + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass RENAME TO ibexa_content_type + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_version TO ibexa_content_type_version + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_identifier TO ibexa_content_type_identifier + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_ccid TO ibexa_content_type_field_definition_ctid + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_dts TO ibexa_content_type_field_definition_dts + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition_ml DROP FOREIGN KEY ezcontentclass_attribute_ml_lang_fk + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_p_node_id TO ibexa_content_tree_p_node_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path_ident TO ibexa_content_tree_path_ident + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_contentobject_id_path_string TO ibexa_content_tree_contentobject_id_path_string + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_co_id TO ibexa_content_tree_co_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_depth TO ibexa_content_tree_depth + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path TO ibexa_content_tree_path + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_tree RENAME INDEX modified_subnode TO ibexa_content_modified_subnode + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_remote_id TO ibexa_content_tree_remote_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_location_fk + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject RENAME TO ibexa_content + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_classid TO ibexa_content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_lmask TO ibexa_content_lmask + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_pub TO ibexa_content_pub + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_section TO ibexa_content_section + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_currentversion TO ibexa_content_currentversion + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_owner TO ibexa_content_owner + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_status TO ibexa_content_status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_remote_id TO ibexa_content_remote_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver_lang_code TO ibexa_content_field_co_id_ver_lang_code + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_classattr_id TO ibexa_content_field_classattr_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_language_code TO ibexa_content_field_language_code + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver TO ibexa_content_field_co_id_ver + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_to_co_id TO ibexa_content_relation_to_co_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_from TO ibexa_content_relation_from + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_cca_id TO ibexa_content_relation_cca_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_lang_id TO ibexa_content_name_lang_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_cov_id TO ibexa_content_name_cov_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_name TO ibexa_content_name_name + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_depth TO ibexa_content_trash_depth + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_p_node_id TO ibexa_content_trash_p_node_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path_ident TO ibexa_content_trash_path_ident + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_co_id TO ibexa_content_trash_co_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_modified_subnode TO ibexa_content_trash_modified_subnode + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path TO ibexa_content_trash_path + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_status TO ibexa_content_version_status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_version RENAME INDEX idx_object_version_objver TO ibexa_content_version_idx_ver + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_version RENAME INDEX ezcontobj_version_obj_status TO ibexa_content_version_idx_status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_creator_id TO ibexa_content_version_creator_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name_trunk TO ibexa_dfs_file_name_trunk + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_expired_name TO ibexa_dfs_file_expired_name + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name TO ibexa_dfs_file_name + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_mtime TO ibexa_dfs_file_mtime + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_map_location RENAME INDEX latitude_longitude_key TO ibexa_map_location_latitude_longitude_key + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezimagefile RENAME TO ibexa_image_file + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_file TO ibexa_image_file_file + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_coid TO ibexa_image_file_coid + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezkeyword RENAME TO ibexa_keyword + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_keyword RENAME INDEX ezkeyword_keyword TO ibexa_keyword_keyword + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid TO ibexa_keyword_field_link_oaid + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_kid_oaid TO ibexa_keyword_field_link_kid_oaid + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid_ver TO ibexa_keyword_field_link_oaid_ver + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezmedia RENAME TO ibexa_media + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_is_main TO ibexa_node_assignment_is_main + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_coid_cov TO ibexa_node_assignment_coid_cov + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_parent_node TO ibexa_node_assignment_parent_node + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_co_version TO ibexa_node_assignment_co_version + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE eznotification RENAME TO ibexa_notification + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner_is_pending TO ibexa_notification_owner_is_pending + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner TO ibexa_notification_owner + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpackage RENAME TO ibexa_package + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpolicy RENAME TO ibexa_policy + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_role_id TO ibexa_policy_role_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_original_id TO ibexa_policy_original_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_policy_limitation RENAME INDEX policy_id TO ibexa_policy_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limit_value_limit_id TO ibexa_policy_limit_value_limit_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limitation_value_val TO ibexa_policy_limitation_value_val + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpreferences RENAME TO ibexa_user_preference + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_user_id_idx TO ibexa_user_preference_user_id_idx + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_name TO ibexa_user_preference_name + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezrole RENAME TO ibexa_role + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_object TO ibexa_search_object_word_link_object + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_identifier TO ibexa_search_object_word_link_identifier + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_integer_value TO ibexa_search_object_word_link_integer_value + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_word TO ibexa_search_object_word_link_word + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_frequency TO ibexa_search_object_word_link_frequency + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezsearch_word RENAME TO ibexa_search_word + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_word_i TO ibexa_search_word_word_i + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_obj_count TO ibexa_search_word_obj_count + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezsection RENAME TO ibexa_section + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezsite_data RENAME TO ibexa_site_data + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurl RENAME TO ibexa_url + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url RENAME INDEX ezurl_url TO ibexa_url_url + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id TO ibexa_url_ol_coa_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_url_id TO ibexa_url_ol_url_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_version TO ibexa_url_ol_coa_version + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id_cav TO ibexa_url_ol_coa_id_cav + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurlalias RENAME TO ibexa_url_alias + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_md5 TO ibexa_url_alias_source_md5 + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_wcard_fwd TO ibexa_url_alias_wcard_fwd + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_forward_to_id TO ibexa_url_alias_forward_to_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_imp_wcard_fwd TO ibexa_url_alias_imp_wcard_fwd + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_url TO ibexa_url_alias_source_url + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_desturl TO ibexa_url_alias_desturl + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_actt_org_al TO ibexa_url_alias_ml_actt_org_al + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text_lang TO ibexa_url_alias_ml_text_lang + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_act_id_lnk TO ibexa_url_alias_ml_par_act_id_lnk + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_lnk_txt TO ibexa_url_alias_ml_par_lnk_txt + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_act_org TO ibexa_url_alias_ml_act_org + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text TO ibexa_url_alias_ml_text + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_link TO ibexa_url_alias_ml_link + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_id TO ibexa_url_alias_ml_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezuser RENAME TO ibexa_user + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_user RENAME INDEX ezuser_login TO ibexa_user_login + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezuser_role RENAME TO ibexa_user_role + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_role_id TO ibexa_user_role_role_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_contentobject_id TO ibexa_user_role_contentobject_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_user_fk + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type RENAME INDEX ibexa_content_type_version TO ibexa_content_type_status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type RENAME COLUMN version TO status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_field RENAME INDEX ibexa_content_field_classattr_id TO ibexa_content_field_field_definition_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_relation RENAME INDEX ibexa_content_relation_cca_id TO ibexa_content_relation_ccfd_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id + SQL); + + $this->addSql(<<<'SQL' + UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock' + SQL); + $this->addSql(<<<'SQL' + UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' + SQL); + $this->addSql(<<<'SQL' + UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' + SQL); + } elseif ($this->platform instanceof PostgreSQLPlatform) { + $this->addSql(<<<'SQL' + ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state RENAME TO ibexa_object_state + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_state_priority RENAME TO ibexa_object_state_priority + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_state_lmask RENAME TO ibexa_object_state_lmask + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_state_identifier RENAME TO ibexa_object_state_identifier + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_state_group_lmask RENAME TO ibexa_object_state_group_lmask + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_state_group_identifier RENAME TO ibexa_object_state_group_identifier + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontent_language RENAME TO ibexa_content_language + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontent_language_name RENAME TO ibexa_content_language_name + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentbrowsebookmark_location RENAME TO ibexa_content_bookmark_location + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentbrowsebookmark_user RENAME TO ibexa_content_bookmark_user + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentbrowsebookmark_user_location RENAME TO ibexa_content_bookmark_user_location + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass RENAME TO ibexa_content_type + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentclass_version RENAME TO ibexa_content_type_version + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentclass_identifier RENAME TO ibexa_content_type_identifier + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentclass_attr_ccid RENAME TO ibexa_content_type_field_definition_ctid + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentclass_attr_dts RENAME TO ibexa_content_type_field_definition_dts + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition_ml DROP CONSTRAINT ezcontentclass_attribute_ml_lang_fk + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_tree_p_node_id RENAME TO ibexa_content_tree_p_node_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_tree_path_ident RENAME TO ibexa_content_tree_path_ident + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_tree_contentobject_id_path_string RENAME TO ibexa_content_tree_contentobject_id_path_string + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_tree_co_id RENAME TO ibexa_content_tree_co_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_tree_depth RENAME TO ibexa_content_tree_depth + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_tree_path RENAME TO ibexa_content_tree_path + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX modified_subnode RENAME TO ibexa_content_modified_subnode + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_tree_remote_id RENAME TO ibexa_content_tree_remote_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_location_fk + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject RENAME TO ibexa_content + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_classid RENAME TO ibexa_content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_lmask RENAME TO ibexa_content_lmask + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_pub RENAME TO ibexa_content_pub + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_section RENAME TO ibexa_content_section + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_currentversion RENAME TO ibexa_content_currentversion + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_owner RENAME TO ibexa_content_owner + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_status RENAME TO ibexa_content_status + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_remote_id RENAME TO ibexa_content_remote_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_attribute_co_id_ver_lang_code RENAME TO ibexa_content_field_co_id_ver_lang_code + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_classattr_id RENAME TO ibexa_content_field_classattr_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_attribute_language_code RENAME TO ibexa_content_field_language_code + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_attribute_co_id_ver RENAME TO ibexa_content_field_co_id_ver + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezco_link_to_co_id RENAME TO ibexa_content_relation_to_co_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezco_link_from RENAME TO ibexa_content_relation_from + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezco_link_cca_id RENAME TO ibexa_content_relation_cca_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_name_lang_id RENAME TO ibexa_content_name_lang_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_name_cov_id RENAME TO ibexa_content_name_cov_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontentobject_name_name RENAME TO ibexa_content_name_name + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_trash_depth RENAME TO ibexa_content_trash_depth + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_trash_p_node_id RENAME TO ibexa_content_trash_p_node_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_trash_path_ident RENAME TO ibexa_content_trash_path_ident + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_trash_co_id RENAME TO ibexa_content_trash_co_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_trash_modified_subnode RENAME TO ibexa_content_trash_modified_subnode + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_trash_path RENAME TO ibexa_content_trash_path + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_version_status RENAME TO ibexa_content_version_status + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX idx_object_version_objver RENAME TO ibexa_content_version_idx_ver + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcontobj_version_obj_status RENAME TO ibexa_content_version_idx_status + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezcobj_version_creator_id RENAME TO ibexa_content_version_creator_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezdfsfile_name_trunk RENAME TO ibexa_dfs_file_name_trunk + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezdfsfile_expired_name RENAME TO ibexa_dfs_file_expired_name + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezdfsfile_name RENAME TO ibexa_dfs_file_name + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezdfsfile_mtime RENAME TO ibexa_dfs_file_mtime + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX latitude_longitude_key RENAME TO ibexa_map_location_latitude_longitude_key + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezimagefile RENAME TO ibexa_image_file + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezimagefile_file RENAME TO ibexa_image_file_file + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezimagefile_coid RENAME TO ibexa_image_file_coid + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezkeyword RENAME TO ibexa_keyword + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezkeyword_keyword RENAME TO ibexa_keyword_keyword + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezkeyword_attr_link_oaid RENAME TO ibexa_keyword_field_link_oaid + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezkeyword_attr_link_kid_oaid RENAME TO ibexa_keyword_field_link_kid_oaid + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezkeyword_attr_link_oaid_ver RENAME TO ibexa_keyword_field_link_oaid_ver + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezmedia RENAME TO ibexa_media + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX eznode_assignment_is_main RENAME TO ibexa_node_assignment_is_main + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX eznode_assignment_coid_cov RENAME TO ibexa_node_assignment_coid_cov + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX eznode_assignment_parent_node RENAME TO ibexa_node_assignment_parent_node + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX eznode_assignment_co_version RENAME TO ibexa_node_assignment_co_version + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE eznotification RENAME TO ibexa_notification + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX eznotification_owner_is_pending RENAME TO ibexa_notification_owner_is_pending + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX eznotification_owner RENAME TO ibexa_notification_owner + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpackage RENAME TO ibexa_package + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpolicy RENAME TO ibexa_policy + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezpolicy_role_id RENAME TO ibexa_policy_role_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezpolicy_original_id RENAME TO ibexa_policy_original_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX policy_id RENAME TO ibexa_policy_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezpolicy_limit_value_limit_id RENAME TO ibexa_policy_limit_value_limit_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezpolicy_limitation_value_val RENAME TO ibexa_policy_limitation_value_val + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpreferences RENAME TO ibexa_user_preference + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezpreferences_user_id_idx RENAME TO ibexa_user_preference_user_id_idx + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezpreferences_name RENAME TO ibexa_user_preference_name + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezrole RENAME TO ibexa_role + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezsearch_object_word_link_object RENAME TO ibexa_search_object_word_link_object + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezsearch_object_word_link_identifier RENAME TO ibexa_search_object_word_link_identifier + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezsearch_object_word_link_integer_value RENAME TO ibexa_search_object_word_link_integer_value + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezsearch_object_word_link_word RENAME TO ibexa_search_object_word_link_word + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezsearch_object_word_link_frequency RENAME TO ibexa_search_object_word_link_frequency + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezsearch_word RENAME TO ibexa_search_word + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezsearch_word_word_i RENAME TO ibexa_search_word_word_i + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezsearch_word_obj_count RENAME TO ibexa_search_word_obj_count + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezsection RENAME TO ibexa_section + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezsite_data RENAME TO ibexa_site_data + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurl RENAME TO ibexa_url + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurl_url RENAME TO ibexa_url_url + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurl_ol_coa_id RENAME TO ibexa_url_ol_coa_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurl_ol_url_id RENAME TO ibexa_url_ol_url_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurl_ol_coa_version RENAME TO ibexa_url_ol_coa_version + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurl_ol_coa_id_cav RENAME TO ibexa_url_ol_coa_id_cav + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurlalias RENAME TO ibexa_url_alias + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_source_md5 RENAME TO ibexa_url_alias_source_md5 + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_wcard_fwd RENAME TO ibexa_url_alias_wcard_fwd + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_forward_to_id RENAME TO ibexa_url_alias_forward_to_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_imp_wcard_fwd RENAME TO ibexa_url_alias_imp_wcard_fwd + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_source_url RENAME TO ibexa_url_alias_source_url + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_desturl RENAME TO ibexa_url_alias_desturl + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_ml_actt_org_al RENAME TO ibexa_url_alias_ml_actt_org_al + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_ml_text_lang RENAME TO ibexa_url_alias_ml_text_lang + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_ml_par_act_id_lnk RENAME TO ibexa_url_alias_ml_par_act_id_lnk + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_ml_par_lnk_txt RENAME TO ibexa_url_alias_ml_par_lnk_txt + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_ml_act_org RENAME TO ibexa_url_alias_ml_act_org + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_ml_text RENAME TO ibexa_url_alias_ml_text + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_ml_link RENAME TO ibexa_url_alias_ml_link + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezurlalias_ml_id RENAME TO ibexa_url_alias_ml_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezuser RENAME TO ibexa_user + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezuser_login RENAME TO ibexa_user_login + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezuser_role RENAME TO ibexa_user_role + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezuser_role_role_id RENAME TO ibexa_user_role_role_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ezuser_role_contentobject_id RENAME TO ibexa_user_role_contentobject_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_user_fk + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ibexa_content_type_version RENAME TO ibexa_content_type_status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type RENAME COLUMN version TO status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ibexa_content_field_classattr_id RENAME TO ibexa_content_field_field_definition_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id + SQL); + $this->addSql(<<<'SQL' + ALTER INDEX ibexa_content_relation_cca_id RENAME TO ibexa_content_relation_ccfd_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezcobj_state_group_id_seq RENAME TO ibexa_object_state_group_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezcobj_state_id_seq RENAME TO ibexa_object_state_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezcontentbrowsebookmark_id_seq RENAME TO ibexa_content_bookmark_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezcontentclass_attribute_id_seq RENAME TO ibexa_content_type_field_definition_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezcontentclass_id_seq RENAME TO ibexa_content_type_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezcontentclassgroup_id_seq RENAME TO ibexa_content_type_group_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezcontentobject_attribute_id_seq RENAME TO ibexa_content_field_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezcontentobject_id_seq RENAME TO ibexa_content_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezcontentobject_link_id_seq RENAME TO ibexa_content_relation_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezcontentobject_tree_node_id_seq RENAME TO ibexa_content_tree_node_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezcontentobject_version_id_seq RENAME TO ibexa_content_version_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezimagefile_id_seq RENAME TO ibexa_image_file_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezkeyword_attribute_link_id_seq RENAME TO ibexa_keyword_field_link_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezkeyword_id_seq RENAME TO ibexa_keyword_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE eznode_assignment_id_seq RENAME TO ibexa_node_assignment_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE eznotification_id_seq RENAME TO ibexa_notification_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezpackage_id_seq RENAME TO ibexa_package_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezpolicy_id_seq RENAME TO ibexa_policy_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezpolicy_limitation_id_seq RENAME TO ibexa_policy_limitation_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezpolicy_limitation_value_id_seq RENAME TO ibexa_policy_limitation_value_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezpreferences_id_seq RENAME TO ibexa_user_preference_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezrole_id_seq RENAME TO ibexa_role_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezsearch_object_word_link_id_seq RENAME TO ibexa_search_object_word_link_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezsearch_word_id_seq RENAME TO ibexa_search_word_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezsection_id_seq RENAME TO ibexa_section_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezurl_id_seq RENAME TO ibexa_url_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezurlalias_id_seq RENAME TO ibexa_url_alias_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezurlalias_ml_incr_id_seq RENAME TO ibexa_url_alias_ml_incr_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezurlwildcard_id_seq RENAME TO ibexa_url_wildcard_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezuser_accountkey_id_seq RENAME TO ibexa_user_accountkey_id_seq + SQL); + $this->addSql(<<<'SQL' + ALTER SEQUENCE ezuser_role_id_seq RENAME TO ibexa_user_role_id_seq + SQL); + + $this->addSql(<<<'SQL' + UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock' + SQL); + $this->addSql(<<<'SQL' + UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' + SQL); + $this->addSql(<<<'SQL' + UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' + SQL); + } elseif ($this->platform instanceof SqlitePlatform) { + $this->addSql(<<<'SQL' + ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state RENAME TO ibexa_object_state + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_state_priority + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_state_lmask + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_state_identifier + SQL); + $this->addSql(<<<'SQL' + CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_state_group_lmask + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_state_group_identifier + SQL); + $this->addSql(<<<'SQL' + CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontent_language RENAME TO ibexa_content_language + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontent_language_name + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentbrowsebookmark_location + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentbrowsebookmark_user + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentbrowsebookmark_user_location + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass RENAME TO ibexa_content_type + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentclass_version + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_type_version ON ibexa_content_type (version) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentclass_identifier + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, version) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentclass_attr_ccid + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (contentclass_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentclass_attr_dts + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentclass_attribute_ml_lang_fk + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_tree_p_node_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_tree_path_ident + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_tree_contentobject_id_path_string + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_tree_co_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_tree_depth + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_tree_path + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX modified_subnode + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_tree_remote_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject RENAME TO ibexa_content + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_classid + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_type_id ON ibexa_content (contentclass_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_lmask + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_pub + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_pub ON ibexa_content (published) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_section + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_section ON ibexa_content (section_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_currentversion + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_owner + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_status + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_status ON ibexa_content (status) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_remote_id + SQL); + $this->addSql(<<<'SQL' + CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_attribute_co_id_ver_lang_code + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_classattr_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_field_classattr_id ON ibexa_content_field (contentclassattribute_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_attribute_language_code + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_attribute_co_id_ver + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezco_link_to_co_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezco_link_from + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, contentclassattribute_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezco_link_cca_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_relation_cca_id ON ibexa_content_relation (contentclassattribute_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_name_lang_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_name_cov_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontentobject_name_name + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_trash_depth + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_trash_p_node_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_trash_path_ident + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_trash_co_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_trash_modified_subnode + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_trash_path + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_version_status + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX idx_object_version_objver + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcontobj_version_obj_status + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezcobj_version_creator_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezdfsfile_name_trunk + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezdfsfile_expired_name + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezdfsfile_name + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezdfsfile_mtime + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location + SQL); + $this->addSql(<<<'SQL' + DROP INDEX latitude_longitude_key + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezimagefile RENAME TO ibexa_image_file + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezimagefile_file + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezimagefile_coid + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezkeyword RENAME TO ibexa_keyword + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezkeyword_keyword + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezkeyword_attr_link_oaid + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezkeyword_attr_link_kid_oaid + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezkeyword_attr_link_oaid_ver + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezmedia RENAME TO ibexa_media + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment + SQL); + $this->addSql(<<<'SQL' + DROP INDEX eznode_assignment_is_main + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX eznode_assignment_coid_cov + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX eznode_assignment_parent_node + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX eznode_assignment_co_version + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE eznotification RENAME TO ibexa_notification + SQL); + $this->addSql(<<<'SQL' + DROP INDEX eznotification_owner_is_pending + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX eznotification_owner + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpackage RENAME TO ibexa_package + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpolicy RENAME TO ibexa_policy + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezpolicy_role_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezpolicy_original_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation + SQL); + $this->addSql(<<<'SQL' + DROP INDEX policy_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezpolicy_limit_value_limit_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezpolicy_limitation_value_val + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezpreferences RENAME TO ibexa_user_preference + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezpreferences_user_id_idx + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezpreferences_name + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezrole RENAME TO ibexa_role + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezsearch_object_word_link_object + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezsearch_object_word_link_identifier + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezsearch_object_word_link_integer_value + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezsearch_object_word_link_word + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezsearch_object_word_link_frequency + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezsearch_word RENAME TO ibexa_search_word + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezsearch_word_word_i + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezsearch_word_obj_count + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezsection RENAME TO ibexa_section + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezsite_data RENAME TO ibexa_site_data + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurl RENAME TO ibexa_url + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurl_url + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_url ON ibexa_url (url) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurl_ol_coa_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurl_ol_url_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurl_ol_coa_version + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurl_ol_coa_id_cav + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurlalias RENAME TO ibexa_url_alias + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_source_md5 + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_wcard_fwd + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_forward_to_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_imp_wcard_fwd + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_source_url + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_desturl + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_ml_actt_org_al + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_ml_text_lang + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_ml_par_act_id_lnk + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml ("action", id, link, parent) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_ml_par_lnk_txt + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_ml_act_org + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml ("action", is_original) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_ml_text + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_ml_link + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezurlalias_ml_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezuser RENAME TO ibexa_user + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezuser_login + SQL); + $this->addSql(<<<'SQL' + CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezuser_role RENAME TO ibexa_user_role + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezuser_role_role_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id) + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ezuser_role_contentobject_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ibexa_content_type_version + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_type_status ON ibexa_content_type (version) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type RENAME COLUMN version TO status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ibexa_content_field_classattr_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id + SQL); + $this->addSql(<<<'SQL' + DROP INDEX ibexa_content_relation_cca_id + SQL); + $this->addSql(<<<'SQL' + CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id) + SQL); + $this->addSql(<<<'SQL' + ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id + SQL); + + $this->addSql(<<<'SQL' + UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock' + SQL); + $this->addSql(<<<'SQL' + UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' + SQL); + $this->addSql(<<<'SQL' + UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' + SQL); + } + } +} diff --git a/src/bundle/RepositoryInstaller/Resources/config/services.yml b/src/bundle/RepositoryInstaller/Resources/config/services.yml index 7da97d32b1..36917dbb44 100644 --- a/src/bundle/RepositoryInstaller/Resources/config/services.yml +++ b/src/bundle/RepositoryInstaller/Resources/config/services.yml @@ -13,6 +13,14 @@ services: tags: - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + Ibexa\Bundle\RepositoryInstaller\Migration\RenameSchemaTo5_0Migration: + autowire: true + public: false + arguments: + $connection: '@ibexa.persistence.connection' + tags: + - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + Ibexa\Bundle\RepositoryInstaller\Migration\ImportDataMigration: autowire: true public: false From 63f4f39a5d9fb1bdb943f654d77cb16e6d1e8c1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Mon, 20 Jul 2026 11:55:42 +0200 Subject: [PATCH 15/38] Use plain string literals instead of heredoc for single-line addSql() calls Matches InstallSchemaMigration's own style: heredoc/NOWDOC only for genuinely multi-line statements, plain quoted strings otherwise. --- .../Migration/RenameSchemaTo5_0Migration.php | 2652 +++++------------ 1 file changed, 663 insertions(+), 1989 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php index d6b7c79a38..048f8bb1f8 100644 --- a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php +++ b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php @@ -42,2000 +42,674 @@ public static function getCreationDate(): DateTimeImmutable public function up(Schema $schema): void { if ($this->platform instanceof AbstractMySQLPlatform) { - $this->addSql(<<<'SQL' - ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state RENAME TO ibexa_object_state - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_priority TO ibexa_object_state_priority - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_lmask TO ibexa_object_state_lmask - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_identifier TO ibexa_object_state_identifier - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_lmask TO ibexa_object_state_group_lmask - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_identifier TO ibexa_object_state_group_identifier - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontent_language RENAME TO ibexa_content_language - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_language RENAME INDEX ezcontent_language_name TO ibexa_content_language_name - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_location TO ibexa_content_bookmark_location - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user TO ibexa_content_bookmark_user - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user_location TO ibexa_content_bookmark_user_location - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass RENAME TO ibexa_content_type - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_version TO ibexa_content_type_version - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_identifier TO ibexa_content_type_identifier - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_ccid TO ibexa_content_type_field_definition_ctid - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_dts TO ibexa_content_type_field_definition_dts - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition_ml DROP FOREIGN KEY ezcontentclass_attribute_ml_lang_fk - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_p_node_id TO ibexa_content_tree_p_node_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path_ident TO ibexa_content_tree_path_ident - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_contentobject_id_path_string TO ibexa_content_tree_contentobject_id_path_string - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_co_id TO ibexa_content_tree_co_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_depth TO ibexa_content_tree_depth - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path TO ibexa_content_tree_path - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_tree RENAME INDEX modified_subnode TO ibexa_content_modified_subnode - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_remote_id TO ibexa_content_tree_remote_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_location_fk - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject RENAME TO ibexa_content - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_classid TO ibexa_content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_lmask TO ibexa_content_lmask - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_pub TO ibexa_content_pub - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_section TO ibexa_content_section - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_currentversion TO ibexa_content_currentversion - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_owner TO ibexa_content_owner - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_status TO ibexa_content_status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_remote_id TO ibexa_content_remote_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver_lang_code TO ibexa_content_field_co_id_ver_lang_code - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_classattr_id TO ibexa_content_field_classattr_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_language_code TO ibexa_content_field_language_code - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver TO ibexa_content_field_co_id_ver - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_to_co_id TO ibexa_content_relation_to_co_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_from TO ibexa_content_relation_from - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_cca_id TO ibexa_content_relation_cca_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_lang_id TO ibexa_content_name_lang_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_cov_id TO ibexa_content_name_cov_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_name TO ibexa_content_name_name - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_depth TO ibexa_content_trash_depth - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_p_node_id TO ibexa_content_trash_p_node_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path_ident TO ibexa_content_trash_path_ident - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_co_id TO ibexa_content_trash_co_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_modified_subnode TO ibexa_content_trash_modified_subnode - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path TO ibexa_content_trash_path - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_status TO ibexa_content_version_status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_version RENAME INDEX idx_object_version_objver TO ibexa_content_version_idx_ver - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_version RENAME INDEX ezcontobj_version_obj_status TO ibexa_content_version_idx_status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_creator_id TO ibexa_content_version_creator_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name_trunk TO ibexa_dfs_file_name_trunk - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_expired_name TO ibexa_dfs_file_expired_name - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name TO ibexa_dfs_file_name - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_mtime TO ibexa_dfs_file_mtime - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_map_location RENAME INDEX latitude_longitude_key TO ibexa_map_location_latitude_longitude_key - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezimagefile RENAME TO ibexa_image_file - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_file TO ibexa_image_file_file - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_coid TO ibexa_image_file_coid - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezkeyword RENAME TO ibexa_keyword - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_keyword RENAME INDEX ezkeyword_keyword TO ibexa_keyword_keyword - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid TO ibexa_keyword_field_link_oaid - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_kid_oaid TO ibexa_keyword_field_link_kid_oaid - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid_ver TO ibexa_keyword_field_link_oaid_ver - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezmedia RENAME TO ibexa_media - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_is_main TO ibexa_node_assignment_is_main - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_coid_cov TO ibexa_node_assignment_coid_cov - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_parent_node TO ibexa_node_assignment_parent_node - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_co_version TO ibexa_node_assignment_co_version - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE eznotification RENAME TO ibexa_notification - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner_is_pending TO ibexa_notification_owner_is_pending - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner TO ibexa_notification_owner - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpackage RENAME TO ibexa_package - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpolicy RENAME TO ibexa_policy - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_role_id TO ibexa_policy_role_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_original_id TO ibexa_policy_original_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_policy_limitation RENAME INDEX policy_id TO ibexa_policy_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limit_value_limit_id TO ibexa_policy_limit_value_limit_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limitation_value_val TO ibexa_policy_limitation_value_val - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpreferences RENAME TO ibexa_user_preference - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_user_id_idx TO ibexa_user_preference_user_id_idx - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_name TO ibexa_user_preference_name - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezrole RENAME TO ibexa_role - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_object TO ibexa_search_object_word_link_object - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_identifier TO ibexa_search_object_word_link_identifier - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_integer_value TO ibexa_search_object_word_link_integer_value - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_word TO ibexa_search_object_word_link_word - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_frequency TO ibexa_search_object_word_link_frequency - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezsearch_word RENAME TO ibexa_search_word - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_word_i TO ibexa_search_word_word_i - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_obj_count TO ibexa_search_word_obj_count - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezsection RENAME TO ibexa_section - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezsite_data RENAME TO ibexa_site_data - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurl RENAME TO ibexa_url - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url RENAME INDEX ezurl_url TO ibexa_url_url - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id TO ibexa_url_ol_coa_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_url_id TO ibexa_url_ol_url_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_version TO ibexa_url_ol_coa_version - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id_cav TO ibexa_url_ol_coa_id_cav - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurlalias RENAME TO ibexa_url_alias - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_md5 TO ibexa_url_alias_source_md5 - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_wcard_fwd TO ibexa_url_alias_wcard_fwd - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_forward_to_id TO ibexa_url_alias_forward_to_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_imp_wcard_fwd TO ibexa_url_alias_imp_wcard_fwd - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_url TO ibexa_url_alias_source_url - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_desturl TO ibexa_url_alias_desturl - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_actt_org_al TO ibexa_url_alias_ml_actt_org_al - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text_lang TO ibexa_url_alias_ml_text_lang - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_act_id_lnk TO ibexa_url_alias_ml_par_act_id_lnk - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_lnk_txt TO ibexa_url_alias_ml_par_lnk_txt - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_act_org TO ibexa_url_alias_ml_act_org - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text TO ibexa_url_alias_ml_text - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_link TO ibexa_url_alias_ml_link - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_id TO ibexa_url_alias_ml_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezuser RENAME TO ibexa_user - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_user RENAME INDEX ezuser_login TO ibexa_user_login - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezuser_role RENAME TO ibexa_user_role - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_role_id TO ibexa_user_role_role_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_contentobject_id TO ibexa_user_role_contentobject_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_user_fk - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type RENAME INDEX ibexa_content_type_version TO ibexa_content_type_status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type RENAME COLUMN version TO status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_field RENAME INDEX ibexa_content_field_classattr_id TO ibexa_content_field_field_definition_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_relation RENAME INDEX ibexa_content_relation_cca_id TO ibexa_content_relation_ccfd_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id - SQL); + $this->addSql('ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file'); + $this->addSql('ALTER TABLE ezcobj_state RENAME TO ibexa_object_state'); + $this->addSql('ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_priority TO ibexa_object_state_priority'); + $this->addSql('ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_lmask TO ibexa_object_state_lmask'); + $this->addSql('ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_identifier TO ibexa_object_state_identifier'); + $this->addSql('ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group'); + $this->addSql('ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_lmask TO ibexa_object_state_group_lmask'); + $this->addSql('ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_identifier TO ibexa_object_state_group_identifier'); + $this->addSql('ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language'); + $this->addSql('ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language'); + $this->addSql('ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link'); + $this->addSql('ALTER TABLE ezcontent_language RENAME TO ibexa_content_language'); + $this->addSql('ALTER TABLE ibexa_content_language RENAME INDEX ezcontent_language_name TO ibexa_content_language_name'); + $this->addSql('ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark'); + $this->addSql('ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_location TO ibexa_content_bookmark_location'); + $this->addSql('ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user TO ibexa_content_bookmark_user'); + $this->addSql('ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user_location TO ibexa_content_bookmark_user_location'); + $this->addSql('ALTER TABLE ezcontentclass RENAME TO ibexa_content_type'); + $this->addSql('ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_version TO ibexa_content_type_version'); + $this->addSql('ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_identifier TO ibexa_content_type_identifier'); + $this->addSql('ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_ccid TO ibexa_content_type_field_definition_ctid'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_dts TO ibexa_content_type_field_definition_dts'); + $this->addSql('ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml DROP FOREIGN KEY ezcontentclass_attribute_ml_lang_fk'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE'); + $this->addSql('ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment'); + $this->addSql('ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name'); + $this->addSql('ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group'); + $this->addSql('ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree'); + $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_p_node_id TO ibexa_content_tree_p_node_id'); + $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path_ident TO ibexa_content_tree_path_ident'); + $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_contentobject_id_path_string TO ibexa_content_tree_contentobject_id_path_string'); + $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_co_id TO ibexa_content_tree_co_id'); + $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_depth TO ibexa_content_tree_depth'); + $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path TO ibexa_content_tree_path'); + $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX modified_subnode TO ibexa_content_modified_subnode'); + $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_remote_id TO ibexa_content_tree_remote_id'); + $this->addSql('ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_location_fk'); + $this->addSql('ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE'); + $this->addSql('ALTER TABLE ezcontentobject RENAME TO ibexa_content'); + $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_classid TO ibexa_content_type_id'); + $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_lmask TO ibexa_content_lmask'); + $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_pub TO ibexa_content_pub'); + $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_section TO ibexa_content_section'); + $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_currentversion TO ibexa_content_currentversion'); + $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_owner TO ibexa_content_owner'); + $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_status TO ibexa_content_status'); + $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_remote_id TO ibexa_content_remote_id'); + $this->addSql('ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field'); + $this->addSql('ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver_lang_code TO ibexa_content_field_co_id_ver_lang_code'); + $this->addSql('ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_classattr_id TO ibexa_content_field_classattr_id'); + $this->addSql('ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_language_code TO ibexa_content_field_language_code'); + $this->addSql('ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver TO ibexa_content_field_co_id_ver'); + $this->addSql('ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation'); + $this->addSql('ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_to_co_id TO ibexa_content_relation_to_co_id'); + $this->addSql('ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_from TO ibexa_content_relation_from'); + $this->addSql('ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_cca_id TO ibexa_content_relation_cca_id'); + $this->addSql('ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name'); + $this->addSql('ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_lang_id TO ibexa_content_name_lang_id'); + $this->addSql('ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_cov_id TO ibexa_content_name_cov_id'); + $this->addSql('ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_name TO ibexa_content_name_name'); + $this->addSql('ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash'); + $this->addSql('ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_depth TO ibexa_content_trash_depth'); + $this->addSql('ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_p_node_id TO ibexa_content_trash_p_node_id'); + $this->addSql('ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path_ident TO ibexa_content_trash_path_ident'); + $this->addSql('ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_co_id TO ibexa_content_trash_co_id'); + $this->addSql('ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_modified_subnode TO ibexa_content_trash_modified_subnode'); + $this->addSql('ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path TO ibexa_content_trash_path'); + $this->addSql('ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version'); + $this->addSql('ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_status TO ibexa_content_version_status'); + $this->addSql('ALTER TABLE ibexa_content_version RENAME INDEX idx_object_version_objver TO ibexa_content_version_idx_ver'); + $this->addSql('ALTER TABLE ibexa_content_version RENAME INDEX ezcontobj_version_obj_status TO ibexa_content_version_idx_status'); + $this->addSql('ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_creator_id TO ibexa_content_version_creator_id'); + $this->addSql('ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file'); + $this->addSql('ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name_trunk TO ibexa_dfs_file_name_trunk'); + $this->addSql('ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_expired_name TO ibexa_dfs_file_expired_name'); + $this->addSql('ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name TO ibexa_dfs_file_name'); + $this->addSql('ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_mtime TO ibexa_dfs_file_mtime'); + $this->addSql('ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location'); + $this->addSql('ALTER TABLE ibexa_map_location RENAME INDEX latitude_longitude_key TO ibexa_map_location_latitude_longitude_key'); + $this->addSql('ALTER TABLE ezimagefile RENAME TO ibexa_image_file'); + $this->addSql('ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_file TO ibexa_image_file_file'); + $this->addSql('ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_coid TO ibexa_image_file_coid'); + $this->addSql('ALTER TABLE ezkeyword RENAME TO ibexa_keyword'); + $this->addSql('ALTER TABLE ibexa_keyword RENAME INDEX ezkeyword_keyword TO ibexa_keyword_keyword'); + $this->addSql('ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link'); + $this->addSql('ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid TO ibexa_keyword_field_link_oaid'); + $this->addSql('ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_kid_oaid TO ibexa_keyword_field_link_kid_oaid'); + $this->addSql('ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid_ver TO ibexa_keyword_field_link_oaid_ver'); + $this->addSql('ALTER TABLE ezmedia RENAME TO ibexa_media'); + $this->addSql('ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment'); + $this->addSql('ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_is_main TO ibexa_node_assignment_is_main'); + $this->addSql('ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_coid_cov TO ibexa_node_assignment_coid_cov'); + $this->addSql('ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_parent_node TO ibexa_node_assignment_parent_node'); + $this->addSql('ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_co_version TO ibexa_node_assignment_co_version'); + $this->addSql('ALTER TABLE eznotification RENAME TO ibexa_notification'); + $this->addSql('ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner_is_pending TO ibexa_notification_owner_is_pending'); + $this->addSql('ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner TO ibexa_notification_owner'); + $this->addSql('ALTER TABLE ezpackage RENAME TO ibexa_package'); + $this->addSql('ALTER TABLE ezpolicy RENAME TO ibexa_policy'); + $this->addSql('ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_role_id TO ibexa_policy_role_id'); + $this->addSql('ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_original_id TO ibexa_policy_original_id'); + $this->addSql('ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation'); + $this->addSql('ALTER TABLE ibexa_policy_limitation RENAME INDEX policy_id TO ibexa_policy_id'); + $this->addSql('ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value'); + $this->addSql('ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limit_value_limit_id TO ibexa_policy_limit_value_limit_id'); + $this->addSql('ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limitation_value_val TO ibexa_policy_limitation_value_val'); + $this->addSql('ALTER TABLE ezpreferences RENAME TO ibexa_user_preference'); + $this->addSql('ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_user_id_idx TO ibexa_user_preference_user_id_idx'); + $this->addSql('ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_name TO ibexa_user_preference_name'); + $this->addSql('ALTER TABLE ezrole RENAME TO ibexa_role'); + $this->addSql('ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link'); + $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_object TO ibexa_search_object_word_link_object'); + $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_identifier TO ibexa_search_object_word_link_identifier'); + $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_integer_value TO ibexa_search_object_word_link_integer_value'); + $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_word TO ibexa_search_object_word_link_word'); + $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_frequency TO ibexa_search_object_word_link_frequency'); + $this->addSql('ALTER TABLE ezsearch_word RENAME TO ibexa_search_word'); + $this->addSql('ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_word_i TO ibexa_search_word_word_i'); + $this->addSql('ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_obj_count TO ibexa_search_word_obj_count'); + $this->addSql('ALTER TABLE ezsection RENAME TO ibexa_section'); + $this->addSql('ALTER TABLE ezsite_data RENAME TO ibexa_site_data'); + $this->addSql('ALTER TABLE ezurl RENAME TO ibexa_url'); + $this->addSql('ALTER TABLE ibexa_url RENAME INDEX ezurl_url TO ibexa_url_url'); + $this->addSql('ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link'); + $this->addSql('ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id TO ibexa_url_ol_coa_id'); + $this->addSql('ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_url_id TO ibexa_url_ol_url_id'); + $this->addSql('ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_version TO ibexa_url_ol_coa_version'); + $this->addSql('ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id_cav TO ibexa_url_ol_coa_id_cav'); + $this->addSql('ALTER TABLE ezurlalias RENAME TO ibexa_url_alias'); + $this->addSql('ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_md5 TO ibexa_url_alias_source_md5'); + $this->addSql('ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_wcard_fwd TO ibexa_url_alias_wcard_fwd'); + $this->addSql('ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_forward_to_id TO ibexa_url_alias_forward_to_id'); + $this->addSql('ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_imp_wcard_fwd TO ibexa_url_alias_imp_wcard_fwd'); + $this->addSql('ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_url TO ibexa_url_alias_source_url'); + $this->addSql('ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_desturl TO ibexa_url_alias_desturl'); + $this->addSql('ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml'); + $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_actt_org_al TO ibexa_url_alias_ml_actt_org_al'); + $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text_lang TO ibexa_url_alias_ml_text_lang'); + $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_act_id_lnk TO ibexa_url_alias_ml_par_act_id_lnk'); + $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_lnk_txt TO ibexa_url_alias_ml_par_lnk_txt'); + $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_act_org TO ibexa_url_alias_ml_act_org'); + $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text TO ibexa_url_alias_ml_text'); + $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_link TO ibexa_url_alias_ml_link'); + $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_id TO ibexa_url_alias_ml_id'); + $this->addSql('ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr'); + $this->addSql('ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard'); + $this->addSql('ALTER TABLE ezuser RENAME TO ibexa_user'); + $this->addSql('ALTER TABLE ibexa_user RENAME INDEX ezuser_login TO ibexa_user_login'); + $this->addSql('ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey'); + $this->addSql('ALTER TABLE ezuser_role RENAME TO ibexa_user_role'); + $this->addSql('ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_role_id TO ibexa_user_role_role_id'); + $this->addSql('ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_contentobject_id TO ibexa_user_role_contentobject_id'); + $this->addSql('ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting'); + $this->addSql('ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_user_fk'); + $this->addSql('ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_content_type RENAME INDEX ibexa_content_type_version TO ibexa_content_type_status'); + $this->addSql('ALTER TABLE ibexa_content_type RENAME COLUMN version TO status'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status'); + $this->addSql('ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status'); + $this->addSql('ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); + $this->addSql('ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); + $this->addSql('ALTER TABLE ibexa_content_field RENAME INDEX ibexa_content_field_classattr_id TO ibexa_content_field_field_definition_id'); + $this->addSql('ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); + $this->addSql('ALTER TABLE ibexa_content_relation RENAME INDEX ibexa_content_relation_cca_id TO ibexa_content_relation_ccfd_id'); + $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); - $this->addSql(<<<'SQL' - UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock' - SQL); - $this->addSql(<<<'SQL' - UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' - SQL); - $this->addSql(<<<'SQL' - UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' - SQL); + $this->addSql('UPDATE ibexa_object_state_group SET identifier = \'ibexa_lock\' WHERE identifier = \'ez_lock\''); + $this->addSql('UPDATE ibexa_content_type_field_definition SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); + $this->addSql('UPDATE ibexa_content_field SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); } elseif ($this->platform instanceof PostgreSQLPlatform) { - $this->addSql(<<<'SQL' - ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state RENAME TO ibexa_object_state - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_state_priority RENAME TO ibexa_object_state_priority - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_state_lmask RENAME TO ibexa_object_state_lmask - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_state_identifier RENAME TO ibexa_object_state_identifier - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_state_group_lmask RENAME TO ibexa_object_state_group_lmask - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_state_group_identifier RENAME TO ibexa_object_state_group_identifier - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontent_language RENAME TO ibexa_content_language - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontent_language_name RENAME TO ibexa_content_language_name - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentbrowsebookmark_location RENAME TO ibexa_content_bookmark_location - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentbrowsebookmark_user RENAME TO ibexa_content_bookmark_user - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentbrowsebookmark_user_location RENAME TO ibexa_content_bookmark_user_location - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass RENAME TO ibexa_content_type - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentclass_version RENAME TO ibexa_content_type_version - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentclass_identifier RENAME TO ibexa_content_type_identifier - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentclass_attr_ccid RENAME TO ibexa_content_type_field_definition_ctid - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentclass_attr_dts RENAME TO ibexa_content_type_field_definition_dts - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition_ml DROP CONSTRAINT ezcontentclass_attribute_ml_lang_fk - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_tree_p_node_id RENAME TO ibexa_content_tree_p_node_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_tree_path_ident RENAME TO ibexa_content_tree_path_ident - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_tree_contentobject_id_path_string RENAME TO ibexa_content_tree_contentobject_id_path_string - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_tree_co_id RENAME TO ibexa_content_tree_co_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_tree_depth RENAME TO ibexa_content_tree_depth - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_tree_path RENAME TO ibexa_content_tree_path - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX modified_subnode RENAME TO ibexa_content_modified_subnode - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_tree_remote_id RENAME TO ibexa_content_tree_remote_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_location_fk - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject RENAME TO ibexa_content - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_classid RENAME TO ibexa_content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_lmask RENAME TO ibexa_content_lmask - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_pub RENAME TO ibexa_content_pub - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_section RENAME TO ibexa_content_section - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_currentversion RENAME TO ibexa_content_currentversion - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_owner RENAME TO ibexa_content_owner - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_status RENAME TO ibexa_content_status - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_remote_id RENAME TO ibexa_content_remote_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_attribute_co_id_ver_lang_code RENAME TO ibexa_content_field_co_id_ver_lang_code - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_classattr_id RENAME TO ibexa_content_field_classattr_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_attribute_language_code RENAME TO ibexa_content_field_language_code - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_attribute_co_id_ver RENAME TO ibexa_content_field_co_id_ver - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezco_link_to_co_id RENAME TO ibexa_content_relation_to_co_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezco_link_from RENAME TO ibexa_content_relation_from - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezco_link_cca_id RENAME TO ibexa_content_relation_cca_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_name_lang_id RENAME TO ibexa_content_name_lang_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_name_cov_id RENAME TO ibexa_content_name_cov_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontentobject_name_name RENAME TO ibexa_content_name_name - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_trash_depth RENAME TO ibexa_content_trash_depth - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_trash_p_node_id RENAME TO ibexa_content_trash_p_node_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_trash_path_ident RENAME TO ibexa_content_trash_path_ident - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_trash_co_id RENAME TO ibexa_content_trash_co_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_trash_modified_subnode RENAME TO ibexa_content_trash_modified_subnode - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_trash_path RENAME TO ibexa_content_trash_path - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_version_status RENAME TO ibexa_content_version_status - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX idx_object_version_objver RENAME TO ibexa_content_version_idx_ver - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcontobj_version_obj_status RENAME TO ibexa_content_version_idx_status - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezcobj_version_creator_id RENAME TO ibexa_content_version_creator_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezdfsfile_name_trunk RENAME TO ibexa_dfs_file_name_trunk - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezdfsfile_expired_name RENAME TO ibexa_dfs_file_expired_name - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezdfsfile_name RENAME TO ibexa_dfs_file_name - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezdfsfile_mtime RENAME TO ibexa_dfs_file_mtime - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX latitude_longitude_key RENAME TO ibexa_map_location_latitude_longitude_key - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezimagefile RENAME TO ibexa_image_file - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezimagefile_file RENAME TO ibexa_image_file_file - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezimagefile_coid RENAME TO ibexa_image_file_coid - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezkeyword RENAME TO ibexa_keyword - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezkeyword_keyword RENAME TO ibexa_keyword_keyword - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezkeyword_attr_link_oaid RENAME TO ibexa_keyword_field_link_oaid - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezkeyword_attr_link_kid_oaid RENAME TO ibexa_keyword_field_link_kid_oaid - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezkeyword_attr_link_oaid_ver RENAME TO ibexa_keyword_field_link_oaid_ver - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezmedia RENAME TO ibexa_media - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX eznode_assignment_is_main RENAME TO ibexa_node_assignment_is_main - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX eznode_assignment_coid_cov RENAME TO ibexa_node_assignment_coid_cov - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX eznode_assignment_parent_node RENAME TO ibexa_node_assignment_parent_node - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX eznode_assignment_co_version RENAME TO ibexa_node_assignment_co_version - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE eznotification RENAME TO ibexa_notification - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX eznotification_owner_is_pending RENAME TO ibexa_notification_owner_is_pending - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX eznotification_owner RENAME TO ibexa_notification_owner - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpackage RENAME TO ibexa_package - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpolicy RENAME TO ibexa_policy - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezpolicy_role_id RENAME TO ibexa_policy_role_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezpolicy_original_id RENAME TO ibexa_policy_original_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX policy_id RENAME TO ibexa_policy_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezpolicy_limit_value_limit_id RENAME TO ibexa_policy_limit_value_limit_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezpolicy_limitation_value_val RENAME TO ibexa_policy_limitation_value_val - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpreferences RENAME TO ibexa_user_preference - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezpreferences_user_id_idx RENAME TO ibexa_user_preference_user_id_idx - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezpreferences_name RENAME TO ibexa_user_preference_name - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezrole RENAME TO ibexa_role - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezsearch_object_word_link_object RENAME TO ibexa_search_object_word_link_object - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezsearch_object_word_link_identifier RENAME TO ibexa_search_object_word_link_identifier - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezsearch_object_word_link_integer_value RENAME TO ibexa_search_object_word_link_integer_value - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezsearch_object_word_link_word RENAME TO ibexa_search_object_word_link_word - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezsearch_object_word_link_frequency RENAME TO ibexa_search_object_word_link_frequency - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezsearch_word RENAME TO ibexa_search_word - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezsearch_word_word_i RENAME TO ibexa_search_word_word_i - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezsearch_word_obj_count RENAME TO ibexa_search_word_obj_count - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezsection RENAME TO ibexa_section - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezsite_data RENAME TO ibexa_site_data - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurl RENAME TO ibexa_url - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurl_url RENAME TO ibexa_url_url - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurl_ol_coa_id RENAME TO ibexa_url_ol_coa_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurl_ol_url_id RENAME TO ibexa_url_ol_url_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurl_ol_coa_version RENAME TO ibexa_url_ol_coa_version - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurl_ol_coa_id_cav RENAME TO ibexa_url_ol_coa_id_cav - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurlalias RENAME TO ibexa_url_alias - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_source_md5 RENAME TO ibexa_url_alias_source_md5 - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_wcard_fwd RENAME TO ibexa_url_alias_wcard_fwd - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_forward_to_id RENAME TO ibexa_url_alias_forward_to_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_imp_wcard_fwd RENAME TO ibexa_url_alias_imp_wcard_fwd - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_source_url RENAME TO ibexa_url_alias_source_url - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_desturl RENAME TO ibexa_url_alias_desturl - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_ml_actt_org_al RENAME TO ibexa_url_alias_ml_actt_org_al - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_ml_text_lang RENAME TO ibexa_url_alias_ml_text_lang - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_ml_par_act_id_lnk RENAME TO ibexa_url_alias_ml_par_act_id_lnk - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_ml_par_lnk_txt RENAME TO ibexa_url_alias_ml_par_lnk_txt - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_ml_act_org RENAME TO ibexa_url_alias_ml_act_org - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_ml_text RENAME TO ibexa_url_alias_ml_text - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_ml_link RENAME TO ibexa_url_alias_ml_link - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezurlalias_ml_id RENAME TO ibexa_url_alias_ml_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezuser RENAME TO ibexa_user - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezuser_login RENAME TO ibexa_user_login - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezuser_role RENAME TO ibexa_user_role - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezuser_role_role_id RENAME TO ibexa_user_role_role_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ezuser_role_contentobject_id RENAME TO ibexa_user_role_contentobject_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_user_fk - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ibexa_content_type_version RENAME TO ibexa_content_type_status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type RENAME COLUMN version TO status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ibexa_content_field_classattr_id RENAME TO ibexa_content_field_field_definition_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id - SQL); - $this->addSql(<<<'SQL' - ALTER INDEX ibexa_content_relation_cca_id RENAME TO ibexa_content_relation_ccfd_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezcobj_state_group_id_seq RENAME TO ibexa_object_state_group_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezcobj_state_id_seq RENAME TO ibexa_object_state_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezcontentbrowsebookmark_id_seq RENAME TO ibexa_content_bookmark_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezcontentclass_attribute_id_seq RENAME TO ibexa_content_type_field_definition_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezcontentclass_id_seq RENAME TO ibexa_content_type_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezcontentclassgroup_id_seq RENAME TO ibexa_content_type_group_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezcontentobject_attribute_id_seq RENAME TO ibexa_content_field_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezcontentobject_id_seq RENAME TO ibexa_content_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezcontentobject_link_id_seq RENAME TO ibexa_content_relation_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezcontentobject_tree_node_id_seq RENAME TO ibexa_content_tree_node_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezcontentobject_version_id_seq RENAME TO ibexa_content_version_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezimagefile_id_seq RENAME TO ibexa_image_file_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezkeyword_attribute_link_id_seq RENAME TO ibexa_keyword_field_link_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezkeyword_id_seq RENAME TO ibexa_keyword_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE eznode_assignment_id_seq RENAME TO ibexa_node_assignment_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE eznotification_id_seq RENAME TO ibexa_notification_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezpackage_id_seq RENAME TO ibexa_package_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezpolicy_id_seq RENAME TO ibexa_policy_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezpolicy_limitation_id_seq RENAME TO ibexa_policy_limitation_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezpolicy_limitation_value_id_seq RENAME TO ibexa_policy_limitation_value_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezpreferences_id_seq RENAME TO ibexa_user_preference_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezrole_id_seq RENAME TO ibexa_role_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezsearch_object_word_link_id_seq RENAME TO ibexa_search_object_word_link_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezsearch_word_id_seq RENAME TO ibexa_search_word_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezsection_id_seq RENAME TO ibexa_section_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezurl_id_seq RENAME TO ibexa_url_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezurlalias_id_seq RENAME TO ibexa_url_alias_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezurlalias_ml_incr_id_seq RENAME TO ibexa_url_alias_ml_incr_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezurlwildcard_id_seq RENAME TO ibexa_url_wildcard_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezuser_accountkey_id_seq RENAME TO ibexa_user_accountkey_id_seq - SQL); - $this->addSql(<<<'SQL' - ALTER SEQUENCE ezuser_role_id_seq RENAME TO ibexa_user_role_id_seq - SQL); + $this->addSql('ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file'); + $this->addSql('ALTER TABLE ezcobj_state RENAME TO ibexa_object_state'); + $this->addSql('ALTER INDEX ezcobj_state_priority RENAME TO ibexa_object_state_priority'); + $this->addSql('ALTER INDEX ezcobj_state_lmask RENAME TO ibexa_object_state_lmask'); + $this->addSql('ALTER INDEX ezcobj_state_identifier RENAME TO ibexa_object_state_identifier'); + $this->addSql('ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group'); + $this->addSql('ALTER INDEX ezcobj_state_group_lmask RENAME TO ibexa_object_state_group_lmask'); + $this->addSql('ALTER INDEX ezcobj_state_group_identifier RENAME TO ibexa_object_state_group_identifier'); + $this->addSql('ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language'); + $this->addSql('ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language'); + $this->addSql('ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link'); + $this->addSql('ALTER TABLE ezcontent_language RENAME TO ibexa_content_language'); + $this->addSql('ALTER INDEX ezcontent_language_name RENAME TO ibexa_content_language_name'); + $this->addSql('ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark'); + $this->addSql('ALTER INDEX ezcontentbrowsebookmark_location RENAME TO ibexa_content_bookmark_location'); + $this->addSql('ALTER INDEX ezcontentbrowsebookmark_user RENAME TO ibexa_content_bookmark_user'); + $this->addSql('ALTER INDEX ezcontentbrowsebookmark_user_location RENAME TO ibexa_content_bookmark_user_location'); + $this->addSql('ALTER TABLE ezcontentclass RENAME TO ibexa_content_type'); + $this->addSql('ALTER INDEX ezcontentclass_version RENAME TO ibexa_content_type_version'); + $this->addSql('ALTER INDEX ezcontentclass_identifier RENAME TO ibexa_content_type_identifier'); + $this->addSql('ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition'); + $this->addSql('ALTER INDEX ezcontentclass_attr_ccid RENAME TO ibexa_content_type_field_definition_ctid'); + $this->addSql('ALTER INDEX ezcontentclass_attr_dts RENAME TO ibexa_content_type_field_definition_dts'); + $this->addSql('ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml DROP CONSTRAINT ezcontentclass_attribute_ml_lang_fk'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE'); + $this->addSql('ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment'); + $this->addSql('ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name'); + $this->addSql('ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group'); + $this->addSql('ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree'); + $this->addSql('ALTER INDEX ezcontentobject_tree_p_node_id RENAME TO ibexa_content_tree_p_node_id'); + $this->addSql('ALTER INDEX ezcontentobject_tree_path_ident RENAME TO ibexa_content_tree_path_ident'); + $this->addSql('ALTER INDEX ezcontentobject_tree_contentobject_id_path_string RENAME TO ibexa_content_tree_contentobject_id_path_string'); + $this->addSql('ALTER INDEX ezcontentobject_tree_co_id RENAME TO ibexa_content_tree_co_id'); + $this->addSql('ALTER INDEX ezcontentobject_tree_depth RENAME TO ibexa_content_tree_depth'); + $this->addSql('ALTER INDEX ezcontentobject_tree_path RENAME TO ibexa_content_tree_path'); + $this->addSql('ALTER INDEX modified_subnode RENAME TO ibexa_content_modified_subnode'); + $this->addSql('ALTER INDEX ezcontentobject_tree_remote_id RENAME TO ibexa_content_tree_remote_id'); + $this->addSql('ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_location_fk'); + $this->addSql('ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE'); + $this->addSql('ALTER TABLE ezcontentobject RENAME TO ibexa_content'); + $this->addSql('ALTER INDEX ezcontentobject_classid RENAME TO ibexa_content_type_id'); + $this->addSql('ALTER INDEX ezcontentobject_lmask RENAME TO ibexa_content_lmask'); + $this->addSql('ALTER INDEX ezcontentobject_pub RENAME TO ibexa_content_pub'); + $this->addSql('ALTER INDEX ezcontentobject_section RENAME TO ibexa_content_section'); + $this->addSql('ALTER INDEX ezcontentobject_currentversion RENAME TO ibexa_content_currentversion'); + $this->addSql('ALTER INDEX ezcontentobject_owner RENAME TO ibexa_content_owner'); + $this->addSql('ALTER INDEX ezcontentobject_status RENAME TO ibexa_content_status'); + $this->addSql('ALTER INDEX ezcontentobject_remote_id RENAME TO ibexa_content_remote_id'); + $this->addSql('ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field'); + $this->addSql('ALTER INDEX ezcontentobject_attribute_co_id_ver_lang_code RENAME TO ibexa_content_field_co_id_ver_lang_code'); + $this->addSql('ALTER INDEX ezcontentobject_classattr_id RENAME TO ibexa_content_field_classattr_id'); + $this->addSql('ALTER INDEX ezcontentobject_attribute_language_code RENAME TO ibexa_content_field_language_code'); + $this->addSql('ALTER INDEX ezcontentobject_attribute_co_id_ver RENAME TO ibexa_content_field_co_id_ver'); + $this->addSql('ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation'); + $this->addSql('ALTER INDEX ezco_link_to_co_id RENAME TO ibexa_content_relation_to_co_id'); + $this->addSql('ALTER INDEX ezco_link_from RENAME TO ibexa_content_relation_from'); + $this->addSql('ALTER INDEX ezco_link_cca_id RENAME TO ibexa_content_relation_cca_id'); + $this->addSql('ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name'); + $this->addSql('ALTER INDEX ezcontentobject_name_lang_id RENAME TO ibexa_content_name_lang_id'); + $this->addSql('ALTER INDEX ezcontentobject_name_cov_id RENAME TO ibexa_content_name_cov_id'); + $this->addSql('ALTER INDEX ezcontentobject_name_name RENAME TO ibexa_content_name_name'); + $this->addSql('ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash'); + $this->addSql('ALTER INDEX ezcobj_trash_depth RENAME TO ibexa_content_trash_depth'); + $this->addSql('ALTER INDEX ezcobj_trash_p_node_id RENAME TO ibexa_content_trash_p_node_id'); + $this->addSql('ALTER INDEX ezcobj_trash_path_ident RENAME TO ibexa_content_trash_path_ident'); + $this->addSql('ALTER INDEX ezcobj_trash_co_id RENAME TO ibexa_content_trash_co_id'); + $this->addSql('ALTER INDEX ezcobj_trash_modified_subnode RENAME TO ibexa_content_trash_modified_subnode'); + $this->addSql('ALTER INDEX ezcobj_trash_path RENAME TO ibexa_content_trash_path'); + $this->addSql('ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version'); + $this->addSql('ALTER INDEX ezcobj_version_status RENAME TO ibexa_content_version_status'); + $this->addSql('ALTER INDEX idx_object_version_objver RENAME TO ibexa_content_version_idx_ver'); + $this->addSql('ALTER INDEX ezcontobj_version_obj_status RENAME TO ibexa_content_version_idx_status'); + $this->addSql('ALTER INDEX ezcobj_version_creator_id RENAME TO ibexa_content_version_creator_id'); + $this->addSql('ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file'); + $this->addSql('ALTER INDEX ezdfsfile_name_trunk RENAME TO ibexa_dfs_file_name_trunk'); + $this->addSql('ALTER INDEX ezdfsfile_expired_name RENAME TO ibexa_dfs_file_expired_name'); + $this->addSql('ALTER INDEX ezdfsfile_name RENAME TO ibexa_dfs_file_name'); + $this->addSql('ALTER INDEX ezdfsfile_mtime RENAME TO ibexa_dfs_file_mtime'); + $this->addSql('ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location'); + $this->addSql('ALTER INDEX latitude_longitude_key RENAME TO ibexa_map_location_latitude_longitude_key'); + $this->addSql('ALTER TABLE ezimagefile RENAME TO ibexa_image_file'); + $this->addSql('ALTER INDEX ezimagefile_file RENAME TO ibexa_image_file_file'); + $this->addSql('ALTER INDEX ezimagefile_coid RENAME TO ibexa_image_file_coid'); + $this->addSql('ALTER TABLE ezkeyword RENAME TO ibexa_keyword'); + $this->addSql('ALTER INDEX ezkeyword_keyword RENAME TO ibexa_keyword_keyword'); + $this->addSql('ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link'); + $this->addSql('ALTER INDEX ezkeyword_attr_link_oaid RENAME TO ibexa_keyword_field_link_oaid'); + $this->addSql('ALTER INDEX ezkeyword_attr_link_kid_oaid RENAME TO ibexa_keyword_field_link_kid_oaid'); + $this->addSql('ALTER INDEX ezkeyword_attr_link_oaid_ver RENAME TO ibexa_keyword_field_link_oaid_ver'); + $this->addSql('ALTER TABLE ezmedia RENAME TO ibexa_media'); + $this->addSql('ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment'); + $this->addSql('ALTER INDEX eznode_assignment_is_main RENAME TO ibexa_node_assignment_is_main'); + $this->addSql('ALTER INDEX eznode_assignment_coid_cov RENAME TO ibexa_node_assignment_coid_cov'); + $this->addSql('ALTER INDEX eznode_assignment_parent_node RENAME TO ibexa_node_assignment_parent_node'); + $this->addSql('ALTER INDEX eznode_assignment_co_version RENAME TO ibexa_node_assignment_co_version'); + $this->addSql('ALTER TABLE eznotification RENAME TO ibexa_notification'); + $this->addSql('ALTER INDEX eznotification_owner_is_pending RENAME TO ibexa_notification_owner_is_pending'); + $this->addSql('ALTER INDEX eznotification_owner RENAME TO ibexa_notification_owner'); + $this->addSql('ALTER TABLE ezpackage RENAME TO ibexa_package'); + $this->addSql('ALTER TABLE ezpolicy RENAME TO ibexa_policy'); + $this->addSql('ALTER INDEX ezpolicy_role_id RENAME TO ibexa_policy_role_id'); + $this->addSql('ALTER INDEX ezpolicy_original_id RENAME TO ibexa_policy_original_id'); + $this->addSql('ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation'); + $this->addSql('ALTER INDEX policy_id RENAME TO ibexa_policy_id'); + $this->addSql('ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value'); + $this->addSql('ALTER INDEX ezpolicy_limit_value_limit_id RENAME TO ibexa_policy_limit_value_limit_id'); + $this->addSql('ALTER INDEX ezpolicy_limitation_value_val RENAME TO ibexa_policy_limitation_value_val'); + $this->addSql('ALTER TABLE ezpreferences RENAME TO ibexa_user_preference'); + $this->addSql('ALTER INDEX ezpreferences_user_id_idx RENAME TO ibexa_user_preference_user_id_idx'); + $this->addSql('ALTER INDEX ezpreferences_name RENAME TO ibexa_user_preference_name'); + $this->addSql('ALTER TABLE ezrole RENAME TO ibexa_role'); + $this->addSql('ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link'); + $this->addSql('ALTER INDEX ezsearch_object_word_link_object RENAME TO ibexa_search_object_word_link_object'); + $this->addSql('ALTER INDEX ezsearch_object_word_link_identifier RENAME TO ibexa_search_object_word_link_identifier'); + $this->addSql('ALTER INDEX ezsearch_object_word_link_integer_value RENAME TO ibexa_search_object_word_link_integer_value'); + $this->addSql('ALTER INDEX ezsearch_object_word_link_word RENAME TO ibexa_search_object_word_link_word'); + $this->addSql('ALTER INDEX ezsearch_object_word_link_frequency RENAME TO ibexa_search_object_word_link_frequency'); + $this->addSql('ALTER TABLE ezsearch_word RENAME TO ibexa_search_word'); + $this->addSql('ALTER INDEX ezsearch_word_word_i RENAME TO ibexa_search_word_word_i'); + $this->addSql('ALTER INDEX ezsearch_word_obj_count RENAME TO ibexa_search_word_obj_count'); + $this->addSql('ALTER TABLE ezsection RENAME TO ibexa_section'); + $this->addSql('ALTER TABLE ezsite_data RENAME TO ibexa_site_data'); + $this->addSql('ALTER TABLE ezurl RENAME TO ibexa_url'); + $this->addSql('ALTER INDEX ezurl_url RENAME TO ibexa_url_url'); + $this->addSql('ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link'); + $this->addSql('ALTER INDEX ezurl_ol_coa_id RENAME TO ibexa_url_ol_coa_id'); + $this->addSql('ALTER INDEX ezurl_ol_url_id RENAME TO ibexa_url_ol_url_id'); + $this->addSql('ALTER INDEX ezurl_ol_coa_version RENAME TO ibexa_url_ol_coa_version'); + $this->addSql('ALTER INDEX ezurl_ol_coa_id_cav RENAME TO ibexa_url_ol_coa_id_cav'); + $this->addSql('ALTER TABLE ezurlalias RENAME TO ibexa_url_alias'); + $this->addSql('ALTER INDEX ezurlalias_source_md5 RENAME TO ibexa_url_alias_source_md5'); + $this->addSql('ALTER INDEX ezurlalias_wcard_fwd RENAME TO ibexa_url_alias_wcard_fwd'); + $this->addSql('ALTER INDEX ezurlalias_forward_to_id RENAME TO ibexa_url_alias_forward_to_id'); + $this->addSql('ALTER INDEX ezurlalias_imp_wcard_fwd RENAME TO ibexa_url_alias_imp_wcard_fwd'); + $this->addSql('ALTER INDEX ezurlalias_source_url RENAME TO ibexa_url_alias_source_url'); + $this->addSql('ALTER INDEX ezurlalias_desturl RENAME TO ibexa_url_alias_desturl'); + $this->addSql('ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml'); + $this->addSql('ALTER INDEX ezurlalias_ml_actt_org_al RENAME TO ibexa_url_alias_ml_actt_org_al'); + $this->addSql('ALTER INDEX ezurlalias_ml_text_lang RENAME TO ibexa_url_alias_ml_text_lang'); + $this->addSql('ALTER INDEX ezurlalias_ml_par_act_id_lnk RENAME TO ibexa_url_alias_ml_par_act_id_lnk'); + $this->addSql('ALTER INDEX ezurlalias_ml_par_lnk_txt RENAME TO ibexa_url_alias_ml_par_lnk_txt'); + $this->addSql('ALTER INDEX ezurlalias_ml_act_org RENAME TO ibexa_url_alias_ml_act_org'); + $this->addSql('ALTER INDEX ezurlalias_ml_text RENAME TO ibexa_url_alias_ml_text'); + $this->addSql('ALTER INDEX ezurlalias_ml_link RENAME TO ibexa_url_alias_ml_link'); + $this->addSql('ALTER INDEX ezurlalias_ml_id RENAME TO ibexa_url_alias_ml_id'); + $this->addSql('ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr'); + $this->addSql('ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard'); + $this->addSql('ALTER TABLE ezuser RENAME TO ibexa_user'); + $this->addSql('ALTER INDEX ezuser_login RENAME TO ibexa_user_login'); + $this->addSql('ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey'); + $this->addSql('ALTER TABLE ezuser_role RENAME TO ibexa_user_role'); + $this->addSql('ALTER INDEX ezuser_role_role_id RENAME TO ibexa_user_role_role_id'); + $this->addSql('ALTER INDEX ezuser_role_contentobject_id RENAME TO ibexa_user_role_contentobject_id'); + $this->addSql('ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting'); + $this->addSql('ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_user_fk'); + $this->addSql('ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER INDEX ibexa_content_type_version RENAME TO ibexa_content_type_status'); + $this->addSql('ALTER TABLE ibexa_content_type RENAME COLUMN version TO status'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status'); + $this->addSql('ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status'); + $this->addSql('ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); + $this->addSql('ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); + $this->addSql('ALTER INDEX ibexa_content_field_classattr_id RENAME TO ibexa_content_field_field_definition_id'); + $this->addSql('ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); + $this->addSql('ALTER INDEX ibexa_content_relation_cca_id RENAME TO ibexa_content_relation_ccfd_id'); + $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); + $this->addSql('ALTER SEQUENCE ezcobj_state_group_id_seq RENAME TO ibexa_object_state_group_id_seq'); + $this->addSql('ALTER SEQUENCE ezcobj_state_id_seq RENAME TO ibexa_object_state_id_seq'); + $this->addSql('ALTER SEQUENCE ezcontentbrowsebookmark_id_seq RENAME TO ibexa_content_bookmark_id_seq'); + $this->addSql('ALTER SEQUENCE ezcontentclass_attribute_id_seq RENAME TO ibexa_content_type_field_definition_id_seq'); + $this->addSql('ALTER SEQUENCE ezcontentclass_id_seq RENAME TO ibexa_content_type_id_seq'); + $this->addSql('ALTER SEQUENCE ezcontentclassgroup_id_seq RENAME TO ibexa_content_type_group_id_seq'); + $this->addSql('ALTER SEQUENCE ezcontentobject_attribute_id_seq RENAME TO ibexa_content_field_id_seq'); + $this->addSql('ALTER SEQUENCE ezcontentobject_id_seq RENAME TO ibexa_content_id_seq'); + $this->addSql('ALTER SEQUENCE ezcontentobject_link_id_seq RENAME TO ibexa_content_relation_id_seq'); + $this->addSql('ALTER SEQUENCE ezcontentobject_tree_node_id_seq RENAME TO ibexa_content_tree_node_id_seq'); + $this->addSql('ALTER SEQUENCE ezcontentobject_version_id_seq RENAME TO ibexa_content_version_id_seq'); + $this->addSql('ALTER SEQUENCE ezimagefile_id_seq RENAME TO ibexa_image_file_id_seq'); + $this->addSql('ALTER SEQUENCE ezkeyword_attribute_link_id_seq RENAME TO ibexa_keyword_field_link_id_seq'); + $this->addSql('ALTER SEQUENCE ezkeyword_id_seq RENAME TO ibexa_keyword_id_seq'); + $this->addSql('ALTER SEQUENCE eznode_assignment_id_seq RENAME TO ibexa_node_assignment_id_seq'); + $this->addSql('ALTER SEQUENCE eznotification_id_seq RENAME TO ibexa_notification_id_seq'); + $this->addSql('ALTER SEQUENCE ezpackage_id_seq RENAME TO ibexa_package_id_seq'); + $this->addSql('ALTER SEQUENCE ezpolicy_id_seq RENAME TO ibexa_policy_id_seq'); + $this->addSql('ALTER SEQUENCE ezpolicy_limitation_id_seq RENAME TO ibexa_policy_limitation_id_seq'); + $this->addSql('ALTER SEQUENCE ezpolicy_limitation_value_id_seq RENAME TO ibexa_policy_limitation_value_id_seq'); + $this->addSql('ALTER SEQUENCE ezpreferences_id_seq RENAME TO ibexa_user_preference_id_seq'); + $this->addSql('ALTER SEQUENCE ezrole_id_seq RENAME TO ibexa_role_id_seq'); + $this->addSql('ALTER SEQUENCE ezsearch_object_word_link_id_seq RENAME TO ibexa_search_object_word_link_id_seq'); + $this->addSql('ALTER SEQUENCE ezsearch_word_id_seq RENAME TO ibexa_search_word_id_seq'); + $this->addSql('ALTER SEQUENCE ezsection_id_seq RENAME TO ibexa_section_id_seq'); + $this->addSql('ALTER SEQUENCE ezurl_id_seq RENAME TO ibexa_url_id_seq'); + $this->addSql('ALTER SEQUENCE ezurlalias_id_seq RENAME TO ibexa_url_alias_id_seq'); + $this->addSql('ALTER SEQUENCE ezurlalias_ml_incr_id_seq RENAME TO ibexa_url_alias_ml_incr_id_seq'); + $this->addSql('ALTER SEQUENCE ezurlwildcard_id_seq RENAME TO ibexa_url_wildcard_id_seq'); + $this->addSql('ALTER SEQUENCE ezuser_accountkey_id_seq RENAME TO ibexa_user_accountkey_id_seq'); + $this->addSql('ALTER SEQUENCE ezuser_role_id_seq RENAME TO ibexa_user_role_id_seq'); - $this->addSql(<<<'SQL' - UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock' - SQL); - $this->addSql(<<<'SQL' - UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' - SQL); - $this->addSql(<<<'SQL' - UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' - SQL); + $this->addSql('UPDATE ibexa_object_state_group SET identifier = \'ibexa_lock\' WHERE identifier = \'ez_lock\''); + $this->addSql('UPDATE ibexa_content_type_field_definition SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); + $this->addSql('UPDATE ibexa_content_field SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); } elseif ($this->platform instanceof SqlitePlatform) { - $this->addSql(<<<'SQL' - ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state RENAME TO ibexa_object_state - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_state_priority - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_state_lmask - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_state_identifier - SQL); - $this->addSql(<<<'SQL' - CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_state_group_lmask - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_state_group_identifier - SQL); - $this->addSql(<<<'SQL' - CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontent_language RENAME TO ibexa_content_language - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontent_language_name - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentbrowsebookmark_location - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentbrowsebookmark_user - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentbrowsebookmark_user_location - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass RENAME TO ibexa_content_type - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentclass_version - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_type_version ON ibexa_content_type (version) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentclass_identifier - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, version) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentclass_attr_ccid - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (contentclass_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentclass_attr_dts - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentclass_attribute_ml_lang_fk - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_tree_p_node_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_tree_path_ident - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_tree_contentobject_id_path_string - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_tree_co_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_tree_depth - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_tree_path - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX modified_subnode - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_tree_remote_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject RENAME TO ibexa_content - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_classid - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_type_id ON ibexa_content (contentclass_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_lmask - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_pub - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_pub ON ibexa_content (published) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_section - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_section ON ibexa_content (section_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_currentversion - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_owner - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_status - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_status ON ibexa_content (status) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_remote_id - SQL); - $this->addSql(<<<'SQL' - CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_attribute_co_id_ver_lang_code - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_classattr_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_field_classattr_id ON ibexa_content_field (contentclassattribute_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_attribute_language_code - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_attribute_co_id_ver - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezco_link_to_co_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezco_link_from - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, contentclassattribute_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezco_link_cca_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_relation_cca_id ON ibexa_content_relation (contentclassattribute_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_name_lang_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_name_cov_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontentobject_name_name - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_trash_depth - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_trash_p_node_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_trash_path_ident - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_trash_co_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_trash_modified_subnode - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_trash_path - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_version_status - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX idx_object_version_objver - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcontobj_version_obj_status - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezcobj_version_creator_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezdfsfile_name_trunk - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezdfsfile_expired_name - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezdfsfile_name - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezdfsfile_mtime - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location - SQL); - $this->addSql(<<<'SQL' - DROP INDEX latitude_longitude_key - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezimagefile RENAME TO ibexa_image_file - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezimagefile_file - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezimagefile_coid - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezkeyword RENAME TO ibexa_keyword - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezkeyword_keyword - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezkeyword_attr_link_oaid - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezkeyword_attr_link_kid_oaid - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezkeyword_attr_link_oaid_ver - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezmedia RENAME TO ibexa_media - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment - SQL); - $this->addSql(<<<'SQL' - DROP INDEX eznode_assignment_is_main - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX eznode_assignment_coid_cov - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX eznode_assignment_parent_node - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX eznode_assignment_co_version - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE eznotification RENAME TO ibexa_notification - SQL); - $this->addSql(<<<'SQL' - DROP INDEX eznotification_owner_is_pending - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX eznotification_owner - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpackage RENAME TO ibexa_package - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpolicy RENAME TO ibexa_policy - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezpolicy_role_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezpolicy_original_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation - SQL); - $this->addSql(<<<'SQL' - DROP INDEX policy_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezpolicy_limit_value_limit_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezpolicy_limitation_value_val - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezpreferences RENAME TO ibexa_user_preference - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezpreferences_user_id_idx - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezpreferences_name - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezrole RENAME TO ibexa_role - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezsearch_object_word_link_object - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezsearch_object_word_link_identifier - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezsearch_object_word_link_integer_value - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezsearch_object_word_link_word - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezsearch_object_word_link_frequency - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezsearch_word RENAME TO ibexa_search_word - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezsearch_word_word_i - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezsearch_word_obj_count - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezsection RENAME TO ibexa_section - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezsite_data RENAME TO ibexa_site_data - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurl RENAME TO ibexa_url - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurl_url - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_url ON ibexa_url (url) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurl_ol_coa_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurl_ol_url_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurl_ol_coa_version - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurl_ol_coa_id_cav - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurlalias RENAME TO ibexa_url_alias - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_source_md5 - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_wcard_fwd - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_forward_to_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_imp_wcard_fwd - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_source_url - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_desturl - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_ml_actt_org_al - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_ml_text_lang - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_ml_par_act_id_lnk - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml ("action", id, link, parent) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_ml_par_lnk_txt - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_ml_act_org - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml ("action", is_original) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_ml_text - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_ml_link - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezurlalias_ml_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezuser RENAME TO ibexa_user - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezuser_login - SQL); - $this->addSql(<<<'SQL' - CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezuser_role RENAME TO ibexa_user_role - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezuser_role_role_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id) - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ezuser_role_contentobject_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ibexa_content_type_version - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_type_status ON ibexa_content_type (version) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type RENAME COLUMN version TO status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ibexa_content_field_classattr_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id - SQL); - $this->addSql(<<<'SQL' - DROP INDEX ibexa_content_relation_cca_id - SQL); - $this->addSql(<<<'SQL' - CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id) - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id - SQL); + $this->addSql('ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file'); + $this->addSql('ALTER TABLE ezcobj_state RENAME TO ibexa_object_state'); + $this->addSql('DROP INDEX ezcobj_state_priority'); + $this->addSql('CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority)'); + $this->addSql('DROP INDEX ezcobj_state_lmask'); + $this->addSql('CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask)'); + $this->addSql('DROP INDEX ezcobj_state_identifier'); + $this->addSql('CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier)'); + $this->addSql('ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group'); + $this->addSql('DROP INDEX ezcobj_state_group_lmask'); + $this->addSql('CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask)'); + $this->addSql('DROP INDEX ezcobj_state_group_identifier'); + $this->addSql('CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier)'); + $this->addSql('ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language'); + $this->addSql('ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language'); + $this->addSql('ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link'); + $this->addSql('ALTER TABLE ezcontent_language RENAME TO ibexa_content_language'); + $this->addSql('DROP INDEX ezcontent_language_name'); + $this->addSql('CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name)'); + $this->addSql('ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark'); + $this->addSql('DROP INDEX ezcontentbrowsebookmark_location'); + $this->addSql('CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id)'); + $this->addSql('DROP INDEX ezcontentbrowsebookmark_user'); + $this->addSql('CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id)'); + $this->addSql('DROP INDEX ezcontentbrowsebookmark_user_location'); + $this->addSql('CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id)'); + $this->addSql('ALTER TABLE ezcontentclass RENAME TO ibexa_content_type'); + $this->addSql('DROP INDEX ezcontentclass_version'); + $this->addSql('CREATE INDEX ibexa_content_type_version ON ibexa_content_type (version)'); + $this->addSql('DROP INDEX ezcontentclass_identifier'); + $this->addSql('CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, version)'); + $this->addSql('ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition'); + $this->addSql('DROP INDEX ezcontentclass_attr_ccid'); + $this->addSql('CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (contentclass_id)'); + $this->addSql('DROP INDEX ezcontentclass_attr_dts'); + $this->addSql('CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string)'); + $this->addSql('ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml'); + $this->addSql('DROP INDEX ezcontentclass_attribute_ml_lang_fk'); + $this->addSql('CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id)'); + $this->addSql('ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment'); + $this->addSql('ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name'); + $this->addSql('ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group'); + $this->addSql('ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree'); + $this->addSql('DROP INDEX ezcontentobject_tree_p_node_id'); + $this->addSql('CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id)'); + $this->addSql('DROP INDEX ezcontentobject_tree_path_ident'); + $this->addSql('CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string)'); + $this->addSql('DROP INDEX ezcontentobject_tree_contentobject_id_path_string'); + $this->addSql('CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id)'); + $this->addSql('DROP INDEX ezcontentobject_tree_co_id'); + $this->addSql('CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id)'); + $this->addSql('DROP INDEX ezcontentobject_tree_depth'); + $this->addSql('CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth)'); + $this->addSql('DROP INDEX ezcontentobject_tree_path'); + $this->addSql('CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string)'); + $this->addSql('DROP INDEX modified_subnode'); + $this->addSql('CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode)'); + $this->addSql('DROP INDEX ezcontentobject_tree_remote_id'); + $this->addSql('CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id)'); + $this->addSql('ALTER TABLE ezcontentobject RENAME TO ibexa_content'); + $this->addSql('DROP INDEX ezcontentobject_classid'); + $this->addSql('CREATE INDEX ibexa_content_type_id ON ibexa_content (contentclass_id)'); + $this->addSql('DROP INDEX ezcontentobject_lmask'); + $this->addSql('CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask)'); + $this->addSql('DROP INDEX ezcontentobject_pub'); + $this->addSql('CREATE INDEX ibexa_content_pub ON ibexa_content (published)'); + $this->addSql('DROP INDEX ezcontentobject_section'); + $this->addSql('CREATE INDEX ibexa_content_section ON ibexa_content (section_id)'); + $this->addSql('DROP INDEX ezcontentobject_currentversion'); + $this->addSql('CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version)'); + $this->addSql('DROP INDEX ezcontentobject_owner'); + $this->addSql('CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id)'); + $this->addSql('DROP INDEX ezcontentobject_status'); + $this->addSql('CREATE INDEX ibexa_content_status ON ibexa_content (status)'); + $this->addSql('DROP INDEX ezcontentobject_remote_id'); + $this->addSql('CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id)'); + $this->addSql('ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field'); + $this->addSql('DROP INDEX ezcontentobject_attribute_co_id_ver_lang_code'); + $this->addSql('CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code)'); + $this->addSql('DROP INDEX ezcontentobject_classattr_id'); + $this->addSql('CREATE INDEX ibexa_content_field_classattr_id ON ibexa_content_field (contentclassattribute_id)'); + $this->addSql('DROP INDEX ezcontentobject_attribute_language_code'); + $this->addSql('CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code)'); + $this->addSql('DROP INDEX ezcontentobject_attribute_co_id_ver'); + $this->addSql('CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version)'); + $this->addSql('ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation'); + $this->addSql('DROP INDEX ezco_link_to_co_id'); + $this->addSql('CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id)'); + $this->addSql('DROP INDEX ezco_link_from'); + $this->addSql('CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, contentclassattribute_id)'); + $this->addSql('DROP INDEX ezco_link_cca_id'); + $this->addSql('CREATE INDEX ibexa_content_relation_cca_id ON ibexa_content_relation (contentclassattribute_id)'); + $this->addSql('ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name'); + $this->addSql('DROP INDEX ezcontentobject_name_lang_id'); + $this->addSql('CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id)'); + $this->addSql('DROP INDEX ezcontentobject_name_cov_id'); + $this->addSql('CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version)'); + $this->addSql('DROP INDEX ezcontentobject_name_name'); + $this->addSql('CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name)'); + $this->addSql('ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash'); + $this->addSql('DROP INDEX ezcobj_trash_depth'); + $this->addSql('CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth)'); + $this->addSql('DROP INDEX ezcobj_trash_p_node_id'); + $this->addSql('CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id)'); + $this->addSql('DROP INDEX ezcobj_trash_path_ident'); + $this->addSql('CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string)'); + $this->addSql('DROP INDEX ezcobj_trash_co_id'); + $this->addSql('CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id)'); + $this->addSql('DROP INDEX ezcobj_trash_modified_subnode'); + $this->addSql('CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode)'); + $this->addSql('DROP INDEX ezcobj_trash_path'); + $this->addSql('CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string)'); + $this->addSql('ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version'); + $this->addSql('DROP INDEX ezcobj_version_status'); + $this->addSql('CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status)'); + $this->addSql('DROP INDEX idx_object_version_objver'); + $this->addSql('CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version)'); + $this->addSql('DROP INDEX ezcontobj_version_obj_status'); + $this->addSql('CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status)'); + $this->addSql('DROP INDEX ezcobj_version_creator_id'); + $this->addSql('CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id)'); + $this->addSql('ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file'); + $this->addSql('DROP INDEX ezdfsfile_name_trunk'); + $this->addSql('CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk)'); + $this->addSql('DROP INDEX ezdfsfile_expired_name'); + $this->addSql('CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name)'); + $this->addSql('DROP INDEX ezdfsfile_name'); + $this->addSql('CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name)'); + $this->addSql('DROP INDEX ezdfsfile_mtime'); + $this->addSql('CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime)'); + $this->addSql('ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location'); + $this->addSql('DROP INDEX latitude_longitude_key'); + $this->addSql('CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude)'); + $this->addSql('ALTER TABLE ezimagefile RENAME TO ibexa_image_file'); + $this->addSql('DROP INDEX ezimagefile_file'); + $this->addSql('CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath)'); + $this->addSql('DROP INDEX ezimagefile_coid'); + $this->addSql('CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id)'); + $this->addSql('ALTER TABLE ezkeyword RENAME TO ibexa_keyword'); + $this->addSql('DROP INDEX ezkeyword_keyword'); + $this->addSql('CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword)'); + $this->addSql('ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link'); + $this->addSql('DROP INDEX ezkeyword_attr_link_oaid'); + $this->addSql('CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id)'); + $this->addSql('DROP INDEX ezkeyword_attr_link_kid_oaid'); + $this->addSql('CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id)'); + $this->addSql('DROP INDEX ezkeyword_attr_link_oaid_ver'); + $this->addSql('CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version)'); + $this->addSql('ALTER TABLE ezmedia RENAME TO ibexa_media'); + $this->addSql('ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment'); + $this->addSql('DROP INDEX eznode_assignment_is_main'); + $this->addSql('CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main)'); + $this->addSql('DROP INDEX eznode_assignment_coid_cov'); + $this->addSql('CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version)'); + $this->addSql('DROP INDEX eznode_assignment_parent_node'); + $this->addSql('CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node)'); + $this->addSql('DROP INDEX eznode_assignment_co_version'); + $this->addSql('CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version)'); + $this->addSql('ALTER TABLE eznotification RENAME TO ibexa_notification'); + $this->addSql('DROP INDEX eznotification_owner_is_pending'); + $this->addSql('CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending)'); + $this->addSql('DROP INDEX eznotification_owner'); + $this->addSql('CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id)'); + $this->addSql('ALTER TABLE ezpackage RENAME TO ibexa_package'); + $this->addSql('ALTER TABLE ezpolicy RENAME TO ibexa_policy'); + $this->addSql('DROP INDEX ezpolicy_role_id'); + $this->addSql('CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id)'); + $this->addSql('DROP INDEX ezpolicy_original_id'); + $this->addSql('CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id)'); + $this->addSql('ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation'); + $this->addSql('DROP INDEX policy_id'); + $this->addSql('CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id)'); + $this->addSql('ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value'); + $this->addSql('DROP INDEX ezpolicy_limit_value_limit_id'); + $this->addSql('CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id)'); + $this->addSql('DROP INDEX ezpolicy_limitation_value_val'); + $this->addSql('CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value)'); + $this->addSql('ALTER TABLE ezpreferences RENAME TO ibexa_user_preference'); + $this->addSql('DROP INDEX ezpreferences_user_id_idx'); + $this->addSql('CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name)'); + $this->addSql('DROP INDEX ezpreferences_name'); + $this->addSql('CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name)'); + $this->addSql('ALTER TABLE ezrole RENAME TO ibexa_role'); + $this->addSql('ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link'); + $this->addSql('DROP INDEX ezsearch_object_word_link_object'); + $this->addSql('CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id)'); + $this->addSql('DROP INDEX ezsearch_object_word_link_identifier'); + $this->addSql('CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier)'); + $this->addSql('DROP INDEX ezsearch_object_word_link_integer_value'); + $this->addSql('CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value)'); + $this->addSql('DROP INDEX ezsearch_object_word_link_word'); + $this->addSql('CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id)'); + $this->addSql('DROP INDEX ezsearch_object_word_link_frequency'); + $this->addSql('CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency)'); + $this->addSql('ALTER TABLE ezsearch_word RENAME TO ibexa_search_word'); + $this->addSql('DROP INDEX ezsearch_word_word_i'); + $this->addSql('CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word)'); + $this->addSql('DROP INDEX ezsearch_word_obj_count'); + $this->addSql('CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count)'); + $this->addSql('ALTER TABLE ezsection RENAME TO ibexa_section'); + $this->addSql('ALTER TABLE ezsite_data RENAME TO ibexa_site_data'); + $this->addSql('ALTER TABLE ezurl RENAME TO ibexa_url'); + $this->addSql('DROP INDEX ezurl_url'); + $this->addSql('CREATE INDEX ibexa_url_url ON ibexa_url (url)'); + $this->addSql('ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link'); + $this->addSql('DROP INDEX ezurl_ol_coa_id'); + $this->addSql('CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id)'); + $this->addSql('DROP INDEX ezurl_ol_url_id'); + $this->addSql('CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id)'); + $this->addSql('DROP INDEX ezurl_ol_coa_version'); + $this->addSql('CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version)'); + $this->addSql('DROP INDEX ezurl_ol_coa_id_cav'); + $this->addSql('CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version)'); + $this->addSql('ALTER TABLE ezurlalias RENAME TO ibexa_url_alias'); + $this->addSql('DROP INDEX ezurlalias_source_md5'); + $this->addSql('CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5)'); + $this->addSql('DROP INDEX ezurlalias_wcard_fwd'); + $this->addSql('CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id)'); + $this->addSql('DROP INDEX ezurlalias_forward_to_id'); + $this->addSql('CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id)'); + $this->addSql('DROP INDEX ezurlalias_imp_wcard_fwd'); + $this->addSql('CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id)'); + $this->addSql('DROP INDEX ezurlalias_source_url'); + $this->addSql('CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url)'); + $this->addSql('DROP INDEX ezurlalias_desturl'); + $this->addSql('CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url)'); + $this->addSql('ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml'); + $this->addSql('DROP INDEX ezurlalias_ml_actt_org_al'); + $this->addSql('CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias)'); + $this->addSql('DROP INDEX ezurlalias_ml_text_lang'); + $this->addSql('CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent)'); + $this->addSql('DROP INDEX ezurlalias_ml_par_act_id_lnk'); + $this->addSql('CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml ("action", id, link, parent)'); + $this->addSql('DROP INDEX ezurlalias_ml_par_lnk_txt'); + $this->addSql('CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link)'); + $this->addSql('DROP INDEX ezurlalias_ml_act_org'); + $this->addSql('CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml ("action", is_original)'); + $this->addSql('DROP INDEX ezurlalias_ml_text'); + $this->addSql('CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link)'); + $this->addSql('DROP INDEX ezurlalias_ml_link'); + $this->addSql('CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link)'); + $this->addSql('DROP INDEX ezurlalias_ml_id'); + $this->addSql('CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id)'); + $this->addSql('ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr'); + $this->addSql('ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard'); + $this->addSql('ALTER TABLE ezuser RENAME TO ibexa_user'); + $this->addSql('DROP INDEX ezuser_login'); + $this->addSql('CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login)'); + $this->addSql('ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey'); + $this->addSql('ALTER TABLE ezuser_role RENAME TO ibexa_user_role'); + $this->addSql('DROP INDEX ezuser_role_role_id'); + $this->addSql('CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id)'); + $this->addSql('DROP INDEX ezuser_role_contentobject_id'); + $this->addSql('CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id)'); + $this->addSql('ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id'); + $this->addSql('DROP INDEX ibexa_content_type_version'); + $this->addSql('CREATE INDEX ibexa_content_type_status ON ibexa_content_type (version)'); + $this->addSql('ALTER TABLE ibexa_content_type RENAME COLUMN version TO status'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status'); + $this->addSql('ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status'); + $this->addSql('ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status'); + $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); + $this->addSql('ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); + $this->addSql('DROP INDEX ibexa_content_field_classattr_id'); + $this->addSql('CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id)'); + $this->addSql('ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); + $this->addSql('DROP INDEX ibexa_content_relation_cca_id'); + $this->addSql('CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id)'); + $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); - $this->addSql(<<<'SQL' - UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock' - SQL); - $this->addSql(<<<'SQL' - UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' - SQL); - $this->addSql(<<<'SQL' - UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' - SQL); + $this->addSql('UPDATE ibexa_object_state_group SET identifier = \'ibexa_lock\' WHERE identifier = \'ez_lock\''); + $this->addSql('UPDATE ibexa_content_type_field_definition SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); + $this->addSql('UPDATE ibexa_content_field SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); } } } From 900611a6edef13b71f5662ac8d52a58c67cf4429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Mon, 20 Jul 2026 16:59:48 +0200 Subject: [PATCH 16/38] Fix CI: correct DBAL 3.x platform class names and remove extra blank lines InstallSchemaMigration/ImportDataMigration were copied verbatim from the 4.6 branch, which pins doctrine/dbal 2.x (MySqlPlatform/PostgreSqlPlatform). This branch pins doctrine/dbal 3.x, where those classes were renamed/removed with no compat alias - replaced with AbstractMySQLPlatform/PostgreSQLPlatform, matching every other migration file already on this branch. Also removes extra blank lines in RenameSchemaTo5_0Migration.php that php-cs-fixer's no_extra_blank_lines rule flagged (before each } elseif and before the closing brace, plus around the appended data-value UPDATE statements). --- .../Migration/RenameSchemaTo5_0Migration.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php index 048f8bb1f8..e5eb485f69 100644 --- a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php +++ b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php @@ -216,7 +216,6 @@ public function up(Schema $schema): void $this->addSql('ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); $this->addSql('ALTER TABLE ibexa_content_relation RENAME INDEX ibexa_content_relation_cca_id TO ibexa_content_relation_ccfd_id'); $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); - $this->addSql('UPDATE ibexa_object_state_group SET identifier = \'ibexa_lock\' WHERE identifier = \'ez_lock\''); $this->addSql('UPDATE ibexa_content_type_field_definition SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); $this->addSql('UPDATE ibexa_content_field SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); @@ -426,7 +425,6 @@ public function up(Schema $schema): void $this->addSql('ALTER SEQUENCE ezurlwildcard_id_seq RENAME TO ibexa_url_wildcard_id_seq'); $this->addSql('ALTER SEQUENCE ezuser_accountkey_id_seq RENAME TO ibexa_user_accountkey_id_seq'); $this->addSql('ALTER SEQUENCE ezuser_role_id_seq RENAME TO ibexa_user_role_id_seq'); - $this->addSql('UPDATE ibexa_object_state_group SET identifier = \'ibexa_lock\' WHERE identifier = \'ez_lock\''); $this->addSql('UPDATE ibexa_content_type_field_definition SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); $this->addSql('UPDATE ibexa_content_field SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); @@ -706,7 +704,6 @@ public function up(Schema $schema): void $this->addSql('DROP INDEX ibexa_content_relation_cca_id'); $this->addSql('CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id)'); $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); - $this->addSql('UPDATE ibexa_object_state_group SET identifier = \'ibexa_lock\' WHERE identifier = \'ez_lock\''); $this->addSql('UPDATE ibexa_content_type_field_definition SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); $this->addSql('UPDATE ibexa_content_field SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); From cb094524ebbdc11fe3d32284fbacfa9e847cf4e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Tue, 21 Jul 2026 17:12:15 +0200 Subject: [PATCH 17/38] IBX-11939: Adopted AbstractSqlMigration for platform-separated SQL Extends AbstractSqlMigration (added in ibexa/doctrine-migrations) instead of the plain Doctrine AbstractMigration, replacing `$this->platform instanceof ...` checks with isMySQL()/isPostgreSQL()/isSqlite(), and moving each platform Statement block out of the PHP file into its own sql/*.sql file loaded via addSqlFile(). Mechanical, content-preserving change: every migration was run before and after against all three platforms and the resulting SQL statement lists are byte-for-byte identical. --- .../Migration/RenameSchemaTo5_0Migration.php | 679 +----------------- .../sql/rename-schema-to-5-0-mysql.sql | 353 +++++++++ .../sql/rename-schema-to-5-0-postgresql.sql | 415 +++++++++++ .../sql/rename-schema-to-5-0-sqlite.sql | 555 ++++++++++++++ 4 files changed, 1331 insertions(+), 671 deletions(-) create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql diff --git a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php index e5eb485f69..a3f00e42aa 100644 --- a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php +++ b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php @@ -9,11 +9,8 @@ namespace Ibexa\Bundle\RepositoryInstaller\Migration; use DateTimeImmutable; -use Doctrine\DBAL\Platforms\AbstractMySQLPlatform; -use Doctrine\DBAL\Platforms\PostgreSQLPlatform; -use Doctrine\DBAL\Platforms\SqlitePlatform; use Doctrine\DBAL\Schema\Schema; -use Doctrine\Migrations\AbstractMigration; +use Ibexa\Contracts\DoctrineMigrations\Migrations\AbstractSqlMigration; use Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationInterface; /** @@ -22,7 +19,7 @@ * InstallSchemaMigration's 4.6.0 baseline; a fresh 6.0 install runs both in sequence, * while an existing 4.6 install only needs this one to reach the 5.0/6.0 shape. */ -final class RenameSchemaTo5_0Migration extends AbstractMigration implements IbexaMigrationInterface +final class RenameSchemaTo5_0Migration extends AbstractSqlMigration implements IbexaMigrationInterface { public function getDescription(): string { @@ -41,672 +38,12 @@ public static function getCreationDate(): DateTimeImmutable public function up(Schema $schema): void { - if ($this->platform instanceof AbstractMySQLPlatform) { - $this->addSql('ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file'); - $this->addSql('ALTER TABLE ezcobj_state RENAME TO ibexa_object_state'); - $this->addSql('ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_priority TO ibexa_object_state_priority'); - $this->addSql('ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_lmask TO ibexa_object_state_lmask'); - $this->addSql('ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_identifier TO ibexa_object_state_identifier'); - $this->addSql('ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group'); - $this->addSql('ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_lmask TO ibexa_object_state_group_lmask'); - $this->addSql('ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_identifier TO ibexa_object_state_group_identifier'); - $this->addSql('ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language'); - $this->addSql('ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language'); - $this->addSql('ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link'); - $this->addSql('ALTER TABLE ezcontent_language RENAME TO ibexa_content_language'); - $this->addSql('ALTER TABLE ibexa_content_language RENAME INDEX ezcontent_language_name TO ibexa_content_language_name'); - $this->addSql('ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark'); - $this->addSql('ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_location TO ibexa_content_bookmark_location'); - $this->addSql('ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user TO ibexa_content_bookmark_user'); - $this->addSql('ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user_location TO ibexa_content_bookmark_user_location'); - $this->addSql('ALTER TABLE ezcontentclass RENAME TO ibexa_content_type'); - $this->addSql('ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_version TO ibexa_content_type_version'); - $this->addSql('ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_identifier TO ibexa_content_type_identifier'); - $this->addSql('ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_ccid TO ibexa_content_type_field_definition_ctid'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_dts TO ibexa_content_type_field_definition_dts'); - $this->addSql('ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml DROP FOREIGN KEY ezcontentclass_attribute_ml_lang_fk'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE'); - $this->addSql('ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment'); - $this->addSql('ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name'); - $this->addSql('ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group'); - $this->addSql('ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree'); - $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_p_node_id TO ibexa_content_tree_p_node_id'); - $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path_ident TO ibexa_content_tree_path_ident'); - $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_contentobject_id_path_string TO ibexa_content_tree_contentobject_id_path_string'); - $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_co_id TO ibexa_content_tree_co_id'); - $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_depth TO ibexa_content_tree_depth'); - $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path TO ibexa_content_tree_path'); - $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX modified_subnode TO ibexa_content_modified_subnode'); - $this->addSql('ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_remote_id TO ibexa_content_tree_remote_id'); - $this->addSql('ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_location_fk'); - $this->addSql('ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE ezcontentobject RENAME TO ibexa_content'); - $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_classid TO ibexa_content_type_id'); - $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_lmask TO ibexa_content_lmask'); - $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_pub TO ibexa_content_pub'); - $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_section TO ibexa_content_section'); - $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_currentversion TO ibexa_content_currentversion'); - $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_owner TO ibexa_content_owner'); - $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_status TO ibexa_content_status'); - $this->addSql('ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_remote_id TO ibexa_content_remote_id'); - $this->addSql('ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field'); - $this->addSql('ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver_lang_code TO ibexa_content_field_co_id_ver_lang_code'); - $this->addSql('ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_classattr_id TO ibexa_content_field_classattr_id'); - $this->addSql('ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_language_code TO ibexa_content_field_language_code'); - $this->addSql('ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver TO ibexa_content_field_co_id_ver'); - $this->addSql('ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation'); - $this->addSql('ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_to_co_id TO ibexa_content_relation_to_co_id'); - $this->addSql('ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_from TO ibexa_content_relation_from'); - $this->addSql('ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_cca_id TO ibexa_content_relation_cca_id'); - $this->addSql('ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name'); - $this->addSql('ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_lang_id TO ibexa_content_name_lang_id'); - $this->addSql('ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_cov_id TO ibexa_content_name_cov_id'); - $this->addSql('ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_name TO ibexa_content_name_name'); - $this->addSql('ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash'); - $this->addSql('ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_depth TO ibexa_content_trash_depth'); - $this->addSql('ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_p_node_id TO ibexa_content_trash_p_node_id'); - $this->addSql('ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path_ident TO ibexa_content_trash_path_ident'); - $this->addSql('ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_co_id TO ibexa_content_trash_co_id'); - $this->addSql('ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_modified_subnode TO ibexa_content_trash_modified_subnode'); - $this->addSql('ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path TO ibexa_content_trash_path'); - $this->addSql('ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version'); - $this->addSql('ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_status TO ibexa_content_version_status'); - $this->addSql('ALTER TABLE ibexa_content_version RENAME INDEX idx_object_version_objver TO ibexa_content_version_idx_ver'); - $this->addSql('ALTER TABLE ibexa_content_version RENAME INDEX ezcontobj_version_obj_status TO ibexa_content_version_idx_status'); - $this->addSql('ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_creator_id TO ibexa_content_version_creator_id'); - $this->addSql('ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file'); - $this->addSql('ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name_trunk TO ibexa_dfs_file_name_trunk'); - $this->addSql('ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_expired_name TO ibexa_dfs_file_expired_name'); - $this->addSql('ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name TO ibexa_dfs_file_name'); - $this->addSql('ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_mtime TO ibexa_dfs_file_mtime'); - $this->addSql('ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location'); - $this->addSql('ALTER TABLE ibexa_map_location RENAME INDEX latitude_longitude_key TO ibexa_map_location_latitude_longitude_key'); - $this->addSql('ALTER TABLE ezimagefile RENAME TO ibexa_image_file'); - $this->addSql('ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_file TO ibexa_image_file_file'); - $this->addSql('ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_coid TO ibexa_image_file_coid'); - $this->addSql('ALTER TABLE ezkeyword RENAME TO ibexa_keyword'); - $this->addSql('ALTER TABLE ibexa_keyword RENAME INDEX ezkeyword_keyword TO ibexa_keyword_keyword'); - $this->addSql('ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link'); - $this->addSql('ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid TO ibexa_keyword_field_link_oaid'); - $this->addSql('ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_kid_oaid TO ibexa_keyword_field_link_kid_oaid'); - $this->addSql('ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid_ver TO ibexa_keyword_field_link_oaid_ver'); - $this->addSql('ALTER TABLE ezmedia RENAME TO ibexa_media'); - $this->addSql('ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment'); - $this->addSql('ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_is_main TO ibexa_node_assignment_is_main'); - $this->addSql('ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_coid_cov TO ibexa_node_assignment_coid_cov'); - $this->addSql('ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_parent_node TO ibexa_node_assignment_parent_node'); - $this->addSql('ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_co_version TO ibexa_node_assignment_co_version'); - $this->addSql('ALTER TABLE eznotification RENAME TO ibexa_notification'); - $this->addSql('ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner_is_pending TO ibexa_notification_owner_is_pending'); - $this->addSql('ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner TO ibexa_notification_owner'); - $this->addSql('ALTER TABLE ezpackage RENAME TO ibexa_package'); - $this->addSql('ALTER TABLE ezpolicy RENAME TO ibexa_policy'); - $this->addSql('ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_role_id TO ibexa_policy_role_id'); - $this->addSql('ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_original_id TO ibexa_policy_original_id'); - $this->addSql('ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation'); - $this->addSql('ALTER TABLE ibexa_policy_limitation RENAME INDEX policy_id TO ibexa_policy_id'); - $this->addSql('ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value'); - $this->addSql('ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limit_value_limit_id TO ibexa_policy_limit_value_limit_id'); - $this->addSql('ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limitation_value_val TO ibexa_policy_limitation_value_val'); - $this->addSql('ALTER TABLE ezpreferences RENAME TO ibexa_user_preference'); - $this->addSql('ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_user_id_idx TO ibexa_user_preference_user_id_idx'); - $this->addSql('ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_name TO ibexa_user_preference_name'); - $this->addSql('ALTER TABLE ezrole RENAME TO ibexa_role'); - $this->addSql('ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link'); - $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_object TO ibexa_search_object_word_link_object'); - $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_identifier TO ibexa_search_object_word_link_identifier'); - $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_integer_value TO ibexa_search_object_word_link_integer_value'); - $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_word TO ibexa_search_object_word_link_word'); - $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_frequency TO ibexa_search_object_word_link_frequency'); - $this->addSql('ALTER TABLE ezsearch_word RENAME TO ibexa_search_word'); - $this->addSql('ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_word_i TO ibexa_search_word_word_i'); - $this->addSql('ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_obj_count TO ibexa_search_word_obj_count'); - $this->addSql('ALTER TABLE ezsection RENAME TO ibexa_section'); - $this->addSql('ALTER TABLE ezsite_data RENAME TO ibexa_site_data'); - $this->addSql('ALTER TABLE ezurl RENAME TO ibexa_url'); - $this->addSql('ALTER TABLE ibexa_url RENAME INDEX ezurl_url TO ibexa_url_url'); - $this->addSql('ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link'); - $this->addSql('ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id TO ibexa_url_ol_coa_id'); - $this->addSql('ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_url_id TO ibexa_url_ol_url_id'); - $this->addSql('ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_version TO ibexa_url_ol_coa_version'); - $this->addSql('ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id_cav TO ibexa_url_ol_coa_id_cav'); - $this->addSql('ALTER TABLE ezurlalias RENAME TO ibexa_url_alias'); - $this->addSql('ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_md5 TO ibexa_url_alias_source_md5'); - $this->addSql('ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_wcard_fwd TO ibexa_url_alias_wcard_fwd'); - $this->addSql('ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_forward_to_id TO ibexa_url_alias_forward_to_id'); - $this->addSql('ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_imp_wcard_fwd TO ibexa_url_alias_imp_wcard_fwd'); - $this->addSql('ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_url TO ibexa_url_alias_source_url'); - $this->addSql('ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_desturl TO ibexa_url_alias_desturl'); - $this->addSql('ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml'); - $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_actt_org_al TO ibexa_url_alias_ml_actt_org_al'); - $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text_lang TO ibexa_url_alias_ml_text_lang'); - $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_act_id_lnk TO ibexa_url_alias_ml_par_act_id_lnk'); - $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_lnk_txt TO ibexa_url_alias_ml_par_lnk_txt'); - $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_act_org TO ibexa_url_alias_ml_act_org'); - $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text TO ibexa_url_alias_ml_text'); - $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_link TO ibexa_url_alias_ml_link'); - $this->addSql('ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_id TO ibexa_url_alias_ml_id'); - $this->addSql('ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr'); - $this->addSql('ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard'); - $this->addSql('ALTER TABLE ezuser RENAME TO ibexa_user'); - $this->addSql('ALTER TABLE ibexa_user RENAME INDEX ezuser_login TO ibexa_user_login'); - $this->addSql('ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey'); - $this->addSql('ALTER TABLE ezuser_role RENAME TO ibexa_user_role'); - $this->addSql('ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_role_id TO ibexa_user_role_role_id'); - $this->addSql('ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_contentobject_id TO ibexa_user_role_contentobject_id'); - $this->addSql('ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting'); - $this->addSql('ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_user_fk'); - $this->addSql('ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_content_type RENAME INDEX ibexa_content_type_version TO ibexa_content_type_status'); - $this->addSql('ALTER TABLE ibexa_content_type RENAME COLUMN version TO status'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status'); - $this->addSql('ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status'); - $this->addSql('ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); - $this->addSql('ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); - $this->addSql('ALTER TABLE ibexa_content_field RENAME INDEX ibexa_content_field_classattr_id TO ibexa_content_field_field_definition_id'); - $this->addSql('ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); - $this->addSql('ALTER TABLE ibexa_content_relation RENAME INDEX ibexa_content_relation_cca_id TO ibexa_content_relation_ccfd_id'); - $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); - $this->addSql('UPDATE ibexa_object_state_group SET identifier = \'ibexa_lock\' WHERE identifier = \'ez_lock\''); - $this->addSql('UPDATE ibexa_content_type_field_definition SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); - $this->addSql('UPDATE ibexa_content_field SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); - } elseif ($this->platform instanceof PostgreSQLPlatform) { - $this->addSql('ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file'); - $this->addSql('ALTER TABLE ezcobj_state RENAME TO ibexa_object_state'); - $this->addSql('ALTER INDEX ezcobj_state_priority RENAME TO ibexa_object_state_priority'); - $this->addSql('ALTER INDEX ezcobj_state_lmask RENAME TO ibexa_object_state_lmask'); - $this->addSql('ALTER INDEX ezcobj_state_identifier RENAME TO ibexa_object_state_identifier'); - $this->addSql('ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group'); - $this->addSql('ALTER INDEX ezcobj_state_group_lmask RENAME TO ibexa_object_state_group_lmask'); - $this->addSql('ALTER INDEX ezcobj_state_group_identifier RENAME TO ibexa_object_state_group_identifier'); - $this->addSql('ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language'); - $this->addSql('ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language'); - $this->addSql('ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link'); - $this->addSql('ALTER TABLE ezcontent_language RENAME TO ibexa_content_language'); - $this->addSql('ALTER INDEX ezcontent_language_name RENAME TO ibexa_content_language_name'); - $this->addSql('ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark'); - $this->addSql('ALTER INDEX ezcontentbrowsebookmark_location RENAME TO ibexa_content_bookmark_location'); - $this->addSql('ALTER INDEX ezcontentbrowsebookmark_user RENAME TO ibexa_content_bookmark_user'); - $this->addSql('ALTER INDEX ezcontentbrowsebookmark_user_location RENAME TO ibexa_content_bookmark_user_location'); - $this->addSql('ALTER TABLE ezcontentclass RENAME TO ibexa_content_type'); - $this->addSql('ALTER INDEX ezcontentclass_version RENAME TO ibexa_content_type_version'); - $this->addSql('ALTER INDEX ezcontentclass_identifier RENAME TO ibexa_content_type_identifier'); - $this->addSql('ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition'); - $this->addSql('ALTER INDEX ezcontentclass_attr_ccid RENAME TO ibexa_content_type_field_definition_ctid'); - $this->addSql('ALTER INDEX ezcontentclass_attr_dts RENAME TO ibexa_content_type_field_definition_dts'); - $this->addSql('ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml DROP CONSTRAINT ezcontentclass_attribute_ml_lang_fk'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE'); - $this->addSql('ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment'); - $this->addSql('ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name'); - $this->addSql('ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group'); - $this->addSql('ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree'); - $this->addSql('ALTER INDEX ezcontentobject_tree_p_node_id RENAME TO ibexa_content_tree_p_node_id'); - $this->addSql('ALTER INDEX ezcontentobject_tree_path_ident RENAME TO ibexa_content_tree_path_ident'); - $this->addSql('ALTER INDEX ezcontentobject_tree_contentobject_id_path_string RENAME TO ibexa_content_tree_contentobject_id_path_string'); - $this->addSql('ALTER INDEX ezcontentobject_tree_co_id RENAME TO ibexa_content_tree_co_id'); - $this->addSql('ALTER INDEX ezcontentobject_tree_depth RENAME TO ibexa_content_tree_depth'); - $this->addSql('ALTER INDEX ezcontentobject_tree_path RENAME TO ibexa_content_tree_path'); - $this->addSql('ALTER INDEX modified_subnode RENAME TO ibexa_content_modified_subnode'); - $this->addSql('ALTER INDEX ezcontentobject_tree_remote_id RENAME TO ibexa_content_tree_remote_id'); - $this->addSql('ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_location_fk'); - $this->addSql('ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE ezcontentobject RENAME TO ibexa_content'); - $this->addSql('ALTER INDEX ezcontentobject_classid RENAME TO ibexa_content_type_id'); - $this->addSql('ALTER INDEX ezcontentobject_lmask RENAME TO ibexa_content_lmask'); - $this->addSql('ALTER INDEX ezcontentobject_pub RENAME TO ibexa_content_pub'); - $this->addSql('ALTER INDEX ezcontentobject_section RENAME TO ibexa_content_section'); - $this->addSql('ALTER INDEX ezcontentobject_currentversion RENAME TO ibexa_content_currentversion'); - $this->addSql('ALTER INDEX ezcontentobject_owner RENAME TO ibexa_content_owner'); - $this->addSql('ALTER INDEX ezcontentobject_status RENAME TO ibexa_content_status'); - $this->addSql('ALTER INDEX ezcontentobject_remote_id RENAME TO ibexa_content_remote_id'); - $this->addSql('ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field'); - $this->addSql('ALTER INDEX ezcontentobject_attribute_co_id_ver_lang_code RENAME TO ibexa_content_field_co_id_ver_lang_code'); - $this->addSql('ALTER INDEX ezcontentobject_classattr_id RENAME TO ibexa_content_field_classattr_id'); - $this->addSql('ALTER INDEX ezcontentobject_attribute_language_code RENAME TO ibexa_content_field_language_code'); - $this->addSql('ALTER INDEX ezcontentobject_attribute_co_id_ver RENAME TO ibexa_content_field_co_id_ver'); - $this->addSql('ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation'); - $this->addSql('ALTER INDEX ezco_link_to_co_id RENAME TO ibexa_content_relation_to_co_id'); - $this->addSql('ALTER INDEX ezco_link_from RENAME TO ibexa_content_relation_from'); - $this->addSql('ALTER INDEX ezco_link_cca_id RENAME TO ibexa_content_relation_cca_id'); - $this->addSql('ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name'); - $this->addSql('ALTER INDEX ezcontentobject_name_lang_id RENAME TO ibexa_content_name_lang_id'); - $this->addSql('ALTER INDEX ezcontentobject_name_cov_id RENAME TO ibexa_content_name_cov_id'); - $this->addSql('ALTER INDEX ezcontentobject_name_name RENAME TO ibexa_content_name_name'); - $this->addSql('ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash'); - $this->addSql('ALTER INDEX ezcobj_trash_depth RENAME TO ibexa_content_trash_depth'); - $this->addSql('ALTER INDEX ezcobj_trash_p_node_id RENAME TO ibexa_content_trash_p_node_id'); - $this->addSql('ALTER INDEX ezcobj_trash_path_ident RENAME TO ibexa_content_trash_path_ident'); - $this->addSql('ALTER INDEX ezcobj_trash_co_id RENAME TO ibexa_content_trash_co_id'); - $this->addSql('ALTER INDEX ezcobj_trash_modified_subnode RENAME TO ibexa_content_trash_modified_subnode'); - $this->addSql('ALTER INDEX ezcobj_trash_path RENAME TO ibexa_content_trash_path'); - $this->addSql('ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version'); - $this->addSql('ALTER INDEX ezcobj_version_status RENAME TO ibexa_content_version_status'); - $this->addSql('ALTER INDEX idx_object_version_objver RENAME TO ibexa_content_version_idx_ver'); - $this->addSql('ALTER INDEX ezcontobj_version_obj_status RENAME TO ibexa_content_version_idx_status'); - $this->addSql('ALTER INDEX ezcobj_version_creator_id RENAME TO ibexa_content_version_creator_id'); - $this->addSql('ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file'); - $this->addSql('ALTER INDEX ezdfsfile_name_trunk RENAME TO ibexa_dfs_file_name_trunk'); - $this->addSql('ALTER INDEX ezdfsfile_expired_name RENAME TO ibexa_dfs_file_expired_name'); - $this->addSql('ALTER INDEX ezdfsfile_name RENAME TO ibexa_dfs_file_name'); - $this->addSql('ALTER INDEX ezdfsfile_mtime RENAME TO ibexa_dfs_file_mtime'); - $this->addSql('ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location'); - $this->addSql('ALTER INDEX latitude_longitude_key RENAME TO ibexa_map_location_latitude_longitude_key'); - $this->addSql('ALTER TABLE ezimagefile RENAME TO ibexa_image_file'); - $this->addSql('ALTER INDEX ezimagefile_file RENAME TO ibexa_image_file_file'); - $this->addSql('ALTER INDEX ezimagefile_coid RENAME TO ibexa_image_file_coid'); - $this->addSql('ALTER TABLE ezkeyword RENAME TO ibexa_keyword'); - $this->addSql('ALTER INDEX ezkeyword_keyword RENAME TO ibexa_keyword_keyword'); - $this->addSql('ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link'); - $this->addSql('ALTER INDEX ezkeyword_attr_link_oaid RENAME TO ibexa_keyword_field_link_oaid'); - $this->addSql('ALTER INDEX ezkeyword_attr_link_kid_oaid RENAME TO ibexa_keyword_field_link_kid_oaid'); - $this->addSql('ALTER INDEX ezkeyword_attr_link_oaid_ver RENAME TO ibexa_keyword_field_link_oaid_ver'); - $this->addSql('ALTER TABLE ezmedia RENAME TO ibexa_media'); - $this->addSql('ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment'); - $this->addSql('ALTER INDEX eznode_assignment_is_main RENAME TO ibexa_node_assignment_is_main'); - $this->addSql('ALTER INDEX eznode_assignment_coid_cov RENAME TO ibexa_node_assignment_coid_cov'); - $this->addSql('ALTER INDEX eznode_assignment_parent_node RENAME TO ibexa_node_assignment_parent_node'); - $this->addSql('ALTER INDEX eznode_assignment_co_version RENAME TO ibexa_node_assignment_co_version'); - $this->addSql('ALTER TABLE eznotification RENAME TO ibexa_notification'); - $this->addSql('ALTER INDEX eznotification_owner_is_pending RENAME TO ibexa_notification_owner_is_pending'); - $this->addSql('ALTER INDEX eznotification_owner RENAME TO ibexa_notification_owner'); - $this->addSql('ALTER TABLE ezpackage RENAME TO ibexa_package'); - $this->addSql('ALTER TABLE ezpolicy RENAME TO ibexa_policy'); - $this->addSql('ALTER INDEX ezpolicy_role_id RENAME TO ibexa_policy_role_id'); - $this->addSql('ALTER INDEX ezpolicy_original_id RENAME TO ibexa_policy_original_id'); - $this->addSql('ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation'); - $this->addSql('ALTER INDEX policy_id RENAME TO ibexa_policy_id'); - $this->addSql('ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value'); - $this->addSql('ALTER INDEX ezpolicy_limit_value_limit_id RENAME TO ibexa_policy_limit_value_limit_id'); - $this->addSql('ALTER INDEX ezpolicy_limitation_value_val RENAME TO ibexa_policy_limitation_value_val'); - $this->addSql('ALTER TABLE ezpreferences RENAME TO ibexa_user_preference'); - $this->addSql('ALTER INDEX ezpreferences_user_id_idx RENAME TO ibexa_user_preference_user_id_idx'); - $this->addSql('ALTER INDEX ezpreferences_name RENAME TO ibexa_user_preference_name'); - $this->addSql('ALTER TABLE ezrole RENAME TO ibexa_role'); - $this->addSql('ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link'); - $this->addSql('ALTER INDEX ezsearch_object_word_link_object RENAME TO ibexa_search_object_word_link_object'); - $this->addSql('ALTER INDEX ezsearch_object_word_link_identifier RENAME TO ibexa_search_object_word_link_identifier'); - $this->addSql('ALTER INDEX ezsearch_object_word_link_integer_value RENAME TO ibexa_search_object_word_link_integer_value'); - $this->addSql('ALTER INDEX ezsearch_object_word_link_word RENAME TO ibexa_search_object_word_link_word'); - $this->addSql('ALTER INDEX ezsearch_object_word_link_frequency RENAME TO ibexa_search_object_word_link_frequency'); - $this->addSql('ALTER TABLE ezsearch_word RENAME TO ibexa_search_word'); - $this->addSql('ALTER INDEX ezsearch_word_word_i RENAME TO ibexa_search_word_word_i'); - $this->addSql('ALTER INDEX ezsearch_word_obj_count RENAME TO ibexa_search_word_obj_count'); - $this->addSql('ALTER TABLE ezsection RENAME TO ibexa_section'); - $this->addSql('ALTER TABLE ezsite_data RENAME TO ibexa_site_data'); - $this->addSql('ALTER TABLE ezurl RENAME TO ibexa_url'); - $this->addSql('ALTER INDEX ezurl_url RENAME TO ibexa_url_url'); - $this->addSql('ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link'); - $this->addSql('ALTER INDEX ezurl_ol_coa_id RENAME TO ibexa_url_ol_coa_id'); - $this->addSql('ALTER INDEX ezurl_ol_url_id RENAME TO ibexa_url_ol_url_id'); - $this->addSql('ALTER INDEX ezurl_ol_coa_version RENAME TO ibexa_url_ol_coa_version'); - $this->addSql('ALTER INDEX ezurl_ol_coa_id_cav RENAME TO ibexa_url_ol_coa_id_cav'); - $this->addSql('ALTER TABLE ezurlalias RENAME TO ibexa_url_alias'); - $this->addSql('ALTER INDEX ezurlalias_source_md5 RENAME TO ibexa_url_alias_source_md5'); - $this->addSql('ALTER INDEX ezurlalias_wcard_fwd RENAME TO ibexa_url_alias_wcard_fwd'); - $this->addSql('ALTER INDEX ezurlalias_forward_to_id RENAME TO ibexa_url_alias_forward_to_id'); - $this->addSql('ALTER INDEX ezurlalias_imp_wcard_fwd RENAME TO ibexa_url_alias_imp_wcard_fwd'); - $this->addSql('ALTER INDEX ezurlalias_source_url RENAME TO ibexa_url_alias_source_url'); - $this->addSql('ALTER INDEX ezurlalias_desturl RENAME TO ibexa_url_alias_desturl'); - $this->addSql('ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml'); - $this->addSql('ALTER INDEX ezurlalias_ml_actt_org_al RENAME TO ibexa_url_alias_ml_actt_org_al'); - $this->addSql('ALTER INDEX ezurlalias_ml_text_lang RENAME TO ibexa_url_alias_ml_text_lang'); - $this->addSql('ALTER INDEX ezurlalias_ml_par_act_id_lnk RENAME TO ibexa_url_alias_ml_par_act_id_lnk'); - $this->addSql('ALTER INDEX ezurlalias_ml_par_lnk_txt RENAME TO ibexa_url_alias_ml_par_lnk_txt'); - $this->addSql('ALTER INDEX ezurlalias_ml_act_org RENAME TO ibexa_url_alias_ml_act_org'); - $this->addSql('ALTER INDEX ezurlalias_ml_text RENAME TO ibexa_url_alias_ml_text'); - $this->addSql('ALTER INDEX ezurlalias_ml_link RENAME TO ibexa_url_alias_ml_link'); - $this->addSql('ALTER INDEX ezurlalias_ml_id RENAME TO ibexa_url_alias_ml_id'); - $this->addSql('ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr'); - $this->addSql('ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard'); - $this->addSql('ALTER TABLE ezuser RENAME TO ibexa_user'); - $this->addSql('ALTER INDEX ezuser_login RENAME TO ibexa_user_login'); - $this->addSql('ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey'); - $this->addSql('ALTER TABLE ezuser_role RENAME TO ibexa_user_role'); - $this->addSql('ALTER INDEX ezuser_role_role_id RENAME TO ibexa_user_role_role_id'); - $this->addSql('ALTER INDEX ezuser_role_contentobject_id RENAME TO ibexa_user_role_contentobject_id'); - $this->addSql('ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting'); - $this->addSql('ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_user_fk'); - $this->addSql('ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER INDEX ibexa_content_type_version RENAME TO ibexa_content_type_status'); - $this->addSql('ALTER TABLE ibexa_content_type RENAME COLUMN version TO status'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status'); - $this->addSql('ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status'); - $this->addSql('ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); - $this->addSql('ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); - $this->addSql('ALTER INDEX ibexa_content_field_classattr_id RENAME TO ibexa_content_field_field_definition_id'); - $this->addSql('ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); - $this->addSql('ALTER INDEX ibexa_content_relation_cca_id RENAME TO ibexa_content_relation_ccfd_id'); - $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); - $this->addSql('ALTER SEQUENCE ezcobj_state_group_id_seq RENAME TO ibexa_object_state_group_id_seq'); - $this->addSql('ALTER SEQUENCE ezcobj_state_id_seq RENAME TO ibexa_object_state_id_seq'); - $this->addSql('ALTER SEQUENCE ezcontentbrowsebookmark_id_seq RENAME TO ibexa_content_bookmark_id_seq'); - $this->addSql('ALTER SEQUENCE ezcontentclass_attribute_id_seq RENAME TO ibexa_content_type_field_definition_id_seq'); - $this->addSql('ALTER SEQUENCE ezcontentclass_id_seq RENAME TO ibexa_content_type_id_seq'); - $this->addSql('ALTER SEQUENCE ezcontentclassgroup_id_seq RENAME TO ibexa_content_type_group_id_seq'); - $this->addSql('ALTER SEQUENCE ezcontentobject_attribute_id_seq RENAME TO ibexa_content_field_id_seq'); - $this->addSql('ALTER SEQUENCE ezcontentobject_id_seq RENAME TO ibexa_content_id_seq'); - $this->addSql('ALTER SEQUENCE ezcontentobject_link_id_seq RENAME TO ibexa_content_relation_id_seq'); - $this->addSql('ALTER SEQUENCE ezcontentobject_tree_node_id_seq RENAME TO ibexa_content_tree_node_id_seq'); - $this->addSql('ALTER SEQUENCE ezcontentobject_version_id_seq RENAME TO ibexa_content_version_id_seq'); - $this->addSql('ALTER SEQUENCE ezimagefile_id_seq RENAME TO ibexa_image_file_id_seq'); - $this->addSql('ALTER SEQUENCE ezkeyword_attribute_link_id_seq RENAME TO ibexa_keyword_field_link_id_seq'); - $this->addSql('ALTER SEQUENCE ezkeyword_id_seq RENAME TO ibexa_keyword_id_seq'); - $this->addSql('ALTER SEQUENCE eznode_assignment_id_seq RENAME TO ibexa_node_assignment_id_seq'); - $this->addSql('ALTER SEQUENCE eznotification_id_seq RENAME TO ibexa_notification_id_seq'); - $this->addSql('ALTER SEQUENCE ezpackage_id_seq RENAME TO ibexa_package_id_seq'); - $this->addSql('ALTER SEQUENCE ezpolicy_id_seq RENAME TO ibexa_policy_id_seq'); - $this->addSql('ALTER SEQUENCE ezpolicy_limitation_id_seq RENAME TO ibexa_policy_limitation_id_seq'); - $this->addSql('ALTER SEQUENCE ezpolicy_limitation_value_id_seq RENAME TO ibexa_policy_limitation_value_id_seq'); - $this->addSql('ALTER SEQUENCE ezpreferences_id_seq RENAME TO ibexa_user_preference_id_seq'); - $this->addSql('ALTER SEQUENCE ezrole_id_seq RENAME TO ibexa_role_id_seq'); - $this->addSql('ALTER SEQUENCE ezsearch_object_word_link_id_seq RENAME TO ibexa_search_object_word_link_id_seq'); - $this->addSql('ALTER SEQUENCE ezsearch_word_id_seq RENAME TO ibexa_search_word_id_seq'); - $this->addSql('ALTER SEQUENCE ezsection_id_seq RENAME TO ibexa_section_id_seq'); - $this->addSql('ALTER SEQUENCE ezurl_id_seq RENAME TO ibexa_url_id_seq'); - $this->addSql('ALTER SEQUENCE ezurlalias_id_seq RENAME TO ibexa_url_alias_id_seq'); - $this->addSql('ALTER SEQUENCE ezurlalias_ml_incr_id_seq RENAME TO ibexa_url_alias_ml_incr_id_seq'); - $this->addSql('ALTER SEQUENCE ezurlwildcard_id_seq RENAME TO ibexa_url_wildcard_id_seq'); - $this->addSql('ALTER SEQUENCE ezuser_accountkey_id_seq RENAME TO ibexa_user_accountkey_id_seq'); - $this->addSql('ALTER SEQUENCE ezuser_role_id_seq RENAME TO ibexa_user_role_id_seq'); - $this->addSql('UPDATE ibexa_object_state_group SET identifier = \'ibexa_lock\' WHERE identifier = \'ez_lock\''); - $this->addSql('UPDATE ibexa_content_type_field_definition SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); - $this->addSql('UPDATE ibexa_content_field SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); - } elseif ($this->platform instanceof SqlitePlatform) { - $this->addSql('ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file'); - $this->addSql('ALTER TABLE ezcobj_state RENAME TO ibexa_object_state'); - $this->addSql('DROP INDEX ezcobj_state_priority'); - $this->addSql('CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority)'); - $this->addSql('DROP INDEX ezcobj_state_lmask'); - $this->addSql('CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask)'); - $this->addSql('DROP INDEX ezcobj_state_identifier'); - $this->addSql('CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier)'); - $this->addSql('ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group'); - $this->addSql('DROP INDEX ezcobj_state_group_lmask'); - $this->addSql('CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask)'); - $this->addSql('DROP INDEX ezcobj_state_group_identifier'); - $this->addSql('CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier)'); - $this->addSql('ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language'); - $this->addSql('ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language'); - $this->addSql('ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link'); - $this->addSql('ALTER TABLE ezcontent_language RENAME TO ibexa_content_language'); - $this->addSql('DROP INDEX ezcontent_language_name'); - $this->addSql('CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name)'); - $this->addSql('ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark'); - $this->addSql('DROP INDEX ezcontentbrowsebookmark_location'); - $this->addSql('CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id)'); - $this->addSql('DROP INDEX ezcontentbrowsebookmark_user'); - $this->addSql('CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id)'); - $this->addSql('DROP INDEX ezcontentbrowsebookmark_user_location'); - $this->addSql('CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id)'); - $this->addSql('ALTER TABLE ezcontentclass RENAME TO ibexa_content_type'); - $this->addSql('DROP INDEX ezcontentclass_version'); - $this->addSql('CREATE INDEX ibexa_content_type_version ON ibexa_content_type (version)'); - $this->addSql('DROP INDEX ezcontentclass_identifier'); - $this->addSql('CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, version)'); - $this->addSql('ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition'); - $this->addSql('DROP INDEX ezcontentclass_attr_ccid'); - $this->addSql('CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (contentclass_id)'); - $this->addSql('DROP INDEX ezcontentclass_attr_dts'); - $this->addSql('CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string)'); - $this->addSql('ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml'); - $this->addSql('DROP INDEX ezcontentclass_attribute_ml_lang_fk'); - $this->addSql('CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id)'); - $this->addSql('ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment'); - $this->addSql('ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name'); - $this->addSql('ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group'); - $this->addSql('ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree'); - $this->addSql('DROP INDEX ezcontentobject_tree_p_node_id'); - $this->addSql('CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id)'); - $this->addSql('DROP INDEX ezcontentobject_tree_path_ident'); - $this->addSql('CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string)'); - $this->addSql('DROP INDEX ezcontentobject_tree_contentobject_id_path_string'); - $this->addSql('CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id)'); - $this->addSql('DROP INDEX ezcontentobject_tree_co_id'); - $this->addSql('CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id)'); - $this->addSql('DROP INDEX ezcontentobject_tree_depth'); - $this->addSql('CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth)'); - $this->addSql('DROP INDEX ezcontentobject_tree_path'); - $this->addSql('CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string)'); - $this->addSql('DROP INDEX modified_subnode'); - $this->addSql('CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode)'); - $this->addSql('DROP INDEX ezcontentobject_tree_remote_id'); - $this->addSql('CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id)'); - $this->addSql('ALTER TABLE ezcontentobject RENAME TO ibexa_content'); - $this->addSql('DROP INDEX ezcontentobject_classid'); - $this->addSql('CREATE INDEX ibexa_content_type_id ON ibexa_content (contentclass_id)'); - $this->addSql('DROP INDEX ezcontentobject_lmask'); - $this->addSql('CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask)'); - $this->addSql('DROP INDEX ezcontentobject_pub'); - $this->addSql('CREATE INDEX ibexa_content_pub ON ibexa_content (published)'); - $this->addSql('DROP INDEX ezcontentobject_section'); - $this->addSql('CREATE INDEX ibexa_content_section ON ibexa_content (section_id)'); - $this->addSql('DROP INDEX ezcontentobject_currentversion'); - $this->addSql('CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version)'); - $this->addSql('DROP INDEX ezcontentobject_owner'); - $this->addSql('CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id)'); - $this->addSql('DROP INDEX ezcontentobject_status'); - $this->addSql('CREATE INDEX ibexa_content_status ON ibexa_content (status)'); - $this->addSql('DROP INDEX ezcontentobject_remote_id'); - $this->addSql('CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id)'); - $this->addSql('ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field'); - $this->addSql('DROP INDEX ezcontentobject_attribute_co_id_ver_lang_code'); - $this->addSql('CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code)'); - $this->addSql('DROP INDEX ezcontentobject_classattr_id'); - $this->addSql('CREATE INDEX ibexa_content_field_classattr_id ON ibexa_content_field (contentclassattribute_id)'); - $this->addSql('DROP INDEX ezcontentobject_attribute_language_code'); - $this->addSql('CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code)'); - $this->addSql('DROP INDEX ezcontentobject_attribute_co_id_ver'); - $this->addSql('CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version)'); - $this->addSql('ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation'); - $this->addSql('DROP INDEX ezco_link_to_co_id'); - $this->addSql('CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id)'); - $this->addSql('DROP INDEX ezco_link_from'); - $this->addSql('CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, contentclassattribute_id)'); - $this->addSql('DROP INDEX ezco_link_cca_id'); - $this->addSql('CREATE INDEX ibexa_content_relation_cca_id ON ibexa_content_relation (contentclassattribute_id)'); - $this->addSql('ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name'); - $this->addSql('DROP INDEX ezcontentobject_name_lang_id'); - $this->addSql('CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id)'); - $this->addSql('DROP INDEX ezcontentobject_name_cov_id'); - $this->addSql('CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version)'); - $this->addSql('DROP INDEX ezcontentobject_name_name'); - $this->addSql('CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name)'); - $this->addSql('ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash'); - $this->addSql('DROP INDEX ezcobj_trash_depth'); - $this->addSql('CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth)'); - $this->addSql('DROP INDEX ezcobj_trash_p_node_id'); - $this->addSql('CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id)'); - $this->addSql('DROP INDEX ezcobj_trash_path_ident'); - $this->addSql('CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string)'); - $this->addSql('DROP INDEX ezcobj_trash_co_id'); - $this->addSql('CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id)'); - $this->addSql('DROP INDEX ezcobj_trash_modified_subnode'); - $this->addSql('CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode)'); - $this->addSql('DROP INDEX ezcobj_trash_path'); - $this->addSql('CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string)'); - $this->addSql('ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version'); - $this->addSql('DROP INDEX ezcobj_version_status'); - $this->addSql('CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status)'); - $this->addSql('DROP INDEX idx_object_version_objver'); - $this->addSql('CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version)'); - $this->addSql('DROP INDEX ezcontobj_version_obj_status'); - $this->addSql('CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status)'); - $this->addSql('DROP INDEX ezcobj_version_creator_id'); - $this->addSql('CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id)'); - $this->addSql('ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file'); - $this->addSql('DROP INDEX ezdfsfile_name_trunk'); - $this->addSql('CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk)'); - $this->addSql('DROP INDEX ezdfsfile_expired_name'); - $this->addSql('CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name)'); - $this->addSql('DROP INDEX ezdfsfile_name'); - $this->addSql('CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name)'); - $this->addSql('DROP INDEX ezdfsfile_mtime'); - $this->addSql('CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime)'); - $this->addSql('ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location'); - $this->addSql('DROP INDEX latitude_longitude_key'); - $this->addSql('CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude)'); - $this->addSql('ALTER TABLE ezimagefile RENAME TO ibexa_image_file'); - $this->addSql('DROP INDEX ezimagefile_file'); - $this->addSql('CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath)'); - $this->addSql('DROP INDEX ezimagefile_coid'); - $this->addSql('CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id)'); - $this->addSql('ALTER TABLE ezkeyword RENAME TO ibexa_keyword'); - $this->addSql('DROP INDEX ezkeyword_keyword'); - $this->addSql('CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword)'); - $this->addSql('ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link'); - $this->addSql('DROP INDEX ezkeyword_attr_link_oaid'); - $this->addSql('CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id)'); - $this->addSql('DROP INDEX ezkeyword_attr_link_kid_oaid'); - $this->addSql('CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id)'); - $this->addSql('DROP INDEX ezkeyword_attr_link_oaid_ver'); - $this->addSql('CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version)'); - $this->addSql('ALTER TABLE ezmedia RENAME TO ibexa_media'); - $this->addSql('ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment'); - $this->addSql('DROP INDEX eznode_assignment_is_main'); - $this->addSql('CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main)'); - $this->addSql('DROP INDEX eznode_assignment_coid_cov'); - $this->addSql('CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version)'); - $this->addSql('DROP INDEX eznode_assignment_parent_node'); - $this->addSql('CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node)'); - $this->addSql('DROP INDEX eznode_assignment_co_version'); - $this->addSql('CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version)'); - $this->addSql('ALTER TABLE eznotification RENAME TO ibexa_notification'); - $this->addSql('DROP INDEX eznotification_owner_is_pending'); - $this->addSql('CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending)'); - $this->addSql('DROP INDEX eznotification_owner'); - $this->addSql('CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id)'); - $this->addSql('ALTER TABLE ezpackage RENAME TO ibexa_package'); - $this->addSql('ALTER TABLE ezpolicy RENAME TO ibexa_policy'); - $this->addSql('DROP INDEX ezpolicy_role_id'); - $this->addSql('CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id)'); - $this->addSql('DROP INDEX ezpolicy_original_id'); - $this->addSql('CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id)'); - $this->addSql('ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation'); - $this->addSql('DROP INDEX policy_id'); - $this->addSql('CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id)'); - $this->addSql('ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value'); - $this->addSql('DROP INDEX ezpolicy_limit_value_limit_id'); - $this->addSql('CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id)'); - $this->addSql('DROP INDEX ezpolicy_limitation_value_val'); - $this->addSql('CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value)'); - $this->addSql('ALTER TABLE ezpreferences RENAME TO ibexa_user_preference'); - $this->addSql('DROP INDEX ezpreferences_user_id_idx'); - $this->addSql('CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name)'); - $this->addSql('DROP INDEX ezpreferences_name'); - $this->addSql('CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name)'); - $this->addSql('ALTER TABLE ezrole RENAME TO ibexa_role'); - $this->addSql('ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link'); - $this->addSql('DROP INDEX ezsearch_object_word_link_object'); - $this->addSql('CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id)'); - $this->addSql('DROP INDEX ezsearch_object_word_link_identifier'); - $this->addSql('CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier)'); - $this->addSql('DROP INDEX ezsearch_object_word_link_integer_value'); - $this->addSql('CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value)'); - $this->addSql('DROP INDEX ezsearch_object_word_link_word'); - $this->addSql('CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id)'); - $this->addSql('DROP INDEX ezsearch_object_word_link_frequency'); - $this->addSql('CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency)'); - $this->addSql('ALTER TABLE ezsearch_word RENAME TO ibexa_search_word'); - $this->addSql('DROP INDEX ezsearch_word_word_i'); - $this->addSql('CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word)'); - $this->addSql('DROP INDEX ezsearch_word_obj_count'); - $this->addSql('CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count)'); - $this->addSql('ALTER TABLE ezsection RENAME TO ibexa_section'); - $this->addSql('ALTER TABLE ezsite_data RENAME TO ibexa_site_data'); - $this->addSql('ALTER TABLE ezurl RENAME TO ibexa_url'); - $this->addSql('DROP INDEX ezurl_url'); - $this->addSql('CREATE INDEX ibexa_url_url ON ibexa_url (url)'); - $this->addSql('ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link'); - $this->addSql('DROP INDEX ezurl_ol_coa_id'); - $this->addSql('CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id)'); - $this->addSql('DROP INDEX ezurl_ol_url_id'); - $this->addSql('CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id)'); - $this->addSql('DROP INDEX ezurl_ol_coa_version'); - $this->addSql('CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version)'); - $this->addSql('DROP INDEX ezurl_ol_coa_id_cav'); - $this->addSql('CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version)'); - $this->addSql('ALTER TABLE ezurlalias RENAME TO ibexa_url_alias'); - $this->addSql('DROP INDEX ezurlalias_source_md5'); - $this->addSql('CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5)'); - $this->addSql('DROP INDEX ezurlalias_wcard_fwd'); - $this->addSql('CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id)'); - $this->addSql('DROP INDEX ezurlalias_forward_to_id'); - $this->addSql('CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id)'); - $this->addSql('DROP INDEX ezurlalias_imp_wcard_fwd'); - $this->addSql('CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id)'); - $this->addSql('DROP INDEX ezurlalias_source_url'); - $this->addSql('CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url)'); - $this->addSql('DROP INDEX ezurlalias_desturl'); - $this->addSql('CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url)'); - $this->addSql('ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml'); - $this->addSql('DROP INDEX ezurlalias_ml_actt_org_al'); - $this->addSql('CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias)'); - $this->addSql('DROP INDEX ezurlalias_ml_text_lang'); - $this->addSql('CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent)'); - $this->addSql('DROP INDEX ezurlalias_ml_par_act_id_lnk'); - $this->addSql('CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml ("action", id, link, parent)'); - $this->addSql('DROP INDEX ezurlalias_ml_par_lnk_txt'); - $this->addSql('CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link)'); - $this->addSql('DROP INDEX ezurlalias_ml_act_org'); - $this->addSql('CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml ("action", is_original)'); - $this->addSql('DROP INDEX ezurlalias_ml_text'); - $this->addSql('CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link)'); - $this->addSql('DROP INDEX ezurlalias_ml_link'); - $this->addSql('CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link)'); - $this->addSql('DROP INDEX ezurlalias_ml_id'); - $this->addSql('CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id)'); - $this->addSql('ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr'); - $this->addSql('ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard'); - $this->addSql('ALTER TABLE ezuser RENAME TO ibexa_user'); - $this->addSql('DROP INDEX ezuser_login'); - $this->addSql('CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login)'); - $this->addSql('ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey'); - $this->addSql('ALTER TABLE ezuser_role RENAME TO ibexa_user_role'); - $this->addSql('DROP INDEX ezuser_role_role_id'); - $this->addSql('CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id)'); - $this->addSql('DROP INDEX ezuser_role_contentobject_id'); - $this->addSql('CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id)'); - $this->addSql('ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id'); - $this->addSql('DROP INDEX ibexa_content_type_version'); - $this->addSql('CREATE INDEX ibexa_content_type_status ON ibexa_content_type (version)'); - $this->addSql('ALTER TABLE ibexa_content_type RENAME COLUMN version TO status'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status'); - $this->addSql('ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status'); - $this->addSql('ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status'); - $this->addSql('ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); - $this->addSql('ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); - $this->addSql('DROP INDEX ibexa_content_field_classattr_id'); - $this->addSql('CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id)'); - $this->addSql('ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id'); - $this->addSql('DROP INDEX ibexa_content_relation_cca_id'); - $this->addSql('CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id)'); - $this->addSql('ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id'); - $this->addSql('UPDATE ibexa_object_state_group SET identifier = \'ibexa_lock\' WHERE identifier = \'ez_lock\''); - $this->addSql('UPDATE ibexa_content_type_field_definition SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); - $this->addSql('UPDATE ibexa_content_field SET data_type_string = \'ibexa_string\' WHERE data_type_string = \'ezstring\''); + if ($this->isMySQL()) { + $this->addSqlFile(__DIR__ . '/sql/rename-schema-to-5-0-mysql.sql'); + } elseif ($this->isPostgreSQL()) { + $this->addSqlFile(__DIR__ . '/sql/rename-schema-to-5-0-postgresql.sql'); + } elseif ($this->isSqlite()) { + $this->addSqlFile(__DIR__ . '/sql/rename-schema-to-5-0-sqlite.sql'); } } } diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql new file mode 100644 index 0000000000..5b9fc8bd58 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql @@ -0,0 +1,353 @@ +ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state RENAME TO ibexa_object_state +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_priority TO ibexa_object_state_priority +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_lmask TO ibexa_object_state_lmask +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_identifier TO ibexa_object_state_identifier +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_lmask TO ibexa_object_state_group_lmask +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_identifier TO ibexa_object_state_group_identifier +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link +-- ibexa:sql-statement-separator +ALTER TABLE ezcontent_language RENAME TO ibexa_content_language +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_language RENAME INDEX ezcontent_language_name TO ibexa_content_language_name +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_location TO ibexa_content_bookmark_location +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user TO ibexa_content_bookmark_user +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user_location TO ibexa_content_bookmark_user_location +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass RENAME TO ibexa_content_type +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_version TO ibexa_content_type_version +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_identifier TO ibexa_content_type_identifier +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_ccid TO ibexa_content_type_field_definition_ctid +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_dts TO ibexa_content_type_field_definition_dts +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition_ml DROP FOREIGN KEY ezcontentclass_attribute_ml_lang_fk +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_p_node_id TO ibexa_content_tree_p_node_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path_ident TO ibexa_content_tree_path_ident +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_contentobject_id_path_string TO ibexa_content_tree_contentobject_id_path_string +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_co_id TO ibexa_content_tree_co_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_depth TO ibexa_content_tree_depth +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path TO ibexa_content_tree_path +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_tree RENAME INDEX modified_subnode TO ibexa_content_modified_subnode +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_remote_id TO ibexa_content_tree_remote_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_location_fk +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject RENAME TO ibexa_content +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_classid TO ibexa_content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_lmask TO ibexa_content_lmask +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_pub TO ibexa_content_pub +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_section TO ibexa_content_section +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_currentversion TO ibexa_content_currentversion +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_owner TO ibexa_content_owner +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_status TO ibexa_content_status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_remote_id TO ibexa_content_remote_id +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver_lang_code TO ibexa_content_field_co_id_ver_lang_code +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_classattr_id TO ibexa_content_field_classattr_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_language_code TO ibexa_content_field_language_code +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver TO ibexa_content_field_co_id_ver +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_to_co_id TO ibexa_content_relation_to_co_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_from TO ibexa_content_relation_from +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_cca_id TO ibexa_content_relation_cca_id +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_lang_id TO ibexa_content_name_lang_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_cov_id TO ibexa_content_name_cov_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_name TO ibexa_content_name_name +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_depth TO ibexa_content_trash_depth +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_p_node_id TO ibexa_content_trash_p_node_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path_ident TO ibexa_content_trash_path_ident +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_co_id TO ibexa_content_trash_co_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_modified_subnode TO ibexa_content_trash_modified_subnode +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path TO ibexa_content_trash_path +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_status TO ibexa_content_version_status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_version RENAME INDEX idx_object_version_objver TO ibexa_content_version_idx_ver +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_version RENAME INDEX ezcontobj_version_obj_status TO ibexa_content_version_idx_status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_creator_id TO ibexa_content_version_creator_id +-- ibexa:sql-statement-separator +ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name_trunk TO ibexa_dfs_file_name_trunk +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_expired_name TO ibexa_dfs_file_expired_name +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name TO ibexa_dfs_file_name +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_mtime TO ibexa_dfs_file_mtime +-- ibexa:sql-statement-separator +ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_map_location RENAME INDEX latitude_longitude_key TO ibexa_map_location_latitude_longitude_key +-- ibexa:sql-statement-separator +ALTER TABLE ezimagefile RENAME TO ibexa_image_file +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_file TO ibexa_image_file_file +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_coid TO ibexa_image_file_coid +-- ibexa:sql-statement-separator +ALTER TABLE ezkeyword RENAME TO ibexa_keyword +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_keyword RENAME INDEX ezkeyword_keyword TO ibexa_keyword_keyword +-- ibexa:sql-statement-separator +ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid TO ibexa_keyword_field_link_oaid +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_kid_oaid TO ibexa_keyword_field_link_kid_oaid +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid_ver TO ibexa_keyword_field_link_oaid_ver +-- ibexa:sql-statement-separator +ALTER TABLE ezmedia RENAME TO ibexa_media +-- ibexa:sql-statement-separator +ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_is_main TO ibexa_node_assignment_is_main +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_coid_cov TO ibexa_node_assignment_coid_cov +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_parent_node TO ibexa_node_assignment_parent_node +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_co_version TO ibexa_node_assignment_co_version +-- ibexa:sql-statement-separator +ALTER TABLE eznotification RENAME TO ibexa_notification +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner_is_pending TO ibexa_notification_owner_is_pending +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner TO ibexa_notification_owner +-- ibexa:sql-statement-separator +ALTER TABLE ezpackage RENAME TO ibexa_package +-- ibexa:sql-statement-separator +ALTER TABLE ezpolicy RENAME TO ibexa_policy +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_role_id TO ibexa_policy_role_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_original_id TO ibexa_policy_original_id +-- ibexa:sql-statement-separator +ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_policy_limitation RENAME INDEX policy_id TO ibexa_policy_id +-- ibexa:sql-statement-separator +ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limit_value_limit_id TO ibexa_policy_limit_value_limit_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limitation_value_val TO ibexa_policy_limitation_value_val +-- ibexa:sql-statement-separator +ALTER TABLE ezpreferences RENAME TO ibexa_user_preference +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_user_id_idx TO ibexa_user_preference_user_id_idx +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_name TO ibexa_user_preference_name +-- ibexa:sql-statement-separator +ALTER TABLE ezrole RENAME TO ibexa_role +-- ibexa:sql-statement-separator +ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_object TO ibexa_search_object_word_link_object +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_identifier TO ibexa_search_object_word_link_identifier +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_integer_value TO ibexa_search_object_word_link_integer_value +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_word TO ibexa_search_object_word_link_word +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_frequency TO ibexa_search_object_word_link_frequency +-- ibexa:sql-statement-separator +ALTER TABLE ezsearch_word RENAME TO ibexa_search_word +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_word_i TO ibexa_search_word_word_i +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_obj_count TO ibexa_search_word_obj_count +-- ibexa:sql-statement-separator +ALTER TABLE ezsection RENAME TO ibexa_section +-- ibexa:sql-statement-separator +ALTER TABLE ezsite_data RENAME TO ibexa_site_data +-- ibexa:sql-statement-separator +ALTER TABLE ezurl RENAME TO ibexa_url +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url RENAME INDEX ezurl_url TO ibexa_url_url +-- ibexa:sql-statement-separator +ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id TO ibexa_url_ol_coa_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_url_id TO ibexa_url_ol_url_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_version TO ibexa_url_ol_coa_version +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id_cav TO ibexa_url_ol_coa_id_cav +-- ibexa:sql-statement-separator +ALTER TABLE ezurlalias RENAME TO ibexa_url_alias +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_md5 TO ibexa_url_alias_source_md5 +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_wcard_fwd TO ibexa_url_alias_wcard_fwd +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_forward_to_id TO ibexa_url_alias_forward_to_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_imp_wcard_fwd TO ibexa_url_alias_imp_wcard_fwd +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_url TO ibexa_url_alias_source_url +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_desturl TO ibexa_url_alias_desturl +-- ibexa:sql-statement-separator +ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_actt_org_al TO ibexa_url_alias_ml_actt_org_al +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text_lang TO ibexa_url_alias_ml_text_lang +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_act_id_lnk TO ibexa_url_alias_ml_par_act_id_lnk +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_lnk_txt TO ibexa_url_alias_ml_par_lnk_txt +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_act_org TO ibexa_url_alias_ml_act_org +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text TO ibexa_url_alias_ml_text +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_link TO ibexa_url_alias_ml_link +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_id TO ibexa_url_alias_ml_id +-- ibexa:sql-statement-separator +ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr +-- ibexa:sql-statement-separator +ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard +-- ibexa:sql-statement-separator +ALTER TABLE ezuser RENAME TO ibexa_user +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_user RENAME INDEX ezuser_login TO ibexa_user_login +-- ibexa:sql-statement-separator +ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey +-- ibexa:sql-statement-separator +ALTER TABLE ezuser_role RENAME TO ibexa_user_role +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_role_id TO ibexa_user_role_role_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_contentobject_id TO ibexa_user_role_contentobject_id +-- ibexa:sql-statement-separator +ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_user_fk +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type RENAME INDEX ibexa_content_type_version TO ibexa_content_type_status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type RENAME COLUMN version TO status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_field RENAME INDEX ibexa_content_field_classattr_id TO ibexa_content_field_field_definition_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_relation RENAME INDEX ibexa_content_relation_cca_id TO ibexa_content_relation_ccfd_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id +-- ibexa:sql-statement-separator +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock' +-- ibexa:sql-statement-separator +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' +-- ibexa:sql-statement-separator +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql new file mode 100644 index 0000000000..5a84f0955e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql @@ -0,0 +1,415 @@ +ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state RENAME TO ibexa_object_state +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_state_priority RENAME TO ibexa_object_state_priority +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_state_lmask RENAME TO ibexa_object_state_lmask +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_state_identifier RENAME TO ibexa_object_state_identifier +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_state_group_lmask RENAME TO ibexa_object_state_group_lmask +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_state_group_identifier RENAME TO ibexa_object_state_group_identifier +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link +-- ibexa:sql-statement-separator +ALTER TABLE ezcontent_language RENAME TO ibexa_content_language +-- ibexa:sql-statement-separator +ALTER INDEX ezcontent_language_name RENAME TO ibexa_content_language_name +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentbrowsebookmark_location RENAME TO ibexa_content_bookmark_location +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentbrowsebookmark_user RENAME TO ibexa_content_bookmark_user +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentbrowsebookmark_user_location RENAME TO ibexa_content_bookmark_user_location +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass RENAME TO ibexa_content_type +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentclass_version RENAME TO ibexa_content_type_version +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentclass_identifier RENAME TO ibexa_content_type_identifier +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentclass_attr_ccid RENAME TO ibexa_content_type_field_definition_ctid +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentclass_attr_dts RENAME TO ibexa_content_type_field_definition_dts +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition_ml DROP CONSTRAINT ezcontentclass_attribute_ml_lang_fk +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_tree_p_node_id RENAME TO ibexa_content_tree_p_node_id +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_tree_path_ident RENAME TO ibexa_content_tree_path_ident +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_tree_contentobject_id_path_string RENAME TO ibexa_content_tree_contentobject_id_path_string +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_tree_co_id RENAME TO ibexa_content_tree_co_id +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_tree_depth RENAME TO ibexa_content_tree_depth +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_tree_path RENAME TO ibexa_content_tree_path +-- ibexa:sql-statement-separator +ALTER INDEX modified_subnode RENAME TO ibexa_content_modified_subnode +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_tree_remote_id RENAME TO ibexa_content_tree_remote_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_location_fk +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject RENAME TO ibexa_content +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_classid RENAME TO ibexa_content_type_id +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_lmask RENAME TO ibexa_content_lmask +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_pub RENAME TO ibexa_content_pub +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_section RENAME TO ibexa_content_section +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_currentversion RENAME TO ibexa_content_currentversion +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_owner RENAME TO ibexa_content_owner +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_status RENAME TO ibexa_content_status +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_remote_id RENAME TO ibexa_content_remote_id +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_attribute_co_id_ver_lang_code RENAME TO ibexa_content_field_co_id_ver_lang_code +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_classattr_id RENAME TO ibexa_content_field_classattr_id +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_attribute_language_code RENAME TO ibexa_content_field_language_code +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_attribute_co_id_ver RENAME TO ibexa_content_field_co_id_ver +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation +-- ibexa:sql-statement-separator +ALTER INDEX ezco_link_to_co_id RENAME TO ibexa_content_relation_to_co_id +-- ibexa:sql-statement-separator +ALTER INDEX ezco_link_from RENAME TO ibexa_content_relation_from +-- ibexa:sql-statement-separator +ALTER INDEX ezco_link_cca_id RENAME TO ibexa_content_relation_cca_id +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_name_lang_id RENAME TO ibexa_content_name_lang_id +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_name_cov_id RENAME TO ibexa_content_name_cov_id +-- ibexa:sql-statement-separator +ALTER INDEX ezcontentobject_name_name RENAME TO ibexa_content_name_name +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_trash_depth RENAME TO ibexa_content_trash_depth +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_trash_p_node_id RENAME TO ibexa_content_trash_p_node_id +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_trash_path_ident RENAME TO ibexa_content_trash_path_ident +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_trash_co_id RENAME TO ibexa_content_trash_co_id +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_trash_modified_subnode RENAME TO ibexa_content_trash_modified_subnode +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_trash_path RENAME TO ibexa_content_trash_path +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_version_status RENAME TO ibexa_content_version_status +-- ibexa:sql-statement-separator +ALTER INDEX idx_object_version_objver RENAME TO ibexa_content_version_idx_ver +-- ibexa:sql-statement-separator +ALTER INDEX ezcontobj_version_obj_status RENAME TO ibexa_content_version_idx_status +-- ibexa:sql-statement-separator +ALTER INDEX ezcobj_version_creator_id RENAME TO ibexa_content_version_creator_id +-- ibexa:sql-statement-separator +ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file +-- ibexa:sql-statement-separator +ALTER INDEX ezdfsfile_name_trunk RENAME TO ibexa_dfs_file_name_trunk +-- ibexa:sql-statement-separator +ALTER INDEX ezdfsfile_expired_name RENAME TO ibexa_dfs_file_expired_name +-- ibexa:sql-statement-separator +ALTER INDEX ezdfsfile_name RENAME TO ibexa_dfs_file_name +-- ibexa:sql-statement-separator +ALTER INDEX ezdfsfile_mtime RENAME TO ibexa_dfs_file_mtime +-- ibexa:sql-statement-separator +ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location +-- ibexa:sql-statement-separator +ALTER INDEX latitude_longitude_key RENAME TO ibexa_map_location_latitude_longitude_key +-- ibexa:sql-statement-separator +ALTER TABLE ezimagefile RENAME TO ibexa_image_file +-- ibexa:sql-statement-separator +ALTER INDEX ezimagefile_file RENAME TO ibexa_image_file_file +-- ibexa:sql-statement-separator +ALTER INDEX ezimagefile_coid RENAME TO ibexa_image_file_coid +-- ibexa:sql-statement-separator +ALTER TABLE ezkeyword RENAME TO ibexa_keyword +-- ibexa:sql-statement-separator +ALTER INDEX ezkeyword_keyword RENAME TO ibexa_keyword_keyword +-- ibexa:sql-statement-separator +ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link +-- ibexa:sql-statement-separator +ALTER INDEX ezkeyword_attr_link_oaid RENAME TO ibexa_keyword_field_link_oaid +-- ibexa:sql-statement-separator +ALTER INDEX ezkeyword_attr_link_kid_oaid RENAME TO ibexa_keyword_field_link_kid_oaid +-- ibexa:sql-statement-separator +ALTER INDEX ezkeyword_attr_link_oaid_ver RENAME TO ibexa_keyword_field_link_oaid_ver +-- ibexa:sql-statement-separator +ALTER TABLE ezmedia RENAME TO ibexa_media +-- ibexa:sql-statement-separator +ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment +-- ibexa:sql-statement-separator +ALTER INDEX eznode_assignment_is_main RENAME TO ibexa_node_assignment_is_main +-- ibexa:sql-statement-separator +ALTER INDEX eznode_assignment_coid_cov RENAME TO ibexa_node_assignment_coid_cov +-- ibexa:sql-statement-separator +ALTER INDEX eznode_assignment_parent_node RENAME TO ibexa_node_assignment_parent_node +-- ibexa:sql-statement-separator +ALTER INDEX eznode_assignment_co_version RENAME TO ibexa_node_assignment_co_version +-- ibexa:sql-statement-separator +ALTER TABLE eznotification RENAME TO ibexa_notification +-- ibexa:sql-statement-separator +ALTER INDEX eznotification_owner_is_pending RENAME TO ibexa_notification_owner_is_pending +-- ibexa:sql-statement-separator +ALTER INDEX eznotification_owner RENAME TO ibexa_notification_owner +-- ibexa:sql-statement-separator +ALTER TABLE ezpackage RENAME TO ibexa_package +-- ibexa:sql-statement-separator +ALTER TABLE ezpolicy RENAME TO ibexa_policy +-- ibexa:sql-statement-separator +ALTER INDEX ezpolicy_role_id RENAME TO ibexa_policy_role_id +-- ibexa:sql-statement-separator +ALTER INDEX ezpolicy_original_id RENAME TO ibexa_policy_original_id +-- ibexa:sql-statement-separator +ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation +-- ibexa:sql-statement-separator +ALTER INDEX policy_id RENAME TO ibexa_policy_id +-- ibexa:sql-statement-separator +ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value +-- ibexa:sql-statement-separator +ALTER INDEX ezpolicy_limit_value_limit_id RENAME TO ibexa_policy_limit_value_limit_id +-- ibexa:sql-statement-separator +ALTER INDEX ezpolicy_limitation_value_val RENAME TO ibexa_policy_limitation_value_val +-- ibexa:sql-statement-separator +ALTER TABLE ezpreferences RENAME TO ibexa_user_preference +-- ibexa:sql-statement-separator +ALTER INDEX ezpreferences_user_id_idx RENAME TO ibexa_user_preference_user_id_idx +-- ibexa:sql-statement-separator +ALTER INDEX ezpreferences_name RENAME TO ibexa_user_preference_name +-- ibexa:sql-statement-separator +ALTER TABLE ezrole RENAME TO ibexa_role +-- ibexa:sql-statement-separator +ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link +-- ibexa:sql-statement-separator +ALTER INDEX ezsearch_object_word_link_object RENAME TO ibexa_search_object_word_link_object +-- ibexa:sql-statement-separator +ALTER INDEX ezsearch_object_word_link_identifier RENAME TO ibexa_search_object_word_link_identifier +-- ibexa:sql-statement-separator +ALTER INDEX ezsearch_object_word_link_integer_value RENAME TO ibexa_search_object_word_link_integer_value +-- ibexa:sql-statement-separator +ALTER INDEX ezsearch_object_word_link_word RENAME TO ibexa_search_object_word_link_word +-- ibexa:sql-statement-separator +ALTER INDEX ezsearch_object_word_link_frequency RENAME TO ibexa_search_object_word_link_frequency +-- ibexa:sql-statement-separator +ALTER TABLE ezsearch_word RENAME TO ibexa_search_word +-- ibexa:sql-statement-separator +ALTER INDEX ezsearch_word_word_i RENAME TO ibexa_search_word_word_i +-- ibexa:sql-statement-separator +ALTER INDEX ezsearch_word_obj_count RENAME TO ibexa_search_word_obj_count +-- ibexa:sql-statement-separator +ALTER TABLE ezsection RENAME TO ibexa_section +-- ibexa:sql-statement-separator +ALTER TABLE ezsite_data RENAME TO ibexa_site_data +-- ibexa:sql-statement-separator +ALTER TABLE ezurl RENAME TO ibexa_url +-- ibexa:sql-statement-separator +ALTER INDEX ezurl_url RENAME TO ibexa_url_url +-- ibexa:sql-statement-separator +ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link +-- ibexa:sql-statement-separator +ALTER INDEX ezurl_ol_coa_id RENAME TO ibexa_url_ol_coa_id +-- ibexa:sql-statement-separator +ALTER INDEX ezurl_ol_url_id RENAME TO ibexa_url_ol_url_id +-- ibexa:sql-statement-separator +ALTER INDEX ezurl_ol_coa_version RENAME TO ibexa_url_ol_coa_version +-- ibexa:sql-statement-separator +ALTER INDEX ezurl_ol_coa_id_cav RENAME TO ibexa_url_ol_coa_id_cav +-- ibexa:sql-statement-separator +ALTER TABLE ezurlalias RENAME TO ibexa_url_alias +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_source_md5 RENAME TO ibexa_url_alias_source_md5 +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_wcard_fwd RENAME TO ibexa_url_alias_wcard_fwd +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_forward_to_id RENAME TO ibexa_url_alias_forward_to_id +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_imp_wcard_fwd RENAME TO ibexa_url_alias_imp_wcard_fwd +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_source_url RENAME TO ibexa_url_alias_source_url +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_desturl RENAME TO ibexa_url_alias_desturl +-- ibexa:sql-statement-separator +ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_ml_actt_org_al RENAME TO ibexa_url_alias_ml_actt_org_al +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_ml_text_lang RENAME TO ibexa_url_alias_ml_text_lang +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_ml_par_act_id_lnk RENAME TO ibexa_url_alias_ml_par_act_id_lnk +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_ml_par_lnk_txt RENAME TO ibexa_url_alias_ml_par_lnk_txt +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_ml_act_org RENAME TO ibexa_url_alias_ml_act_org +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_ml_text RENAME TO ibexa_url_alias_ml_text +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_ml_link RENAME TO ibexa_url_alias_ml_link +-- ibexa:sql-statement-separator +ALTER INDEX ezurlalias_ml_id RENAME TO ibexa_url_alias_ml_id +-- ibexa:sql-statement-separator +ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr +-- ibexa:sql-statement-separator +ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard +-- ibexa:sql-statement-separator +ALTER TABLE ezuser RENAME TO ibexa_user +-- ibexa:sql-statement-separator +ALTER INDEX ezuser_login RENAME TO ibexa_user_login +-- ibexa:sql-statement-separator +ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey +-- ibexa:sql-statement-separator +ALTER TABLE ezuser_role RENAME TO ibexa_user_role +-- ibexa:sql-statement-separator +ALTER INDEX ezuser_role_role_id RENAME TO ibexa_user_role_role_id +-- ibexa:sql-statement-separator +ALTER INDEX ezuser_role_contentobject_id RENAME TO ibexa_user_role_contentobject_id +-- ibexa:sql-statement-separator +ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_user_fk +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER INDEX ibexa_content_type_version RENAME TO ibexa_content_type_status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type RENAME COLUMN version TO status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id +-- ibexa:sql-statement-separator +ALTER INDEX ibexa_content_field_classattr_id RENAME TO ibexa_content_field_field_definition_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id +-- ibexa:sql-statement-separator +ALTER INDEX ibexa_content_relation_cca_id RENAME TO ibexa_content_relation_ccfd_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezcobj_state_group_id_seq RENAME TO ibexa_object_state_group_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezcobj_state_id_seq RENAME TO ibexa_object_state_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezcontentbrowsebookmark_id_seq RENAME TO ibexa_content_bookmark_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezcontentclass_attribute_id_seq RENAME TO ibexa_content_type_field_definition_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezcontentclass_id_seq RENAME TO ibexa_content_type_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezcontentclassgroup_id_seq RENAME TO ibexa_content_type_group_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezcontentobject_attribute_id_seq RENAME TO ibexa_content_field_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezcontentobject_id_seq RENAME TO ibexa_content_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezcontentobject_link_id_seq RENAME TO ibexa_content_relation_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezcontentobject_tree_node_id_seq RENAME TO ibexa_content_tree_node_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezcontentobject_version_id_seq RENAME TO ibexa_content_version_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezimagefile_id_seq RENAME TO ibexa_image_file_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezkeyword_attribute_link_id_seq RENAME TO ibexa_keyword_field_link_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezkeyword_id_seq RENAME TO ibexa_keyword_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE eznode_assignment_id_seq RENAME TO ibexa_node_assignment_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE eznotification_id_seq RENAME TO ibexa_notification_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezpackage_id_seq RENAME TO ibexa_package_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezpolicy_id_seq RENAME TO ibexa_policy_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezpolicy_limitation_id_seq RENAME TO ibexa_policy_limitation_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezpolicy_limitation_value_id_seq RENAME TO ibexa_policy_limitation_value_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezpreferences_id_seq RENAME TO ibexa_user_preference_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezrole_id_seq RENAME TO ibexa_role_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezsearch_object_word_link_id_seq RENAME TO ibexa_search_object_word_link_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezsearch_word_id_seq RENAME TO ibexa_search_word_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezsection_id_seq RENAME TO ibexa_section_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezurl_id_seq RENAME TO ibexa_url_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezurlalias_id_seq RENAME TO ibexa_url_alias_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezurlalias_ml_incr_id_seq RENAME TO ibexa_url_alias_ml_incr_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezurlwildcard_id_seq RENAME TO ibexa_url_wildcard_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezuser_accountkey_id_seq RENAME TO ibexa_user_accountkey_id_seq +-- ibexa:sql-statement-separator +ALTER SEQUENCE ezuser_role_id_seq RENAME TO ibexa_user_role_id_seq +-- ibexa:sql-statement-separator +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock' +-- ibexa:sql-statement-separator +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' +-- ibexa:sql-statement-separator +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql new file mode 100644 index 0000000000..1e9cfc2b7d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql @@ -0,0 +1,555 @@ +ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state RENAME TO ibexa_object_state +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_state_priority +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority) +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_state_lmask +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask) +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_state_identifier +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier) +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_state_group_lmask +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask) +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_state_group_identifier +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier) +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language +-- ibexa:sql-statement-separator +ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link +-- ibexa:sql-statement-separator +ALTER TABLE ezcontent_language RENAME TO ibexa_content_language +-- ibexa:sql-statement-separator +DROP INDEX ezcontent_language_name +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name) +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark +-- ibexa:sql-statement-separator +DROP INDEX ezcontentbrowsebookmark_location +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentbrowsebookmark_user +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentbrowsebookmark_user_location +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id) +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass RENAME TO ibexa_content_type +-- ibexa:sql-statement-separator +DROP INDEX ezcontentclass_version +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_type_version ON ibexa_content_type (version) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentclass_identifier +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, version) +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition +-- ibexa:sql-statement-separator +DROP INDEX ezcontentclass_attr_ccid +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (contentclass_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentclass_attr_dts +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string) +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml +-- ibexa:sql-statement-separator +DROP INDEX ezcontentclass_attribute_ml_lang_fk +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id) +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_tree_p_node_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_tree_path_ident +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_tree_contentobject_id_path_string +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_tree_co_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_tree_depth +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_tree_path +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string) +-- ibexa:sql-statement-separator +DROP INDEX modified_subnode +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_tree_remote_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id) +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject RENAME TO ibexa_content +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_classid +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_type_id ON ibexa_content (contentclass_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_lmask +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_pub +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_pub ON ibexa_content (published) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_section +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_section ON ibexa_content (section_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_currentversion +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_owner +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_status +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_status ON ibexa_content (status) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_remote_id +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id) +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_attribute_co_id_ver_lang_code +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_classattr_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_field_classattr_id ON ibexa_content_field (contentclassattribute_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_attribute_language_code +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_attribute_co_id_ver +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version) +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation +-- ibexa:sql-statement-separator +DROP INDEX ezco_link_to_co_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id) +-- ibexa:sql-statement-separator +DROP INDEX ezco_link_from +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, contentclassattribute_id) +-- ibexa:sql-statement-separator +DROP INDEX ezco_link_cca_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_relation_cca_id ON ibexa_content_relation (contentclassattribute_id) +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_name_lang_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_name_cov_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version) +-- ibexa:sql-statement-separator +DROP INDEX ezcontentobject_name_name +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name) +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_trash_depth +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth) +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_trash_p_node_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_trash_path_ident +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string) +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_trash_co_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id) +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_trash_modified_subnode +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode) +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_trash_path +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string) +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_version_status +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status) +-- ibexa:sql-statement-separator +DROP INDEX idx_object_version_objver +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version) +-- ibexa:sql-statement-separator +DROP INDEX ezcontobj_version_obj_status +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status) +-- ibexa:sql-statement-separator +DROP INDEX ezcobj_version_creator_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id) +-- ibexa:sql-statement-separator +ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file +-- ibexa:sql-statement-separator +DROP INDEX ezdfsfile_name_trunk +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk) +-- ibexa:sql-statement-separator +DROP INDEX ezdfsfile_expired_name +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name) +-- ibexa:sql-statement-separator +DROP INDEX ezdfsfile_name +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name) +-- ibexa:sql-statement-separator +DROP INDEX ezdfsfile_mtime +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime) +-- ibexa:sql-statement-separator +ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location +-- ibexa:sql-statement-separator +DROP INDEX latitude_longitude_key +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude) +-- ibexa:sql-statement-separator +ALTER TABLE ezimagefile RENAME TO ibexa_image_file +-- ibexa:sql-statement-separator +DROP INDEX ezimagefile_file +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath) +-- ibexa:sql-statement-separator +DROP INDEX ezimagefile_coid +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id) +-- ibexa:sql-statement-separator +ALTER TABLE ezkeyword RENAME TO ibexa_keyword +-- ibexa:sql-statement-separator +DROP INDEX ezkeyword_keyword +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword) +-- ibexa:sql-statement-separator +ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link +-- ibexa:sql-statement-separator +DROP INDEX ezkeyword_attr_link_oaid +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id) +-- ibexa:sql-statement-separator +DROP INDEX ezkeyword_attr_link_kid_oaid +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id) +-- ibexa:sql-statement-separator +DROP INDEX ezkeyword_attr_link_oaid_ver +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version) +-- ibexa:sql-statement-separator +ALTER TABLE ezmedia RENAME TO ibexa_media +-- ibexa:sql-statement-separator +ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment +-- ibexa:sql-statement-separator +DROP INDEX eznode_assignment_is_main +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main) +-- ibexa:sql-statement-separator +DROP INDEX eznode_assignment_coid_cov +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version) +-- ibexa:sql-statement-separator +DROP INDEX eznode_assignment_parent_node +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node) +-- ibexa:sql-statement-separator +DROP INDEX eznode_assignment_co_version +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version) +-- ibexa:sql-statement-separator +ALTER TABLE eznotification RENAME TO ibexa_notification +-- ibexa:sql-statement-separator +DROP INDEX eznotification_owner_is_pending +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending) +-- ibexa:sql-statement-separator +DROP INDEX eznotification_owner +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id) +-- ibexa:sql-statement-separator +ALTER TABLE ezpackage RENAME TO ibexa_package +-- ibexa:sql-statement-separator +ALTER TABLE ezpolicy RENAME TO ibexa_policy +-- ibexa:sql-statement-separator +DROP INDEX ezpolicy_role_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id) +-- ibexa:sql-statement-separator +DROP INDEX ezpolicy_original_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id) +-- ibexa:sql-statement-separator +ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation +-- ibexa:sql-statement-separator +DROP INDEX policy_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id) +-- ibexa:sql-statement-separator +ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value +-- ibexa:sql-statement-separator +DROP INDEX ezpolicy_limit_value_limit_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id) +-- ibexa:sql-statement-separator +DROP INDEX ezpolicy_limitation_value_val +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value) +-- ibexa:sql-statement-separator +ALTER TABLE ezpreferences RENAME TO ibexa_user_preference +-- ibexa:sql-statement-separator +DROP INDEX ezpreferences_user_id_idx +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name) +-- ibexa:sql-statement-separator +DROP INDEX ezpreferences_name +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name) +-- ibexa:sql-statement-separator +ALTER TABLE ezrole RENAME TO ibexa_role +-- ibexa:sql-statement-separator +ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link +-- ibexa:sql-statement-separator +DROP INDEX ezsearch_object_word_link_object +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id) +-- ibexa:sql-statement-separator +DROP INDEX ezsearch_object_word_link_identifier +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier) +-- ibexa:sql-statement-separator +DROP INDEX ezsearch_object_word_link_integer_value +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value) +-- ibexa:sql-statement-separator +DROP INDEX ezsearch_object_word_link_word +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id) +-- ibexa:sql-statement-separator +DROP INDEX ezsearch_object_word_link_frequency +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency) +-- ibexa:sql-statement-separator +ALTER TABLE ezsearch_word RENAME TO ibexa_search_word +-- ibexa:sql-statement-separator +DROP INDEX ezsearch_word_word_i +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word) +-- ibexa:sql-statement-separator +DROP INDEX ezsearch_word_obj_count +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count) +-- ibexa:sql-statement-separator +ALTER TABLE ezsection RENAME TO ibexa_section +-- ibexa:sql-statement-separator +ALTER TABLE ezsite_data RENAME TO ibexa_site_data +-- ibexa:sql-statement-separator +ALTER TABLE ezurl RENAME TO ibexa_url +-- ibexa:sql-statement-separator +DROP INDEX ezurl_url +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_url ON ibexa_url (url) +-- ibexa:sql-statement-separator +ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link +-- ibexa:sql-statement-separator +DROP INDEX ezurl_ol_coa_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id) +-- ibexa:sql-statement-separator +DROP INDEX ezurl_ol_url_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id) +-- ibexa:sql-statement-separator +DROP INDEX ezurl_ol_coa_version +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version) +-- ibexa:sql-statement-separator +DROP INDEX ezurl_ol_coa_id_cav +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version) +-- ibexa:sql-statement-separator +ALTER TABLE ezurlalias RENAME TO ibexa_url_alias +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_source_md5 +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5) +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_wcard_fwd +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id) +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_forward_to_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id) +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_imp_wcard_fwd +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id) +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_source_url +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url) +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_desturl +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url) +-- ibexa:sql-statement-separator +ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_ml_actt_org_al +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias) +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_ml_text_lang +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent) +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_ml_par_act_id_lnk +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml ("action", id, link, parent) +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_ml_par_lnk_txt +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link) +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_ml_act_org +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml ("action", is_original) +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_ml_text +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link) +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_ml_link +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link) +-- ibexa:sql-statement-separator +DROP INDEX ezurlalias_ml_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id) +-- ibexa:sql-statement-separator +ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr +-- ibexa:sql-statement-separator +ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard +-- ibexa:sql-statement-separator +ALTER TABLE ezuser RENAME TO ibexa_user +-- ibexa:sql-statement-separator +DROP INDEX ezuser_login +-- ibexa:sql-statement-separator +CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login) +-- ibexa:sql-statement-separator +ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey +-- ibexa:sql-statement-separator +ALTER TABLE ezuser_role RENAME TO ibexa_user_role +-- ibexa:sql-statement-separator +DROP INDEX ezuser_role_role_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id) +-- ibexa:sql-statement-separator +DROP INDEX ezuser_role_contentobject_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id) +-- ibexa:sql-statement-separator +ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id +-- ibexa:sql-statement-separator +DROP INDEX ibexa_content_type_version +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_type_status ON ibexa_content_type (version) +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type RENAME COLUMN version TO status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id +-- ibexa:sql-statement-separator +DROP INDEX ibexa_content_field_classattr_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id) +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id +-- ibexa:sql-statement-separator +DROP INDEX ibexa_content_relation_cca_id +-- ibexa:sql-statement-separator +CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id) +-- ibexa:sql-statement-separator +ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id +-- ibexa:sql-statement-separator +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock' +-- ibexa:sql-statement-separator +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' +-- ibexa:sql-statement-separator +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' From d5d2c4e3b2ee8a9e3fd125b62a65093a06802acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Wed, 22 Jul 2026 11:13:55 +0200 Subject: [PATCH 18/38] IBX-11939: Aborted migration on unsupported database platform Call abortIfUnsupportedPlatform() as the first statement of up(), so installs on a database this migration doesn't build SQL for fail loudly instead of silently queuing zero statements. --- .../Migration/RenameSchemaTo5_0Migration.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php index a3f00e42aa..bd32f096e1 100644 --- a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php +++ b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php @@ -12,6 +12,7 @@ use Doctrine\DBAL\Schema\Schema; use Ibexa\Contracts\DoctrineMigrations\Migrations\AbstractSqlMigration; use Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationInterface; +use Ibexa\DoctrineMigrations\Migration\SqlPlatform; /** * Renames the legacy eZ Publish-style core database schema (ez*) to the Ibexa naming @@ -38,6 +39,8 @@ public static function getCreationDate(): DateTimeImmutable public function up(Schema $schema): void { + $this->abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); + if ($this->isMySQL()) { $this->addSqlFile(__DIR__ . '/sql/rename-schema-to-5-0-mysql.sql'); } elseif ($this->isPostgreSQL()) { From 7ebdadcc8cbfbbc1148c57a4787cc2cf499ba5f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Wed, 22 Jul 2026 12:10:49 +0200 Subject: [PATCH 19/38] IBX-11939: Added trailing semicolons to migration SQL files Each statement now ends with `;`, matching ibexa:doctrine:schema:dump-sql's own convention, so the files are directly executable via mysql/psql/sqlite3 CLI clients. addSqlFile() still splits on the delimiter and passes one statement per addSql() call, unaffected by the trailing terminator. --- .../sql/rename-schema-to-5-0-mysql.sql | 354 +++++------ .../sql/rename-schema-to-5-0-postgresql.sql | 416 ++++++------- .../sql/rename-schema-to-5-0-sqlite.sql | 556 +++++++++--------- 3 files changed, 663 insertions(+), 663 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql index 5b9fc8bd58..f9e9cffa91 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql @@ -1,353 +1,353 @@ -ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file +ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state RENAME TO ibexa_object_state +ALTER TABLE ezcobj_state RENAME TO ibexa_object_state; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_priority TO ibexa_object_state_priority +ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_priority TO ibexa_object_state_priority; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_lmask TO ibexa_object_state_lmask +ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_lmask TO ibexa_object_state_lmask; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_identifier TO ibexa_object_state_identifier +ALTER TABLE ibexa_object_state RENAME INDEX ezcobj_state_identifier TO ibexa_object_state_identifier; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group +ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_lmask TO ibexa_object_state_group_lmask +ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_lmask TO ibexa_object_state_group_lmask; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_identifier TO ibexa_object_state_group_identifier +ALTER TABLE ibexa_object_state_group RENAME INDEX ezcobj_state_group_identifier TO ibexa_object_state_group_identifier; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language +ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language +ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link +ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link; -- ibexa:sql-statement-separator -ALTER TABLE ezcontent_language RENAME TO ibexa_content_language +ALTER TABLE ezcontent_language RENAME TO ibexa_content_language; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_language RENAME INDEX ezcontent_language_name TO ibexa_content_language_name +ALTER TABLE ibexa_content_language RENAME INDEX ezcontent_language_name TO ibexa_content_language_name; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark +ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_location TO ibexa_content_bookmark_location +ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_location TO ibexa_content_bookmark_location; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user TO ibexa_content_bookmark_user +ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user TO ibexa_content_bookmark_user; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user_location TO ibexa_content_bookmark_user_location +ALTER TABLE ibexa_content_bookmark RENAME INDEX ezcontentbrowsebookmark_user_location TO ibexa_content_bookmark_user_location; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass RENAME TO ibexa_content_type +ALTER TABLE ezcontentclass RENAME TO ibexa_content_type; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_version TO ibexa_content_type_version +ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_version TO ibexa_content_type_version; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_identifier TO ibexa_content_type_identifier +ALTER TABLE ibexa_content_type RENAME INDEX ezcontentclass_identifier TO ibexa_content_type_identifier; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition +ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_ccid TO ibexa_content_type_field_definition_ctid +ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_ccid TO ibexa_content_type_field_definition_ctid; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_dts TO ibexa_content_type_field_definition_dts +ALTER TABLE ibexa_content_type_field_definition RENAME INDEX ezcontentclass_attr_dts TO ibexa_content_type_field_definition_dts; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml +ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition_ml DROP FOREIGN KEY ezcontentclass_attribute_ml_lang_fk +ALTER TABLE ibexa_content_type_field_definition_ml DROP FOREIGN KEY ezcontentclass_attribute_ml_lang_fk; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE +ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment +ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name +ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group +ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree +ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_p_node_id TO ibexa_content_tree_p_node_id +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_p_node_id TO ibexa_content_tree_p_node_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path_ident TO ibexa_content_tree_path_ident +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path_ident TO ibexa_content_tree_path_ident; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_contentobject_id_path_string TO ibexa_content_tree_contentobject_id_path_string +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_contentobject_id_path_string TO ibexa_content_tree_contentobject_id_path_string; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_co_id TO ibexa_content_tree_co_id +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_co_id TO ibexa_content_tree_co_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_depth TO ibexa_content_tree_depth +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_depth TO ibexa_content_tree_depth; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path TO ibexa_content_tree_path +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_path TO ibexa_content_tree_path; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_tree RENAME INDEX modified_subnode TO ibexa_content_modified_subnode +ALTER TABLE ibexa_content_tree RENAME INDEX modified_subnode TO ibexa_content_modified_subnode; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_remote_id TO ibexa_content_tree_remote_id +ALTER TABLE ibexa_content_tree RENAME INDEX ezcontentobject_tree_remote_id TO ibexa_content_tree_remote_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_location_fk +ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_location_fk; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject RENAME TO ibexa_content +ALTER TABLE ezcontentobject RENAME TO ibexa_content; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_classid TO ibexa_content_type_id +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_classid TO ibexa_content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_lmask TO ibexa_content_lmask +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_lmask TO ibexa_content_lmask; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_pub TO ibexa_content_pub +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_pub TO ibexa_content_pub; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_section TO ibexa_content_section +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_section TO ibexa_content_section; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_currentversion TO ibexa_content_currentversion +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_currentversion TO ibexa_content_currentversion; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_owner TO ibexa_content_owner +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_owner TO ibexa_content_owner; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_status TO ibexa_content_status +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_status TO ibexa_content_status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_remote_id TO ibexa_content_remote_id +ALTER TABLE ibexa_content RENAME INDEX ezcontentobject_remote_id TO ibexa_content_remote_id; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field +ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver_lang_code TO ibexa_content_field_co_id_ver_lang_code +ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver_lang_code TO ibexa_content_field_co_id_ver_lang_code; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_classattr_id TO ibexa_content_field_classattr_id +ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_classattr_id TO ibexa_content_field_classattr_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_language_code TO ibexa_content_field_language_code +ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_language_code TO ibexa_content_field_language_code; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver TO ibexa_content_field_co_id_ver +ALTER TABLE ibexa_content_field RENAME INDEX ezcontentobject_attribute_co_id_ver TO ibexa_content_field_co_id_ver; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation +ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_to_co_id TO ibexa_content_relation_to_co_id +ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_to_co_id TO ibexa_content_relation_to_co_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_from TO ibexa_content_relation_from +ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_from TO ibexa_content_relation_from; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_cca_id TO ibexa_content_relation_cca_id +ALTER TABLE ibexa_content_relation RENAME INDEX ezco_link_cca_id TO ibexa_content_relation_cca_id; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name +ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_lang_id TO ibexa_content_name_lang_id +ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_lang_id TO ibexa_content_name_lang_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_cov_id TO ibexa_content_name_cov_id +ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_cov_id TO ibexa_content_name_cov_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_name TO ibexa_content_name_name +ALTER TABLE ibexa_content_name RENAME INDEX ezcontentobject_name_name TO ibexa_content_name_name; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash +ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_depth TO ibexa_content_trash_depth +ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_depth TO ibexa_content_trash_depth; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_p_node_id TO ibexa_content_trash_p_node_id +ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_p_node_id TO ibexa_content_trash_p_node_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path_ident TO ibexa_content_trash_path_ident +ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path_ident TO ibexa_content_trash_path_ident; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_co_id TO ibexa_content_trash_co_id +ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_co_id TO ibexa_content_trash_co_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_modified_subnode TO ibexa_content_trash_modified_subnode +ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_modified_subnode TO ibexa_content_trash_modified_subnode; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path TO ibexa_content_trash_path +ALTER TABLE ibexa_content_trash RENAME INDEX ezcobj_trash_path TO ibexa_content_trash_path; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version +ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_status TO ibexa_content_version_status +ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_status TO ibexa_content_version_status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_version RENAME INDEX idx_object_version_objver TO ibexa_content_version_idx_ver +ALTER TABLE ibexa_content_version RENAME INDEX idx_object_version_objver TO ibexa_content_version_idx_ver; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_version RENAME INDEX ezcontobj_version_obj_status TO ibexa_content_version_idx_status +ALTER TABLE ibexa_content_version RENAME INDEX ezcontobj_version_obj_status TO ibexa_content_version_idx_status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_creator_id TO ibexa_content_version_creator_id +ALTER TABLE ibexa_content_version RENAME INDEX ezcobj_version_creator_id TO ibexa_content_version_creator_id; -- ibexa:sql-statement-separator -ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file +ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name_trunk TO ibexa_dfs_file_name_trunk +ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name_trunk TO ibexa_dfs_file_name_trunk; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_expired_name TO ibexa_dfs_file_expired_name +ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_expired_name TO ibexa_dfs_file_expired_name; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name TO ibexa_dfs_file_name +ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_name TO ibexa_dfs_file_name; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_mtime TO ibexa_dfs_file_mtime +ALTER TABLE ibexa_dfs_file RENAME INDEX ezdfsfile_mtime TO ibexa_dfs_file_mtime; -- ibexa:sql-statement-separator -ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location +ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_map_location RENAME INDEX latitude_longitude_key TO ibexa_map_location_latitude_longitude_key +ALTER TABLE ibexa_map_location RENAME INDEX latitude_longitude_key TO ibexa_map_location_latitude_longitude_key; -- ibexa:sql-statement-separator -ALTER TABLE ezimagefile RENAME TO ibexa_image_file +ALTER TABLE ezimagefile RENAME TO ibexa_image_file; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_file TO ibexa_image_file_file +ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_file TO ibexa_image_file_file; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_coid TO ibexa_image_file_coid +ALTER TABLE ibexa_image_file RENAME INDEX ezimagefile_coid TO ibexa_image_file_coid; -- ibexa:sql-statement-separator -ALTER TABLE ezkeyword RENAME TO ibexa_keyword +ALTER TABLE ezkeyword RENAME TO ibexa_keyword; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_keyword RENAME INDEX ezkeyword_keyword TO ibexa_keyword_keyword +ALTER TABLE ibexa_keyword RENAME INDEX ezkeyword_keyword TO ibexa_keyword_keyword; -- ibexa:sql-statement-separator -ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link +ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid TO ibexa_keyword_field_link_oaid +ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid TO ibexa_keyword_field_link_oaid; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_kid_oaid TO ibexa_keyword_field_link_kid_oaid +ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_kid_oaid TO ibexa_keyword_field_link_kid_oaid; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid_ver TO ibexa_keyword_field_link_oaid_ver +ALTER TABLE ibexa_keyword_field_link RENAME INDEX ezkeyword_attr_link_oaid_ver TO ibexa_keyword_field_link_oaid_ver; -- ibexa:sql-statement-separator -ALTER TABLE ezmedia RENAME TO ibexa_media +ALTER TABLE ezmedia RENAME TO ibexa_media; -- ibexa:sql-statement-separator -ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment +ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_is_main TO ibexa_node_assignment_is_main +ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_is_main TO ibexa_node_assignment_is_main; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_coid_cov TO ibexa_node_assignment_coid_cov +ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_coid_cov TO ibexa_node_assignment_coid_cov; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_parent_node TO ibexa_node_assignment_parent_node +ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_parent_node TO ibexa_node_assignment_parent_node; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_co_version TO ibexa_node_assignment_co_version +ALTER TABLE ibexa_node_assignment RENAME INDEX eznode_assignment_co_version TO ibexa_node_assignment_co_version; -- ibexa:sql-statement-separator -ALTER TABLE eznotification RENAME TO ibexa_notification +ALTER TABLE eznotification RENAME TO ibexa_notification; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner_is_pending TO ibexa_notification_owner_is_pending +ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner_is_pending TO ibexa_notification_owner_is_pending; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner TO ibexa_notification_owner +ALTER TABLE ibexa_notification RENAME INDEX eznotification_owner TO ibexa_notification_owner; -- ibexa:sql-statement-separator -ALTER TABLE ezpackage RENAME TO ibexa_package +ALTER TABLE ezpackage RENAME TO ibexa_package; -- ibexa:sql-statement-separator -ALTER TABLE ezpolicy RENAME TO ibexa_policy +ALTER TABLE ezpolicy RENAME TO ibexa_policy; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_role_id TO ibexa_policy_role_id +ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_role_id TO ibexa_policy_role_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_original_id TO ibexa_policy_original_id +ALTER TABLE ibexa_policy RENAME INDEX ezpolicy_original_id TO ibexa_policy_original_id; -- ibexa:sql-statement-separator -ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation +ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_policy_limitation RENAME INDEX policy_id TO ibexa_policy_id +ALTER TABLE ibexa_policy_limitation RENAME INDEX policy_id TO ibexa_policy_id; -- ibexa:sql-statement-separator -ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value +ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limit_value_limit_id TO ibexa_policy_limit_value_limit_id +ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limit_value_limit_id TO ibexa_policy_limit_value_limit_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limitation_value_val TO ibexa_policy_limitation_value_val +ALTER TABLE ibexa_policy_limitation_value RENAME INDEX ezpolicy_limitation_value_val TO ibexa_policy_limitation_value_val; -- ibexa:sql-statement-separator -ALTER TABLE ezpreferences RENAME TO ibexa_user_preference +ALTER TABLE ezpreferences RENAME TO ibexa_user_preference; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_user_id_idx TO ibexa_user_preference_user_id_idx +ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_user_id_idx TO ibexa_user_preference_user_id_idx; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_name TO ibexa_user_preference_name +ALTER TABLE ibexa_user_preference RENAME INDEX ezpreferences_name TO ibexa_user_preference_name; -- ibexa:sql-statement-separator -ALTER TABLE ezrole RENAME TO ibexa_role +ALTER TABLE ezrole RENAME TO ibexa_role; -- ibexa:sql-statement-separator -ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link +ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_object TO ibexa_search_object_word_link_object +ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_object TO ibexa_search_object_word_link_object; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_identifier TO ibexa_search_object_word_link_identifier +ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_identifier TO ibexa_search_object_word_link_identifier; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_integer_value TO ibexa_search_object_word_link_integer_value +ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_integer_value TO ibexa_search_object_word_link_integer_value; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_word TO ibexa_search_object_word_link_word +ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_word TO ibexa_search_object_word_link_word; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_frequency TO ibexa_search_object_word_link_frequency +ALTER TABLE ibexa_search_object_word_link RENAME INDEX ezsearch_object_word_link_frequency TO ibexa_search_object_word_link_frequency; -- ibexa:sql-statement-separator -ALTER TABLE ezsearch_word RENAME TO ibexa_search_word +ALTER TABLE ezsearch_word RENAME TO ibexa_search_word; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_word_i TO ibexa_search_word_word_i +ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_word_i TO ibexa_search_word_word_i; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_obj_count TO ibexa_search_word_obj_count +ALTER TABLE ibexa_search_word RENAME INDEX ezsearch_word_obj_count TO ibexa_search_word_obj_count; -- ibexa:sql-statement-separator -ALTER TABLE ezsection RENAME TO ibexa_section +ALTER TABLE ezsection RENAME TO ibexa_section; -- ibexa:sql-statement-separator -ALTER TABLE ezsite_data RENAME TO ibexa_site_data +ALTER TABLE ezsite_data RENAME TO ibexa_site_data; -- ibexa:sql-statement-separator -ALTER TABLE ezurl RENAME TO ibexa_url +ALTER TABLE ezurl RENAME TO ibexa_url; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url RENAME INDEX ezurl_url TO ibexa_url_url +ALTER TABLE ibexa_url RENAME INDEX ezurl_url TO ibexa_url_url; -- ibexa:sql-statement-separator -ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link +ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id TO ibexa_url_ol_coa_id +ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id TO ibexa_url_ol_coa_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_url_id TO ibexa_url_ol_url_id +ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_url_id TO ibexa_url_ol_url_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_version TO ibexa_url_ol_coa_version +ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_version TO ibexa_url_ol_coa_version; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id_cav TO ibexa_url_ol_coa_id_cav +ALTER TABLE ibexa_url_content_link RENAME INDEX ezurl_ol_coa_id_cav TO ibexa_url_ol_coa_id_cav; -- ibexa:sql-statement-separator -ALTER TABLE ezurlalias RENAME TO ibexa_url_alias +ALTER TABLE ezurlalias RENAME TO ibexa_url_alias; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_md5 TO ibexa_url_alias_source_md5 +ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_md5 TO ibexa_url_alias_source_md5; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_wcard_fwd TO ibexa_url_alias_wcard_fwd +ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_wcard_fwd TO ibexa_url_alias_wcard_fwd; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_forward_to_id TO ibexa_url_alias_forward_to_id +ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_forward_to_id TO ibexa_url_alias_forward_to_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_imp_wcard_fwd TO ibexa_url_alias_imp_wcard_fwd +ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_imp_wcard_fwd TO ibexa_url_alias_imp_wcard_fwd; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_url TO ibexa_url_alias_source_url +ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_source_url TO ibexa_url_alias_source_url; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_desturl TO ibexa_url_alias_desturl +ALTER TABLE ibexa_url_alias RENAME INDEX ezurlalias_desturl TO ibexa_url_alias_desturl; -- ibexa:sql-statement-separator -ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml +ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_actt_org_al TO ibexa_url_alias_ml_actt_org_al +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_actt_org_al TO ibexa_url_alias_ml_actt_org_al; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text_lang TO ibexa_url_alias_ml_text_lang +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text_lang TO ibexa_url_alias_ml_text_lang; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_act_id_lnk TO ibexa_url_alias_ml_par_act_id_lnk +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_act_id_lnk TO ibexa_url_alias_ml_par_act_id_lnk; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_lnk_txt TO ibexa_url_alias_ml_par_lnk_txt +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_par_lnk_txt TO ibexa_url_alias_ml_par_lnk_txt; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_act_org TO ibexa_url_alias_ml_act_org +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_act_org TO ibexa_url_alias_ml_act_org; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text TO ibexa_url_alias_ml_text +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_text TO ibexa_url_alias_ml_text; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_link TO ibexa_url_alias_ml_link +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_link TO ibexa_url_alias_ml_link; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_id TO ibexa_url_alias_ml_id +ALTER TABLE ibexa_url_alias_ml RENAME INDEX ezurlalias_ml_id TO ibexa_url_alias_ml_id; -- ibexa:sql-statement-separator -ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr +ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr; -- ibexa:sql-statement-separator -ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard +ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard; -- ibexa:sql-statement-separator -ALTER TABLE ezuser RENAME TO ibexa_user +ALTER TABLE ezuser RENAME TO ibexa_user; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_user RENAME INDEX ezuser_login TO ibexa_user_login +ALTER TABLE ibexa_user RENAME INDEX ezuser_login TO ibexa_user_login; -- ibexa:sql-statement-separator -ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey +ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey; -- ibexa:sql-statement-separator -ALTER TABLE ezuser_role RENAME TO ibexa_user_role +ALTER TABLE ezuser_role RENAME TO ibexa_user_role; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_role_id TO ibexa_user_role_role_id +ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_role_id TO ibexa_user_role_role_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_contentobject_id TO ibexa_user_role_contentobject_id +ALTER TABLE ibexa_user_role RENAME INDEX ezuser_role_contentobject_id TO ibexa_user_role_contentobject_id; -- ibexa:sql-statement-separator -ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting +ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_user_fk +ALTER TABLE ibexa_content_bookmark DROP FOREIGN KEY ezcontentbrowsebookmark_user_fk; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type RENAME INDEX ibexa_content_type_version TO ibexa_content_type_status +ALTER TABLE ibexa_content_type RENAME INDEX ibexa_content_type_version TO ibexa_content_type_status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type RENAME COLUMN version TO status +ALTER TABLE ibexa_content_type RENAME COLUMN version TO status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status +ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status +ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status +ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status +ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id +ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id +ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_field RENAME INDEX ibexa_content_field_classattr_id TO ibexa_content_field_field_definition_id +ALTER TABLE ibexa_content_field RENAME INDEX ibexa_content_field_classattr_id TO ibexa_content_field_field_definition_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id +ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_relation RENAME INDEX ibexa_content_relation_cca_id TO ibexa_content_relation_ccfd_id +ALTER TABLE ibexa_content_relation RENAME INDEX ibexa_content_relation_cca_id TO ibexa_content_relation_ccfd_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id +ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; -- ibexa:sql-statement-separator -UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock' +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; -- ibexa:sql-statement-separator -UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; -- ibexa:sql-statement-separator -UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql index 5a84f0955e..07150fa771 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql @@ -1,415 +1,415 @@ -ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file +ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state RENAME TO ibexa_object_state +ALTER TABLE ezcobj_state RENAME TO ibexa_object_state; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_state_priority RENAME TO ibexa_object_state_priority +ALTER INDEX ezcobj_state_priority RENAME TO ibexa_object_state_priority; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_state_lmask RENAME TO ibexa_object_state_lmask +ALTER INDEX ezcobj_state_lmask RENAME TO ibexa_object_state_lmask; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_state_identifier RENAME TO ibexa_object_state_identifier +ALTER INDEX ezcobj_state_identifier RENAME TO ibexa_object_state_identifier; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group +ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_state_group_lmask RENAME TO ibexa_object_state_group_lmask +ALTER INDEX ezcobj_state_group_lmask RENAME TO ibexa_object_state_group_lmask; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_state_group_identifier RENAME TO ibexa_object_state_group_identifier +ALTER INDEX ezcobj_state_group_identifier RENAME TO ibexa_object_state_group_identifier; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language +ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language +ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link +ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link; -- ibexa:sql-statement-separator -ALTER TABLE ezcontent_language RENAME TO ibexa_content_language +ALTER TABLE ezcontent_language RENAME TO ibexa_content_language; -- ibexa:sql-statement-separator -ALTER INDEX ezcontent_language_name RENAME TO ibexa_content_language_name +ALTER INDEX ezcontent_language_name RENAME TO ibexa_content_language_name; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark +ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentbrowsebookmark_location RENAME TO ibexa_content_bookmark_location +ALTER INDEX ezcontentbrowsebookmark_location RENAME TO ibexa_content_bookmark_location; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentbrowsebookmark_user RENAME TO ibexa_content_bookmark_user +ALTER INDEX ezcontentbrowsebookmark_user RENAME TO ibexa_content_bookmark_user; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentbrowsebookmark_user_location RENAME TO ibexa_content_bookmark_user_location +ALTER INDEX ezcontentbrowsebookmark_user_location RENAME TO ibexa_content_bookmark_user_location; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass RENAME TO ibexa_content_type +ALTER TABLE ezcontentclass RENAME TO ibexa_content_type; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentclass_version RENAME TO ibexa_content_type_version +ALTER INDEX ezcontentclass_version RENAME TO ibexa_content_type_version; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentclass_identifier RENAME TO ibexa_content_type_identifier +ALTER INDEX ezcontentclass_identifier RENAME TO ibexa_content_type_identifier; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition +ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentclass_attr_ccid RENAME TO ibexa_content_type_field_definition_ctid +ALTER INDEX ezcontentclass_attr_ccid RENAME TO ibexa_content_type_field_definition_ctid; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentclass_attr_dts RENAME TO ibexa_content_type_field_definition_dts +ALTER INDEX ezcontentclass_attr_dts RENAME TO ibexa_content_type_field_definition_dts; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml +ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition_ml DROP CONSTRAINT ezcontentclass_attribute_ml_lang_fk +ALTER TABLE ibexa_content_type_field_definition_ml DROP CONSTRAINT ezcontentclass_attribute_ml_lang_fk; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE +ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language(id) ON DELETE CASCADE ON UPDATE CASCADE; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment +ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name +ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group +ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree +ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_tree_p_node_id RENAME TO ibexa_content_tree_p_node_id +ALTER INDEX ezcontentobject_tree_p_node_id RENAME TO ibexa_content_tree_p_node_id; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_tree_path_ident RENAME TO ibexa_content_tree_path_ident +ALTER INDEX ezcontentobject_tree_path_ident RENAME TO ibexa_content_tree_path_ident; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_tree_contentobject_id_path_string RENAME TO ibexa_content_tree_contentobject_id_path_string +ALTER INDEX ezcontentobject_tree_contentobject_id_path_string RENAME TO ibexa_content_tree_contentobject_id_path_string; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_tree_co_id RENAME TO ibexa_content_tree_co_id +ALTER INDEX ezcontentobject_tree_co_id RENAME TO ibexa_content_tree_co_id; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_tree_depth RENAME TO ibexa_content_tree_depth +ALTER INDEX ezcontentobject_tree_depth RENAME TO ibexa_content_tree_depth; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_tree_path RENAME TO ibexa_content_tree_path +ALTER INDEX ezcontentobject_tree_path RENAME TO ibexa_content_tree_path; -- ibexa:sql-statement-separator -ALTER INDEX modified_subnode RENAME TO ibexa_content_modified_subnode +ALTER INDEX modified_subnode RENAME TO ibexa_content_modified_subnode; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_tree_remote_id RENAME TO ibexa_content_tree_remote_id +ALTER INDEX ezcontentobject_tree_remote_id RENAME TO ibexa_content_tree_remote_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_location_fk +ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_location_fk; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree(node_id) ON DELETE CASCADE; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject RENAME TO ibexa_content +ALTER TABLE ezcontentobject RENAME TO ibexa_content; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_classid RENAME TO ibexa_content_type_id +ALTER INDEX ezcontentobject_classid RENAME TO ibexa_content_type_id; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_lmask RENAME TO ibexa_content_lmask +ALTER INDEX ezcontentobject_lmask RENAME TO ibexa_content_lmask; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_pub RENAME TO ibexa_content_pub +ALTER INDEX ezcontentobject_pub RENAME TO ibexa_content_pub; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_section RENAME TO ibexa_content_section +ALTER INDEX ezcontentobject_section RENAME TO ibexa_content_section; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_currentversion RENAME TO ibexa_content_currentversion +ALTER INDEX ezcontentobject_currentversion RENAME TO ibexa_content_currentversion; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_owner RENAME TO ibexa_content_owner +ALTER INDEX ezcontentobject_owner RENAME TO ibexa_content_owner; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_status RENAME TO ibexa_content_status +ALTER INDEX ezcontentobject_status RENAME TO ibexa_content_status; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_remote_id RENAME TO ibexa_content_remote_id +ALTER INDEX ezcontentobject_remote_id RENAME TO ibexa_content_remote_id; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field +ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_attribute_co_id_ver_lang_code RENAME TO ibexa_content_field_co_id_ver_lang_code +ALTER INDEX ezcontentobject_attribute_co_id_ver_lang_code RENAME TO ibexa_content_field_co_id_ver_lang_code; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_classattr_id RENAME TO ibexa_content_field_classattr_id +ALTER INDEX ezcontentobject_classattr_id RENAME TO ibexa_content_field_classattr_id; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_attribute_language_code RENAME TO ibexa_content_field_language_code +ALTER INDEX ezcontentobject_attribute_language_code RENAME TO ibexa_content_field_language_code; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_attribute_co_id_ver RENAME TO ibexa_content_field_co_id_ver +ALTER INDEX ezcontentobject_attribute_co_id_ver RENAME TO ibexa_content_field_co_id_ver; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation +ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation; -- ibexa:sql-statement-separator -ALTER INDEX ezco_link_to_co_id RENAME TO ibexa_content_relation_to_co_id +ALTER INDEX ezco_link_to_co_id RENAME TO ibexa_content_relation_to_co_id; -- ibexa:sql-statement-separator -ALTER INDEX ezco_link_from RENAME TO ibexa_content_relation_from +ALTER INDEX ezco_link_from RENAME TO ibexa_content_relation_from; -- ibexa:sql-statement-separator -ALTER INDEX ezco_link_cca_id RENAME TO ibexa_content_relation_cca_id +ALTER INDEX ezco_link_cca_id RENAME TO ibexa_content_relation_cca_id; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name +ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_name_lang_id RENAME TO ibexa_content_name_lang_id +ALTER INDEX ezcontentobject_name_lang_id RENAME TO ibexa_content_name_lang_id; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_name_cov_id RENAME TO ibexa_content_name_cov_id +ALTER INDEX ezcontentobject_name_cov_id RENAME TO ibexa_content_name_cov_id; -- ibexa:sql-statement-separator -ALTER INDEX ezcontentobject_name_name RENAME TO ibexa_content_name_name +ALTER INDEX ezcontentobject_name_name RENAME TO ibexa_content_name_name; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash +ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_trash_depth RENAME TO ibexa_content_trash_depth +ALTER INDEX ezcobj_trash_depth RENAME TO ibexa_content_trash_depth; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_trash_p_node_id RENAME TO ibexa_content_trash_p_node_id +ALTER INDEX ezcobj_trash_p_node_id RENAME TO ibexa_content_trash_p_node_id; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_trash_path_ident RENAME TO ibexa_content_trash_path_ident +ALTER INDEX ezcobj_trash_path_ident RENAME TO ibexa_content_trash_path_ident; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_trash_co_id RENAME TO ibexa_content_trash_co_id +ALTER INDEX ezcobj_trash_co_id RENAME TO ibexa_content_trash_co_id; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_trash_modified_subnode RENAME TO ibexa_content_trash_modified_subnode +ALTER INDEX ezcobj_trash_modified_subnode RENAME TO ibexa_content_trash_modified_subnode; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_trash_path RENAME TO ibexa_content_trash_path +ALTER INDEX ezcobj_trash_path RENAME TO ibexa_content_trash_path; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version +ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_version_status RENAME TO ibexa_content_version_status +ALTER INDEX ezcobj_version_status RENAME TO ibexa_content_version_status; -- ibexa:sql-statement-separator -ALTER INDEX idx_object_version_objver RENAME TO ibexa_content_version_idx_ver +ALTER INDEX idx_object_version_objver RENAME TO ibexa_content_version_idx_ver; -- ibexa:sql-statement-separator -ALTER INDEX ezcontobj_version_obj_status RENAME TO ibexa_content_version_idx_status +ALTER INDEX ezcontobj_version_obj_status RENAME TO ibexa_content_version_idx_status; -- ibexa:sql-statement-separator -ALTER INDEX ezcobj_version_creator_id RENAME TO ibexa_content_version_creator_id +ALTER INDEX ezcobj_version_creator_id RENAME TO ibexa_content_version_creator_id; -- ibexa:sql-statement-separator -ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file +ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file; -- ibexa:sql-statement-separator -ALTER INDEX ezdfsfile_name_trunk RENAME TO ibexa_dfs_file_name_trunk +ALTER INDEX ezdfsfile_name_trunk RENAME TO ibexa_dfs_file_name_trunk; -- ibexa:sql-statement-separator -ALTER INDEX ezdfsfile_expired_name RENAME TO ibexa_dfs_file_expired_name +ALTER INDEX ezdfsfile_expired_name RENAME TO ibexa_dfs_file_expired_name; -- ibexa:sql-statement-separator -ALTER INDEX ezdfsfile_name RENAME TO ibexa_dfs_file_name +ALTER INDEX ezdfsfile_name RENAME TO ibexa_dfs_file_name; -- ibexa:sql-statement-separator -ALTER INDEX ezdfsfile_mtime RENAME TO ibexa_dfs_file_mtime +ALTER INDEX ezdfsfile_mtime RENAME TO ibexa_dfs_file_mtime; -- ibexa:sql-statement-separator -ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location +ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location; -- ibexa:sql-statement-separator -ALTER INDEX latitude_longitude_key RENAME TO ibexa_map_location_latitude_longitude_key +ALTER INDEX latitude_longitude_key RENAME TO ibexa_map_location_latitude_longitude_key; -- ibexa:sql-statement-separator -ALTER TABLE ezimagefile RENAME TO ibexa_image_file +ALTER TABLE ezimagefile RENAME TO ibexa_image_file; -- ibexa:sql-statement-separator -ALTER INDEX ezimagefile_file RENAME TO ibexa_image_file_file +ALTER INDEX ezimagefile_file RENAME TO ibexa_image_file_file; -- ibexa:sql-statement-separator -ALTER INDEX ezimagefile_coid RENAME TO ibexa_image_file_coid +ALTER INDEX ezimagefile_coid RENAME TO ibexa_image_file_coid; -- ibexa:sql-statement-separator -ALTER TABLE ezkeyword RENAME TO ibexa_keyword +ALTER TABLE ezkeyword RENAME TO ibexa_keyword; -- ibexa:sql-statement-separator -ALTER INDEX ezkeyword_keyword RENAME TO ibexa_keyword_keyword +ALTER INDEX ezkeyword_keyword RENAME TO ibexa_keyword_keyword; -- ibexa:sql-statement-separator -ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link +ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link; -- ibexa:sql-statement-separator -ALTER INDEX ezkeyword_attr_link_oaid RENAME TO ibexa_keyword_field_link_oaid +ALTER INDEX ezkeyword_attr_link_oaid RENAME TO ibexa_keyword_field_link_oaid; -- ibexa:sql-statement-separator -ALTER INDEX ezkeyword_attr_link_kid_oaid RENAME TO ibexa_keyword_field_link_kid_oaid +ALTER INDEX ezkeyword_attr_link_kid_oaid RENAME TO ibexa_keyword_field_link_kid_oaid; -- ibexa:sql-statement-separator -ALTER INDEX ezkeyword_attr_link_oaid_ver RENAME TO ibexa_keyword_field_link_oaid_ver +ALTER INDEX ezkeyword_attr_link_oaid_ver RENAME TO ibexa_keyword_field_link_oaid_ver; -- ibexa:sql-statement-separator -ALTER TABLE ezmedia RENAME TO ibexa_media +ALTER TABLE ezmedia RENAME TO ibexa_media; -- ibexa:sql-statement-separator -ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment +ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment; -- ibexa:sql-statement-separator -ALTER INDEX eznode_assignment_is_main RENAME TO ibexa_node_assignment_is_main +ALTER INDEX eznode_assignment_is_main RENAME TO ibexa_node_assignment_is_main; -- ibexa:sql-statement-separator -ALTER INDEX eznode_assignment_coid_cov RENAME TO ibexa_node_assignment_coid_cov +ALTER INDEX eznode_assignment_coid_cov RENAME TO ibexa_node_assignment_coid_cov; -- ibexa:sql-statement-separator -ALTER INDEX eznode_assignment_parent_node RENAME TO ibexa_node_assignment_parent_node +ALTER INDEX eznode_assignment_parent_node RENAME TO ibexa_node_assignment_parent_node; -- ibexa:sql-statement-separator -ALTER INDEX eznode_assignment_co_version RENAME TO ibexa_node_assignment_co_version +ALTER INDEX eznode_assignment_co_version RENAME TO ibexa_node_assignment_co_version; -- ibexa:sql-statement-separator -ALTER TABLE eznotification RENAME TO ibexa_notification +ALTER TABLE eznotification RENAME TO ibexa_notification; -- ibexa:sql-statement-separator -ALTER INDEX eznotification_owner_is_pending RENAME TO ibexa_notification_owner_is_pending +ALTER INDEX eznotification_owner_is_pending RENAME TO ibexa_notification_owner_is_pending; -- ibexa:sql-statement-separator -ALTER INDEX eznotification_owner RENAME TO ibexa_notification_owner +ALTER INDEX eznotification_owner RENAME TO ibexa_notification_owner; -- ibexa:sql-statement-separator -ALTER TABLE ezpackage RENAME TO ibexa_package +ALTER TABLE ezpackage RENAME TO ibexa_package; -- ibexa:sql-statement-separator -ALTER TABLE ezpolicy RENAME TO ibexa_policy +ALTER TABLE ezpolicy RENAME TO ibexa_policy; -- ibexa:sql-statement-separator -ALTER INDEX ezpolicy_role_id RENAME TO ibexa_policy_role_id +ALTER INDEX ezpolicy_role_id RENAME TO ibexa_policy_role_id; -- ibexa:sql-statement-separator -ALTER INDEX ezpolicy_original_id RENAME TO ibexa_policy_original_id +ALTER INDEX ezpolicy_original_id RENAME TO ibexa_policy_original_id; -- ibexa:sql-statement-separator -ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation +ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation; -- ibexa:sql-statement-separator -ALTER INDEX policy_id RENAME TO ibexa_policy_id +ALTER INDEX policy_id RENAME TO ibexa_policy_id; -- ibexa:sql-statement-separator -ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value +ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value; -- ibexa:sql-statement-separator -ALTER INDEX ezpolicy_limit_value_limit_id RENAME TO ibexa_policy_limit_value_limit_id +ALTER INDEX ezpolicy_limit_value_limit_id RENAME TO ibexa_policy_limit_value_limit_id; -- ibexa:sql-statement-separator -ALTER INDEX ezpolicy_limitation_value_val RENAME TO ibexa_policy_limitation_value_val +ALTER INDEX ezpolicy_limitation_value_val RENAME TO ibexa_policy_limitation_value_val; -- ibexa:sql-statement-separator -ALTER TABLE ezpreferences RENAME TO ibexa_user_preference +ALTER TABLE ezpreferences RENAME TO ibexa_user_preference; -- ibexa:sql-statement-separator -ALTER INDEX ezpreferences_user_id_idx RENAME TO ibexa_user_preference_user_id_idx +ALTER INDEX ezpreferences_user_id_idx RENAME TO ibexa_user_preference_user_id_idx; -- ibexa:sql-statement-separator -ALTER INDEX ezpreferences_name RENAME TO ibexa_user_preference_name +ALTER INDEX ezpreferences_name RENAME TO ibexa_user_preference_name; -- ibexa:sql-statement-separator -ALTER TABLE ezrole RENAME TO ibexa_role +ALTER TABLE ezrole RENAME TO ibexa_role; -- ibexa:sql-statement-separator -ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link +ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link; -- ibexa:sql-statement-separator -ALTER INDEX ezsearch_object_word_link_object RENAME TO ibexa_search_object_word_link_object +ALTER INDEX ezsearch_object_word_link_object RENAME TO ibexa_search_object_word_link_object; -- ibexa:sql-statement-separator -ALTER INDEX ezsearch_object_word_link_identifier RENAME TO ibexa_search_object_word_link_identifier +ALTER INDEX ezsearch_object_word_link_identifier RENAME TO ibexa_search_object_word_link_identifier; -- ibexa:sql-statement-separator -ALTER INDEX ezsearch_object_word_link_integer_value RENAME TO ibexa_search_object_word_link_integer_value +ALTER INDEX ezsearch_object_word_link_integer_value RENAME TO ibexa_search_object_word_link_integer_value; -- ibexa:sql-statement-separator -ALTER INDEX ezsearch_object_word_link_word RENAME TO ibexa_search_object_word_link_word +ALTER INDEX ezsearch_object_word_link_word RENAME TO ibexa_search_object_word_link_word; -- ibexa:sql-statement-separator -ALTER INDEX ezsearch_object_word_link_frequency RENAME TO ibexa_search_object_word_link_frequency +ALTER INDEX ezsearch_object_word_link_frequency RENAME TO ibexa_search_object_word_link_frequency; -- ibexa:sql-statement-separator -ALTER TABLE ezsearch_word RENAME TO ibexa_search_word +ALTER TABLE ezsearch_word RENAME TO ibexa_search_word; -- ibexa:sql-statement-separator -ALTER INDEX ezsearch_word_word_i RENAME TO ibexa_search_word_word_i +ALTER INDEX ezsearch_word_word_i RENAME TO ibexa_search_word_word_i; -- ibexa:sql-statement-separator -ALTER INDEX ezsearch_word_obj_count RENAME TO ibexa_search_word_obj_count +ALTER INDEX ezsearch_word_obj_count RENAME TO ibexa_search_word_obj_count; -- ibexa:sql-statement-separator -ALTER TABLE ezsection RENAME TO ibexa_section +ALTER TABLE ezsection RENAME TO ibexa_section; -- ibexa:sql-statement-separator -ALTER TABLE ezsite_data RENAME TO ibexa_site_data +ALTER TABLE ezsite_data RENAME TO ibexa_site_data; -- ibexa:sql-statement-separator -ALTER TABLE ezurl RENAME TO ibexa_url +ALTER TABLE ezurl RENAME TO ibexa_url; -- ibexa:sql-statement-separator -ALTER INDEX ezurl_url RENAME TO ibexa_url_url +ALTER INDEX ezurl_url RENAME TO ibexa_url_url; -- ibexa:sql-statement-separator -ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link +ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link; -- ibexa:sql-statement-separator -ALTER INDEX ezurl_ol_coa_id RENAME TO ibexa_url_ol_coa_id +ALTER INDEX ezurl_ol_coa_id RENAME TO ibexa_url_ol_coa_id; -- ibexa:sql-statement-separator -ALTER INDEX ezurl_ol_url_id RENAME TO ibexa_url_ol_url_id +ALTER INDEX ezurl_ol_url_id RENAME TO ibexa_url_ol_url_id; -- ibexa:sql-statement-separator -ALTER INDEX ezurl_ol_coa_version RENAME TO ibexa_url_ol_coa_version +ALTER INDEX ezurl_ol_coa_version RENAME TO ibexa_url_ol_coa_version; -- ibexa:sql-statement-separator -ALTER INDEX ezurl_ol_coa_id_cav RENAME TO ibexa_url_ol_coa_id_cav +ALTER INDEX ezurl_ol_coa_id_cav RENAME TO ibexa_url_ol_coa_id_cav; -- ibexa:sql-statement-separator -ALTER TABLE ezurlalias RENAME TO ibexa_url_alias +ALTER TABLE ezurlalias RENAME TO ibexa_url_alias; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_source_md5 RENAME TO ibexa_url_alias_source_md5 +ALTER INDEX ezurlalias_source_md5 RENAME TO ibexa_url_alias_source_md5; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_wcard_fwd RENAME TO ibexa_url_alias_wcard_fwd +ALTER INDEX ezurlalias_wcard_fwd RENAME TO ibexa_url_alias_wcard_fwd; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_forward_to_id RENAME TO ibexa_url_alias_forward_to_id +ALTER INDEX ezurlalias_forward_to_id RENAME TO ibexa_url_alias_forward_to_id; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_imp_wcard_fwd RENAME TO ibexa_url_alias_imp_wcard_fwd +ALTER INDEX ezurlalias_imp_wcard_fwd RENAME TO ibexa_url_alias_imp_wcard_fwd; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_source_url RENAME TO ibexa_url_alias_source_url +ALTER INDEX ezurlalias_source_url RENAME TO ibexa_url_alias_source_url; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_desturl RENAME TO ibexa_url_alias_desturl +ALTER INDEX ezurlalias_desturl RENAME TO ibexa_url_alias_desturl; -- ibexa:sql-statement-separator -ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml +ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_ml_actt_org_al RENAME TO ibexa_url_alias_ml_actt_org_al +ALTER INDEX ezurlalias_ml_actt_org_al RENAME TO ibexa_url_alias_ml_actt_org_al; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_ml_text_lang RENAME TO ibexa_url_alias_ml_text_lang +ALTER INDEX ezurlalias_ml_text_lang RENAME TO ibexa_url_alias_ml_text_lang; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_ml_par_act_id_lnk RENAME TO ibexa_url_alias_ml_par_act_id_lnk +ALTER INDEX ezurlalias_ml_par_act_id_lnk RENAME TO ibexa_url_alias_ml_par_act_id_lnk; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_ml_par_lnk_txt RENAME TO ibexa_url_alias_ml_par_lnk_txt +ALTER INDEX ezurlalias_ml_par_lnk_txt RENAME TO ibexa_url_alias_ml_par_lnk_txt; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_ml_act_org RENAME TO ibexa_url_alias_ml_act_org +ALTER INDEX ezurlalias_ml_act_org RENAME TO ibexa_url_alias_ml_act_org; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_ml_text RENAME TO ibexa_url_alias_ml_text +ALTER INDEX ezurlalias_ml_text RENAME TO ibexa_url_alias_ml_text; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_ml_link RENAME TO ibexa_url_alias_ml_link +ALTER INDEX ezurlalias_ml_link RENAME TO ibexa_url_alias_ml_link; -- ibexa:sql-statement-separator -ALTER INDEX ezurlalias_ml_id RENAME TO ibexa_url_alias_ml_id +ALTER INDEX ezurlalias_ml_id RENAME TO ibexa_url_alias_ml_id; -- ibexa:sql-statement-separator -ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr +ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr; -- ibexa:sql-statement-separator -ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard +ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard; -- ibexa:sql-statement-separator -ALTER TABLE ezuser RENAME TO ibexa_user +ALTER TABLE ezuser RENAME TO ibexa_user; -- ibexa:sql-statement-separator -ALTER INDEX ezuser_login RENAME TO ibexa_user_login +ALTER INDEX ezuser_login RENAME TO ibexa_user_login; -- ibexa:sql-statement-separator -ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey +ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey; -- ibexa:sql-statement-separator -ALTER TABLE ezuser_role RENAME TO ibexa_user_role +ALTER TABLE ezuser_role RENAME TO ibexa_user_role; -- ibexa:sql-statement-separator -ALTER INDEX ezuser_role_role_id RENAME TO ibexa_user_role_role_id +ALTER INDEX ezuser_role_role_id RENAME TO ibexa_user_role_role_id; -- ibexa:sql-statement-separator -ALTER INDEX ezuser_role_contentobject_id RENAME TO ibexa_user_role_contentobject_id +ALTER INDEX ezuser_role_contentobject_id RENAME TO ibexa_user_role_contentobject_id; -- ibexa:sql-statement-separator -ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting +ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_user_fk +ALTER TABLE ibexa_content_bookmark DROP CONSTRAINT ezcontentbrowsebookmark_user_fk; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user(contentobject_id) ON DELETE CASCADE; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER INDEX ibexa_content_type_version RENAME TO ibexa_content_type_status +ALTER INDEX ibexa_content_type_version RENAME TO ibexa_content_type_status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type RENAME COLUMN version TO status +ALTER TABLE ibexa_content_type RENAME COLUMN version TO status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status +ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status +ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status +ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status +ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id +ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id +ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id; -- ibexa:sql-statement-separator -ALTER INDEX ibexa_content_field_classattr_id RENAME TO ibexa_content_field_field_definition_id +ALTER INDEX ibexa_content_field_classattr_id RENAME TO ibexa_content_field_field_definition_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id +ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id; -- ibexa:sql-statement-separator -ALTER INDEX ibexa_content_relation_cca_id RENAME TO ibexa_content_relation_ccfd_id +ALTER INDEX ibexa_content_relation_cca_id RENAME TO ibexa_content_relation_ccfd_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id +ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezcobj_state_group_id_seq RENAME TO ibexa_object_state_group_id_seq +ALTER SEQUENCE ezcobj_state_group_id_seq RENAME TO ibexa_object_state_group_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezcobj_state_id_seq RENAME TO ibexa_object_state_id_seq +ALTER SEQUENCE ezcobj_state_id_seq RENAME TO ibexa_object_state_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezcontentbrowsebookmark_id_seq RENAME TO ibexa_content_bookmark_id_seq +ALTER SEQUENCE ezcontentbrowsebookmark_id_seq RENAME TO ibexa_content_bookmark_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezcontentclass_attribute_id_seq RENAME TO ibexa_content_type_field_definition_id_seq +ALTER SEQUENCE ezcontentclass_attribute_id_seq RENAME TO ibexa_content_type_field_definition_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezcontentclass_id_seq RENAME TO ibexa_content_type_id_seq +ALTER SEQUENCE ezcontentclass_id_seq RENAME TO ibexa_content_type_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezcontentclassgroup_id_seq RENAME TO ibexa_content_type_group_id_seq +ALTER SEQUENCE ezcontentclassgroup_id_seq RENAME TO ibexa_content_type_group_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezcontentobject_attribute_id_seq RENAME TO ibexa_content_field_id_seq +ALTER SEQUENCE ezcontentobject_attribute_id_seq RENAME TO ibexa_content_field_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezcontentobject_id_seq RENAME TO ibexa_content_id_seq +ALTER SEQUENCE ezcontentobject_id_seq RENAME TO ibexa_content_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezcontentobject_link_id_seq RENAME TO ibexa_content_relation_id_seq +ALTER SEQUENCE ezcontentobject_link_id_seq RENAME TO ibexa_content_relation_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezcontentobject_tree_node_id_seq RENAME TO ibexa_content_tree_node_id_seq +ALTER SEQUENCE ezcontentobject_tree_node_id_seq RENAME TO ibexa_content_tree_node_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezcontentobject_version_id_seq RENAME TO ibexa_content_version_id_seq +ALTER SEQUENCE ezcontentobject_version_id_seq RENAME TO ibexa_content_version_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezimagefile_id_seq RENAME TO ibexa_image_file_id_seq +ALTER SEQUENCE ezimagefile_id_seq RENAME TO ibexa_image_file_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezkeyword_attribute_link_id_seq RENAME TO ibexa_keyword_field_link_id_seq +ALTER SEQUENCE ezkeyword_attribute_link_id_seq RENAME TO ibexa_keyword_field_link_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezkeyword_id_seq RENAME TO ibexa_keyword_id_seq +ALTER SEQUENCE ezkeyword_id_seq RENAME TO ibexa_keyword_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE eznode_assignment_id_seq RENAME TO ibexa_node_assignment_id_seq +ALTER SEQUENCE eznode_assignment_id_seq RENAME TO ibexa_node_assignment_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE eznotification_id_seq RENAME TO ibexa_notification_id_seq +ALTER SEQUENCE eznotification_id_seq RENAME TO ibexa_notification_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezpackage_id_seq RENAME TO ibexa_package_id_seq +ALTER SEQUENCE ezpackage_id_seq RENAME TO ibexa_package_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezpolicy_id_seq RENAME TO ibexa_policy_id_seq +ALTER SEQUENCE ezpolicy_id_seq RENAME TO ibexa_policy_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezpolicy_limitation_id_seq RENAME TO ibexa_policy_limitation_id_seq +ALTER SEQUENCE ezpolicy_limitation_id_seq RENAME TO ibexa_policy_limitation_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezpolicy_limitation_value_id_seq RENAME TO ibexa_policy_limitation_value_id_seq +ALTER SEQUENCE ezpolicy_limitation_value_id_seq RENAME TO ibexa_policy_limitation_value_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezpreferences_id_seq RENAME TO ibexa_user_preference_id_seq +ALTER SEQUENCE ezpreferences_id_seq RENAME TO ibexa_user_preference_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezrole_id_seq RENAME TO ibexa_role_id_seq +ALTER SEQUENCE ezrole_id_seq RENAME TO ibexa_role_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezsearch_object_word_link_id_seq RENAME TO ibexa_search_object_word_link_id_seq +ALTER SEQUENCE ezsearch_object_word_link_id_seq RENAME TO ibexa_search_object_word_link_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezsearch_word_id_seq RENAME TO ibexa_search_word_id_seq +ALTER SEQUENCE ezsearch_word_id_seq RENAME TO ibexa_search_word_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezsection_id_seq RENAME TO ibexa_section_id_seq +ALTER SEQUENCE ezsection_id_seq RENAME TO ibexa_section_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezurl_id_seq RENAME TO ibexa_url_id_seq +ALTER SEQUENCE ezurl_id_seq RENAME TO ibexa_url_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezurlalias_id_seq RENAME TO ibexa_url_alias_id_seq +ALTER SEQUENCE ezurlalias_id_seq RENAME TO ibexa_url_alias_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezurlalias_ml_incr_id_seq RENAME TO ibexa_url_alias_ml_incr_id_seq +ALTER SEQUENCE ezurlalias_ml_incr_id_seq RENAME TO ibexa_url_alias_ml_incr_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezurlwildcard_id_seq RENAME TO ibexa_url_wildcard_id_seq +ALTER SEQUENCE ezurlwildcard_id_seq RENAME TO ibexa_url_wildcard_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezuser_accountkey_id_seq RENAME TO ibexa_user_accountkey_id_seq +ALTER SEQUENCE ezuser_accountkey_id_seq RENAME TO ibexa_user_accountkey_id_seq; -- ibexa:sql-statement-separator -ALTER SEQUENCE ezuser_role_id_seq RENAME TO ibexa_user_role_id_seq +ALTER SEQUENCE ezuser_role_id_seq RENAME TO ibexa_user_role_id_seq; -- ibexa:sql-statement-separator -UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock' +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; -- ibexa:sql-statement-separator -UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; -- ibexa:sql-statement-separator -UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql index 1e9cfc2b7d..a5df30153f 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql @@ -1,555 +1,555 @@ -ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file +ALTER TABLE ezbinaryfile RENAME TO ibexa_binary_file; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state RENAME TO ibexa_object_state +ALTER TABLE ezcobj_state RENAME TO ibexa_object_state; -- ibexa:sql-statement-separator -DROP INDEX ezcobj_state_priority +DROP INDEX ezcobj_state_priority; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority) +CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority); -- ibexa:sql-statement-separator -DROP INDEX ezcobj_state_lmask +DROP INDEX ezcobj_state_lmask; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask) +CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask); -- ibexa:sql-statement-separator -DROP INDEX ezcobj_state_identifier +DROP INDEX ezcobj_state_identifier; -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier) +CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier); -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group +ALTER TABLE ezcobj_state_group RENAME TO ibexa_object_state_group; -- ibexa:sql-statement-separator -DROP INDEX ezcobj_state_group_lmask +DROP INDEX ezcobj_state_group_lmask; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask) +CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask); -- ibexa:sql-statement-separator -DROP INDEX ezcobj_state_group_identifier +DROP INDEX ezcobj_state_group_identifier; -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier) +CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier); -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language +ALTER TABLE ezcobj_state_group_language RENAME TO ibexa_object_state_group_language; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language +ALTER TABLE ezcobj_state_language RENAME TO ibexa_object_state_language; -- ibexa:sql-statement-separator -ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link +ALTER TABLE ezcobj_state_link RENAME TO ibexa_object_state_link; -- ibexa:sql-statement-separator -ALTER TABLE ezcontent_language RENAME TO ibexa_content_language +ALTER TABLE ezcontent_language RENAME TO ibexa_content_language; -- ibexa:sql-statement-separator -DROP INDEX ezcontent_language_name +DROP INDEX ezcontent_language_name; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name) +CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name); -- ibexa:sql-statement-separator -ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark +ALTER TABLE ezcontentbrowsebookmark RENAME TO ibexa_content_bookmark; -- ibexa:sql-statement-separator -DROP INDEX ezcontentbrowsebookmark_location +DROP INDEX ezcontentbrowsebookmark_location; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id) +CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id); -- ibexa:sql-statement-separator -DROP INDEX ezcontentbrowsebookmark_user +DROP INDEX ezcontentbrowsebookmark_user; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id) +CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id); -- ibexa:sql-statement-separator -DROP INDEX ezcontentbrowsebookmark_user_location +DROP INDEX ezcontentbrowsebookmark_user_location; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id) +CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id); -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass RENAME TO ibexa_content_type +ALTER TABLE ezcontentclass RENAME TO ibexa_content_type; -- ibexa:sql-statement-separator -DROP INDEX ezcontentclass_version +DROP INDEX ezcontentclass_version; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_type_version ON ibexa_content_type (version) +CREATE INDEX ibexa_content_type_version ON ibexa_content_type (version); -- ibexa:sql-statement-separator -DROP INDEX ezcontentclass_identifier +DROP INDEX ezcontentclass_identifier; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, version) +CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, version); -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition +ALTER TABLE ezcontentclass_attribute RENAME TO ibexa_content_type_field_definition; -- ibexa:sql-statement-separator -DROP INDEX ezcontentclass_attr_ccid +DROP INDEX ezcontentclass_attr_ccid; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (contentclass_id) +CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (contentclass_id); -- ibexa:sql-statement-separator -DROP INDEX ezcontentclass_attr_dts +DROP INDEX ezcontentclass_attr_dts; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string) +CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string); -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml +ALTER TABLE ezcontentclass_attribute_ml RENAME TO ibexa_content_type_field_definition_ml; -- ibexa:sql-statement-separator -DROP INDEX ezcontentclass_attribute_ml_lang_fk +DROP INDEX ezcontentclass_attribute_ml_lang_fk; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id) +CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id); -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment +ALTER TABLE ezcontentclass_classgroup RENAME TO ibexa_content_type_group_assignment; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name +ALTER TABLE ezcontentclass_name RENAME TO ibexa_content_type_name; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group +ALTER TABLE ezcontentclassgroup RENAME TO ibexa_content_type_group; -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree +ALTER TABLE ezcontentobject_tree RENAME TO ibexa_content_tree; -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_tree_p_node_id +DROP INDEX ezcontentobject_tree_p_node_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id) +CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_tree_path_ident +DROP INDEX ezcontentobject_tree_path_ident; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string) +CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_tree_contentobject_id_path_string +DROP INDEX ezcontentobject_tree_contentobject_id_path_string; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id) +CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_tree_co_id +DROP INDEX ezcontentobject_tree_co_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id) +CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_tree_depth +DROP INDEX ezcontentobject_tree_depth; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth) +CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_tree_path +DROP INDEX ezcontentobject_tree_path; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string) +CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string); -- ibexa:sql-statement-separator -DROP INDEX modified_subnode +DROP INDEX modified_subnode; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode) +CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_tree_remote_id +DROP INDEX ezcontentobject_tree_remote_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id) +CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id); -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject RENAME TO ibexa_content +ALTER TABLE ezcontentobject RENAME TO ibexa_content; -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_classid +DROP INDEX ezcontentobject_classid; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_type_id ON ibexa_content (contentclass_id) +CREATE INDEX ibexa_content_type_id ON ibexa_content (contentclass_id); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_lmask +DROP INDEX ezcontentobject_lmask; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask) +CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_pub +DROP INDEX ezcontentobject_pub; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_pub ON ibexa_content (published) +CREATE INDEX ibexa_content_pub ON ibexa_content (published); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_section +DROP INDEX ezcontentobject_section; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_section ON ibexa_content (section_id) +CREATE INDEX ibexa_content_section ON ibexa_content (section_id); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_currentversion +DROP INDEX ezcontentobject_currentversion; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version) +CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_owner +DROP INDEX ezcontentobject_owner; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id) +CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_status +DROP INDEX ezcontentobject_status; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_status ON ibexa_content (status) +CREATE INDEX ibexa_content_status ON ibexa_content (status); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_remote_id +DROP INDEX ezcontentobject_remote_id; -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id) +CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id); -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field +ALTER TABLE ezcontentobject_attribute RENAME TO ibexa_content_field; -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_attribute_co_id_ver_lang_code +DROP INDEX ezcontentobject_attribute_co_id_ver_lang_code; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code) +CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_classattr_id +DROP INDEX ezcontentobject_classattr_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_field_classattr_id ON ibexa_content_field (contentclassattribute_id) +CREATE INDEX ibexa_content_field_classattr_id ON ibexa_content_field (contentclassattribute_id); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_attribute_language_code +DROP INDEX ezcontentobject_attribute_language_code; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code) +CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_attribute_co_id_ver +DROP INDEX ezcontentobject_attribute_co_id_ver; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version) +CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version); -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation +ALTER TABLE ezcontentobject_link RENAME TO ibexa_content_relation; -- ibexa:sql-statement-separator -DROP INDEX ezco_link_to_co_id +DROP INDEX ezco_link_to_co_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id) +CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id); -- ibexa:sql-statement-separator -DROP INDEX ezco_link_from +DROP INDEX ezco_link_from; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, contentclassattribute_id) +CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, contentclassattribute_id); -- ibexa:sql-statement-separator -DROP INDEX ezco_link_cca_id +DROP INDEX ezco_link_cca_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_relation_cca_id ON ibexa_content_relation (contentclassattribute_id) +CREATE INDEX ibexa_content_relation_cca_id ON ibexa_content_relation (contentclassattribute_id); -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name +ALTER TABLE ezcontentobject_name RENAME TO ibexa_content_name; -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_name_lang_id +DROP INDEX ezcontentobject_name_lang_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id) +CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_name_cov_id +DROP INDEX ezcontentobject_name_cov_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version) +CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version); -- ibexa:sql-statement-separator -DROP INDEX ezcontentobject_name_name +DROP INDEX ezcontentobject_name_name; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name) +CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name); -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash +ALTER TABLE ezcontentobject_trash RENAME TO ibexa_content_trash; -- ibexa:sql-statement-separator -DROP INDEX ezcobj_trash_depth +DROP INDEX ezcobj_trash_depth; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth) +CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth); -- ibexa:sql-statement-separator -DROP INDEX ezcobj_trash_p_node_id +DROP INDEX ezcobj_trash_p_node_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id) +CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id); -- ibexa:sql-statement-separator -DROP INDEX ezcobj_trash_path_ident +DROP INDEX ezcobj_trash_path_ident; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string) +CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string); -- ibexa:sql-statement-separator -DROP INDEX ezcobj_trash_co_id +DROP INDEX ezcobj_trash_co_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id) +CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id); -- ibexa:sql-statement-separator -DROP INDEX ezcobj_trash_modified_subnode +DROP INDEX ezcobj_trash_modified_subnode; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode) +CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode); -- ibexa:sql-statement-separator -DROP INDEX ezcobj_trash_path +DROP INDEX ezcobj_trash_path; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string) +CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string); -- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version +ALTER TABLE ezcontentobject_version RENAME TO ibexa_content_version; -- ibexa:sql-statement-separator -DROP INDEX ezcobj_version_status +DROP INDEX ezcobj_version_status; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status) +CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status); -- ibexa:sql-statement-separator -DROP INDEX idx_object_version_objver +DROP INDEX idx_object_version_objver; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version) +CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version); -- ibexa:sql-statement-separator -DROP INDEX ezcontobj_version_obj_status +DROP INDEX ezcontobj_version_obj_status; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status) +CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status); -- ibexa:sql-statement-separator -DROP INDEX ezcobj_version_creator_id +DROP INDEX ezcobj_version_creator_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id) +CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id); -- ibexa:sql-statement-separator -ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file +ALTER TABLE ezdfsfile RENAME TO ibexa_dfs_file; -- ibexa:sql-statement-separator -DROP INDEX ezdfsfile_name_trunk +DROP INDEX ezdfsfile_name_trunk; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk) +CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk); -- ibexa:sql-statement-separator -DROP INDEX ezdfsfile_expired_name +DROP INDEX ezdfsfile_expired_name; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name) +CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name); -- ibexa:sql-statement-separator -DROP INDEX ezdfsfile_name +DROP INDEX ezdfsfile_name; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name) +CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name); -- ibexa:sql-statement-separator -DROP INDEX ezdfsfile_mtime +DROP INDEX ezdfsfile_mtime; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime) +CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime); -- ibexa:sql-statement-separator -ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location +ALTER TABLE ezgmaplocation RENAME TO ibexa_map_location; -- ibexa:sql-statement-separator -DROP INDEX latitude_longitude_key +DROP INDEX latitude_longitude_key; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude) +CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude); -- ibexa:sql-statement-separator -ALTER TABLE ezimagefile RENAME TO ibexa_image_file +ALTER TABLE ezimagefile RENAME TO ibexa_image_file; -- ibexa:sql-statement-separator -DROP INDEX ezimagefile_file +DROP INDEX ezimagefile_file; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath) +CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath); -- ibexa:sql-statement-separator -DROP INDEX ezimagefile_coid +DROP INDEX ezimagefile_coid; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id) +CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id); -- ibexa:sql-statement-separator -ALTER TABLE ezkeyword RENAME TO ibexa_keyword +ALTER TABLE ezkeyword RENAME TO ibexa_keyword; -- ibexa:sql-statement-separator -DROP INDEX ezkeyword_keyword +DROP INDEX ezkeyword_keyword; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword) +CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword); -- ibexa:sql-statement-separator -ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link +ALTER TABLE ezkeyword_attribute_link RENAME TO ibexa_keyword_field_link; -- ibexa:sql-statement-separator -DROP INDEX ezkeyword_attr_link_oaid +DROP INDEX ezkeyword_attr_link_oaid; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id) +CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id); -- ibexa:sql-statement-separator -DROP INDEX ezkeyword_attr_link_kid_oaid +DROP INDEX ezkeyword_attr_link_kid_oaid; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id) +CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id); -- ibexa:sql-statement-separator -DROP INDEX ezkeyword_attr_link_oaid_ver +DROP INDEX ezkeyword_attr_link_oaid_ver; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version) +CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version); -- ibexa:sql-statement-separator -ALTER TABLE ezmedia RENAME TO ibexa_media +ALTER TABLE ezmedia RENAME TO ibexa_media; -- ibexa:sql-statement-separator -ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment +ALTER TABLE eznode_assignment RENAME TO ibexa_node_assignment; -- ibexa:sql-statement-separator -DROP INDEX eznode_assignment_is_main +DROP INDEX eznode_assignment_is_main; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main) +CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main); -- ibexa:sql-statement-separator -DROP INDEX eznode_assignment_coid_cov +DROP INDEX eznode_assignment_coid_cov; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version) +CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version); -- ibexa:sql-statement-separator -DROP INDEX eznode_assignment_parent_node +DROP INDEX eznode_assignment_parent_node; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node) +CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node); -- ibexa:sql-statement-separator -DROP INDEX eznode_assignment_co_version +DROP INDEX eznode_assignment_co_version; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version) +CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version); -- ibexa:sql-statement-separator -ALTER TABLE eznotification RENAME TO ibexa_notification +ALTER TABLE eznotification RENAME TO ibexa_notification; -- ibexa:sql-statement-separator -DROP INDEX eznotification_owner_is_pending +DROP INDEX eznotification_owner_is_pending; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending) +CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending); -- ibexa:sql-statement-separator -DROP INDEX eznotification_owner +DROP INDEX eznotification_owner; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id) +CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id); -- ibexa:sql-statement-separator -ALTER TABLE ezpackage RENAME TO ibexa_package +ALTER TABLE ezpackage RENAME TO ibexa_package; -- ibexa:sql-statement-separator -ALTER TABLE ezpolicy RENAME TO ibexa_policy +ALTER TABLE ezpolicy RENAME TO ibexa_policy; -- ibexa:sql-statement-separator -DROP INDEX ezpolicy_role_id +DROP INDEX ezpolicy_role_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id) +CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id); -- ibexa:sql-statement-separator -DROP INDEX ezpolicy_original_id +DROP INDEX ezpolicy_original_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id) +CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id); -- ibexa:sql-statement-separator -ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation +ALTER TABLE ezpolicy_limitation RENAME TO ibexa_policy_limitation; -- ibexa:sql-statement-separator -DROP INDEX policy_id +DROP INDEX policy_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id) +CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id); -- ibexa:sql-statement-separator -ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value +ALTER TABLE ezpolicy_limitation_value RENAME TO ibexa_policy_limitation_value; -- ibexa:sql-statement-separator -DROP INDEX ezpolicy_limit_value_limit_id +DROP INDEX ezpolicy_limit_value_limit_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id) +CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id); -- ibexa:sql-statement-separator -DROP INDEX ezpolicy_limitation_value_val +DROP INDEX ezpolicy_limitation_value_val; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value) +CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value); -- ibexa:sql-statement-separator -ALTER TABLE ezpreferences RENAME TO ibexa_user_preference +ALTER TABLE ezpreferences RENAME TO ibexa_user_preference; -- ibexa:sql-statement-separator -DROP INDEX ezpreferences_user_id_idx +DROP INDEX ezpreferences_user_id_idx; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name) +CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name); -- ibexa:sql-statement-separator -DROP INDEX ezpreferences_name +DROP INDEX ezpreferences_name; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name) +CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name); -- ibexa:sql-statement-separator -ALTER TABLE ezrole RENAME TO ibexa_role +ALTER TABLE ezrole RENAME TO ibexa_role; -- ibexa:sql-statement-separator -ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link +ALTER TABLE ezsearch_object_word_link RENAME TO ibexa_search_object_word_link; -- ibexa:sql-statement-separator -DROP INDEX ezsearch_object_word_link_object +DROP INDEX ezsearch_object_word_link_object; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id) +CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id); -- ibexa:sql-statement-separator -DROP INDEX ezsearch_object_word_link_identifier +DROP INDEX ezsearch_object_word_link_identifier; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier) +CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier); -- ibexa:sql-statement-separator -DROP INDEX ezsearch_object_word_link_integer_value +DROP INDEX ezsearch_object_word_link_integer_value; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value) +CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value); -- ibexa:sql-statement-separator -DROP INDEX ezsearch_object_word_link_word +DROP INDEX ezsearch_object_word_link_word; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id) +CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id); -- ibexa:sql-statement-separator -DROP INDEX ezsearch_object_word_link_frequency +DROP INDEX ezsearch_object_word_link_frequency; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency) +CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency); -- ibexa:sql-statement-separator -ALTER TABLE ezsearch_word RENAME TO ibexa_search_word +ALTER TABLE ezsearch_word RENAME TO ibexa_search_word; -- ibexa:sql-statement-separator -DROP INDEX ezsearch_word_word_i +DROP INDEX ezsearch_word_word_i; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word) +CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word); -- ibexa:sql-statement-separator -DROP INDEX ezsearch_word_obj_count +DROP INDEX ezsearch_word_obj_count; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count) +CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count); -- ibexa:sql-statement-separator -ALTER TABLE ezsection RENAME TO ibexa_section +ALTER TABLE ezsection RENAME TO ibexa_section; -- ibexa:sql-statement-separator -ALTER TABLE ezsite_data RENAME TO ibexa_site_data +ALTER TABLE ezsite_data RENAME TO ibexa_site_data; -- ibexa:sql-statement-separator -ALTER TABLE ezurl RENAME TO ibexa_url +ALTER TABLE ezurl RENAME TO ibexa_url; -- ibexa:sql-statement-separator -DROP INDEX ezurl_url +DROP INDEX ezurl_url; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_url ON ibexa_url (url) +CREATE INDEX ibexa_url_url ON ibexa_url (url); -- ibexa:sql-statement-separator -ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link +ALTER TABLE ezurl_object_link RENAME TO ibexa_url_content_link; -- ibexa:sql-statement-separator -DROP INDEX ezurl_ol_coa_id +DROP INDEX ezurl_ol_coa_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id) +CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id); -- ibexa:sql-statement-separator -DROP INDEX ezurl_ol_url_id +DROP INDEX ezurl_ol_url_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id) +CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id); -- ibexa:sql-statement-separator -DROP INDEX ezurl_ol_coa_version +DROP INDEX ezurl_ol_coa_version; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version) +CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version); -- ibexa:sql-statement-separator -DROP INDEX ezurl_ol_coa_id_cav +DROP INDEX ezurl_ol_coa_id_cav; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version) +CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version); -- ibexa:sql-statement-separator -ALTER TABLE ezurlalias RENAME TO ibexa_url_alias +ALTER TABLE ezurlalias RENAME TO ibexa_url_alias; -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_source_md5 +DROP INDEX ezurlalias_source_md5; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5) +CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5); -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_wcard_fwd +DROP INDEX ezurlalias_wcard_fwd; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id) +CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id); -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_forward_to_id +DROP INDEX ezurlalias_forward_to_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id) +CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id); -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_imp_wcard_fwd +DROP INDEX ezurlalias_imp_wcard_fwd; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id) +CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id); -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_source_url +DROP INDEX ezurlalias_source_url; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url) +CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url); -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_desturl +DROP INDEX ezurlalias_desturl; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url) +CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url); -- ibexa:sql-statement-separator -ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml +ALTER TABLE ezurlalias_ml RENAME TO ibexa_url_alias_ml; -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_ml_actt_org_al +DROP INDEX ezurlalias_ml_actt_org_al; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias) +CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias); -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_ml_text_lang +DROP INDEX ezurlalias_ml_text_lang; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent) +CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent); -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_ml_par_act_id_lnk +DROP INDEX ezurlalias_ml_par_act_id_lnk; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml ("action", id, link, parent) +CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml ("action", id, link, parent); -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_ml_par_lnk_txt +DROP INDEX ezurlalias_ml_par_lnk_txt; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link) +CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link); -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_ml_act_org +DROP INDEX ezurlalias_ml_act_org; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml ("action", is_original) +CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml ("action", is_original); -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_ml_text +DROP INDEX ezurlalias_ml_text; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link) +CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link); -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_ml_link +DROP INDEX ezurlalias_ml_link; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link) +CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link); -- ibexa:sql-statement-separator -DROP INDEX ezurlalias_ml_id +DROP INDEX ezurlalias_ml_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id) +CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id); -- ibexa:sql-statement-separator -ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr +ALTER TABLE ezurlalias_ml_incr RENAME TO ibexa_url_alias_ml_incr; -- ibexa:sql-statement-separator -ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard +ALTER TABLE ezurlwildcard RENAME TO ibexa_url_wildcard; -- ibexa:sql-statement-separator -ALTER TABLE ezuser RENAME TO ibexa_user +ALTER TABLE ezuser RENAME TO ibexa_user; -- ibexa:sql-statement-separator -DROP INDEX ezuser_login +DROP INDEX ezuser_login; -- ibexa:sql-statement-separator -CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login) +CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login); -- ibexa:sql-statement-separator -ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey +ALTER TABLE ezuser_accountkey RENAME TO ibexa_user_accountkey; -- ibexa:sql-statement-separator -ALTER TABLE ezuser_role RENAME TO ibexa_user_role +ALTER TABLE ezuser_role RENAME TO ibexa_user_role; -- ibexa:sql-statement-separator -DROP INDEX ezuser_role_role_id +DROP INDEX ezuser_role_role_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id) +CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id); -- ibexa:sql-statement-separator -DROP INDEX ezuser_role_contentobject_id +DROP INDEX ezuser_role_contentobject_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id) +CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id); -- ibexa:sql-statement-separator -ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting +ALTER TABLE ezuser_setting RENAME TO ibexa_user_setting; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_content RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id +ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_id TO content_type_id; -- ibexa:sql-statement-separator -DROP INDEX ibexa_content_type_version +DROP INDEX ibexa_content_type_version; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_type_status ON ibexa_content_type (version) +CREATE INDEX ibexa_content_type_status ON ibexa_content_type (version); -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type RENAME COLUMN version TO status +ALTER TABLE ibexa_content_type RENAME COLUMN version TO status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status +ALTER TABLE ibexa_content_type_field_definition RENAME COLUMN version TO status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status +ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN version TO status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status +ALTER TABLE ibexa_content_type_group_assignment RENAME COLUMN contentclass_version TO content_type_status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status +ALTER TABLE ibexa_content_type_name RENAME COLUMN contentclass_version TO content_type_status; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id +ALTER TABLE ibexa_content_type_field_definition_ml RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id +ALTER TABLE ibexa_content_field RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id; -- ibexa:sql-statement-separator -DROP INDEX ibexa_content_field_classattr_id +DROP INDEX ibexa_content_field_classattr_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id) +CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id); -- ibexa:sql-statement-separator -ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id +ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO content_type_field_definition_id; -- ibexa:sql-statement-separator -DROP INDEX ibexa_content_relation_cca_id +DROP INDEX ibexa_content_relation_cca_id; -- ibexa:sql-statement-separator -CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id) +CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); -- ibexa:sql-statement-separator -ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id +ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; -- ibexa:sql-statement-separator -UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock' +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; -- ibexa:sql-statement-separator -UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; -- ibexa:sql-statement-separator -UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring' +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; From 600153a5a6bf69969748965e302bc487924b1eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 23 Jul 2026 17:25:40 +0200 Subject: [PATCH 20/38] IBX-11939: Added schema/data-presence guards for legacy-install migrations Guards ibexa/core's InstallSchemaMigration/ImportDataMigration/ RenameSchemaTo5_0Migration and ibexa/fieldtype-page's RenameSchemaTo5_0Migration so they skip when an existing install already built its schema the old way. ImportDataMigration checks for the absence of its pre-rename input table, since migrations run in a strict, deterministic order -- if it's missing, this system never went through this migration, meaning it built its schema (and bootstrap data) via schema.yaml directly. The two data-value fixes hidden inside the rename migrations (core's ez_lock/ezstring identifier fixes, fieldtype-page's block-ID HTML reference fix) are split into their own always-run migrations (FixLegacyIdentifiersMigration, FixBlockIdReferencesMigration), since a schema-shape guard on the rename would otherwise also skip these on a system whose schema is already renamed but whose row data still holds the old values -- schema.yaml only defines structure, not content. Both run unconditionally right after their corresponding rename (same target version, later creation date), so the tables they touch are always at their final name by then, and each statement is a no-op via its own WHERE clause once already applied. --- .../FixLegacyIdentifiersMigration.php | 58 +++++++++++++++++++ .../Migration/InstallSchemaMigration.php | 4 +- .../Migration/RenameSchemaTo5_0Migration.php | 2 + .../sql/fix-legacy-identifiers-mysql.sql | 5 ++ .../sql/fix-legacy-identifiers-postgresql.sql | 5 ++ .../sql/fix-legacy-identifiers-sqlite.sql | 5 ++ .../sql/rename-schema-to-5-0-mysql.sql | 6 -- .../sql/rename-schema-to-5-0-postgresql.sql | 6 -- .../sql/rename-schema-to-5-0-sqlite.sql | 6 -- .../Resources/config/services.yml | 8 +++ 10 files changed, 84 insertions(+), 21 deletions(-) create mode 100644 src/bundle/RepositoryInstaller/Migration/FixLegacyIdentifiersMigration.php create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/fix-legacy-identifiers-mysql.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/fix-legacy-identifiers-postgresql.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/fix-legacy-identifiers-sqlite.sql diff --git a/src/bundle/RepositoryInstaller/Migration/FixLegacyIdentifiersMigration.php b/src/bundle/RepositoryInstaller/Migration/FixLegacyIdentifiersMigration.php new file mode 100644 index 0000000000..eeb416e905 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/FixLegacyIdentifiersMigration.php @@ -0,0 +1,58 @@ +abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); + + if ($this->isMySQL()) { + $this->addSqlFile(__DIR__ . '/sql/fix-legacy-identifiers-mysql.sql'); + } elseif ($this->isPostgreSQL()) { + $this->addSqlFile(__DIR__ . '/sql/fix-legacy-identifiers-postgresql.sql'); + } elseif ($this->isSqlite()) { + $this->addSqlFile(__DIR__ . '/sql/fix-legacy-identifiers-sqlite.sql'); + } + } +} diff --git a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php index fc7d0b875a..f007673b09 100644 --- a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php @@ -39,9 +39,7 @@ public function up(Schema $schema): void // migration creates): an install that built its schema via schema.yaml (rather than // through this migration) never has "ezcontentobject" -- it already has // "ibexa_content" directly. - if ($schema->hasTable('ezcontentobject')) { - return; - } + $this->skipIf($schema->hasTable('ibexa_content'), 'Schema already migrated: table "ibexa_content" already exists.'); if ($this->isMySQL()) { $this->addSqlFile(__DIR__ . '/sql/install-schema-mysql.sql'); diff --git a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php index bd32f096e1..86a2e552eb 100644 --- a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php +++ b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php @@ -41,6 +41,8 @@ public function up(Schema $schema): void { $this->abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); + $this->skipIf($schema->hasTable('ibexa_content'), 'Schema already migrated: table "ibexa_content" already exists.'); + if ($this->isMySQL()) { $this->addSqlFile(__DIR__ . '/sql/rename-schema-to-5-0-mysql.sql'); } elseif ($this->isPostgreSQL()) { diff --git a/src/bundle/RepositoryInstaller/Migration/sql/fix-legacy-identifiers-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/fix-legacy-identifiers-mysql.sql new file mode 100644 index 0000000000..2dc24d2654 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/fix-legacy-identifiers-mysql.sql @@ -0,0 +1,5 @@ +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/fix-legacy-identifiers-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/fix-legacy-identifiers-postgresql.sql new file mode 100644 index 0000000000..2dc24d2654 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/fix-legacy-identifiers-postgresql.sql @@ -0,0 +1,5 @@ +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/fix-legacy-identifiers-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/fix-legacy-identifiers-sqlite.sql new file mode 100644 index 0000000000..2dc24d2654 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/fix-legacy-identifiers-sqlite.sql @@ -0,0 +1,5 @@ +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql index f9e9cffa91..512b58dd07 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql @@ -345,9 +345,3 @@ ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO con ALTER TABLE ibexa_content_relation RENAME INDEX ibexa_content_relation_cca_id TO ibexa_content_relation_ccfd_id; -- ibexa:sql-statement-separator ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; --- ibexa:sql-statement-separator -UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; --- ibexa:sql-statement-separator -UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; --- ibexa:sql-statement-separator -UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql index 07150fa771..12ddc1f3a2 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql @@ -407,9 +407,3 @@ ALTER SEQUENCE ezurlwildcard_id_seq RENAME TO ibexa_url_wildcard_id_seq; ALTER SEQUENCE ezuser_accountkey_id_seq RENAME TO ibexa_user_accountkey_id_seq; -- ibexa:sql-statement-separator ALTER SEQUENCE ezuser_role_id_seq RENAME TO ibexa_user_role_id_seq; --- ibexa:sql-statement-separator -UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; --- ibexa:sql-statement-separator -UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; --- ibexa:sql-statement-separator -UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql index a5df30153f..302ba3aa95 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql @@ -547,9 +547,3 @@ DROP INDEX ibexa_content_relation_cca_id; CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); -- ibexa:sql-statement-separator ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; --- ibexa:sql-statement-separator -UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; --- ibexa:sql-statement-separator -UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; --- ibexa:sql-statement-separator -UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Resources/config/services.yml b/src/bundle/RepositoryInstaller/Resources/config/services.yml index 36917dbb44..d28e95ff66 100644 --- a/src/bundle/RepositoryInstaller/Resources/config/services.yml +++ b/src/bundle/RepositoryInstaller/Resources/config/services.yml @@ -29,6 +29,14 @@ services: tags: - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + Ibexa\Bundle\RepositoryInstaller\Migration\FixLegacyIdentifiersMigration: + autowire: true + public: false + arguments: + $connection: '@ibexa.persistence.connection' + tags: + - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + Ibexa\Bundle\RepositoryInstaller\Migration\TaggedMigrationsRunner: public: false arguments: From d8a6a2fa8acac7238b1410c179e8d04c7582da20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 23 Jul 2026 18:36:29 +0200 Subject: [PATCH 21/38] IBX-11939: Recorded schema-guarded migrations as applied, not skipped Doctrine Migrations only calls MetadataStorage::complete() (the write to doctrine_migration_versions) when a migration's up() returns normally -- never when it throws SkipMigration. So every migration using skipIf() was being silently re-evaluated on every future doctrine:migrations:migrate run instead of being permanently recorded as applied, even though its guard condition (the schema already being in place) never changes back. Replaces every `$this->skipIf($condition, $message);` with `if ($condition) { return; }`: up() now returns normally with zero queued SQL when the guard fires, so the migration is correctly recorded as executed (with a "did not result in any SQL statements" warning logged, which is expected and harmless) and never re-evaluated again. Verified end-to-end: fresh ibexa:install (schema_builder_event enabled) followed by doctrine:migrations:migrate now records all 44 tagged migrations in doctrine_migration_versions in one pass, and a second migrate run does zero work at all ("Already at the latest version"). --- .../RepositoryInstaller/Migration/InstallSchemaMigration.php | 4 +++- .../Migration/RenameSchemaTo5_0Migration.php | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php index f007673b09..b68f8392e2 100644 --- a/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/InstallSchemaMigration.php @@ -39,7 +39,9 @@ public function up(Schema $schema): void // migration creates): an install that built its schema via schema.yaml (rather than // through this migration) never has "ezcontentobject" -- it already has // "ibexa_content" directly. - $this->skipIf($schema->hasTable('ibexa_content'), 'Schema already migrated: table "ibexa_content" already exists.'); + if ($schema->hasTable('ibexa_content')) { + return; + } if ($this->isMySQL()) { $this->addSqlFile(__DIR__ . '/sql/install-schema-mysql.sql'); diff --git a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php index 86a2e552eb..255b4707ba 100644 --- a/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php +++ b/src/bundle/RepositoryInstaller/Migration/RenameSchemaTo5_0Migration.php @@ -41,7 +41,9 @@ public function up(Schema $schema): void { $this->abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); - $this->skipIf($schema->hasTable('ibexa_content'), 'Schema already migrated: table "ibexa_content" already exists.'); + if ($schema->hasTable('ibexa_content')) { + return; + } if ($this->isMySQL()) { $this->addSqlFile(__DIR__ . '/sql/rename-schema-to-5-0-mysql.sql'); From be5d0a08f49de8ea038baf357dc94d38b7b57c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Fri, 24 Jul 2026 10:22:43 +0200 Subject: [PATCH 22/38] IBX-11939: Added a SchemaProvider bridging Doctrine Migrations to SchemaBuilderEvent ibexa:doctrine:migrations:diff (and any other Doctrine Migrations command that needs a target schema) previously failed with 'The schema provider is not available.', since IbexaOnlyDependencyFactory never had an entity manager or SchemaProvider configured. SchemaBuilderEventSchemaProvider bridges Doctrine Migrations' SchemaProvider to Ibexa's own legacy, event-driven schema builder (SchemaBuilderInterface, backed by SchemaBuilderEvent and every installed package's BuildSchemaSubscriber) -- the same mechanism CoreInstaller::importSchema() already uses for the legacy install path. A new compiler pass wires it onto IbexaOnlyDependencyFactory via setService(), a no-op if ibexa/doctrine-schema or ibexa/doctrine-migrations isn't installed. --- .../RepositoryInstaller/IbexaRepositoryInstallerBundle.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php b/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php index 391c02b9e1..93a622d650 100644 --- a/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php +++ b/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php @@ -8,6 +8,7 @@ namespace Ibexa\Bundle\RepositoryInstaller; use Ibexa\Bundle\DoctrineSchema\DoctrineSchemaBundle; +use Ibexa\Bundle\RepositoryInstaller\DependencyInjection\Compiler\InstallerTagPass; use Ibexa\Bundle\RepositoryInstaller\DependencyInjection\Compiler\RegisterSchemaBuilderEventSchemaProviderPass; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Exception\RuntimeException; @@ -30,6 +31,7 @@ public function build(ContainerBuilder $container): void } parent::build($container); + $container->addCompilerPass(new InstallerTagPass()); $container->addCompilerPass(new RegisterSchemaBuilderEventSchemaProviderPass()); } } From 7a2b03e6b038fec20ef5fd8f609dcfc1649600cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 16 Jul 2026 23:55:54 +0200 Subject: [PATCH 23/38] [Doctrine Migrations] Added Doctrine Migrations-based schema and data install path Same as the 4.6/5.0 branches: adds an ibexa/doctrine-migrations-based alternative to the event-driven SchemaBuilderEvent mechanism CoreInstaller has used to install the core schema and bootstrap data. Controlled by the new "ibexa.installer.schema_builder_event.enabled" setting (defaults to true, preserving current behavior): - When enabled (default), CoreInstaller keeps dispatching SchemaBuilderEvent and importing cleandata.sql directly, unchanged. - When disabled, schema creation and data import are each modeled as an AbstractVersion migration (InstallSchemaMigration, ImportDataMigration), tagged for discovery, and executed via TaggedMigrationsRunner through the IbexaOnlyDependencyFactory service - an independent Doctrine Migrations DependencyFactory scoped to only Ibexa-tagged migrations, so a project's own migrations are never accidentally executed. Each migration's execution is recorded in the standard Doctrine Migrations versioning table, making repeated installs idempotent. InstallSchemaMigration's SQL (mysql/postgresql/sqlite, one statement per file) is generated from this branch's own schema.yaml (ibexa_* table naming); ImportDataMigration's from this branch's own per-DBMS cleandata.sql files (with the mysql statements reused verbatim for sqlite, which previously had no cleandata support at all). --- composer.json | 1 + .../Resources/migrations/import_data.yaml | 243 ++++++ .../Resources/migrations/install_schema.yaml | 773 ++++++++++++++++++ .../mysql/0001_create_ibexa_binary_file.sql | 1 + .../mysql/0002_create_ibexa_object_state.sql | 1 + .../0003_create_ibexa_object_state_group.sql | 1 + ...eate_ibexa_object_state_group_language.sql | 1 + ...005_create_ibexa_object_state_language.sql | 1 + .../0006_create_ibexa_object_state_link.sql | 1 + .../0007_create_ibexa_content_language.sql | 1 + .../sql/mysql/0008_create_ibexa_user.sql | 1 + .../mysql/0009_create_ibexa_content_tree.sql | 1 + .../0010_create_ibexa_content_bookmark.sql | 1 + .../mysql/0011_create_ibexa_content_type.sql | 1 + ...te_ibexa_content_type_field_definition.sql | 1 + ...ibexa_content_type_field_definition_ml.sql | 1 + ...te_ibexa_content_type_group_assignment.sql | 1 + .../0015_create_ibexa_content_type_name.sql | 1 + .../0016_create_ibexa_content_type_group.sql | 1 + .../sql/mysql/0017_create_ibexa_content.sql | 1 + .../mysql/0018_create_ibexa_content_field.sql | 1 + .../0019_create_ibexa_content_relation.sql | 1 + .../mysql/0020_create_ibexa_content_name.sql | 1 + .../mysql/0021_create_ibexa_content_trash.sql | 1 + .../0022_create_ibexa_content_version.sql | 1 + .../sql/mysql/0023_create_ibexa_dfs_file.sql | 1 + .../mysql/0024_create_ibexa_map_location.sql | 1 + .../mysql/0025_create_ibexa_image_file.sql | 1 + .../sql/mysql/0026_create_ibexa_keyword.sql | 1 + .../0027_create_ibexa_keyword_field_link.sql | 1 + .../sql/mysql/0028_create_ibexa_media.sql | 1 + .../0029_create_ibexa_node_assignment.sql | 1 + .../mysql/0030_create_ibexa_notification.sql | 1 + .../sql/mysql/0031_create_ibexa_package.sql | 1 + .../sql/mysql/0032_create_ibexa_policy.sql | 1 + .../0033_create_ibexa_policy_limitation.sql | 1 + ...4_create_ibexa_policy_limitation_value.sql | 1 + .../0035_create_ibexa_user_preference.sql | 1 + .../sql/mysql/0036_create_ibexa_role.sql | 1 + ...7_create_ibexa_search_object_word_link.sql | 1 + .../mysql/0038_create_ibexa_search_word.sql | 1 + .../sql/mysql/0039_create_ibexa_section.sql | 1 + .../sql/mysql/0040_create_ibexa_site_data.sql | 1 + .../sql/mysql/0041_create_ibexa_url.sql | 1 + .../0042_create_ibexa_url_content_link.sql | 1 + .../sql/mysql/0043_create_ibexa_url_alias.sql | 1 + .../mysql/0044_create_ibexa_url_alias_ml.sql | 1 + .../0045_create_ibexa_url_alias_ml_incr.sql | 1 + .../mysql/0046_create_ibexa_url_wildcard.sql | 1 + .../0047_create_ibexa_user_accountkey.sql | 1 + .../sql/mysql/0048_create_ibexa_user_role.sql | 1 + .../mysql/0049_create_ibexa_user_setting.sql | 1 + .../sql/mysql/0050_create_ibexa_setting.sql | 1 + .../mysql/0051_create_ibexa_token_type.sql | 1 + .../sql/mysql/0052_create_ibexa_token.sql | 1 + ...ark_ibexa_content_bookmark_location_fk.sql | 1 + ...ookmark_ibexa_content_bookmark_user_fk.sql | 1 + ...ntent_type_field_definition_ml_lang_fk.sql | 1 + ..._fk_ibexa_token_ibexa_token_type_id_fk.sql | 1 + .../data/0001_insert_ibexa_object_state.sql | 3 + .../0002_insert_ibexa_object_state_group.sql | 2 + ...sert_ibexa_object_state_group_language.sql | 2 + ...004_insert_ibexa_object_state_language.sql | 3 + .../0005_insert_ibexa_object_state_link.sql | 13 + .../0006_insert_ibexa_content_language.sql | 2 + .../data/0007_insert_ibexa_content_type.sql | 7 + ...rt_ibexa_content_type_field_definition.sql | 25 + ...rt_ibexa_content_type_group_assignment.sql | 7 + .../0010_insert_ibexa_content_type_name.sql | 7 + .../0011_insert_ibexa_content_type_group.sql | 4 + .../mysql/data/0012_insert_ibexa_content.sql | 13 + .../data/0013_insert_ibexa_content_field.sql | 41 + .../data/0014_insert_ibexa_content_name.sql | 13 + .../data/0015_insert_ibexa_content_tree.sql | 14 + .../0016_insert_ibexa_content_version.sql | 13 + .../0017_insert_ibexa_node_assignment.sql | 13 + .../mysql/data/0018_insert_ibexa_policy.sql | 9 + .../0019_insert_ibexa_policy_limitation.sql | 7 + ...0_insert_ibexa_policy_limitation_value.sql | 8 + .../sql/mysql/data/0021_insert_ibexa_role.sql | 5 + .../mysql/data/0022_insert_ibexa_section.sql | 4 + .../data/0023_insert_ibexa_site_data.sql | 2 + .../data/0024_insert_ibexa_url_alias.sql | 13 + .../data/0025_insert_ibexa_url_alias_ml.sql | 26 + .../0026_insert_ibexa_url_alias_ml_incr.sql | 4 + .../sql/mysql/data/0027_insert_ibexa_user.sql | 3 + .../data/0028_insert_ibexa_user_role.sql | 7 + .../data/0029_insert_ibexa_user_setting.sql | 3 + .../0030_insert_ibexa_user_preference.sql | 2 + .../0001_create_ibexa_binary_file.sql | 1 + .../0002_create_ibexa_object_state.sql | 1 + ...ject_state_ibexa_object_state_priority.sql | 1 + ..._object_state_ibexa_object_state_lmask.sql | 1 + ...ct_state_ibexa_object_state_identifier.sql | 1 + .../0006_create_ibexa_object_state_group.sql | 1 + ...e_group_ibexa_object_state_group_lmask.sql | 1 + ...up_ibexa_object_state_group_identifier.sql | 1 + ...eate_ibexa_object_state_group_language.sql | 1 + ...010_create_ibexa_object_state_language.sql | 1 + .../0011_create_ibexa_object_state_link.sql | 1 + .../0012_create_ibexa_content_language.sql | 1 + ...t_language_ibexa_content_language_name.sql | 1 + .../sql/postgresql/0014_create_ibexa_user.sql | 1 + ...0015_index_ibexa_user_ibexa_user_login.sql | 1 + .../0016_create_ibexa_content_tree.sql | 1 + ...tent_tree_ibexa_content_tree_p_node_id.sql | 1 + ...ent_tree_ibexa_content_tree_path_ident.sql | 1 + ...tent_tree_contentobject_id_path_string.sql | 1 + ..._content_tree_ibexa_content_tree_co_id.sql | 1 + ..._content_tree_ibexa_content_tree_depth.sql | 1 + ...a_content_tree_ibexa_content_tree_path.sql | 1 + ...nt_tree_ibexa_content_modified_subnode.sql | 1 + ...tent_tree_ibexa_content_tree_remote_id.sql | 1 + .../0025_create_ibexa_content_bookmark.sql | 1 + ...okmark_ibexa_content_bookmark_location.sql | 1 + ...t_bookmark_ibexa_content_bookmark_user.sql | 1 + ...k_ibexa_content_bookmark_user_location.sql | 1 + .../0029_create_ibexa_content_type.sql | 1 + ...content_type_ibexa_content_type_status.sql | 1 + ...ent_type_ibexa_content_type_identifier.sql | 1 + ...te_ibexa_content_type_field_definition.sql | 1 + ...exa_content_type_field_definition_ctid.sql | 1 + ...bexa_content_type_field_definition_dts.sql | 1 + ...ibexa_content_type_field_definition_ml.sql | 1 + ...ntent_type_field_definition_ml_lang_fk.sql | 1 + ...te_ibexa_content_type_group_assignment.sql | 1 + .../0038_create_ibexa_content_type_name.sql | 1 + .../0039_create_ibexa_content_type_group.sql | 1 + .../postgresql/0040_create_ibexa_content.sql | 1 + ...ex_ibexa_content_ibexa_content_type_id.sql | 1 + ...ndex_ibexa_content_ibexa_content_lmask.sql | 1 + ..._index_ibexa_content_ibexa_content_pub.sql | 1 + ...ex_ibexa_content_ibexa_content_section.sql | 1 + ...a_content_ibexa_content_currentversion.sql | 1 + ...ndex_ibexa_content_ibexa_content_owner.sql | 1 + ...dex_ibexa_content_ibexa_content_status.sql | 1 + ..._ibexa_content_ibexa_content_remote_id.sql | 1 + .../0049_create_ibexa_content_field.sql | 1 + ...bexa_content_field_co_id_ver_lang_code.sql | 1 + ...bexa_content_field_field_definition_id.sql | 1 + ...ex_ibexa_content_field_sort_key_string.sql | 1 + ...ield_ibexa_content_field_language_code.sql | 1 + ...index_ibexa_content_field_sort_key_int.sql | 1 + ...nt_field_ibexa_content_field_co_id_ver.sql | 1 + .../0056_create_ibexa_content_relation.sql | 1 + ...lation_ibexa_content_relation_to_co_id.sql | 1 + ...t_relation_ibexa_content_relation_from.sql | 1 + ...elation_ibexa_content_relation_ccfd_id.sql | 1 + .../0060_create_ibexa_content_name.sql | 1 + ...ontent_name_ibexa_content_name_lang_id.sql | 1 + ...content_name_ibexa_content_name_cov_id.sql | 1 + ...a_content_name_ibexa_content_name_name.sql | 1 + .../0064_create_ibexa_content_trash.sql | 1 + ...ontent_trash_ibexa_content_trash_depth.sql | 1 + ...nt_trash_ibexa_content_trash_p_node_id.sql | 1 + ...t_trash_ibexa_content_trash_path_ident.sql | 1 + ...ontent_trash_ibexa_content_trash_co_id.sql | 1 + ...h_ibexa_content_trash_modified_subnode.sql | 1 + ...content_trash_ibexa_content_trash_path.sql | 1 + .../0071_create_ibexa_content_version.sql | 1 + ...t_version_ibexa_content_version_status.sql | 1 + ..._version_ibexa_content_version_idx_ver.sql | 1 + ...rsion_ibexa_content_version_idx_status.sql | 1 + ...rsion_ibexa_content_version_creator_id.sql | 1 + .../postgresql/0076_create_ibexa_dfs_file.sql | 1 + ...exa_dfs_file_ibexa_dfs_file_name_trunk.sql | 1 + ...a_dfs_file_ibexa_dfs_file_expired_name.sql | 1 + ...dex_ibexa_dfs_file_ibexa_dfs_file_name.sql | 1 + ...ex_ibexa_dfs_file_ibexa_dfs_file_mtime.sql | 1 + .../0081_create_ibexa_map_location.sql | 1 + ...xa_map_location_latitude_longitude_key.sql | 1 + .../0083_create_ibexa_image_file.sql | 1 + ...ibexa_image_file_ibexa_image_file_file.sql | 1 + ...ibexa_image_file_ibexa_image_file_coid.sql | 1 + .../postgresql/0086_create_ibexa_keyword.sql | 1 + ...ex_ibexa_keyword_ibexa_keyword_keyword.sql | 1 + .../0088_create_ibexa_keyword_field_link.sql | 1 + ...eld_link_ibexa_keyword_field_link_oaid.sql | 1 + ...link_ibexa_keyword_field_link_kid_oaid.sql | 1 + ...link_ibexa_keyword_field_link_oaid_ver.sql | 1 + .../postgresql/0092_create_ibexa_media.sql | 1 + .../0093_create_ibexa_node_assignment.sql | 1 + ...signment_ibexa_node_assignment_is_main.sql | 1 + ...ignment_ibexa_node_assignment_coid_cov.sql | 1 + ...ment_ibexa_node_assignment_parent_node.sql | 1 + ...nment_ibexa_node_assignment_co_version.sql | 1 + .../0098_create_ibexa_notification.sql | 1 + ...on_ibexa_notification_owner_is_pending.sql | 1 + ..._notification_ibexa_notification_owner.sql | 1 + .../postgresql/0101_create_ibexa_package.sql | 1 + .../postgresql/0102_create_ibexa_policy.sql | 1 + ...ndex_ibexa_policy_ibexa_policy_role_id.sql | 1 + ..._ibexa_policy_ibexa_policy_original_id.sql | 1 + .../0105_create_ibexa_policy_limitation.sql | 1 + ...bexa_policy_limitation_ibexa_policy_id.sql | 1 + ...7_create_ibexa_policy_limitation_value.sql | 1 + ...alue_ibexa_policy_limit_value_limit_id.sql | 1 + ...alue_ibexa_policy_limitation_value_val.sql | 1 + .../0110_create_ibexa_user_preference.sql | 1 + ...ence_ibexa_user_preference_user_id_idx.sql | 1 + ..._preference_ibexa_user_preference_name.sql | 1 + .../sql/postgresql/0113_create_ibexa_role.sql | 1 + ...4_create_ibexa_search_object_word_link.sql | 1 + ...k_ibexa_search_object_word_link_object.sql | 1 + ...exa_search_object_word_link_identifier.sql | 1 + ..._search_object_word_link_integer_value.sql | 1 + ...ink_ibexa_search_object_word_link_word.sql | 1 + ...bexa_search_object_word_link_frequency.sql | 1 + .../0120_create_ibexa_search_word.sql | 1 + ...a_search_word_ibexa_search_word_word_i.sql | 1 + ...earch_word_ibexa_search_word_obj_count.sql | 1 + .../postgresql/0123_create_ibexa_section.sql | 1 + .../0124_create_ibexa_site_data.sql | 1 + .../sql/postgresql/0125_create_ibexa_url.sql | 1 + .../0126_index_ibexa_url_ibexa_url_url.sql | 1 + .../0127_create_ibexa_url_content_link.sql | 1 + ...a_url_content_link_ibexa_url_ol_coa_id.sql | 1 + ...a_url_content_link_ibexa_url_ol_url_id.sql | 1 + ..._content_link_ibexa_url_ol_coa_version.sql | 1 + ...l_content_link_ibexa_url_ol_coa_id_cav.sql | 1 + .../0132_create_ibexa_url_alias.sql | 1 + ...a_url_alias_ibexa_url_alias_source_md5.sql | 1 + ...xa_url_alias_ibexa_url_alias_wcard_fwd.sql | 1 + ...rl_alias_ibexa_url_alias_forward_to_id.sql | 1 + ...rl_alias_ibexa_url_alias_imp_wcard_fwd.sql | 1 + ...a_url_alias_ibexa_url_alias_source_url.sql | 1 + ...bexa_url_alias_ibexa_url_alias_desturl.sql | 1 + .../0139_create_ibexa_url_alias_ml.sql | 1 + ...lias_ml_ibexa_url_alias_ml_actt_org_al.sql | 1 + ..._alias_ml_ibexa_url_alias_ml_text_lang.sql | 1 + ...s_ml_ibexa_url_alias_ml_par_act_id_lnk.sql | 1 + ...lias_ml_ibexa_url_alias_ml_par_lnk_txt.sql | 1 + ...rl_alias_ml_ibexa_url_alias_ml_act_org.sql | 1 + ...a_url_alias_ml_ibexa_url_alias_ml_text.sql | 1 + ...a_url_alias_ml_ibexa_url_alias_ml_link.sql | 1 + ...exa_url_alias_ml_ibexa_url_alias_ml_id.sql | 1 + .../0148_create_ibexa_url_alias_ml_incr.sql | 1 + .../0149_create_ibexa_url_wildcard.sql | 1 + .../0150_create_ibexa_user_accountkey.sql | 1 + ...1_index_ibexa_user_accountkey_hash_key.sql | 1 + .../0152_create_ibexa_user_role.sql | 1 + ...bexa_user_role_ibexa_user_role_role_id.sql | 1 + ..._role_ibexa_user_role_contentobject_id.sql | 1 + .../0155_create_ibexa_user_setting.sql | 1 + .../postgresql/0156_create_ibexa_setting.sql | 1 + ...7_index_ibexa_setting_ibexa_setting_id.sql | 1 + ...setting_ibexa_setting_group_identifier.sql | 1 + .../0159_create_ibexa_token_type.sql | 1 + ...exa_token_type_ibexa_token_type_unique.sql | 1 + .../postgresql/0161_create_ibexa_token.sql | 1 + ...index_ibexa_token_IDX_B5412887C54C8C93.sql | 1 + ...3_index_ibexa_token_ibexa_token_unique.sql | 1 + ...ark_ibexa_content_bookmark_location_fk.sql | 1 + ...ookmark_ibexa_content_bookmark_user_fk.sql | 1 + ...ntent_type_field_definition_ml_lang_fk.sql | 1 + ..._fk_ibexa_token_ibexa_token_type_id_fk.sql | 1 + .../data/0001_insert_ibexa_object_state.sql | 3 + .../0002_insert_ibexa_object_state_group.sql | 2 + ...sert_ibexa_object_state_group_language.sql | 2 + ...004_insert_ibexa_object_state_language.sql | 3 + .../0005_insert_ibexa_object_state_link.sql | 13 + .../0006_insert_ibexa_content_language.sql | 2 + .../data/0007_insert_ibexa_content_type.sql | 7 + ...rt_ibexa_content_type_field_definition.sql | 25 + ...rt_ibexa_content_type_group_assignment.sql | 7 + .../0010_insert_ibexa_content_type_name.sql | 7 + .../0011_insert_ibexa_content_type_group.sql | 4 + .../data/0012_insert_ibexa_content.sql | 13 + .../data/0013_insert_ibexa_content_field.sql | 41 + .../data/0014_insert_ibexa_content_name.sql | 13 + .../data/0015_insert_ibexa_content_tree.sql | 14 + .../0016_insert_ibexa_content_version.sql | 13 + .../0017_insert_ibexa_node_assignment.sql | 13 + .../data/0018_insert_ibexa_policy.sql | 9 + .../0019_insert_ibexa_policy_limitation.sql | 7 + ...0_insert_ibexa_policy_limitation_value.sql | 8 + .../data/0021_insert_ibexa_role.sql | 5 + .../data/0022_insert_ibexa_section.sql | 4 + .../data/0023_insert_ibexa_site_data.sql | 2 + .../data/0024_insert_ibexa_url_alias.sql | 13 + .../data/0025_insert_ibexa_url_alias_ml.sql | 26 + .../0026_insert_ibexa_url_alias_ml_incr.sql | 4 + .../data/0027_insert_ibexa_user.sql | 3 + .../data/0028_insert_ibexa_user_role.sql | 7 + .../data/0029_insert_ibexa_user_setting.sql | 3 + .../0030_insert_ibexa_user_preference.sql | 2 + ...setval_ibexa_object_state_group_id_seq.sql | 2 + .../0032_setval_ibexa_object_state_id_seq.sql | 1 + ...3_setval_ibexa_content_bookmark_id_seq.sql | 1 + ...a_content_type_field_definition_id_seq.sql | 1 + .../0035_setval_ibexa_content_type_id_seq.sql | 1 + ...setval_ibexa_content_type_group_id_seq.sql | 1 + ...0037_setval_ibexa_content_field_id_seq.sql | 1 + .../data/0038_setval_ibexa_content_id_seq.sql | 1 + ...9_setval_ibexa_content_relation_id_seq.sql | 1 + ..._setval_ibexa_content_tree_node_id_seq.sql | 1 + ...41_setval_ibexa_content_version_id_seq.sql | 1 + .../0042_setval_ibexa_image_file_id_seq.sql | 1 + ...setval_ibexa_keyword_field_link_id_seq.sql | 1 + .../data/0044_setval_ibexa_keyword_id_seq.sql | 1 + ...45_setval_ibexa_node_assignment_id_seq.sql | 1 + .../0046_setval_ibexa_notification_id_seq.sql | 1 + .../data/0047_setval_ibexa_package_id_seq.sql | 1 + .../data/0048_setval_ibexa_policy_id_seq.sql | 1 + ..._setval_ibexa_policy_limitation_id_seq.sql | 1 + ...l_ibexa_policy_limitation_value_id_seq.sql | 1 + ...51_setval_ibexa_user_preference_id_seq.sql | 1 + .../data/0052_setval_ibexa_role_id_seq.sql | 1 + ...l_ibexa_search_object_word_link_id_seq.sql | 1 + .../0054_setval_ibexa_search_word_id_seq.sql | 1 + .../data/0055_setval_ibexa_section_id_seq.sql | 1 + .../data/0056_setval_ibexa_url_id_seq.sql | 1 + .../0057_setval_ibexa_url_alias_id_seq.sql | 1 + ..._setval_ibexa_url_alias_ml_incr_id_seq.sql | 1 + .../0059_setval_ibexa_url_wildcard_id_seq.sql | 1 + ...60_setval_ibexa_user_accountkey_id_seq.sql | 1 + .../0061_setval_ibexa_user_role_id_seq.sql | 1 + .../sqlite/0001_create_ibexa_binary_file.sql | 1 + .../sqlite/0002_create_ibexa_object_state.sql | 1 + ...ject_state_ibexa_object_state_priority.sql | 1 + ..._object_state_ibexa_object_state_lmask.sql | 1 + ...ct_state_ibexa_object_state_identifier.sql | 1 + .../0006_create_ibexa_object_state_group.sql | 1 + ...e_group_ibexa_object_state_group_lmask.sql | 1 + ...up_ibexa_object_state_group_identifier.sql | 1 + ...eate_ibexa_object_state_group_language.sql | 1 + ...010_create_ibexa_object_state_language.sql | 1 + .../0011_create_ibexa_object_state_link.sql | 1 + .../0012_create_ibexa_content_language.sql | 1 + ...t_language_ibexa_content_language_name.sql | 1 + .../sql/sqlite/0014_create_ibexa_user.sql | 1 + ...0015_index_ibexa_user_ibexa_user_login.sql | 1 + .../sqlite/0016_create_ibexa_content_tree.sql | 1 + ...tent_tree_ibexa_content_tree_p_node_id.sql | 1 + ...ent_tree_ibexa_content_tree_path_ident.sql | 1 + ...tent_tree_contentobject_id_path_string.sql | 1 + ..._content_tree_ibexa_content_tree_co_id.sql | 1 + ..._content_tree_ibexa_content_tree_depth.sql | 1 + ...a_content_tree_ibexa_content_tree_path.sql | 1 + ...nt_tree_ibexa_content_modified_subnode.sql | 1 + ...tent_tree_ibexa_content_tree_remote_id.sql | 1 + .../0025_create_ibexa_content_bookmark.sql | 1 + ...okmark_ibexa_content_bookmark_location.sql | 1 + ...t_bookmark_ibexa_content_bookmark_user.sql | 1 + ...k_ibexa_content_bookmark_user_location.sql | 1 + .../sqlite/0029_create_ibexa_content_type.sql | 1 + ...content_type_ibexa_content_type_status.sql | 1 + ...ent_type_ibexa_content_type_identifier.sql | 1 + ...te_ibexa_content_type_field_definition.sql | 1 + ...exa_content_type_field_definition_ctid.sql | 1 + ...bexa_content_type_field_definition_dts.sql | 1 + ...ibexa_content_type_field_definition_ml.sql | 1 + ...ntent_type_field_definition_ml_lang_fk.sql | 1 + ...te_ibexa_content_type_group_assignment.sql | 1 + .../0038_create_ibexa_content_type_name.sql | 1 + .../0039_create_ibexa_content_type_group.sql | 1 + .../sql/sqlite/0040_create_ibexa_content.sql | 1 + ...ex_ibexa_content_ibexa_content_type_id.sql | 1 + ...ndex_ibexa_content_ibexa_content_lmask.sql | 1 + ..._index_ibexa_content_ibexa_content_pub.sql | 1 + ...ex_ibexa_content_ibexa_content_section.sql | 1 + ...a_content_ibexa_content_currentversion.sql | 1 + ...ndex_ibexa_content_ibexa_content_owner.sql | 1 + ...dex_ibexa_content_ibexa_content_status.sql | 1 + ..._ibexa_content_ibexa_content_remote_id.sql | 1 + .../0049_create_ibexa_content_field.sql | 1 + ...bexa_content_field_co_id_ver_lang_code.sql | 1 + ...bexa_content_field_field_definition_id.sql | 1 + ...ex_ibexa_content_field_sort_key_string.sql | 1 + ...ield_ibexa_content_field_language_code.sql | 1 + ...index_ibexa_content_field_sort_key_int.sql | 1 + ...nt_field_ibexa_content_field_co_id_ver.sql | 1 + .../0056_create_ibexa_content_relation.sql | 1 + ...lation_ibexa_content_relation_to_co_id.sql | 1 + ...t_relation_ibexa_content_relation_from.sql | 1 + ...elation_ibexa_content_relation_ccfd_id.sql | 1 + .../sqlite/0060_create_ibexa_content_name.sql | 1 + ...ontent_name_ibexa_content_name_lang_id.sql | 1 + ...content_name_ibexa_content_name_cov_id.sql | 1 + ...a_content_name_ibexa_content_name_name.sql | 1 + .../0064_create_ibexa_content_trash.sql | 1 + ...ontent_trash_ibexa_content_trash_depth.sql | 1 + ...nt_trash_ibexa_content_trash_p_node_id.sql | 1 + ...t_trash_ibexa_content_trash_path_ident.sql | 1 + ...ontent_trash_ibexa_content_trash_co_id.sql | 1 + ...h_ibexa_content_trash_modified_subnode.sql | 1 + ...content_trash_ibexa_content_trash_path.sql | 1 + .../0071_create_ibexa_content_version.sql | 1 + ...t_version_ibexa_content_version_status.sql | 1 + ..._version_ibexa_content_version_idx_ver.sql | 1 + ...rsion_ibexa_content_version_idx_status.sql | 1 + ...rsion_ibexa_content_version_creator_id.sql | 1 + .../sql/sqlite/0076_create_ibexa_dfs_file.sql | 1 + ...exa_dfs_file_ibexa_dfs_file_name_trunk.sql | 1 + ...a_dfs_file_ibexa_dfs_file_expired_name.sql | 1 + ...dex_ibexa_dfs_file_ibexa_dfs_file_name.sql | 1 + ...ex_ibexa_dfs_file_ibexa_dfs_file_mtime.sql | 1 + .../sqlite/0081_create_ibexa_map_location.sql | 1 + ...xa_map_location_latitude_longitude_key.sql | 1 + .../sqlite/0083_create_ibexa_image_file.sql | 1 + ...ibexa_image_file_ibexa_image_file_file.sql | 1 + ...ibexa_image_file_ibexa_image_file_coid.sql | 1 + .../sql/sqlite/0086_create_ibexa_keyword.sql | 1 + ...ex_ibexa_keyword_ibexa_keyword_keyword.sql | 1 + .../0088_create_ibexa_keyword_field_link.sql | 1 + ...eld_link_ibexa_keyword_field_link_oaid.sql | 1 + ...link_ibexa_keyword_field_link_kid_oaid.sql | 1 + ...link_ibexa_keyword_field_link_oaid_ver.sql | 1 + .../sql/sqlite/0092_create_ibexa_media.sql | 1 + .../0093_create_ibexa_node_assignment.sql | 1 + ...signment_ibexa_node_assignment_is_main.sql | 1 + ...ignment_ibexa_node_assignment_coid_cov.sql | 1 + ...ment_ibexa_node_assignment_parent_node.sql | 1 + ...nment_ibexa_node_assignment_co_version.sql | 1 + .../sqlite/0098_create_ibexa_notification.sql | 1 + ...on_ibexa_notification_owner_is_pending.sql | 1 + ..._notification_ibexa_notification_owner.sql | 1 + .../sql/sqlite/0101_create_ibexa_package.sql | 1 + .../sql/sqlite/0102_create_ibexa_policy.sql | 1 + ...ndex_ibexa_policy_ibexa_policy_role_id.sql | 1 + ..._ibexa_policy_ibexa_policy_original_id.sql | 1 + .../0105_create_ibexa_policy_limitation.sql | 1 + ...bexa_policy_limitation_ibexa_policy_id.sql | 1 + ...7_create_ibexa_policy_limitation_value.sql | 1 + ...alue_ibexa_policy_limit_value_limit_id.sql | 1 + ...alue_ibexa_policy_limitation_value_val.sql | 1 + .../0110_create_ibexa_user_preference.sql | 1 + ...ence_ibexa_user_preference_user_id_idx.sql | 1 + ..._preference_ibexa_user_preference_name.sql | 1 + .../sql/sqlite/0113_create_ibexa_role.sql | 1 + ...4_create_ibexa_search_object_word_link.sql | 1 + ...k_ibexa_search_object_word_link_object.sql | 1 + ...exa_search_object_word_link_identifier.sql | 1 + ..._search_object_word_link_integer_value.sql | 1 + ...ink_ibexa_search_object_word_link_word.sql | 1 + ...bexa_search_object_word_link_frequency.sql | 1 + .../sqlite/0120_create_ibexa_search_word.sql | 1 + ...a_search_word_ibexa_search_word_word_i.sql | 1 + ...earch_word_ibexa_search_word_obj_count.sql | 1 + .../sql/sqlite/0123_create_ibexa_section.sql | 1 + .../sqlite/0124_create_ibexa_site_data.sql | 1 + .../sql/sqlite/0125_create_ibexa_url.sql | 1 + .../0126_index_ibexa_url_ibexa_url_url.sql | 1 + .../0127_create_ibexa_url_content_link.sql | 1 + ...a_url_content_link_ibexa_url_ol_coa_id.sql | 1 + ...a_url_content_link_ibexa_url_ol_url_id.sql | 1 + ..._content_link_ibexa_url_ol_coa_version.sql | 1 + ...l_content_link_ibexa_url_ol_coa_id_cav.sql | 1 + .../sqlite/0132_create_ibexa_url_alias.sql | 1 + ...a_url_alias_ibexa_url_alias_source_md5.sql | 1 + ...xa_url_alias_ibexa_url_alias_wcard_fwd.sql | 1 + ...rl_alias_ibexa_url_alias_forward_to_id.sql | 1 + ...rl_alias_ibexa_url_alias_imp_wcard_fwd.sql | 1 + ...a_url_alias_ibexa_url_alias_source_url.sql | 1 + ...bexa_url_alias_ibexa_url_alias_desturl.sql | 1 + .../sqlite/0139_create_ibexa_url_alias_ml.sql | 1 + ...lias_ml_ibexa_url_alias_ml_actt_org_al.sql | 1 + ..._alias_ml_ibexa_url_alias_ml_text_lang.sql | 1 + ...s_ml_ibexa_url_alias_ml_par_act_id_lnk.sql | 1 + ...lias_ml_ibexa_url_alias_ml_par_lnk_txt.sql | 1 + ...rl_alias_ml_ibexa_url_alias_ml_act_org.sql | 1 + ...a_url_alias_ml_ibexa_url_alias_ml_text.sql | 1 + ...a_url_alias_ml_ibexa_url_alias_ml_link.sql | 1 + ...exa_url_alias_ml_ibexa_url_alias_ml_id.sql | 1 + .../0148_create_ibexa_url_alias_ml_incr.sql | 1 + .../sqlite/0149_create_ibexa_url_wildcard.sql | 1 + .../0150_create_ibexa_user_accountkey.sql | 1 + ...1_index_ibexa_user_accountkey_hash_key.sql | 1 + .../sqlite/0152_create_ibexa_user_role.sql | 1 + ...bexa_user_role_ibexa_user_role_role_id.sql | 1 + ..._role_ibexa_user_role_contentobject_id.sql | 1 + .../sqlite/0155_create_ibexa_user_setting.sql | 1 + .../sql/sqlite/0156_create_ibexa_setting.sql | 2 + ...7_index_ibexa_setting_ibexa_setting_id.sql | 1 + ...setting_ibexa_setting_group_identifier.sql | 1 + .../sqlite/0159_create_ibexa_token_type.sql | 1 + ...exa_token_type_ibexa_token_type_unique.sql | 1 + .../sql/sqlite/0161_create_ibexa_token.sql | 1 + ...index_ibexa_token_IDX_B5412887C54C8C93.sql | 1 + ...3_index_ibexa_token_ibexa_token_unique.sql | 1 + .../data/0001_insert_ibexa_object_state.sql | 3 + .../0002_insert_ibexa_object_state_group.sql | 2 + ...sert_ibexa_object_state_group_language.sql | 2 + ...004_insert_ibexa_object_state_language.sql | 3 + .../0005_insert_ibexa_object_state_link.sql | 13 + .../0006_insert_ibexa_content_language.sql | 2 + .../data/0007_insert_ibexa_content_type.sql | 7 + ...rt_ibexa_content_type_field_definition.sql | 25 + ...rt_ibexa_content_type_group_assignment.sql | 7 + .../0010_insert_ibexa_content_type_name.sql | 7 + .../0011_insert_ibexa_content_type_group.sql | 4 + .../sqlite/data/0012_insert_ibexa_content.sql | 13 + .../data/0013_insert_ibexa_content_field.sql | 41 + .../data/0014_insert_ibexa_content_name.sql | 13 + .../data/0015_insert_ibexa_content_tree.sql | 14 + .../0016_insert_ibexa_content_version.sql | 13 + .../0017_insert_ibexa_node_assignment.sql | 13 + .../sqlite/data/0018_insert_ibexa_policy.sql | 9 + .../0019_insert_ibexa_policy_limitation.sql | 7 + ...0_insert_ibexa_policy_limitation_value.sql | 8 + .../sqlite/data/0021_insert_ibexa_role.sql | 5 + .../sqlite/data/0022_insert_ibexa_section.sql | 4 + .../data/0023_insert_ibexa_site_data.sql | 2 + .../data/0024_insert_ibexa_url_alias.sql | 13 + .../data/0025_insert_ibexa_url_alias_ml.sql | 26 + .../0026_insert_ibexa_url_alias_ml_incr.sql | 4 + .../sqlite/data/0027_insert_ibexa_user.sql | 3 + .../data/0028_insert_ibexa_user_role.sql | 7 + .../data/0029_insert_ibexa_user_setting.sql | 3 + .../0030_insert_ibexa_user_preference.sql | 2 + 510 files changed, 2261 insertions(+) create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql create mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql diff --git a/composer.json b/composer.json index d342211b60..ce271e530d 100644 --- a/composer.json +++ b/composer.json @@ -34,6 +34,7 @@ "friendsofphp/proxy-manager-lts": "^1.0", "friendsofsymfony/http-cache-bundle": "^3.0", "friendsofsymfony/jsrouting-bundle": "^3.5", + "ibexa/doctrine-migrations": "dev-feat/doctrine-migrations-6.0", "ibexa/doctrine-schema": "~6.0.x-dev", "ibexa/jms-translation-bundle": "^2.6.0", "league/flysystem-memory": "^2.0.6", diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml b/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml new file mode 100644 index 0000000000..33aff3c69e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml @@ -0,0 +1,243 @@ +up: + - file: 'sql/mysql/data/0001_insert_ibexa_object_state.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0001_insert_ibexa_object_state.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0001_insert_ibexa_object_state.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0002_insert_ibexa_object_state_group.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0002_insert_ibexa_object_state_group.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0002_insert_ibexa_object_state_group.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0004_insert_ibexa_object_state_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0004_insert_ibexa_object_state_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0004_insert_ibexa_object_state_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0005_insert_ibexa_object_state_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0005_insert_ibexa_object_state_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0005_insert_ibexa_object_state_link.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0006_insert_ibexa_content_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0006_insert_ibexa_content_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0006_insert_ibexa_content_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0007_insert_ibexa_content_type.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0007_insert_ibexa_content_type.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0007_insert_ibexa_content_type.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0010_insert_ibexa_content_type_name.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0010_insert_ibexa_content_type_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0010_insert_ibexa_content_type_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0011_insert_ibexa_content_type_group.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0011_insert_ibexa_content_type_group.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0011_insert_ibexa_content_type_group.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0012_insert_ibexa_content.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0012_insert_ibexa_content.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0012_insert_ibexa_content.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0013_insert_ibexa_content_field.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0013_insert_ibexa_content_field.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0013_insert_ibexa_content_field.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0014_insert_ibexa_content_name.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0014_insert_ibexa_content_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0014_insert_ibexa_content_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0015_insert_ibexa_content_tree.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0015_insert_ibexa_content_tree.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0015_insert_ibexa_content_tree.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0016_insert_ibexa_content_version.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0016_insert_ibexa_content_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0016_insert_ibexa_content_version.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0017_insert_ibexa_node_assignment.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0017_insert_ibexa_node_assignment.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0017_insert_ibexa_node_assignment.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0018_insert_ibexa_policy.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0018_insert_ibexa_policy.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0018_insert_ibexa_policy.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0019_insert_ibexa_policy_limitation.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0021_insert_ibexa_role.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0021_insert_ibexa_role.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0021_insert_ibexa_role.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0022_insert_ibexa_section.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0022_insert_ibexa_section.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0022_insert_ibexa_section.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0023_insert_ibexa_site_data.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0023_insert_ibexa_site_data.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0023_insert_ibexa_site_data.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0024_insert_ibexa_url_alias.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0024_insert_ibexa_url_alias.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0024_insert_ibexa_url_alias.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0027_insert_ibexa_user.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0027_insert_ibexa_user.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0027_insert_ibexa_user.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0028_insert_ibexa_user_role.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0028_insert_ibexa_user_role.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0028_insert_ibexa_user_role.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0029_insert_ibexa_user_setting.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0029_insert_ibexa_user_setting.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0029_insert_ibexa_user_setting.sql' + platforms: 'sqlite' + - file: 'sql/mysql/data/0030_insert_ibexa_user_preference.sql' + platforms: 'mysql' + - file: 'sql/postgresql/data/0030_insert_ibexa_user_preference.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/data/0030_insert_ibexa_user_preference.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql' + platforms: 'postgresql' + - file: 'sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql' + platforms: 'postgresql' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml b/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml new file mode 100644 index 0000000000..a2f4ec0ffe --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml @@ -0,0 +1,773 @@ +up: + - file: 'sql/mysql/0001_create_ibexa_binary_file.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0001_create_ibexa_binary_file.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0001_create_ibexa_binary_file.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0002_create_ibexa_object_state.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0002_create_ibexa_object_state.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0002_create_ibexa_object_state.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0003_create_ibexa_object_state_group.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0006_create_ibexa_object_state_group.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0006_create_ibexa_object_state_group.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0004_create_ibexa_object_state_group_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0009_create_ibexa_object_state_group_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0009_create_ibexa_object_state_group_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0005_create_ibexa_object_state_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0010_create_ibexa_object_state_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0010_create_ibexa_object_state_language.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0006_create_ibexa_object_state_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0011_create_ibexa_object_state_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0011_create_ibexa_object_state_link.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0007_create_ibexa_content_language.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0012_create_ibexa_content_language.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0012_create_ibexa_content_language.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0008_create_ibexa_user.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0014_create_ibexa_user.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0014_create_ibexa_user.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0009_create_ibexa_content_tree.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0016_create_ibexa_content_tree.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0016_create_ibexa_content_tree.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0010_create_ibexa_content_bookmark.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0025_create_ibexa_content_bookmark.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0025_create_ibexa_content_bookmark.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0011_create_ibexa_content_type.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0029_create_ibexa_content_type.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0029_create_ibexa_content_type.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0012_create_ibexa_content_type_field_definition.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0032_create_ibexa_content_type_field_definition.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0032_create_ibexa_content_type_field_definition.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0014_create_ibexa_content_type_group_assignment.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0015_create_ibexa_content_type_name.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0038_create_ibexa_content_type_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0038_create_ibexa_content_type_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0016_create_ibexa_content_type_group.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0039_create_ibexa_content_type_group.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0039_create_ibexa_content_type_group.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0017_create_ibexa_content.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0040_create_ibexa_content.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0040_create_ibexa_content.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0018_create_ibexa_content_field.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0049_create_ibexa_content_field.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0049_create_ibexa_content_field.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0019_create_ibexa_content_relation.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0056_create_ibexa_content_relation.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0056_create_ibexa_content_relation.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0020_create_ibexa_content_name.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0060_create_ibexa_content_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0060_create_ibexa_content_name.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0021_create_ibexa_content_trash.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0064_create_ibexa_content_trash.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0064_create_ibexa_content_trash.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0022_create_ibexa_content_version.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0071_create_ibexa_content_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0071_create_ibexa_content_version.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0023_create_ibexa_dfs_file.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0076_create_ibexa_dfs_file.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0076_create_ibexa_dfs_file.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0024_create_ibexa_map_location.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0081_create_ibexa_map_location.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0081_create_ibexa_map_location.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0025_create_ibexa_image_file.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0083_create_ibexa_image_file.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0083_create_ibexa_image_file.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0026_create_ibexa_keyword.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0086_create_ibexa_keyword.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0086_create_ibexa_keyword.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0027_create_ibexa_keyword_field_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0088_create_ibexa_keyword_field_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0088_create_ibexa_keyword_field_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0028_create_ibexa_media.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0092_create_ibexa_media.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0092_create_ibexa_media.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0029_create_ibexa_node_assignment.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0093_create_ibexa_node_assignment.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0093_create_ibexa_node_assignment.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0030_create_ibexa_notification.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0098_create_ibexa_notification.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0098_create_ibexa_notification.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0031_create_ibexa_package.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0101_create_ibexa_package.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0101_create_ibexa_package.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0032_create_ibexa_policy.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0102_create_ibexa_policy.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0102_create_ibexa_policy.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0033_create_ibexa_policy_limitation.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0105_create_ibexa_policy_limitation.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0105_create_ibexa_policy_limitation.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0034_create_ibexa_policy_limitation_value.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0107_create_ibexa_policy_limitation_value.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0107_create_ibexa_policy_limitation_value.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0035_create_ibexa_user_preference.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0110_create_ibexa_user_preference.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0110_create_ibexa_user_preference.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0036_create_ibexa_role.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0113_create_ibexa_role.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0113_create_ibexa_role.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0037_create_ibexa_search_object_word_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0114_create_ibexa_search_object_word_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0114_create_ibexa_search_object_word_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0038_create_ibexa_search_word.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0120_create_ibexa_search_word.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0120_create_ibexa_search_word.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0039_create_ibexa_section.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0123_create_ibexa_section.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0123_create_ibexa_section.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0040_create_ibexa_site_data.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0124_create_ibexa_site_data.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0124_create_ibexa_site_data.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0041_create_ibexa_url.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0125_create_ibexa_url.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0125_create_ibexa_url.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0042_create_ibexa_url_content_link.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0127_create_ibexa_url_content_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0127_create_ibexa_url_content_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0043_create_ibexa_url_alias.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0132_create_ibexa_url_alias.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0132_create_ibexa_url_alias.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0044_create_ibexa_url_alias_ml.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0139_create_ibexa_url_alias_ml.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0139_create_ibexa_url_alias_ml.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0046_create_ibexa_url_wildcard.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0149_create_ibexa_url_wildcard.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0149_create_ibexa_url_wildcard.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0047_create_ibexa_user_accountkey.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0150_create_ibexa_user_accountkey.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0150_create_ibexa_user_accountkey.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0048_create_ibexa_user_role.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0152_create_ibexa_user_role.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0152_create_ibexa_user_role.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0049_create_ibexa_user_setting.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0155_create_ibexa_user_setting.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0155_create_ibexa_user_setting.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0050_create_ibexa_setting.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0156_create_ibexa_setting.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0156_create_ibexa_setting.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0051_create_ibexa_token_type.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0159_create_ibexa_token_type.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0159_create_ibexa_token_type.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0052_create_ibexa_token.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0161_create_ibexa_token.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0161_create_ibexa_token.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql' + platforms: 'sqlite' + - file: 'sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql' + platforms: 'postgresql' + - file: 'sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql' + platforms: 'sqlite' + - file: 'sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql' + platforms: 'postgresql' + - file: 'sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql' + platforms: 'postgresql' + - file: 'sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' + platforms: 'postgresql' + - file: 'sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql' + platforms: 'mysql' + - file: 'sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql' + platforms: 'postgresql' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql new file mode 100644 index 0000000000..c943527dcd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_binary_file (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql new file mode 100644 index 0000000000..1dfe6a0996 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, INDEX ibexa_object_state_priority (priority), INDEX ibexa_object_state_lmask (language_mask), UNIQUE INDEX ibexa_object_state_identifier (group_id, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql new file mode 100644 index 0000000000..5d213d116d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_group (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ibexa_object_state_group_lmask (language_mask), UNIQUE INDEX ibexa_object_state_group_identifier (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql new file mode 100644 index 0000000000..45148f2653 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql new file mode 100644 index 0000000000..85fe903387 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql new file mode 100644 index 0000000000..538f70b531 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql new file mode 100644 index 0000000000..d52bc456b4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ibexa_content_language_name (name(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql new file mode 100644 index 0000000000..d20233ca4a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, UNIQUE INDEX ibexa_user_login (login), PRIMARY KEY(contentobject_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql new file mode 100644 index 0000000000..606cd1350b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_tree (node_id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, INDEX ibexa_content_tree_p_node_id (parent_node_id), INDEX ibexa_content_tree_path_ident (path_identification_string(50)), INDEX ibexa_content_tree_contentobject_id_path_string (path_string(191), contentobject_id), INDEX ibexa_content_tree_co_id (contentobject_id), INDEX ibexa_content_tree_depth (depth), INDEX ibexa_content_tree_path (path_string(191)), INDEX ibexa_content_modified_subnode (modified_subnode), INDEX ibexa_content_tree_remote_id (remote_id), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql new file mode 100644 index 0000000000..5d151b7f76 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_bookmark (id INT AUTO_INCREMENT NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ibexa_content_bookmark_location (node_id), INDEX ibexa_content_bookmark_user (user_id), INDEX ibexa_content_bookmark_user_location (user_id, node_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql new file mode 100644 index 0000000000..ee03fa5c2e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type (id INT AUTO_INCREMENT NOT NULL, status INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, INDEX ibexa_content_type_status (status), INDEX ibexa_content_type_identifier (identifier, status), PRIMARY KEY(id, status)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql new file mode 100644 index 0000000000..4b19569c53 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_field_definition (id INT AUTO_INCREMENT NOT NULL, status INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail TINYINT(1) DEFAULT '0' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text LONGTEXT DEFAULT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT NOT NULL, INDEX ibexa_content_type_field_definition_ctid (content_type_id), INDEX ibexa_content_type_field_definition_dts (data_type_string), PRIMARY KEY(id, status)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql new file mode 100644 index 0000000000..e2c749811c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_field_definition_ml (content_type_field_definition_id INT NOT NULL, status INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, INDEX ibexa_content_type_field_definition_ml_lang_fk (language_id), PRIMARY KEY(content_type_field_definition_id, status, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql new file mode 100644 index 0000000000..feee823633 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_group_assignment (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(content_type_id, content_type_status, group_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql new file mode 100644 index 0000000000..e6f78e3ffb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_name (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(content_type_id, content_type_status, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql new file mode 100644 index 0000000000..67e1b4b74a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_group (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system TINYINT(1) DEFAULT '0' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql new file mode 100644 index 0000000000..8655ec78bf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content (id INT AUTO_INCREMENT NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden TINYINT(1) DEFAULT '0' NOT NULL, INDEX ibexa_content_type_id (content_type_id), INDEX ibexa_content_lmask (language_mask), INDEX ibexa_content_pub (published), INDEX ibexa_content_section (section_id), INDEX ibexa_content_currentversion (current_version), INDEX ibexa_content_owner (owner_id), INDEX ibexa_content_status (status), UNIQUE INDEX ibexa_content_remote_id (remote_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql new file mode 100644 index 0000000000..0531f77f6b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_field (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, content_type_field_definition_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, INDEX ibexa_content_field_co_id_ver_lang_code (contentobject_id, version, language_code), INDEX ibexa_content_field_field_definition_id (content_type_field_definition_id), INDEX sort_key_string (sort_key_string(191)), INDEX ibexa_content_field_language_code (language_code), INDEX sort_key_int (sort_key_int), INDEX ibexa_content_field_co_id_ver (contentobject_id, version), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql new file mode 100644 index 0000000000..5a3ec084a3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_relation (id INT AUTO_INCREMENT NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, INDEX ibexa_content_relation_to_co_id (to_contentobject_id), INDEX ibexa_content_relation_from (from_contentobject_id, from_contentobject_version, content_type_field_definition_id), INDEX ibexa_content_relation_ccfd_id (content_type_field_definition_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql new file mode 100644 index 0000000000..466f34fd24 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, INDEX ibexa_content_name_lang_id (language_id), INDEX ibexa_content_name_cov_id (content_version), INDEX ibexa_content_name_name (name(191)), PRIMARY KEY(contentobject_id, content_version, content_translation)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql new file mode 100644 index 0000000000..508d60ade2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, INDEX ibexa_content_trash_depth (depth), INDEX ibexa_content_trash_p_node_id (parent_node_id), INDEX ibexa_content_trash_path_ident (path_identification_string(50)), INDEX ibexa_content_trash_co_id (contentobject_id), INDEX ibexa_content_trash_modified_subnode (modified_subnode), INDEX ibexa_content_trash_path (path_string(191)), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql new file mode 100644 index 0000000000..b2b8c958c5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_version (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, INDEX ibexa_content_version_status (status), INDEX ibexa_content_version_idx_ver (contentobject_id, version), INDEX ibexa_content_version_idx_status (contentobject_id, status), INDEX ibexa_content_version_creator_id (creator_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql new file mode 100644 index 0000000000..788d674b31 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_dfs_file (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired TINYINT(1) DEFAULT '0' NOT NULL, status TINYINT(1) DEFAULT '0' NOT NULL, INDEX ibexa_dfs_file_name_trunk (name_trunk(191)), INDEX ibexa_dfs_file_expired_name (expired, name(191)), INDEX ibexa_dfs_file_name (name(191)), INDEX ibexa_dfs_file_mtime (mtime), PRIMARY KEY(name_hash)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql new file mode 100644 index 0000000000..c6717b1deb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_map_location (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, INDEX ibexa_map_location_latitude_longitude_key (latitude, longitude), PRIMARY KEY(contentobject_attribute_id, contentobject_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql new file mode 100644 index 0000000000..4b1b110eb9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_image_file (id INT AUTO_INCREMENT NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath LONGTEXT NOT NULL, INDEX ibexa_image_file_file (filepath(191)), INDEX ibexa_image_file_coid (contentobject_attribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql new file mode 100644 index 0000000000..cdaf39b246 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_keyword (id INT AUTO_INCREMENT NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, INDEX ibexa_keyword_keyword (keyword(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql new file mode 100644 index 0000000000..13cf8a2bb5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_keyword_field_link (id INT AUTO_INCREMENT NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, INDEX ibexa_keyword_field_link_oaid (objectattribute_id), INDEX ibexa_keyword_field_link_kid_oaid (keyword_id, objectattribute_id), INDEX ibexa_keyword_field_link_oaid_ver (objectattribute_id, version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql new file mode 100644 index 0000000000..84fbd67808 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_media (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql new file mode 100644 index 0000000000..3c6e1873ec --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_node_assignment (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, INDEX ibexa_node_assignment_is_main (is_main), INDEX ibexa_node_assignment_coid_cov (contentobject_id, contentobject_version), INDEX ibexa_node_assignment_parent_node (parent_node), INDEX ibexa_node_assignment_co_version (contentobject_version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql new file mode 100644 index 0000000000..f1f8dfbaf6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_notification (id INT AUTO_INCREMENT NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending TINYINT(1) DEFAULT '1' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INT DEFAULT 0 NOT NULL, data LONGTEXT DEFAULT NULL, INDEX ibexa_notification_owner_is_pending (owner_id, is_pending), INDEX ibexa_notification_owner (owner_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql new file mode 100644 index 0000000000..95e192f2c5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_package (id INT AUTO_INCREMENT NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql new file mode 100644 index 0000000000..6675be55e3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy (id INT AUTO_INCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, INDEX ibexa_policy_role_id (role_id), INDEX ibexa_policy_original_id (original_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql new file mode 100644 index 0000000000..e8bc6695bf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy_limitation (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, INDEX ibexa_policy_id (policy_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql new file mode 100644 index 0000000000..ae56570647 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy_limitation_value (id INT AUTO_INCREMENT NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, INDEX ibexa_policy_limit_value_limit_id (limitation_id), INDEX ibexa_policy_limitation_value_val (value(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql new file mode 100644 index 0000000000..fd6e5537f8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_preference (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value LONGTEXT DEFAULT NULL, INDEX ibexa_user_preference_user_id_idx (user_id, name), INDEX ibexa_user_preference_name (name), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql new file mode 100644 index 0000000000..5e0b1a68d9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_role (id INT AUTO_INCREMENT NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql new file mode 100644 index 0000000000..65c95303c6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_search_object_word_link (id INT AUTO_INCREMENT NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ibexa_search_object_word_link_object (contentobject_id), INDEX ibexa_search_object_word_link_identifier (identifier(191)), INDEX ibexa_search_object_word_link_integer_value (integer_value), INDEX ibexa_search_object_word_link_word (word_id), INDEX ibexa_search_object_word_link_frequency (frequency), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql new file mode 100644 index 0000000000..8f8501a790 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_search_word (id INT AUTO_INCREMENT NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, INDEX ibexa_search_word_word_i (word), INDEX ibexa_search_word_obj_count (object_count), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql new file mode 100644 index 0000000000..fd30887309 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_section (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql new file mode 100644 index 0000000000..f0c130755d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_site_data (name VARCHAR(60) DEFAULT '' NOT NULL, value LONGTEXT NOT NULL, PRIMARY KEY(name)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql new file mode 100644 index 0000000000..91a9ea5521 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url LONGTEXT DEFAULT NULL, INDEX ibexa_url_url (url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql new file mode 100644 index 0000000000..818099cb8c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_content_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL, INDEX ibexa_url_ol_coa_id (contentobject_attribute_id), INDEX ibexa_url_ol_url_id (url_id), INDEX ibexa_url_ol_coa_version (contentobject_attribute_version), INDEX ibexa_url_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql new file mode 100644 index 0000000000..10056978da --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url LONGTEXT NOT NULL, INDEX ibexa_url_alias_source_md5 (source_md5), INDEX ibexa_url_alias_wcard_fwd (is_wildcard, forward_to_id), INDEX ibexa_url_alias_forward_to_id (forward_to_id), INDEX ibexa_url_alias_imp_wcard_fwd (is_imported, is_wildcard, forward_to_id), INDEX ibexa_url_alias_source_url (source_url(191)), INDEX ibexa_url_alias_desturl (destination_url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql new file mode 100644 index 0000000000..124e784561 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, action LONGTEXT NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text LONGTEXT NOT NULL, INDEX ibexa_url_alias_ml_actt_org_al (action_type, is_original, is_alias), INDEX ibexa_url_alias_ml_text_lang (text(32), lang_mask, parent), INDEX ibexa_url_alias_ml_par_act_id_lnk (action(32), id, link, parent), INDEX ibexa_url_alias_ml_par_lnk_txt (parent, text(32), link), INDEX ibexa_url_alias_ml_act_org (action(32), is_original), INDEX ibexa_url_alias_ml_text (text(32), id, link), INDEX ibexa_url_alias_ml_link (link), INDEX ibexa_url_alias_ml_id (id), PRIMARY KEY(parent, text_md5)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql new file mode 100644 index 0000000000..c709d26910 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias_ml_incr (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql new file mode 100644 index 0000000000..6a04532c6a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_wildcard (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, source_url LONGTEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql new file mode 100644 index 0000000000..7e7f3409a9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_accountkey (id INT AUTO_INCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, INDEX hash_key (hash_key), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql new file mode 100644 index 0000000000..e0ac803371 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_role (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, INDEX ibexa_user_role_role_id (role_id), INDEX ibexa_user_role_contentobject_id (contentobject_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql new file mode 100644 index 0000000000..0d206a10a8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql new file mode 100644 index 0000000000..d664bb1bf9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_setting (id INT AUTO_INCREMENT NOT NULL, `group` VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, INDEX ibexa_setting_id (id), UNIQUE INDEX ibexa_setting_group_identifier (`group`, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql new file mode 100644 index 0000000000..050286548c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token_type (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL, UNIQUE INDEX ibexa_token_type_unique (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql new file mode 100644 index 0000000000..2cc774c11a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token (id INT AUTO_INCREMENT NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked TINYINT(1) DEFAULT '0' NOT NULL, INDEX IDX_B5412887C54C8C93 (type_id), UNIQUE INDEX ibexa_token_unique (token, identifier, type_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql new file mode 100644 index 0000000000..653438c362 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql new file mode 100644 index 0000000000..760aa35800 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql new file mode 100644 index 0000000000..c002dd7f33 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language (id) ON UPDATE CASCADE ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql new file mode 100644 index 0000000000..f8e58ffca0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql new file mode 100644 index 0000000000..28d054bae2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_object_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) +VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql new file mode 100644 index 0000000000..d6ecfca0a8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_object_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) +VALUES (2,2,'ibexa_lock',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql new file mode 100644 index 0000000000..c2cce56918 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_object_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) +VALUES (2,'',3,'Lock',2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql new file mode 100644 index 0000000000..5447342e3b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_object_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) +VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql new file mode 100644 index 0000000000..a58c50424a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_object_state_link` (`contentobject_id`, `contentobject_state_id`) +VALUES (1, 1), + (4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql new file mode 100644 index 0000000000..716102901f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_content_language` (`disabled`, `id`, `locale`, `name`) +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql new file mode 100644 index 0000000000..0acd993329 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_content_type` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `status`) +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql new file mode 100644 index 0000000000..d88a046425 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql @@ -0,0 +1,25 @@ +INSERT INTO `ibexa_content_type_field_definition` (`can_translate`, `category`, `content_type_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `status`) +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ibexa_string',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ibexa_string',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ibexa_user',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ibexa_string',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ibexa_image',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ibexa_richtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ibexa_richtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_boolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ibexa_string',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ibexa_binaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ibexa_author',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_object_relation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_string',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','ibexa_text',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ibexa_image',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql new file mode 100644 index 0000000000..06892a0765 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_content_type_group_assignment` (`content_type_id`, `content_type_status`, `group_id`, `group_name`) +VALUES (1, 0, 1, 'Content'), + (2, 0, 1, 'Content'), + (3, 0, 2, 'Users'), + (4, 0, 2, 'Users'), + (5, 0, 3, 'Media'), + (12, 0, 3, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql new file mode 100644 index 0000000000..b62ac8a988 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_content_type_name` (`content_type_id`, `content_type_status`, `language_id`, `language_locale`, `name`) +VALUES (1, 0, 2, 'eng-GB', 'Folder'), + (2, 0, 3, 'eng-GB', 'Article'), + (3, 0, 3, 'eng-GB', 'User group'), + (4, 0, 3, 'eng-GB', 'User'), + (5, 0, 3, 'eng-GB', 'Image'), + (12, 0, 3, 'eng-GB', 'File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql new file mode 100644 index 0000000000..2eb94f3b43 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql @@ -0,0 +1,4 @@ +INSERT INTO `ibexa_content_type_group` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) +VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql new file mode 100644 index 0000000000..7108cc1143 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_content` (`content_type_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) +VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql new file mode 100644 index 0000000000..0d542f8dbd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql @@ -0,0 +1,41 @@ +INSERT INTO `ibexa_content_field` (`attribute_original_id`, `content_type_field_definition_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) +VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ibexa_string',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ibexa_richtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ibexa_string',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ibexa_string',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ibexa_string',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ibexa_string',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ibexa_user',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ibexa_string',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ibexa_string',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ibexa_string',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ibexa_string',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ibexa_string',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ibexa_string',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ibexa_string',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ibexa_string',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ibexa_user',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ibexa_string',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,'\n
\n','ibexa_richtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ibexa_string',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ibexa_string',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ibexa_string',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ibexa_string',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ibexa_richtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,'\n
\n','ibexa_richtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ibexa_string',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ibexa_string',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,'\n
\n','ibexa_richtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,'\n
\n','ibexa_richtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ibexa_string',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ibexa_string',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,'\n
\n','ibexa_richtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,'\n
\n','ibexa_richtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ibexa_string',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ibexa_string',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,'\n
\n','ibexa_richtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,'\n
\n','ibexa_richtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','ibexa_text',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','ibexa_text',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ibexa_image',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,'\n\n','ibexa_image',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql new file mode 100644 index 0000000000..c36299fd6a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_content_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) +VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql new file mode 100644 index 0000000000..65d092ccef --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql @@ -0,0 +1,14 @@ +INSERT INTO `ibexa_content_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) +VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql new file mode 100644 index 0000000000..83f4e503e7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_content_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql new file mode 100644 index 0000000000..9640698edf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_node_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) +VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql new file mode 100644 index 0000000000..4d51ce8204 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql @@ -0,0 +1,9 @@ +INSERT INTO `ibexa_policy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) +VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql new file mode 100644 index 0000000000..cc61881062 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_policy_limitation` (`id`, `identifier`, `policy_id`) +VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql new file mode 100644 index 0000000000..4ac14df7f5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql @@ -0,0 +1,8 @@ +INSERT INTO `ibexa_policy_limitation_value` (`id`, `limitation_id`, `value`) +VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql new file mode 100644 index 0000000000..cde93d16ed --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql @@ -0,0 +1,5 @@ +INSERT INTO `ibexa_role` (`id`, `is_new`, `name`, `value`, `version`) +VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql new file mode 100644 index 0000000000..0436a276f7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql @@ -0,0 +1,4 @@ +INSERT INTO `ibexa_section` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) +VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql new file mode 100644 index 0000000000..3a30397432 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_site_data` (`name`, `value`) +VALUES ('ibexa-release','6.0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql new file mode 100644 index 0000000000..9b111ca869 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_url_alias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) +VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql new file mode 100644 index 0000000000..d9a59e6dc4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql @@ -0,0 +1,26 @@ +INSERT INTO `ibexa_url_alias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) +VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql new file mode 100644 index 0000000000..755c37655a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql @@ -0,0 +1,4 @@ +INSERT INTO `ibexa_url_alias_ml_incr` (`id`) +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql new file mode 100644 index 0000000000..a7d0cf247c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_user` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) +VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql new file mode 100644 index 0000000000..4dbaff1fbd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_user_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) +VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql new file mode 100644 index 0000000000..a3c25ef316 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_user_setting` (`is_enabled`, `max_login`, `user_id`) +VALUES (1,1000,10), + (1,10,14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql new file mode 100644 index 0000000000..6643c6b914 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_user_preference` (`name`, `user_id`, `value`) +SELECT 'focus_mode', u.contentobject_id, '0' FROM `ibexa_user` u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql new file mode 100644 index 0000000000..5c6a43d2ad --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_binary_file (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql new file mode 100644 index 0000000000..ac4ed70654 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql new file mode 100644 index 0000000000..5826aaef24 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql new file mode 100644 index 0000000000..60be743406 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql new file mode 100644 index 0000000000..38a0fa6827 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql new file mode 100644 index 0000000000..66967266f3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_group (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql new file mode 100644 index 0000000000..507f119efb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql new file mode 100644 index 0000000000..d3a6cf12d0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql new file mode 100644 index 0000000000..5d05a11ce1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql new file mode 100644 index 0000000000..9bf50f4a1f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql new file mode 100644 index 0000000000..b9d499e790 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql new file mode 100644 index 0000000000..07684961c0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql new file mode 100644 index 0000000000..f95137a14e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql new file mode 100644 index 0000000000..1f81a66b28 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, PRIMARY KEY(contentobject_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql new file mode 100644 index 0000000000..b49abbfa91 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql new file mode 100644 index 0000000000..8e5f58c330 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_tree (node_id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql new file mode 100644 index 0000000000..d686c910b2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql new file mode 100644 index 0000000000..0f9daed470 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql new file mode 100644 index 0000000000..1712708976 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql new file mode 100644 index 0000000000..ef847742e7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql new file mode 100644 index 0000000000..eab7a10df6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql new file mode 100644 index 0000000000..f4d449f8c8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql new file mode 100644 index 0000000000..597f0baf62 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql new file mode 100644 index 0000000000..f2407dd47f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql new file mode 100644 index 0000000000..1e269d7092 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_bookmark (id SERIAL NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql new file mode 100644 index 0000000000..da8bdcb2ee --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql new file mode 100644 index 0000000000..cebfbca729 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql new file mode 100644 index 0000000000..ceb1ad9be3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql new file mode 100644 index 0000000000..eb802edbb8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type (id SERIAL NOT NULL, status INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id, status)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql new file mode 100644 index 0000000000..abefabe9f2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_status ON ibexa_content_type (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql new file mode 100644 index 0000000000..e61735359b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql new file mode 100644 index 0000000000..cfafafcbd8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_field_definition (id SERIAL NOT NULL, status INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT 'false' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text TEXT DEFAULT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT NOT NULL, PRIMARY KEY(id, status)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql new file mode 100644 index 0000000000..f8e2452ae5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql new file mode 100644 index 0000000000..453cd13008 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql new file mode 100644 index 0000000000..bd0b624554 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_field_definition_ml (content_type_field_definition_id INT NOT NULL, status INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, PRIMARY KEY(content_type_field_definition_id, status, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql new file mode 100644 index 0000000000..670308e41e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql new file mode 100644 index 0000000000..d0abc06557 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_group_assignment (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(content_type_id, content_type_status, group_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql new file mode 100644 index 0000000000..0aee835c33 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_name (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(content_type_id, content_type_status, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql new file mode 100644 index 0000000000..062e1aa732 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_group (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql new file mode 100644 index 0000000000..5224bcd356 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content (id SERIAL NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql new file mode 100644 index 0000000000..33a031bd4d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_id ON ibexa_content (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql new file mode 100644 index 0000000000..32497a5d84 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql new file mode 100644 index 0000000000..736a4155af --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_pub ON ibexa_content (published); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql new file mode 100644 index 0000000000..19457bef18 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_section ON ibexa_content (section_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql new file mode 100644 index 0000000000..edd6826160 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql new file mode 100644 index 0000000000..0790e62c88 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql new file mode 100644 index 0000000000..48c05cd4f6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_status ON ibexa_content (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql new file mode 100644 index 0000000000..45c31edd02 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql new file mode 100644 index 0000000000..a281f913f7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_field (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, content_type_field_definition_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql new file mode 100644 index 0000000000..93726617f0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql new file mode 100644 index 0000000000..4d432626a5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql new file mode 100644 index 0000000000..ec24a9b21f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql @@ -0,0 +1 @@ +CREATE INDEX sort_key_string ON ibexa_content_field (sort_key_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql new file mode 100644 index 0000000000..c530bbb7d8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql new file mode 100644 index 0000000000..884b7ff664 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql @@ -0,0 +1 @@ +CREATE INDEX sort_key_int ON ibexa_content_field (sort_key_int); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql new file mode 100644 index 0000000000..9d647be9c1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql new file mode 100644 index 0000000000..c65bf209a7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_relation (id SERIAL NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql new file mode 100644 index 0000000000..ca644fd1dd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql new file mode 100644 index 0000000000..f62d709bae --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql new file mode 100644 index 0000000000..ef1e83724d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql new file mode 100644 index 0000000000..b9d627df74 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql new file mode 100644 index 0000000000..b4016f33cd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql new file mode 100644 index 0000000000..a162e3e70e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql new file mode 100644 index 0000000000..b1b1ed6f83 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql new file mode 100644 index 0000000000..25a18c58dd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql new file mode 100644 index 0000000000..a7f3aaf8cf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql new file mode 100644 index 0000000000..7353270650 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql new file mode 100644 index 0000000000..8108c8112e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql new file mode 100644 index 0000000000..7be1fea30f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql new file mode 100644 index 0000000000..1c0b897b62 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql new file mode 100644 index 0000000000..5a29b83d62 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql new file mode 100644 index 0000000000..0d09ac88a6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_version (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql new file mode 100644 index 0000000000..38615b8104 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql new file mode 100644 index 0000000000..6e2dfb52fa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql new file mode 100644 index 0000000000..1ba59bfc72 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql new file mode 100644 index 0000000000..834ec3deb3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql new file mode 100644 index 0000000000..9fcc404ba3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_dfs_file (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT 'false' NOT NULL, status BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(name_hash)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql new file mode 100644 index 0000000000..8391ba0217 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql new file mode 100644 index 0000000000..74985d0c93 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql new file mode 100644 index 0000000000..e921fe6650 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql new file mode 100644 index 0000000000..469533ca93 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql new file mode 100644 index 0000000000..c5019aacb4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_map_location (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql new file mode 100644 index 0000000000..6b5b375d51 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql new file mode 100644 index 0000000000..8b10f8366b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_image_file (id SERIAL NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath TEXT NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql new file mode 100644 index 0000000000..5a95b4318b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql new file mode 100644 index 0000000000..4134ec7b9f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql new file mode 100644 index 0000000000..68c151a74b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_keyword (id SERIAL NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql new file mode 100644 index 0000000000..499d339734 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql new file mode 100644 index 0000000000..eda4daf849 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_keyword_field_link (id SERIAL NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql new file mode 100644 index 0000000000..982b9a7f6a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql new file mode 100644 index 0000000000..0b45f48a7c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql new file mode 100644 index 0000000000..f26ce33baf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql new file mode 100644 index 0000000000..1ad747ea69 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_media (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql new file mode 100644 index 0000000000..b5e29f3a22 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_node_assignment (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql new file mode 100644 index 0000000000..7d474bf250 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql new file mode 100644 index 0000000000..e33fbd46b2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql new file mode 100644 index 0000000000..b6e3bb305b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql new file mode 100644 index 0000000000..ba16836181 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql new file mode 100644 index 0000000000..781e65a7de --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_notification (id SERIAL NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT 'true' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INT DEFAULT 0 NOT NULL, data TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql new file mode 100644 index 0000000000..74453e4129 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql new file mode 100644 index 0000000000..acc0093c1c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql new file mode 100644 index 0000000000..84a2dd7219 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_package (id SERIAL NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql new file mode 100644 index 0000000000..d2b1987a92 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy (id SERIAL NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql new file mode 100644 index 0000000000..a7390a7cc9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql new file mode 100644 index 0000000000..c84254dffc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql new file mode 100644 index 0000000000..c8bf8e0e9d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy_limitation (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql new file mode 100644 index 0000000000..18d2c85a03 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql new file mode 100644 index 0000000000..f16c66662e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy_limitation_value (id SERIAL NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql new file mode 100644 index 0000000000..04e7f07679 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql new file mode 100644 index 0000000000..8f30cd8184 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql new file mode 100644 index 0000000000..33779c66a5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_preference (id SERIAL NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql new file mode 100644 index 0000000000..3d17125e44 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql new file mode 100644 index 0000000000..763c959525 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql new file mode 100644 index 0000000000..10c8fc9827 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_role (id SERIAL NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql new file mode 100644 index 0000000000..f5ef170df9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_search_object_word_link (id SERIAL NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql new file mode 100644 index 0000000000..2979febcf7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql new file mode 100644 index 0000000000..7a7882ea59 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql new file mode 100644 index 0000000000..561c155c92 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql new file mode 100644 index 0000000000..c78a04a41a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql new file mode 100644 index 0000000000..b3d1751e6c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql new file mode 100644 index 0000000000..391f8d9338 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_search_word (id SERIAL NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql new file mode 100644 index 0000000000..171471b339 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql new file mode 100644 index 0000000000..a2098d0ab4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql new file mode 100644 index 0000000000..ed418c0a92 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_section (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql new file mode 100644 index 0000000000..05c78a8d9c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_site_data (name VARCHAR(60) DEFAULT '' NOT NULL, value TEXT NOT NULL, PRIMARY KEY(name)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql new file mode 100644 index 0000000000..61b4162a0f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql new file mode 100644 index 0000000000..7a08f3b1db --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_url ON ibexa_url (url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql new file mode 100644 index 0000000000..4976f77e90 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_content_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql new file mode 100644 index 0000000000..258187b47a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql new file mode 100644 index 0000000000..9dd2926df0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql new file mode 100644 index 0000000000..db2e9886fa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql new file mode 100644 index 0000000000..2c2b9b0ab5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql new file mode 100644 index 0000000000..20a5b42de2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias (id SERIAL NOT NULL, destination_url TEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url TEXT NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql new file mode 100644 index 0000000000..ffe6981649 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql new file mode 100644 index 0000000000..2e84f84a69 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql new file mode 100644 index 0000000000..daf44ce9e2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql new file mode 100644 index 0000000000..218055c124 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql new file mode 100644 index 0000000000..cd3078d4aa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql new file mode 100644 index 0000000000..1357e15320 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql new file mode 100644 index 0000000000..66e832b023 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, action TEXT NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text TEXT NOT NULL, PRIMARY KEY(parent, text_md5)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql new file mode 100644 index 0000000000..80426d6d25 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql new file mode 100644 index 0000000000..40898e833a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql new file mode 100644 index 0000000000..120d8b301d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml (action, id, link, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql new file mode 100644 index 0000000000..d8dd20bc1e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql new file mode 100644 index 0000000000..3e76cc88ba --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml (action, is_original); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql new file mode 100644 index 0000000000..0cf1bc2dbf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql new file mode 100644 index 0000000000..43d854ee19 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql new file mode 100644 index 0000000000..1d63e3df21 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql new file mode 100644 index 0000000000..0766455cfa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias_ml_incr (id SERIAL NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql new file mode 100644 index 0000000000..f26db352d9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_wildcard (id SERIAL NOT NULL, destination_url TEXT NOT NULL, source_url TEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql new file mode 100644 index 0000000000..8f4b865f98 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_accountkey (id SERIAL NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql new file mode 100644 index 0000000000..261d15ac25 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql @@ -0,0 +1 @@ +CREATE INDEX hash_key ON ibexa_user_accountkey (hash_key); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql new file mode 100644 index 0000000000..e768b8ab09 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_role (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql new file mode 100644 index 0000000000..8c83fae5a6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql new file mode 100644 index 0000000000..f2c678cebc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql new file mode 100644 index 0000000000..3132296fce --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql new file mode 100644 index 0000000000..d3ae1af8b3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_setting (id SERIAL NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql new file mode 100644 index 0000000000..d6f3d3b0dc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_setting_id ON ibexa_setting (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql new file mode 100644 index 0000000000..e2a05c6a8d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql new file mode 100644 index 0000000000..34e08782fb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token_type (id SERIAL NOT NULL, identifier VARCHAR(64) NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql new file mode 100644 index 0000000000..17f4b2cf68 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql new file mode 100644 index 0000000000..a67a678e35 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token (id SERIAL NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql new file mode 100644 index 0000000000..8217faeab1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql @@ -0,0 +1 @@ +CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql new file mode 100644 index 0000000000..1d13c98da4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql new file mode 100644 index 0000000000..fdafaa780d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql new file mode 100644 index 0000000000..2f8d81a319 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql new file mode 100644 index 0000000000..c03b65599b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql new file mode 100644 index 0000000000..973e602987 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql @@ -0,0 +1 @@ +ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql new file mode 100644 index 0000000000..b6e93a2054 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql @@ -0,0 +1,3 @@ +INSERT INTO "ibexa_object_state" ("default_language_id", "group_id", "id", "identifier", "language_mask", "priority") +VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql new file mode 100644 index 0000000000..539b01fc3b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql @@ -0,0 +1,2 @@ +INSERT INTO "ibexa_object_state_group" ("default_language_id", "id", "identifier", "language_mask") +VALUES (2, 2, 'ibexa_lock', 3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql new file mode 100644 index 0000000000..a6244ff430 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql @@ -0,0 +1,2 @@ +INSERT INTO "ibexa_object_state_group_language" ("contentobject_state_group_id", "description","language_id", "name", "real_language_id") +VALUES (2, '', 3, 'Lock', 2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql new file mode 100644 index 0000000000..2b22aad739 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql @@ -0,0 +1,3 @@ +INSERT INTO "ibexa_object_state_language" ("contentobject_state_id", "description", "language_id", "name") +VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql new file mode 100644 index 0000000000..f40935c418 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql @@ -0,0 +1,13 @@ +INSERT INTO "ibexa_object_state_link" ("contentobject_id", "contentobject_state_id") +VALUES ( 1, 1), + ( 4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql new file mode 100644 index 0000000000..a9e6bde55c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql @@ -0,0 +1,2 @@ +INSERT INTO "ibexa_content_language" ("disabled", "id", "locale", "name") +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql new file mode 100644 index 0000000000..dff061c9d5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql @@ -0,0 +1,7 @@ +INSERT INTO "ibexa_content_type" ("always_available", "contentobject_name", "created", "creator_id", "id", "identifier", "initial_language_id", "is_container", "language_mask", "modified", "modifier_id", "remote_id", "serialized_description_list", "serialized_name_list", "sort_field", "sort_order", "url_alias_name", "status") +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:"eng-GB";s:6:"Folder";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:"eng-GB";s:7:"Article";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql new file mode 100644 index 0000000000..5b0bd908df --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql @@ -0,0 +1,25 @@ +INSERT INTO "ibexa_content_type_field_definition" ("can_translate", "category", "content_type_id", "data_float1", "data_float2", "data_float3", "data_float4", "data_int1", "data_int2", "data_int3", "data_int4", "data_text1", "data_text2", "data_text3", "data_text4", "data_text5", "data_type_string", "id", "identifier", "is_information_collector", "is_required", "is_searchable", "is_thumbnail", "placement", "serialized_data_text", "serialized_description_list", "serialized_name_list", "status") +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ibexa_string',1,'title',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ibexa_string',4,'name',0,1,1,FALSE,1,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:4:"Name";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',6,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',7,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',8,'first_name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:10:"First name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',9,'last_name',0,1,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Last name";s:16:"always-available";s:6:"eng-GB";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ibexa_user',12,'user_account',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:12:"User account";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ibexa_string',116,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',117,'caption',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:7:"Caption";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ibexa_image',118,'image',0,0,1,TRUE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',119,'short_description',0,0,1,FALSE,3,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:17:"Short description";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ibexa_richtext',120,'intro',0,1,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Intro";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ibexa_richtext',121,'body',0,0,1,FALSE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Body";s:16:"always-available";s:6:"eng-GB";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_boolean',123,'enable_comments',0,0,0,FALSE,6,NULL,NULL,'a:2:{s:6:"eng-GB";s:15:"Enable comments";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ibexa_string',146,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',147,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ibexa_binaryfile',148,'file',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',152,'short_title',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Short title";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ibexa_author',153,'author',0,0,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:6:"Author";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_object_relation',154,'image',0,0,1,FALSE,7,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_string',155,'short_name',0,0,1,FALSE,2,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:10:"Short name";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',156,'description',0,0,1,FALSE,4,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:11:"Description";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','ibexa_text',179,'signature',0,0,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ibexa_image',180,'image',0,0,0,TRUE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql new file mode 100644 index 0000000000..0930c2a4c4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql @@ -0,0 +1,7 @@ +INSERT INTO "ibexa_content_type_group_assignment" ("content_type_id", "content_type_status", "group_id", "group_name") +VALUES (1,0,1,'Content'), + (2,0,1,'Content'), + (3,0,2,'Users'), + (4,0,2,'Users'), + (5,0,3,'Media'), + (12,0,3,'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql new file mode 100644 index 0000000000..4ce17b5c00 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql @@ -0,0 +1,7 @@ +INSERT INTO "ibexa_content_type_name" ("content_type_id", "content_type_status", "language_id", "language_locale", "name") +VALUES (1,0,2,'eng-GB','Folder'), + (2,0,3,'eng-GB','Article'), + (3,0,3,'eng-GB','User group'), + (4,0,3,'eng-GB','User'), + (5,0,3,'eng-GB','Image'), + (12,0,3,'eng-GB','File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql new file mode 100644 index 0000000000..dec1cfcde3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql @@ -0,0 +1,4 @@ +INSERT INTO "ibexa_content_type_group" ("created", "creator_id", "id", "modified", "modifier_id", "name") +VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql new file mode 100644 index 0000000000..40d7370b67 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql @@ -0,0 +1,13 @@ +INSERT INTO "ibexa_content" ("content_type_id", "current_version", "id", "initial_language_id", "language_mask", "modified", "name", "owner_id", "published", "remote_id", "section_id", "status") +VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql new file mode 100644 index 0000000000..0f8422d6ce --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql @@ -0,0 +1,41 @@ +INSERT INTO "ibexa_content_field" ("attribute_original_id", "content_type_field_definition_id", "contentobject_id", "data_float", "data_int", "data_text", "data_type_string", "id", "language_code", "language_id", "sort_key_int", "sort_key_string", "version") +VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ibexa_string',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,E'
You are now ready to start your project.
','ibexa_richtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ibexa_string',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ibexa_string',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ibexa_string',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ibexa_string',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ibexa_user',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ibexa_string',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ibexa_string',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ibexa_string',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ibexa_string',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ibexa_string',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ibexa_string',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ibexa_string',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ibexa_string',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ibexa_user',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ibexa_string',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,E'\n
\n','ibexa_richtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ibexa_string',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ibexa_string',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ibexa_string',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ibexa_string',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,E'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ibexa_richtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,E'\n
\n','ibexa_richtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ibexa_string',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ibexa_string',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,E'\n
\n','ibexa_richtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,E'\n
\n','ibexa_richtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ibexa_string',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ibexa_string',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,E'\n
\n','ibexa_richtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,E'\n
\n','ibexa_richtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ibexa_string',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ibexa_string',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,E'\n
\n','ibexa_richtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,E'\n
\n','ibexa_richtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','ibexa_text',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','ibexa_text',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ibexa_image',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,E'\n\n','ibexa_image',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql new file mode 100644 index 0000000000..f03b1eb85c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql @@ -0,0 +1,13 @@ +INSERT INTO "ibexa_content_name" ("content_translation", "content_version", "contentobject_id", "language_id", "name", "real_translation") +VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql new file mode 100644 index 0000000000..e373f6d94e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql @@ -0,0 +1,14 @@ +INSERT INTO "ibexa_content_tree" ("contentobject_id", "contentobject_is_published", "contentobject_version", "depth", "is_hidden", "is_invisible", "main_node_id", "modified_subnode", "node_id", "parent_node_id", "path_identification_string", "path_string", "priority", "remote_id", "sort_field", "sort_order") +VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql new file mode 100644 index 0000000000..6da2948ddc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql @@ -0,0 +1,13 @@ +INSERT INTO "ibexa_content_version" ("contentobject_id", "created", "creator_id", "id", "initial_language_id", "language_mask", "modified", "status", "user_id", "version", "workflow_event_pos") +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql new file mode 100644 index 0000000000..3c2930a01a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql @@ -0,0 +1,13 @@ +INSERT INTO "ibexa_node_assignment" ("contentobject_id", "contentobject_version", "from_node_id", "id", "is_main", "op_code", "parent_node", "parent_remote_id", "remote_id", "sort_field", "sort_order", "priority", "is_hidden") +VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql new file mode 100644 index 0000000000..0509cded66 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql @@ -0,0 +1,9 @@ +INSERT INTO "ibexa_policy" ("function_name", "id", "module_name", "original_id", "role_id") +VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql new file mode 100644 index 0000000000..5ee58ed2d5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql @@ -0,0 +1,7 @@ +INSERT INTO "ibexa_policy_limitation" ("id", "identifier", "policy_id") +VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql new file mode 100644 index 0000000000..1b1e99a293 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql @@ -0,0 +1,8 @@ +INSERT INTO "ibexa_policy_limitation_value" ("id", "limitation_id", "value") +VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql new file mode 100644 index 0000000000..2ef278a3f2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql @@ -0,0 +1,5 @@ +INSERT INTO "ibexa_role" ("id", "is_new", "name", "value", "version") +VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql new file mode 100644 index 0000000000..67a4ec349a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql @@ -0,0 +1,4 @@ +INSERT INTO "ibexa_section" ("id", "identifier", "locale", "name", "navigation_part_identifier") +VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql new file mode 100644 index 0000000000..ae464771e3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql @@ -0,0 +1,2 @@ +INSERT INTO "ibexa_site_data" ("name", "value") +VALUES ('ibexa-release','6.0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql new file mode 100644 index 0000000000..6261b39f37 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql @@ -0,0 +1,13 @@ +INSERT INTO "ibexa_url_alias" ("destination_url", "forward_to_id", "id", "is_imported", "is_internal", "is_wildcard", "source_md5", "source_url") +VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql new file mode 100644 index 0000000000..1d3efbc851 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql @@ -0,0 +1,26 @@ +INSERT INTO "ibexa_url_alias_ml" ("action", "action_type", "alias_redirects", "id", "is_alias", "is_original", "lang_mask", "link", "parent", "text", "text_md5") +VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql new file mode 100644 index 0000000000..ca0299588d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql @@ -0,0 +1,4 @@ +INSERT INTO "ibexa_url_alias_ml_incr" ("id") +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql new file mode 100644 index 0000000000..223331fee9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql @@ -0,0 +1,3 @@ +INSERT INTO "ibexa_user" ("contentobject_id", "email", "login", "password_hash", "password_hash_type") +VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql new file mode 100644 index 0000000000..8d29a039bf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql @@ -0,0 +1,7 @@ +INSERT INTO "ibexa_user_role" ("contentobject_id", "id", "limit_identifier", "limit_value", "role_id") +VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql new file mode 100644 index 0000000000..bc4b6d2e02 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql @@ -0,0 +1,3 @@ +INSERT INTO "ibexa_user_setting" ("is_enabled", "max_login", "user_id") +VALUES (1, 1000, 10), + (1, 10, 14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql new file mode 100644 index 0000000000..73d0e999e8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql @@ -0,0 +1,2 @@ +INSERT INTO "ibexa_user_preference" ("name", "user_id", "value") +SELECT 'focus_mode', u.contentobject_id, '0' FROM "ibexa_user" u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql new file mode 100644 index 0000000000..35ea9e6454 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql @@ -0,0 +1,2 @@ +-- Set proper sequence values after inserting data +SELECT SETVAL('ibexa_object_state_group_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_object_state_group; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql new file mode 100644 index 0000000000..143449a4de --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_object_state_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_object_state; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql new file mode 100644 index 0000000000..a7be654d44 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_bookmark_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_bookmark; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql new file mode 100644 index 0000000000..35f9eec982 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_type_field_definition_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_type_field_definition; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql new file mode 100644 index 0000000000..918015bbe8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_type_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_type; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql new file mode 100644 index 0000000000..672e305275 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_type_group_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_type_group; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql new file mode 100644 index 0000000000..7b6d0cfe1d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_field_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_field; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql new file mode 100644 index 0000000000..20229bca7a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql new file mode 100644 index 0000000000..1857a4d6ea --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_relation_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_relation; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql new file mode 100644 index 0000000000..aa3cfe2c04 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_tree_node_id_seq', COALESCE(MAX(node_id), 1) ) FROM ibexa_content_tree; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql new file mode 100644 index 0000000000..f0c12436af --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_content_version_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_version; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql new file mode 100644 index 0000000000..86730112e4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_image_file_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_image_file; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql new file mode 100644 index 0000000000..1767283a6b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_keyword_field_link_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_keyword_field_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql new file mode 100644 index 0000000000..1f06e40462 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_keyword_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_keyword; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql new file mode 100644 index 0000000000..69d629bb29 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_node_assignment_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_node_assignment; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql new file mode 100644 index 0000000000..29ef5708ee --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_notification_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_notification; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql new file mode 100644 index 0000000000..e88663a73b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_package_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_package; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql new file mode 100644 index 0000000000..7da0578503 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_policy_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_policy; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql new file mode 100644 index 0000000000..a731325f17 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_policy_limitation_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_policy_limitation; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql new file mode 100644 index 0000000000..8de743a58e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_policy_limitation_value_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_policy_limitation_value; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql new file mode 100644 index 0000000000..727674f0af --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_user_preference_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_user_preference; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql new file mode 100644 index 0000000000..542cbd22d1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_role_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_role; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql new file mode 100644 index 0000000000..c5028e319f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_search_object_word_link_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_search_object_word_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql new file mode 100644 index 0000000000..20334d7f3a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_search_word_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_search_word; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql new file mode 100644 index 0000000000..285bbdd057 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_section_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_section; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql new file mode 100644 index 0000000000..e9c38e4fb4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_url_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql new file mode 100644 index 0000000000..3785200f46 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_url_alias_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url_alias; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql new file mode 100644 index 0000000000..278e452839 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_url_alias_ml_incr_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url_alias_ml_incr; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql new file mode 100644 index 0000000000..51ec0baedb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_url_wildcard_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url_wildcard; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql new file mode 100644 index 0000000000..dcda0cd494 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_user_accountkey_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_user_accountkey; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql new file mode 100644 index 0000000000..5047855424 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql @@ -0,0 +1 @@ +SELECT SETVAL('ibexa_user_role_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_user_role; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql new file mode 100644 index 0000000000..72666e79c5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_binary_file (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, download_count INTEGER DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql new file mode 100644 index 0000000000..ecfba429b9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql new file mode 100644 index 0000000000..5826aaef24 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql new file mode 100644 index 0000000000..60be743406 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql new file mode 100644 index 0000000000..38a0fa6827 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql new file mode 100644 index 0000000000..e0a49092df --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_group (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql new file mode 100644 index 0000000000..507f119efb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql new file mode 100644 index 0000000000..d3a6cf12d0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql new file mode 100644 index 0000000000..7a74ca31eb --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_group_language (contentobject_state_group_id INTEGER DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql new file mode 100644 index 0000000000..1db6e699f1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_language (contentobject_state_id INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql new file mode 100644 index 0000000000..9c930f3b81 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_object_state_link (contentobject_id INTEGER DEFAULT 0 NOT NULL, contentobject_state_id INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql new file mode 100644 index 0000000000..54f650f8ff --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_language (id BIGINT DEFAULT 0 NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql new file mode 100644 index 0000000000..f95137a14e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql new file mode 100644 index 0000000000..283e5d125d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user (contentobject_id INTEGER DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INTEGER DEFAULT 1 NOT NULL, password_updated_at INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql new file mode 100644 index 0000000000..b49abbfa91 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql new file mode 100644 index 0000000000..bf8300cb6e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_tree (node_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_is_published INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql new file mode 100644 index 0000000000..d686c910b2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql new file mode 100644 index 0000000000..0f9daed470 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql new file mode 100644 index 0000000000..1712708976 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql new file mode 100644 index 0000000000..ef847742e7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql new file mode 100644 index 0000000000..eab7a10df6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql new file mode 100644 index 0000000000..f4d449f8c8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql new file mode 100644 index 0000000000..597f0baf62 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql new file mode 100644 index 0000000000..f2407dd47f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql new file mode 100644 index 0000000000..73411b24ba --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_bookmark (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, node_id INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree (node_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE, CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user (contentobject_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql new file mode 100644 index 0000000000..da8bdcb2ee --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql new file mode 100644 index 0000000000..cebfbca729 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql new file mode 100644 index 0000000000..ceb1ad9be3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql new file mode 100644 index 0000000000..531c774503 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, status INTEGER DEFAULT 0 NOT NULL, always_available INTEGER DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB DEFAULT NULL, sort_field INTEGER DEFAULT 1 NOT NULL, sort_order INTEGER DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql new file mode 100644 index 0000000000..abefabe9f2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_status ON ibexa_content_type (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql new file mode 100644 index 0000000000..e61735359b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql new file mode 100644 index 0000000000..490fd2d69b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_field_definition (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, status INTEGER DEFAULT 0 NOT NULL, can_translate INTEGER DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, content_type_id INTEGER DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INTEGER DEFAULT NULL, data_int2 INTEGER DEFAULT NULL, data_int3 INTEGER DEFAULT NULL, data_int4 INTEGER DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INTEGER DEFAULT 0 NOT NULL, is_required INTEGER DEFAULT 0 NOT NULL, is_searchable INTEGER DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT '0' NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, serialized_data_text CLOB DEFAULT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql new file mode 100644 index 0000000000..f8e2452ae5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql new file mode 100644 index 0000000000..453cd13008 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql new file mode 100644 index 0000000000..9baca2231c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_field_definition_ml (content_type_field_definition_id INTEGER NOT NULL, status INTEGER NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description CLOB DEFAULT NULL, data_text CLOB DEFAULT NULL, data_json CLOB DEFAULT NULL, PRIMARY KEY(content_type_field_definition_id, status, language_id), CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql new file mode 100644 index 0000000000..670308e41e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql new file mode 100644 index 0000000000..2ee133c63f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_group_assignment (content_type_id INTEGER DEFAULT 0 NOT NULL, content_type_status INTEGER DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(content_type_id, content_type_status, group_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql new file mode 100644 index 0000000000..8556bc0d86 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_name (content_type_id INTEGER DEFAULT 0 NOT NULL, content_type_status INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(content_type_id, content_type_status, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql new file mode 100644 index 0000000000..ec89241b8b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_type_group (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql new file mode 100644 index 0000000000..6af42d7369 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, content_type_id INTEGER DEFAULT 0 NOT NULL, current_version INTEGER DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0, is_hidden BOOLEAN DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql new file mode 100644 index 0000000000..33a031bd4d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_type_id ON ibexa_content (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql new file mode 100644 index 0000000000..32497a5d84 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql new file mode 100644 index 0000000000..736a4155af --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_pub ON ibexa_content (published); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql new file mode 100644 index 0000000000..19457bef18 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_section ON ibexa_content (section_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql new file mode 100644 index 0000000000..edd6826160 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql new file mode 100644 index 0000000000..0790e62c88 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql new file mode 100644 index 0000000000..48c05cd4f6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_status ON ibexa_content (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql new file mode 100644 index 0000000000..45c31edd02 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql new file mode 100644 index 0000000000..51e68dbdbe --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_field (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, attribute_original_id INTEGER DEFAULT 0, content_type_field_definition_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INTEGER DEFAULT NULL, data_text CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INTEGER DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql new file mode 100644 index 0000000000..93726617f0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql new file mode 100644 index 0000000000..4d432626a5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql new file mode 100644 index 0000000000..ec24a9b21f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql @@ -0,0 +1 @@ +CREATE INDEX sort_key_string ON ibexa_content_field (sort_key_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql new file mode 100644 index 0000000000..c530bbb7d8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql new file mode 100644 index 0000000000..884b7ff664 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql @@ -0,0 +1 @@ +CREATE INDEX sort_key_int ON ibexa_content_field (sort_key_int); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql new file mode 100644 index 0000000000..9d647be9c1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql new file mode 100644 index 0000000000..b8d2cd590a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_relation (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, content_type_field_definition_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_version INTEGER DEFAULT 0 NOT NULL, relation_type INTEGER DEFAULT 1 NOT NULL, to_contentobject_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql new file mode 100644 index 0000000000..ca644fd1dd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql new file mode 100644 index 0000000000..f62d709bae --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql new file mode 100644 index 0000000000..ef1e83724d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql new file mode 100644 index 0000000000..95be4f4e69 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_name (contentobject_id INTEGER DEFAULT 0 NOT NULL, content_version INTEGER DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql new file mode 100644 index 0000000000..b4016f33cd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql new file mode 100644 index 0000000000..a162e3e70e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql new file mode 100644 index 0000000000..b1b1ed6f83 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql new file mode 100644 index 0000000000..cb167ea200 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_trash (node_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, trashed INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql new file mode 100644 index 0000000000..a7f3aaf8cf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql new file mode 100644 index 0000000000..7353270650 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql new file mode 100644 index 0000000000..8108c8112e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql new file mode 100644 index 0000000000..7be1fea30f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql new file mode 100644 index 0000000000..1c0b897b62 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql new file mode 100644 index 0000000000..5a29b83d62 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql new file mode 100644 index 0000000000..22ef073b23 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_content_version (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, workflow_event_pos INTEGER DEFAULT 0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql new file mode 100644 index 0000000000..38615b8104 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql new file mode 100644 index 0000000000..6e2dfb52fa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql new file mode 100644 index 0000000000..1ba59bfc72 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql new file mode 100644 index 0000000000..834ec3deb3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql new file mode 100644 index 0000000000..14a3a4fa5a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_dfs_file (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name CLOB NOT NULL, name_trunk CLOB NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INTEGER DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT '0' NOT NULL, status BOOLEAN DEFAULT '0' NOT NULL, PRIMARY KEY(name_hash)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql new file mode 100644 index 0000000000..8391ba0217 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql new file mode 100644 index 0000000000..74985d0c93 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql new file mode 100644 index 0000000000..e921fe6650 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql new file mode 100644 index 0000000000..469533ca93 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql new file mode 100644 index 0000000000..225f2946d8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_map_location (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_version INTEGER DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql new file mode 100644 index 0000000000..6b5b375d51 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql new file mode 100644 index 0000000000..f4294149c4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_image_file (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, filepath CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql new file mode 100644 index 0000000000..5a95b4318b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql new file mode 100644 index 0000000000..4134ec7b9f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql new file mode 100644 index 0000000000..a0e82d451f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_keyword (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, class_id INTEGER DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql new file mode 100644 index 0000000000..499d339734 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql new file mode 100644 index 0000000000..1bf50ba6c8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_keyword_field_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, keyword_id INTEGER DEFAULT 0 NOT NULL, objectattribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql new file mode 100644 index 0000000000..982b9a7f6a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql new file mode 100644 index 0000000000..0b45f48a7c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql new file mode 100644 index 0000000000..f26ce33baf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql new file mode 100644 index 0000000000..597a6b775c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_media (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INTEGER DEFAULT 0, height INTEGER DEFAULT NULL, is_autoplay INTEGER DEFAULT 0, is_loop INTEGER DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql new file mode 100644 index 0000000000..172cdae7e6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_node_assignment (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, from_node_id INTEGER DEFAULT 0, is_main INTEGER DEFAULT 0 NOT NULL, op_code INTEGER DEFAULT 0 NOT NULL, parent_node INTEGER DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, priority INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql new file mode 100644 index 0000000000..7d474bf250 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql new file mode 100644 index 0000000000..e33fbd46b2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql new file mode 100644 index 0000000000..b6e3bb305b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql new file mode 100644 index 0000000000..ba16836181 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql new file mode 100644 index 0000000000..0b847b3303 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_notification (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT '1' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INTEGER DEFAULT 0 NOT NULL, data CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql new file mode 100644 index 0000000000..74453e4129 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql new file mode 100644 index 0000000000..acc0093c1c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql new file mode 100644 index 0000000000..6f94beae79 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_package (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, install_date INTEGER DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql new file mode 100644 index 0000000000..a6592bf283 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INTEGER DEFAULT 0 NOT NULL, role_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql new file mode 100644 index 0000000000..a7390a7cc9 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql new file mode 100644 index 0000000000..c84254dffc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql new file mode 100644 index 0000000000..3ad75585d5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy_limitation (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql new file mode 100644 index 0000000000..18d2c85a03 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql new file mode 100644 index 0000000000..e70595b525 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_policy_limitation_value (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, limitation_id INTEGER DEFAULT NULL, value VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql new file mode 100644 index 0000000000..04e7f07679 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql new file mode 100644 index 0000000000..8f30cd8184 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql new file mode 100644 index 0000000000..29781d3a49 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_preference (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INTEGER DEFAULT 0 NOT NULL, value CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql new file mode 100644 index 0000000000..3d17125e44 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql new file mode 100644 index 0000000000..763c959525 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql new file mode 100644 index 0000000000..fca332a08b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_role (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, is_new INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INTEGER DEFAULT 0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql new file mode 100644 index 0000000000..0fdc19594b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_search_object_word_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, content_type_field_definition_id INTEGER DEFAULT 0 NOT NULL, content_type_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INTEGER DEFAULT 0 NOT NULL, next_word_id INTEGER DEFAULT 0 NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, prev_word_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, section_id INTEGER DEFAULT 0 NOT NULL, word_id INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql new file mode 100644 index 0000000000..2979febcf7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql new file mode 100644 index 0000000000..7a7882ea59 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql new file mode 100644 index 0000000000..561c155c92 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql new file mode 100644 index 0000000000..c78a04a41a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql new file mode 100644 index 0000000000..b3d1751e6c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql new file mode 100644 index 0000000000..4975eb3136 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_search_word (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, object_count INTEGER DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql new file mode 100644 index 0000000000..171471b339 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql new file mode 100644 index 0000000000..a2098d0ab4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql new file mode 100644 index 0000000000..8df5a3a64b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_section (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql new file mode 100644 index 0000000000..613fa731b5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_site_data (name VARCHAR(60) DEFAULT '' NOT NULL, value CLOB NOT NULL, PRIMARY KEY(name)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql new file mode 100644 index 0000000000..4d44606ea3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, is_valid INTEGER DEFAULT 1 NOT NULL, last_checked INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql new file mode 100644 index 0000000000..7a08f3b1db --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_url ON ibexa_url (url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql new file mode 100644 index 0000000000..abf45d5f71 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_content_link (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_attribute_version INTEGER DEFAULT 0 NOT NULL, url_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql new file mode 100644 index 0000000000..258187b47a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql new file mode 100644 index 0000000000..9dd2926df0 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql new file mode 100644 index 0000000000..db2e9886fa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql new file mode 100644 index 0000000000..2c2b9b0ab5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql new file mode 100644 index 0000000000..e6e5bf58a8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, forward_to_id INTEGER DEFAULT 0 NOT NULL, is_imported INTEGER DEFAULT 0 NOT NULL, is_internal INTEGER DEFAULT 1 NOT NULL, is_wildcard INTEGER DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql new file mode 100644 index 0000000000..ffe6981649 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql new file mode 100644 index 0000000000..2e84f84a69 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql new file mode 100644 index 0000000000..daf44ce9e2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql new file mode 100644 index 0000000000..218055c124 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql new file mode 100644 index 0000000000..cd3078d4aa --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql new file mode 100644 index 0000000000..1357e15320 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql new file mode 100644 index 0000000000..09360d07da --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias_ml (parent INTEGER DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, "action" CLOB NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INTEGER DEFAULT 1 NOT NULL, id INTEGER DEFAULT 0 NOT NULL, is_alias INTEGER DEFAULT 0 NOT NULL, is_original INTEGER DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INTEGER DEFAULT 0 NOT NULL, text CLOB NOT NULL, PRIMARY KEY(parent, text_md5)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql new file mode 100644 index 0000000000..80426d6d25 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql new file mode 100644 index 0000000000..40898e833a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql new file mode 100644 index 0000000000..b66f77c26d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml ("action", id, link, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql new file mode 100644 index 0000000000..d8dd20bc1e --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql new file mode 100644 index 0000000000..9da9048bbd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml ("action", is_original); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql new file mode 100644 index 0000000000..0cf1bc2dbf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql new file mode 100644 index 0000000000..43d854ee19 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql new file mode 100644 index 0000000000..1d63e3df21 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql new file mode 100644 index 0000000000..8a61928479 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_alias_ml_incr (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql new file mode 100644 index 0000000000..3fea66d9ef --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_url_wildcard (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, source_url CLOB NOT NULL, type INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql new file mode 100644 index 0000000000..662e5a0e80 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_accountkey (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql new file mode 100644 index 0000000000..261d15ac25 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql @@ -0,0 +1 @@ +CREATE INDEX hash_key ON ibexa_user_accountkey (hash_key); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql new file mode 100644 index 0000000000..bf42a480ed --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_role (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql new file mode 100644 index 0000000000..8c83fae5a6 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql new file mode 100644 index 0000000000..f2c678cebc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql new file mode 100644 index 0000000000..f6421b7bdf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_user_setting (user_id INTEGER DEFAULT 0 NOT NULL, is_enabled INTEGER DEFAULT 0 NOT NULL, max_login INTEGER DEFAULT NULL, PRIMARY KEY(user_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql new file mode 100644 index 0000000000..8d12ee2b45 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql @@ -0,0 +1,2 @@ +CREATE TABLE ibexa_setting (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value CLOB NOT NULL --(DC2Type:json) +); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql new file mode 100644 index 0000000000..d6f3d3b0dc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql @@ -0,0 +1 @@ +CREATE INDEX ibexa_setting_id ON ibexa_setting (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql new file mode 100644 index 0000000000..e2a05c6a8d --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql new file mode 100644 index 0000000000..56545a77df --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token_type (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql new file mode 100644 index 0000000000..17f4b2cf68 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql new file mode 100644 index 0000000000..4ccb1fc31a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql @@ -0,0 +1 @@ +CREATE TABLE ibexa_token (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, type_id INTEGER NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, expires INTEGER DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT '0' NOT NULL, CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql new file mode 100644 index 0000000000..8217faeab1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql @@ -0,0 +1 @@ +CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql new file mode 100644 index 0000000000..1d13c98da4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql new file mode 100644 index 0000000000..28d054bae2 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_object_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) +VALUES (2, 2, 1, 'not_locked', 3, 0), + (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql new file mode 100644 index 0000000000..d6ecfca0a8 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_object_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) +VALUES (2,2,'ibexa_lock',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql new file mode 100644 index 0000000000..c2cce56918 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_object_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) +VALUES (2,'',3,'Lock',2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql new file mode 100644 index 0000000000..5447342e3b --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_object_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) +VALUES (1,'',3,'Not locked'), + (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql new file mode 100644 index 0000000000..a58c50424a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_object_state_link` (`contentobject_id`, `contentobject_state_id`) +VALUES (1, 1), + (4, 1), + (10, 1), + (11, 1), + (12, 1), + (13, 1), + (14, 1), + (41, 1), + (42, 1), + (49, 1), + (50, 1), + (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql new file mode 100644 index 0000000000..716102901f --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_content_language` (`disabled`, `id`, `locale`, `name`) +VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql new file mode 100644 index 0000000000..0acd993329 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_content_type` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `status`) +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql new file mode 100644 index 0000000000..d88a046425 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql @@ -0,0 +1,25 @@ +INSERT INTO `ibexa_content_type_field_definition` (`can_translate`, `category`, `content_type_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `status`) +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ibexa_string',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ibexa_string',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ibexa_user',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ibexa_string',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ibexa_image',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ibexa_richtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ibexa_richtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_boolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ibexa_string',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ibexa_binaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ibexa_author',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_object_relation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_string',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','ibexa_text',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ibexa_image',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql new file mode 100644 index 0000000000..06892a0765 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_content_type_group_assignment` (`content_type_id`, `content_type_status`, `group_id`, `group_name`) +VALUES (1, 0, 1, 'Content'), + (2, 0, 1, 'Content'), + (3, 0, 2, 'Users'), + (4, 0, 2, 'Users'), + (5, 0, 3, 'Media'), + (12, 0, 3, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql new file mode 100644 index 0000000000..b62ac8a988 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_content_type_name` (`content_type_id`, `content_type_status`, `language_id`, `language_locale`, `name`) +VALUES (1, 0, 2, 'eng-GB', 'Folder'), + (2, 0, 3, 'eng-GB', 'Article'), + (3, 0, 3, 'eng-GB', 'User group'), + (4, 0, 3, 'eng-GB', 'User'), + (5, 0, 3, 'eng-GB', 'Image'), + (12, 0, 3, 'eng-GB', 'File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql new file mode 100644 index 0000000000..2eb94f3b43 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql @@ -0,0 +1,4 @@ +INSERT INTO `ibexa_content_type_group` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) +VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), + (1031216941, 14, 2, 1033922113, 14, 'Users'), + (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql new file mode 100644 index 0000000000..7108cc1143 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_content` (`content_type_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) +VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), + (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), + (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), + (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), + (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), + (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), + (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), + (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), + (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), + (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), + (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), + (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql new file mode 100644 index 0000000000..0d542f8dbd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql @@ -0,0 +1,41 @@ +INSERT INTO `ibexa_content_field` (`attribute_original_id`, `content_type_field_definition_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) +VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ibexa_string',1,'eng-GB',3,0,'ibexa platform',9), + (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ibexa_richtext',2,'eng-GB',3,0,'',9), + (0,7,4,NULL,NULL,'Main group','ibexa_string',7,'eng-GB',3,0,'',1), + (0,6,4,NULL,NULL,'Users','ibexa_string',8,'eng-GB',3,0,'',1), + (0,8,10,0,0,'Anonymous','ibexa_string',19,'eng-GB',3,0,'anonymous',2), + (0,9,10,0,0,'User','ibexa_string',20,'eng-GB',3,0,'user',2), + (0,12,10,0,0,'','ibexa_user',21,'eng-GB',3,0,'',2), + (0,6,11,0,0,'Guest accounts','ibexa_string',22,'eng-GB',3,0,'',1), + (0,7,11,0,0,'','ibexa_string',23,'eng-GB',3,0,'',1), + (0,6,12,0,0,'Administrator users','ibexa_string',24,'eng-GB',3,0,'',1), + (0,7,12,0,0,'','ibexa_string',25,'eng-GB',3,0,'',1), + (0,6,13,0,0,'Editors','ibexa_string',26,'eng-GB',3,0,'',1), + (0,7,13,0,0,'','ibexa_string',27,'eng-GB',3,0,'',1), + (0,8,14,0,0,'Administrator','ibexa_string',28,'eng-GB',3,0,'administrator',3), + (0,9,14,0,0,'User','ibexa_string',29,'eng-GB',3,0,'user',3), + (30,12,14,0,0,'','ibexa_user',30,'eng-GB',3,0,'',3), + (0,4,41,0,0,'Media','ibexa_string',98,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,'\n
\n','ibexa_richtext',99,'eng-GB',3,0,'',1), + (0,6,42,0,0,'Anonymous users','ibexa_string',100,'eng-GB',3,0,'anonymous users',1), + (0,7,42,0,0,'User group for the anonymous user','ibexa_string',101,'eng-GB',3,0,'user group for the anonymous user',1), + (0,155,1,NULL,NULL,'Ibexa Platform','ibexa_string',102,'eng-GB',3,0,'ibexa platform',9), + (0,155,41,0,0,'','ibexa_string',103,'eng-GB',3,0,'',1), + (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ibexa_richtext',104,'eng-GB',3,0,'',9), + (0,156,41,0,1045487555,'\n
\n','ibexa_richtext',105,'eng-GB',3,0,'',1), + (0,4,49,0,0,'Images','ibexa_string',142,'eng-GB',3,0,'images',1), + (0,155,49,0,0,'','ibexa_string',143,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,'\n
\n','ibexa_richtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,'\n
\n','ibexa_richtext',145,'eng-GB',3,0,'',1), + (0,4,50,0,0,'Files','ibexa_string',147,'eng-GB',3,0,'files',1), + (0,155,50,0,0,'','ibexa_string',148,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,'\n
\n','ibexa_richtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,'\n
\n','ibexa_richtext',150,'eng-GB',3,0,'',1), + (0,4,51,0,0,'Multimedia','ibexa_string',152,'eng-GB',3,0,'multimedia',1), + (0,155,51,0,0,'','ibexa_string',153,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,'\n
\n','ibexa_richtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,'\n
\n','ibexa_richtext',155,'eng-GB',3,0,'',1), + (0,179,10,0,0,'','ibexa_text',177,'eng-GB',3,0,'',2), + (0,179,14,0,0,'','ibexa_text',178,'eng-GB',3,0,'',3), + (0,180,10,0,0,'','ibexa_image',179,'eng-GB',3,0,'',2), + (0,180,14,0,0,'\n\n','ibexa_image',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql new file mode 100644 index 0000000000..c36299fd6a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_content_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) +VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), + ('eng-GB',1,4,3,'Users','eng-GB'), + ('eng-GB',2,10,3,'Anonymous User','eng-GB'), + ('eng-GB',1,11,3,'Guest accounts','eng-GB'), + ('eng-GB',1,12,3,'Administrator users','eng-GB'), + ('eng-GB',1,13,3,'Editors','eng-GB'), + ('eng-GB',3,14,3,'Administrator User','eng-GB'), + ('eng-GB',1,41,3,'Media','eng-GB'), + ('eng-GB',1,42,3,'Anonymous users','eng-GB'), + ('eng-GB',1,49,3,'Images','eng-GB'), + ('eng-GB',1,50,3,'Files','eng-GB'), + ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql new file mode 100644 index 0000000000..65d092ccef --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql @@ -0,0 +1,14 @@ +INSERT INTO `ibexa_content_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) +VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), + (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), + (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), + (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), + (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), + (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), + (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), + (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), + (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), + (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), + (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), + (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), + (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql new file mode 100644 index 0000000000..83f4e503e7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_content_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) +VALUES (4,0,14,4,2,3,0,1,0,1,1), + (11,1033920737,14,439,2,3,1033920746,1,0,1,0), + (12,1033920760,14,440,2,3,1033920775,1,0,1,0), + (13,1033920786,14,441,2,3,1033920794,1,0,1,0), + (41,1060695450,14,472,2,3,1060695457,1,0,1,0), + (42,1072180278,14,473,2,3,1072180330,1,0,1,0), + (10,1072180337,14,474,2,3,1072180405,1,0,2,0), + (49,1080220181,14,488,2,3,1080220197,1,0,1,0), + (50,1080220211,14,489,2,3,1080220220,1,0,1,0), + (51,1080220225,14,490,2,3,1080220233,1,0,1,0), + (14,1301061783,14,499,2,3,1301062024,1,0,3,0), + (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql new file mode 100644 index 0000000000..9640698edf --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_node_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) +VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), + (42,1,0,5,1,2,5,'','0',9,1,0,0), + (10,2,-1,6,1,2,44,'','0',9,1,0,0), + (4,1,0,7,1,2,1,'','0',1,1,0,0), + (12,1,0,8,1,2,5,'','0',1,1,0,0), + (13,1,0,9,1,2,5,'','0',1,1,0,0), + (41,1,0,11,1,2,1,'','0',1,1,0,0), + (11,1,0,12,1,2,5,'','0',1,1,0,0), + (49,1,0,27,1,2,43,'','0',9,1,0,0), + (50,1,0,28,1,2,43,'','0',9,1,0,0), + (51,1,0,29,1,2,43,'','0',9,1,0,0), + (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql new file mode 100644 index 0000000000..4d51ce8204 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql @@ -0,0 +1,9 @@ +INSERT INTO `ibexa_policy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) +VALUES ('*',317,'content',0,3), + ('login',319,'user',0,3), + ('read',328,'content',0,1), + ('login',331,'user',0,1), + ('*',332,'*',0,2), + ('read',333,'content',0,4), + ('view_embed',334,'content',0,1), + ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql new file mode 100644 index 0000000000..cc61881062 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_policy_limitation` (`id`, `identifier`, `policy_id`) +VALUES (251,'Section',328), + (252,'Section',329), + (253,'SiteAccess',331), + (254,'Class',333), + (255,'Owner',333), + (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql new file mode 100644 index 0000000000..4ac14df7f5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql @@ -0,0 +1,8 @@ +INSERT INTO `ibexa_policy_limitation_value` (`id`, `limitation_id`, `value`) +VALUES (477,251,'1'), + (478,252,'1'), + (479,253,'1766001124'), + (480,254,'4'), + (481,255,'1'), + (482,256,'5'), + (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql new file mode 100644 index 0000000000..cde93d16ed --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql @@ -0,0 +1,5 @@ +INSERT INTO `ibexa_role` (`id`, `is_new`, `name`, `value`, `version`) +VALUES (1,0,'Anonymous','',0), + (2,0,'Administrator','0',0), + (3,0,'Editor','',0), + (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql new file mode 100644 index 0000000000..0436a276f7 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql @@ -0,0 +1,4 @@ +INSERT INTO `ibexa_section` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) +VALUES (1,'standard','','Standard','ezcontentnavigationpart'), + (2,'users','','Users','ezusernavigationpart'), + (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql new file mode 100644 index 0000000000..3a30397432 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_site_data` (`name`, `value`) +VALUES ('ibexa-release','6.0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql new file mode 100644 index 0000000000..9b111ca869 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql @@ -0,0 +1,13 @@ +INSERT INTO `ibexa_url_alias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) +VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), + ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), + ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), + ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), + ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), + ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), + ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), + ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), + ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), + ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), + ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), + ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql new file mode 100644 index 0000000000..d9a59e6dc4 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql @@ -0,0 +1,26 @@ +INSERT INTO `ibexa_url_alias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) +VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), + ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), + ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), + ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), + ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), + ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), + ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), + ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), + ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), + ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), + ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), + ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), + ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), + ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), + ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), + ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), + ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), + ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), + ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), + ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), + ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), + ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), + ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql new file mode 100644 index 0000000000..755c37655a --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql @@ -0,0 +1,4 @@ +INSERT INTO `ibexa_url_alias_ml_incr` (`id`) +VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), + (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), + (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql new file mode 100644 index 0000000000..a7d0cf247c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_user` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) +VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), + (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql new file mode 100644 index 0000000000..4dbaff1fbd --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql @@ -0,0 +1,7 @@ +INSERT INTO `ibexa_user_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) +VALUES (11,28,'','',1), + (42,31,'','',1), + (13,32,'Subtree','/1/2/',3), + (13,33,'Subtree','/1/43/',3), + (12,34,'','',2), + (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql new file mode 100644 index 0000000000..a3c25ef316 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql @@ -0,0 +1,3 @@ +INSERT INTO `ibexa_user_setting` (`is_enabled`, `max_login`, `user_id`) +VALUES (1,1000,10), + (1,10,14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql new file mode 100644 index 0000000000..6643c6b914 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql @@ -0,0 +1,2 @@ +INSERT INTO `ibexa_user_preference` (`name`, `user_id`, `value`) +SELECT 'focus_mode', u.contentobject_id, '0' FROM `ibexa_user` u WHERE u.login = 'admin'; From 6f621727cbb2198ac2dca1563716c5ecc45e931c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Fri, 17 Jul 2026 15:44:39 +0200 Subject: [PATCH 24/38] [Doctrine Migrations] Inlined SQL directly into migration classes Replaces the AbstractVersion + YAML manifest + one-SQL-statement-per-file mechanism with InstallSchemaMigration/ImportDataMigration implemented as plain Doctrine\Migrations\AbstractMigration subclasses with all SQL inlined via addSql(), still implementing IbexaMigrationInterface and tagged with IbexaMigrationTag so TaggedMigrationsRunner/IbexaOnlyDependencyFactory work unchanged. Long/multiline statements use PHP NOWDOC for readability, with CREATE TABLE bodies pretty-printed one column per line. Same conversion as ibexa/core#785 for the 4.6 line, adapted for this branch's ibexa_*-renamed schema and dbal 3.x platform class names (AbstractMySQLPlatform/PostgreSQLPlatform instead of MySqlPlatform/ PostgreSqlPlatform). --- .../Resources/migrations/import_data.yaml | 243 ------ .../Resources/migrations/install_schema.yaml | 773 ------------------ .../mysql/0001_create_ibexa_binary_file.sql | 1 - .../mysql/0002_create_ibexa_object_state.sql | 1 - .../0003_create_ibexa_object_state_group.sql | 1 - ...eate_ibexa_object_state_group_language.sql | 1 - ...005_create_ibexa_object_state_language.sql | 1 - .../0006_create_ibexa_object_state_link.sql | 1 - .../0007_create_ibexa_content_language.sql | 1 - .../sql/mysql/0008_create_ibexa_user.sql | 1 - .../mysql/0009_create_ibexa_content_tree.sql | 1 - .../0010_create_ibexa_content_bookmark.sql | 1 - .../mysql/0011_create_ibexa_content_type.sql | 1 - ...te_ibexa_content_type_field_definition.sql | 1 - ...ibexa_content_type_field_definition_ml.sql | 1 - ...te_ibexa_content_type_group_assignment.sql | 1 - .../0015_create_ibexa_content_type_name.sql | 1 - .../0016_create_ibexa_content_type_group.sql | 1 - .../sql/mysql/0017_create_ibexa_content.sql | 1 - .../mysql/0018_create_ibexa_content_field.sql | 1 - .../0019_create_ibexa_content_relation.sql | 1 - .../mysql/0020_create_ibexa_content_name.sql | 1 - .../mysql/0021_create_ibexa_content_trash.sql | 1 - .../0022_create_ibexa_content_version.sql | 1 - .../sql/mysql/0023_create_ibexa_dfs_file.sql | 1 - .../mysql/0024_create_ibexa_map_location.sql | 1 - .../mysql/0025_create_ibexa_image_file.sql | 1 - .../sql/mysql/0026_create_ibexa_keyword.sql | 1 - .../0027_create_ibexa_keyword_field_link.sql | 1 - .../sql/mysql/0028_create_ibexa_media.sql | 1 - .../0029_create_ibexa_node_assignment.sql | 1 - .../mysql/0030_create_ibexa_notification.sql | 1 - .../sql/mysql/0031_create_ibexa_package.sql | 1 - .../sql/mysql/0032_create_ibexa_policy.sql | 1 - .../0033_create_ibexa_policy_limitation.sql | 1 - ...4_create_ibexa_policy_limitation_value.sql | 1 - .../0035_create_ibexa_user_preference.sql | 1 - .../sql/mysql/0036_create_ibexa_role.sql | 1 - ...7_create_ibexa_search_object_word_link.sql | 1 - .../mysql/0038_create_ibexa_search_word.sql | 1 - .../sql/mysql/0039_create_ibexa_section.sql | 1 - .../sql/mysql/0040_create_ibexa_site_data.sql | 1 - .../sql/mysql/0041_create_ibexa_url.sql | 1 - .../0042_create_ibexa_url_content_link.sql | 1 - .../sql/mysql/0043_create_ibexa_url_alias.sql | 1 - .../mysql/0044_create_ibexa_url_alias_ml.sql | 1 - .../0045_create_ibexa_url_alias_ml_incr.sql | 1 - .../mysql/0046_create_ibexa_url_wildcard.sql | 1 - .../0047_create_ibexa_user_accountkey.sql | 1 - .../sql/mysql/0048_create_ibexa_user_role.sql | 1 - .../mysql/0049_create_ibexa_user_setting.sql | 1 - .../sql/mysql/0050_create_ibexa_setting.sql | 1 - .../mysql/0051_create_ibexa_token_type.sql | 1 - .../sql/mysql/0052_create_ibexa_token.sql | 1 - ...ark_ibexa_content_bookmark_location_fk.sql | 1 - ...ookmark_ibexa_content_bookmark_user_fk.sql | 1 - ...ntent_type_field_definition_ml_lang_fk.sql | 1 - ..._fk_ibexa_token_ibexa_token_type_id_fk.sql | 1 - .../data/0001_insert_ibexa_object_state.sql | 3 - .../0002_insert_ibexa_object_state_group.sql | 2 - ...sert_ibexa_object_state_group_language.sql | 2 - ...004_insert_ibexa_object_state_language.sql | 3 - .../0005_insert_ibexa_object_state_link.sql | 13 - .../0006_insert_ibexa_content_language.sql | 2 - .../data/0007_insert_ibexa_content_type.sql | 7 - ...rt_ibexa_content_type_field_definition.sql | 25 - ...rt_ibexa_content_type_group_assignment.sql | 7 - .../0010_insert_ibexa_content_type_name.sql | 7 - .../0011_insert_ibexa_content_type_group.sql | 4 - .../mysql/data/0012_insert_ibexa_content.sql | 13 - .../data/0013_insert_ibexa_content_field.sql | 41 - .../data/0014_insert_ibexa_content_name.sql | 13 - .../data/0015_insert_ibexa_content_tree.sql | 14 - .../0016_insert_ibexa_content_version.sql | 13 - .../0017_insert_ibexa_node_assignment.sql | 13 - .../mysql/data/0018_insert_ibexa_policy.sql | 9 - .../0019_insert_ibexa_policy_limitation.sql | 7 - ...0_insert_ibexa_policy_limitation_value.sql | 8 - .../sql/mysql/data/0021_insert_ibexa_role.sql | 5 - .../mysql/data/0022_insert_ibexa_section.sql | 4 - .../data/0023_insert_ibexa_site_data.sql | 2 - .../data/0024_insert_ibexa_url_alias.sql | 13 - .../data/0025_insert_ibexa_url_alias_ml.sql | 26 - .../0026_insert_ibexa_url_alias_ml_incr.sql | 4 - .../sql/mysql/data/0027_insert_ibexa_user.sql | 3 - .../data/0028_insert_ibexa_user_role.sql | 7 - .../data/0029_insert_ibexa_user_setting.sql | 3 - .../0030_insert_ibexa_user_preference.sql | 2 - .../0001_create_ibexa_binary_file.sql | 1 - .../0002_create_ibexa_object_state.sql | 1 - ...ject_state_ibexa_object_state_priority.sql | 1 - ..._object_state_ibexa_object_state_lmask.sql | 1 - ...ct_state_ibexa_object_state_identifier.sql | 1 - .../0006_create_ibexa_object_state_group.sql | 1 - ...e_group_ibexa_object_state_group_lmask.sql | 1 - ...up_ibexa_object_state_group_identifier.sql | 1 - ...eate_ibexa_object_state_group_language.sql | 1 - ...010_create_ibexa_object_state_language.sql | 1 - .../0011_create_ibexa_object_state_link.sql | 1 - .../0012_create_ibexa_content_language.sql | 1 - ...t_language_ibexa_content_language_name.sql | 1 - .../sql/postgresql/0014_create_ibexa_user.sql | 1 - ...0015_index_ibexa_user_ibexa_user_login.sql | 1 - .../0016_create_ibexa_content_tree.sql | 1 - ...tent_tree_ibexa_content_tree_p_node_id.sql | 1 - ...ent_tree_ibexa_content_tree_path_ident.sql | 1 - ...tent_tree_contentobject_id_path_string.sql | 1 - ..._content_tree_ibexa_content_tree_co_id.sql | 1 - ..._content_tree_ibexa_content_tree_depth.sql | 1 - ...a_content_tree_ibexa_content_tree_path.sql | 1 - ...nt_tree_ibexa_content_modified_subnode.sql | 1 - ...tent_tree_ibexa_content_tree_remote_id.sql | 1 - .../0025_create_ibexa_content_bookmark.sql | 1 - ...okmark_ibexa_content_bookmark_location.sql | 1 - ...t_bookmark_ibexa_content_bookmark_user.sql | 1 - ...k_ibexa_content_bookmark_user_location.sql | 1 - .../0029_create_ibexa_content_type.sql | 1 - ...content_type_ibexa_content_type_status.sql | 1 - ...ent_type_ibexa_content_type_identifier.sql | 1 - ...te_ibexa_content_type_field_definition.sql | 1 - ...exa_content_type_field_definition_ctid.sql | 1 - ...bexa_content_type_field_definition_dts.sql | 1 - ...ibexa_content_type_field_definition_ml.sql | 1 - ...ntent_type_field_definition_ml_lang_fk.sql | 1 - ...te_ibexa_content_type_group_assignment.sql | 1 - .../0038_create_ibexa_content_type_name.sql | 1 - .../0039_create_ibexa_content_type_group.sql | 1 - .../postgresql/0040_create_ibexa_content.sql | 1 - ...ex_ibexa_content_ibexa_content_type_id.sql | 1 - ...ndex_ibexa_content_ibexa_content_lmask.sql | 1 - ..._index_ibexa_content_ibexa_content_pub.sql | 1 - ...ex_ibexa_content_ibexa_content_section.sql | 1 - ...a_content_ibexa_content_currentversion.sql | 1 - ...ndex_ibexa_content_ibexa_content_owner.sql | 1 - ...dex_ibexa_content_ibexa_content_status.sql | 1 - ..._ibexa_content_ibexa_content_remote_id.sql | 1 - .../0049_create_ibexa_content_field.sql | 1 - ...bexa_content_field_co_id_ver_lang_code.sql | 1 - ...bexa_content_field_field_definition_id.sql | 1 - ...ex_ibexa_content_field_sort_key_string.sql | 1 - ...ield_ibexa_content_field_language_code.sql | 1 - ...index_ibexa_content_field_sort_key_int.sql | 1 - ...nt_field_ibexa_content_field_co_id_ver.sql | 1 - .../0056_create_ibexa_content_relation.sql | 1 - ...lation_ibexa_content_relation_to_co_id.sql | 1 - ...t_relation_ibexa_content_relation_from.sql | 1 - ...elation_ibexa_content_relation_ccfd_id.sql | 1 - .../0060_create_ibexa_content_name.sql | 1 - ...ontent_name_ibexa_content_name_lang_id.sql | 1 - ...content_name_ibexa_content_name_cov_id.sql | 1 - ...a_content_name_ibexa_content_name_name.sql | 1 - .../0064_create_ibexa_content_trash.sql | 1 - ...ontent_trash_ibexa_content_trash_depth.sql | 1 - ...nt_trash_ibexa_content_trash_p_node_id.sql | 1 - ...t_trash_ibexa_content_trash_path_ident.sql | 1 - ...ontent_trash_ibexa_content_trash_co_id.sql | 1 - ...h_ibexa_content_trash_modified_subnode.sql | 1 - ...content_trash_ibexa_content_trash_path.sql | 1 - .../0071_create_ibexa_content_version.sql | 1 - ...t_version_ibexa_content_version_status.sql | 1 - ..._version_ibexa_content_version_idx_ver.sql | 1 - ...rsion_ibexa_content_version_idx_status.sql | 1 - ...rsion_ibexa_content_version_creator_id.sql | 1 - .../postgresql/0076_create_ibexa_dfs_file.sql | 1 - ...exa_dfs_file_ibexa_dfs_file_name_trunk.sql | 1 - ...a_dfs_file_ibexa_dfs_file_expired_name.sql | 1 - ...dex_ibexa_dfs_file_ibexa_dfs_file_name.sql | 1 - ...ex_ibexa_dfs_file_ibexa_dfs_file_mtime.sql | 1 - .../0081_create_ibexa_map_location.sql | 1 - ...xa_map_location_latitude_longitude_key.sql | 1 - .../0083_create_ibexa_image_file.sql | 1 - ...ibexa_image_file_ibexa_image_file_file.sql | 1 - ...ibexa_image_file_ibexa_image_file_coid.sql | 1 - .../postgresql/0086_create_ibexa_keyword.sql | 1 - ...ex_ibexa_keyword_ibexa_keyword_keyword.sql | 1 - .../0088_create_ibexa_keyword_field_link.sql | 1 - ...eld_link_ibexa_keyword_field_link_oaid.sql | 1 - ...link_ibexa_keyword_field_link_kid_oaid.sql | 1 - ...link_ibexa_keyword_field_link_oaid_ver.sql | 1 - .../postgresql/0092_create_ibexa_media.sql | 1 - .../0093_create_ibexa_node_assignment.sql | 1 - ...signment_ibexa_node_assignment_is_main.sql | 1 - ...ignment_ibexa_node_assignment_coid_cov.sql | 1 - ...ment_ibexa_node_assignment_parent_node.sql | 1 - ...nment_ibexa_node_assignment_co_version.sql | 1 - .../0098_create_ibexa_notification.sql | 1 - ...on_ibexa_notification_owner_is_pending.sql | 1 - ..._notification_ibexa_notification_owner.sql | 1 - .../postgresql/0101_create_ibexa_package.sql | 1 - .../postgresql/0102_create_ibexa_policy.sql | 1 - ...ndex_ibexa_policy_ibexa_policy_role_id.sql | 1 - ..._ibexa_policy_ibexa_policy_original_id.sql | 1 - .../0105_create_ibexa_policy_limitation.sql | 1 - ...bexa_policy_limitation_ibexa_policy_id.sql | 1 - ...7_create_ibexa_policy_limitation_value.sql | 1 - ...alue_ibexa_policy_limit_value_limit_id.sql | 1 - ...alue_ibexa_policy_limitation_value_val.sql | 1 - .../0110_create_ibexa_user_preference.sql | 1 - ...ence_ibexa_user_preference_user_id_idx.sql | 1 - ..._preference_ibexa_user_preference_name.sql | 1 - .../sql/postgresql/0113_create_ibexa_role.sql | 1 - ...4_create_ibexa_search_object_word_link.sql | 1 - ...k_ibexa_search_object_word_link_object.sql | 1 - ...exa_search_object_word_link_identifier.sql | 1 - ..._search_object_word_link_integer_value.sql | 1 - ...ink_ibexa_search_object_word_link_word.sql | 1 - ...bexa_search_object_word_link_frequency.sql | 1 - .../0120_create_ibexa_search_word.sql | 1 - ...a_search_word_ibexa_search_word_word_i.sql | 1 - ...earch_word_ibexa_search_word_obj_count.sql | 1 - .../postgresql/0123_create_ibexa_section.sql | 1 - .../0124_create_ibexa_site_data.sql | 1 - .../sql/postgresql/0125_create_ibexa_url.sql | 1 - .../0126_index_ibexa_url_ibexa_url_url.sql | 1 - .../0127_create_ibexa_url_content_link.sql | 1 - ...a_url_content_link_ibexa_url_ol_coa_id.sql | 1 - ...a_url_content_link_ibexa_url_ol_url_id.sql | 1 - ..._content_link_ibexa_url_ol_coa_version.sql | 1 - ...l_content_link_ibexa_url_ol_coa_id_cav.sql | 1 - .../0132_create_ibexa_url_alias.sql | 1 - ...a_url_alias_ibexa_url_alias_source_md5.sql | 1 - ...xa_url_alias_ibexa_url_alias_wcard_fwd.sql | 1 - ...rl_alias_ibexa_url_alias_forward_to_id.sql | 1 - ...rl_alias_ibexa_url_alias_imp_wcard_fwd.sql | 1 - ...a_url_alias_ibexa_url_alias_source_url.sql | 1 - ...bexa_url_alias_ibexa_url_alias_desturl.sql | 1 - .../0139_create_ibexa_url_alias_ml.sql | 1 - ...lias_ml_ibexa_url_alias_ml_actt_org_al.sql | 1 - ..._alias_ml_ibexa_url_alias_ml_text_lang.sql | 1 - ...s_ml_ibexa_url_alias_ml_par_act_id_lnk.sql | 1 - ...lias_ml_ibexa_url_alias_ml_par_lnk_txt.sql | 1 - ...rl_alias_ml_ibexa_url_alias_ml_act_org.sql | 1 - ...a_url_alias_ml_ibexa_url_alias_ml_text.sql | 1 - ...a_url_alias_ml_ibexa_url_alias_ml_link.sql | 1 - ...exa_url_alias_ml_ibexa_url_alias_ml_id.sql | 1 - .../0148_create_ibexa_url_alias_ml_incr.sql | 1 - .../0149_create_ibexa_url_wildcard.sql | 1 - .../0150_create_ibexa_user_accountkey.sql | 1 - ...1_index_ibexa_user_accountkey_hash_key.sql | 1 - .../0152_create_ibexa_user_role.sql | 1 - ...bexa_user_role_ibexa_user_role_role_id.sql | 1 - ..._role_ibexa_user_role_contentobject_id.sql | 1 - .../0155_create_ibexa_user_setting.sql | 1 - .../postgresql/0156_create_ibexa_setting.sql | 1 - ...7_index_ibexa_setting_ibexa_setting_id.sql | 1 - ...setting_ibexa_setting_group_identifier.sql | 1 - .../0159_create_ibexa_token_type.sql | 1 - ...exa_token_type_ibexa_token_type_unique.sql | 1 - .../postgresql/0161_create_ibexa_token.sql | 1 - ...index_ibexa_token_IDX_B5412887C54C8C93.sql | 1 - ...3_index_ibexa_token_ibexa_token_unique.sql | 1 - ...ark_ibexa_content_bookmark_location_fk.sql | 1 - ...ookmark_ibexa_content_bookmark_user_fk.sql | 1 - ...ntent_type_field_definition_ml_lang_fk.sql | 1 - ..._fk_ibexa_token_ibexa_token_type_id_fk.sql | 1 - .../data/0001_insert_ibexa_object_state.sql | 3 - .../0002_insert_ibexa_object_state_group.sql | 2 - ...sert_ibexa_object_state_group_language.sql | 2 - ...004_insert_ibexa_object_state_language.sql | 3 - .../0005_insert_ibexa_object_state_link.sql | 13 - .../0006_insert_ibexa_content_language.sql | 2 - .../data/0007_insert_ibexa_content_type.sql | 7 - ...rt_ibexa_content_type_field_definition.sql | 25 - ...rt_ibexa_content_type_group_assignment.sql | 7 - .../0010_insert_ibexa_content_type_name.sql | 7 - .../0011_insert_ibexa_content_type_group.sql | 4 - .../data/0012_insert_ibexa_content.sql | 13 - .../data/0013_insert_ibexa_content_field.sql | 41 - .../data/0014_insert_ibexa_content_name.sql | 13 - .../data/0015_insert_ibexa_content_tree.sql | 14 - .../0016_insert_ibexa_content_version.sql | 13 - .../0017_insert_ibexa_node_assignment.sql | 13 - .../data/0018_insert_ibexa_policy.sql | 9 - .../0019_insert_ibexa_policy_limitation.sql | 7 - ...0_insert_ibexa_policy_limitation_value.sql | 8 - .../data/0021_insert_ibexa_role.sql | 5 - .../data/0022_insert_ibexa_section.sql | 4 - .../data/0023_insert_ibexa_site_data.sql | 2 - .../data/0024_insert_ibexa_url_alias.sql | 13 - .../data/0025_insert_ibexa_url_alias_ml.sql | 26 - .../0026_insert_ibexa_url_alias_ml_incr.sql | 4 - .../data/0027_insert_ibexa_user.sql | 3 - .../data/0028_insert_ibexa_user_role.sql | 7 - .../data/0029_insert_ibexa_user_setting.sql | 3 - .../0030_insert_ibexa_user_preference.sql | 2 - ...setval_ibexa_object_state_group_id_seq.sql | 2 - .../0032_setval_ibexa_object_state_id_seq.sql | 1 - ...3_setval_ibexa_content_bookmark_id_seq.sql | 1 - ...a_content_type_field_definition_id_seq.sql | 1 - .../0035_setval_ibexa_content_type_id_seq.sql | 1 - ...setval_ibexa_content_type_group_id_seq.sql | 1 - ...0037_setval_ibexa_content_field_id_seq.sql | 1 - .../data/0038_setval_ibexa_content_id_seq.sql | 1 - ...9_setval_ibexa_content_relation_id_seq.sql | 1 - ..._setval_ibexa_content_tree_node_id_seq.sql | 1 - ...41_setval_ibexa_content_version_id_seq.sql | 1 - .../0042_setval_ibexa_image_file_id_seq.sql | 1 - ...setval_ibexa_keyword_field_link_id_seq.sql | 1 - .../data/0044_setval_ibexa_keyword_id_seq.sql | 1 - ...45_setval_ibexa_node_assignment_id_seq.sql | 1 - .../0046_setval_ibexa_notification_id_seq.sql | 1 - .../data/0047_setval_ibexa_package_id_seq.sql | 1 - .../data/0048_setval_ibexa_policy_id_seq.sql | 1 - ..._setval_ibexa_policy_limitation_id_seq.sql | 1 - ...l_ibexa_policy_limitation_value_id_seq.sql | 1 - ...51_setval_ibexa_user_preference_id_seq.sql | 1 - .../data/0052_setval_ibexa_role_id_seq.sql | 1 - ...l_ibexa_search_object_word_link_id_seq.sql | 1 - .../0054_setval_ibexa_search_word_id_seq.sql | 1 - .../data/0055_setval_ibexa_section_id_seq.sql | 1 - .../data/0056_setval_ibexa_url_id_seq.sql | 1 - .../0057_setval_ibexa_url_alias_id_seq.sql | 1 - ..._setval_ibexa_url_alias_ml_incr_id_seq.sql | 1 - .../0059_setval_ibexa_url_wildcard_id_seq.sql | 1 - ...60_setval_ibexa_user_accountkey_id_seq.sql | 1 - .../0061_setval_ibexa_user_role_id_seq.sql | 1 - .../sqlite/0001_create_ibexa_binary_file.sql | 1 - .../sqlite/0002_create_ibexa_object_state.sql | 1 - ...ject_state_ibexa_object_state_priority.sql | 1 - ..._object_state_ibexa_object_state_lmask.sql | 1 - ...ct_state_ibexa_object_state_identifier.sql | 1 - .../0006_create_ibexa_object_state_group.sql | 1 - ...e_group_ibexa_object_state_group_lmask.sql | 1 - ...up_ibexa_object_state_group_identifier.sql | 1 - ...eate_ibexa_object_state_group_language.sql | 1 - ...010_create_ibexa_object_state_language.sql | 1 - .../0011_create_ibexa_object_state_link.sql | 1 - .../0012_create_ibexa_content_language.sql | 1 - ...t_language_ibexa_content_language_name.sql | 1 - .../sql/sqlite/0014_create_ibexa_user.sql | 1 - ...0015_index_ibexa_user_ibexa_user_login.sql | 1 - .../sqlite/0016_create_ibexa_content_tree.sql | 1 - ...tent_tree_ibexa_content_tree_p_node_id.sql | 1 - ...ent_tree_ibexa_content_tree_path_ident.sql | 1 - ...tent_tree_contentobject_id_path_string.sql | 1 - ..._content_tree_ibexa_content_tree_co_id.sql | 1 - ..._content_tree_ibexa_content_tree_depth.sql | 1 - ...a_content_tree_ibexa_content_tree_path.sql | 1 - ...nt_tree_ibexa_content_modified_subnode.sql | 1 - ...tent_tree_ibexa_content_tree_remote_id.sql | 1 - .../0025_create_ibexa_content_bookmark.sql | 1 - ...okmark_ibexa_content_bookmark_location.sql | 1 - ...t_bookmark_ibexa_content_bookmark_user.sql | 1 - ...k_ibexa_content_bookmark_user_location.sql | 1 - .../sqlite/0029_create_ibexa_content_type.sql | 1 - ...content_type_ibexa_content_type_status.sql | 1 - ...ent_type_ibexa_content_type_identifier.sql | 1 - ...te_ibexa_content_type_field_definition.sql | 1 - ...exa_content_type_field_definition_ctid.sql | 1 - ...bexa_content_type_field_definition_dts.sql | 1 - ...ibexa_content_type_field_definition_ml.sql | 1 - ...ntent_type_field_definition_ml_lang_fk.sql | 1 - ...te_ibexa_content_type_group_assignment.sql | 1 - .../0038_create_ibexa_content_type_name.sql | 1 - .../0039_create_ibexa_content_type_group.sql | 1 - .../sql/sqlite/0040_create_ibexa_content.sql | 1 - ...ex_ibexa_content_ibexa_content_type_id.sql | 1 - ...ndex_ibexa_content_ibexa_content_lmask.sql | 1 - ..._index_ibexa_content_ibexa_content_pub.sql | 1 - ...ex_ibexa_content_ibexa_content_section.sql | 1 - ...a_content_ibexa_content_currentversion.sql | 1 - ...ndex_ibexa_content_ibexa_content_owner.sql | 1 - ...dex_ibexa_content_ibexa_content_status.sql | 1 - ..._ibexa_content_ibexa_content_remote_id.sql | 1 - .../0049_create_ibexa_content_field.sql | 1 - ...bexa_content_field_co_id_ver_lang_code.sql | 1 - ...bexa_content_field_field_definition_id.sql | 1 - ...ex_ibexa_content_field_sort_key_string.sql | 1 - ...ield_ibexa_content_field_language_code.sql | 1 - ...index_ibexa_content_field_sort_key_int.sql | 1 - ...nt_field_ibexa_content_field_co_id_ver.sql | 1 - .../0056_create_ibexa_content_relation.sql | 1 - ...lation_ibexa_content_relation_to_co_id.sql | 1 - ...t_relation_ibexa_content_relation_from.sql | 1 - ...elation_ibexa_content_relation_ccfd_id.sql | 1 - .../sqlite/0060_create_ibexa_content_name.sql | 1 - ...ontent_name_ibexa_content_name_lang_id.sql | 1 - ...content_name_ibexa_content_name_cov_id.sql | 1 - ...a_content_name_ibexa_content_name_name.sql | 1 - .../0064_create_ibexa_content_trash.sql | 1 - ...ontent_trash_ibexa_content_trash_depth.sql | 1 - ...nt_trash_ibexa_content_trash_p_node_id.sql | 1 - ...t_trash_ibexa_content_trash_path_ident.sql | 1 - ...ontent_trash_ibexa_content_trash_co_id.sql | 1 - ...h_ibexa_content_trash_modified_subnode.sql | 1 - ...content_trash_ibexa_content_trash_path.sql | 1 - .../0071_create_ibexa_content_version.sql | 1 - ...t_version_ibexa_content_version_status.sql | 1 - ..._version_ibexa_content_version_idx_ver.sql | 1 - ...rsion_ibexa_content_version_idx_status.sql | 1 - ...rsion_ibexa_content_version_creator_id.sql | 1 - .../sql/sqlite/0076_create_ibexa_dfs_file.sql | 1 - ...exa_dfs_file_ibexa_dfs_file_name_trunk.sql | 1 - ...a_dfs_file_ibexa_dfs_file_expired_name.sql | 1 - ...dex_ibexa_dfs_file_ibexa_dfs_file_name.sql | 1 - ...ex_ibexa_dfs_file_ibexa_dfs_file_mtime.sql | 1 - .../sqlite/0081_create_ibexa_map_location.sql | 1 - ...xa_map_location_latitude_longitude_key.sql | 1 - .../sqlite/0083_create_ibexa_image_file.sql | 1 - ...ibexa_image_file_ibexa_image_file_file.sql | 1 - ...ibexa_image_file_ibexa_image_file_coid.sql | 1 - .../sql/sqlite/0086_create_ibexa_keyword.sql | 1 - ...ex_ibexa_keyword_ibexa_keyword_keyword.sql | 1 - .../0088_create_ibexa_keyword_field_link.sql | 1 - ...eld_link_ibexa_keyword_field_link_oaid.sql | 1 - ...link_ibexa_keyword_field_link_kid_oaid.sql | 1 - ...link_ibexa_keyword_field_link_oaid_ver.sql | 1 - .../sql/sqlite/0092_create_ibexa_media.sql | 1 - .../0093_create_ibexa_node_assignment.sql | 1 - ...signment_ibexa_node_assignment_is_main.sql | 1 - ...ignment_ibexa_node_assignment_coid_cov.sql | 1 - ...ment_ibexa_node_assignment_parent_node.sql | 1 - ...nment_ibexa_node_assignment_co_version.sql | 1 - .../sqlite/0098_create_ibexa_notification.sql | 1 - ...on_ibexa_notification_owner_is_pending.sql | 1 - ..._notification_ibexa_notification_owner.sql | 1 - .../sql/sqlite/0101_create_ibexa_package.sql | 1 - .../sql/sqlite/0102_create_ibexa_policy.sql | 1 - ...ndex_ibexa_policy_ibexa_policy_role_id.sql | 1 - ..._ibexa_policy_ibexa_policy_original_id.sql | 1 - .../0105_create_ibexa_policy_limitation.sql | 1 - ...bexa_policy_limitation_ibexa_policy_id.sql | 1 - ...7_create_ibexa_policy_limitation_value.sql | 1 - ...alue_ibexa_policy_limit_value_limit_id.sql | 1 - ...alue_ibexa_policy_limitation_value_val.sql | 1 - .../0110_create_ibexa_user_preference.sql | 1 - ...ence_ibexa_user_preference_user_id_idx.sql | 1 - ..._preference_ibexa_user_preference_name.sql | 1 - .../sql/sqlite/0113_create_ibexa_role.sql | 1 - ...4_create_ibexa_search_object_word_link.sql | 1 - ...k_ibexa_search_object_word_link_object.sql | 1 - ...exa_search_object_word_link_identifier.sql | 1 - ..._search_object_word_link_integer_value.sql | 1 - ...ink_ibexa_search_object_word_link_word.sql | 1 - ...bexa_search_object_word_link_frequency.sql | 1 - .../sqlite/0120_create_ibexa_search_word.sql | 1 - ...a_search_word_ibexa_search_word_word_i.sql | 1 - ...earch_word_ibexa_search_word_obj_count.sql | 1 - .../sql/sqlite/0123_create_ibexa_section.sql | 1 - .../sqlite/0124_create_ibexa_site_data.sql | 1 - .../sql/sqlite/0125_create_ibexa_url.sql | 1 - .../0126_index_ibexa_url_ibexa_url_url.sql | 1 - .../0127_create_ibexa_url_content_link.sql | 1 - ...a_url_content_link_ibexa_url_ol_coa_id.sql | 1 - ...a_url_content_link_ibexa_url_ol_url_id.sql | 1 - ..._content_link_ibexa_url_ol_coa_version.sql | 1 - ...l_content_link_ibexa_url_ol_coa_id_cav.sql | 1 - .../sqlite/0132_create_ibexa_url_alias.sql | 1 - ...a_url_alias_ibexa_url_alias_source_md5.sql | 1 - ...xa_url_alias_ibexa_url_alias_wcard_fwd.sql | 1 - ...rl_alias_ibexa_url_alias_forward_to_id.sql | 1 - ...rl_alias_ibexa_url_alias_imp_wcard_fwd.sql | 1 - ...a_url_alias_ibexa_url_alias_source_url.sql | 1 - ...bexa_url_alias_ibexa_url_alias_desturl.sql | 1 - .../sqlite/0139_create_ibexa_url_alias_ml.sql | 1 - ...lias_ml_ibexa_url_alias_ml_actt_org_al.sql | 1 - ..._alias_ml_ibexa_url_alias_ml_text_lang.sql | 1 - ...s_ml_ibexa_url_alias_ml_par_act_id_lnk.sql | 1 - ...lias_ml_ibexa_url_alias_ml_par_lnk_txt.sql | 1 - ...rl_alias_ml_ibexa_url_alias_ml_act_org.sql | 1 - ...a_url_alias_ml_ibexa_url_alias_ml_text.sql | 1 - ...a_url_alias_ml_ibexa_url_alias_ml_link.sql | 1 - ...exa_url_alias_ml_ibexa_url_alias_ml_id.sql | 1 - .../0148_create_ibexa_url_alias_ml_incr.sql | 1 - .../sqlite/0149_create_ibexa_url_wildcard.sql | 1 - .../0150_create_ibexa_user_accountkey.sql | 1 - ...1_index_ibexa_user_accountkey_hash_key.sql | 1 - .../sqlite/0152_create_ibexa_user_role.sql | 1 - ...bexa_user_role_ibexa_user_role_role_id.sql | 1 - ..._role_ibexa_user_role_contentobject_id.sql | 1 - .../sqlite/0155_create_ibexa_user_setting.sql | 1 - .../sql/sqlite/0156_create_ibexa_setting.sql | 2 - ...7_index_ibexa_setting_ibexa_setting_id.sql | 1 - ...setting_ibexa_setting_group_identifier.sql | 1 - .../sqlite/0159_create_ibexa_token_type.sql | 1 - ...exa_token_type_ibexa_token_type_unique.sql | 1 - .../sql/sqlite/0161_create_ibexa_token.sql | 1 - ...index_ibexa_token_IDX_B5412887C54C8C93.sql | 1 - ...3_index_ibexa_token_ibexa_token_unique.sql | 1 - .../data/0001_insert_ibexa_object_state.sql | 3 - .../0002_insert_ibexa_object_state_group.sql | 2 - ...sert_ibexa_object_state_group_language.sql | 2 - ...004_insert_ibexa_object_state_language.sql | 3 - .../0005_insert_ibexa_object_state_link.sql | 13 - .../0006_insert_ibexa_content_language.sql | 2 - .../data/0007_insert_ibexa_content_type.sql | 7 - ...rt_ibexa_content_type_field_definition.sql | 25 - ...rt_ibexa_content_type_group_assignment.sql | 7 - .../0010_insert_ibexa_content_type_name.sql | 7 - .../0011_insert_ibexa_content_type_group.sql | 4 - .../sqlite/data/0012_insert_ibexa_content.sql | 13 - .../data/0013_insert_ibexa_content_field.sql | 41 - .../data/0014_insert_ibexa_content_name.sql | 13 - .../data/0015_insert_ibexa_content_tree.sql | 14 - .../0016_insert_ibexa_content_version.sql | 13 - .../0017_insert_ibexa_node_assignment.sql | 13 - .../sqlite/data/0018_insert_ibexa_policy.sql | 9 - .../0019_insert_ibexa_policy_limitation.sql | 7 - ...0_insert_ibexa_policy_limitation_value.sql | 8 - .../sqlite/data/0021_insert_ibexa_role.sql | 5 - .../sqlite/data/0022_insert_ibexa_section.sql | 4 - .../data/0023_insert_ibexa_site_data.sql | 2 - .../data/0024_insert_ibexa_url_alias.sql | 13 - .../data/0025_insert_ibexa_url_alias_ml.sql | 26 - .../0026_insert_ibexa_url_alias_ml_incr.sql | 4 - .../sqlite/data/0027_insert_ibexa_user.sql | 3 - .../data/0028_insert_ibexa_user_role.sql | 7 - .../data/0029_insert_ibexa_user_setting.sql | 3 - .../0030_insert_ibexa_user_preference.sql | 2 - 509 files changed, 2260 deletions(-) delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql delete mode 100644 src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml b/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml deleted file mode 100644 index 33aff3c69e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/import_data.yaml +++ /dev/null @@ -1,243 +0,0 @@ -up: - - file: 'sql/mysql/data/0001_insert_ibexa_object_state.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0001_insert_ibexa_object_state.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0001_insert_ibexa_object_state.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0002_insert_ibexa_object_state_group.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0002_insert_ibexa_object_state_group.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0002_insert_ibexa_object_state_group.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0004_insert_ibexa_object_state_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0004_insert_ibexa_object_state_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0004_insert_ibexa_object_state_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0005_insert_ibexa_object_state_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0005_insert_ibexa_object_state_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0005_insert_ibexa_object_state_link.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0006_insert_ibexa_content_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0006_insert_ibexa_content_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0006_insert_ibexa_content_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0007_insert_ibexa_content_type.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0007_insert_ibexa_content_type.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0007_insert_ibexa_content_type.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0010_insert_ibexa_content_type_name.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0010_insert_ibexa_content_type_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0010_insert_ibexa_content_type_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0011_insert_ibexa_content_type_group.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0011_insert_ibexa_content_type_group.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0011_insert_ibexa_content_type_group.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0012_insert_ibexa_content.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0012_insert_ibexa_content.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0012_insert_ibexa_content.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0013_insert_ibexa_content_field.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0013_insert_ibexa_content_field.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0013_insert_ibexa_content_field.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0014_insert_ibexa_content_name.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0014_insert_ibexa_content_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0014_insert_ibexa_content_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0015_insert_ibexa_content_tree.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0015_insert_ibexa_content_tree.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0015_insert_ibexa_content_tree.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0016_insert_ibexa_content_version.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0016_insert_ibexa_content_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0016_insert_ibexa_content_version.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0017_insert_ibexa_node_assignment.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0017_insert_ibexa_node_assignment.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0017_insert_ibexa_node_assignment.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0018_insert_ibexa_policy.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0018_insert_ibexa_policy.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0018_insert_ibexa_policy.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0019_insert_ibexa_policy_limitation.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0021_insert_ibexa_role.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0021_insert_ibexa_role.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0021_insert_ibexa_role.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0022_insert_ibexa_section.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0022_insert_ibexa_section.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0022_insert_ibexa_section.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0023_insert_ibexa_site_data.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0023_insert_ibexa_site_data.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0023_insert_ibexa_site_data.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0024_insert_ibexa_url_alias.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0024_insert_ibexa_url_alias.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0024_insert_ibexa_url_alias.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0027_insert_ibexa_user.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0027_insert_ibexa_user.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0027_insert_ibexa_user.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0028_insert_ibexa_user_role.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0028_insert_ibexa_user_role.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0028_insert_ibexa_user_role.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0029_insert_ibexa_user_setting.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0029_insert_ibexa_user_setting.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0029_insert_ibexa_user_setting.sql' - platforms: 'sqlite' - - file: 'sql/mysql/data/0030_insert_ibexa_user_preference.sql' - platforms: 'mysql' - - file: 'sql/postgresql/data/0030_insert_ibexa_user_preference.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/data/0030_insert_ibexa_user_preference.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql' - platforms: 'postgresql' - - file: 'sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql' - platforms: 'postgresql' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml b/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml deleted file mode 100644 index a2f4ec0ffe..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/install_schema.yaml +++ /dev/null @@ -1,773 +0,0 @@ -up: - - file: 'sql/mysql/0001_create_ibexa_binary_file.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0001_create_ibexa_binary_file.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0001_create_ibexa_binary_file.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0002_create_ibexa_object_state.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0002_create_ibexa_object_state.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0002_create_ibexa_object_state.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0003_create_ibexa_object_state_group.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0006_create_ibexa_object_state_group.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0006_create_ibexa_object_state_group.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0004_create_ibexa_object_state_group_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0009_create_ibexa_object_state_group_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0009_create_ibexa_object_state_group_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0005_create_ibexa_object_state_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0010_create_ibexa_object_state_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0010_create_ibexa_object_state_language.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0006_create_ibexa_object_state_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0011_create_ibexa_object_state_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0011_create_ibexa_object_state_link.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0007_create_ibexa_content_language.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0012_create_ibexa_content_language.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0012_create_ibexa_content_language.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0008_create_ibexa_user.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0014_create_ibexa_user.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0014_create_ibexa_user.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0009_create_ibexa_content_tree.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0016_create_ibexa_content_tree.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0016_create_ibexa_content_tree.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0010_create_ibexa_content_bookmark.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0025_create_ibexa_content_bookmark.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0025_create_ibexa_content_bookmark.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0011_create_ibexa_content_type.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0029_create_ibexa_content_type.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0029_create_ibexa_content_type.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0012_create_ibexa_content_type_field_definition.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0032_create_ibexa_content_type_field_definition.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0032_create_ibexa_content_type_field_definition.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0014_create_ibexa_content_type_group_assignment.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0015_create_ibexa_content_type_name.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0038_create_ibexa_content_type_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0038_create_ibexa_content_type_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0016_create_ibexa_content_type_group.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0039_create_ibexa_content_type_group.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0039_create_ibexa_content_type_group.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0017_create_ibexa_content.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0040_create_ibexa_content.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0040_create_ibexa_content.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0018_create_ibexa_content_field.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0049_create_ibexa_content_field.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0049_create_ibexa_content_field.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0019_create_ibexa_content_relation.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0056_create_ibexa_content_relation.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0056_create_ibexa_content_relation.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0020_create_ibexa_content_name.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0060_create_ibexa_content_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0060_create_ibexa_content_name.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0021_create_ibexa_content_trash.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0064_create_ibexa_content_trash.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0064_create_ibexa_content_trash.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0022_create_ibexa_content_version.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0071_create_ibexa_content_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0071_create_ibexa_content_version.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0023_create_ibexa_dfs_file.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0076_create_ibexa_dfs_file.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0076_create_ibexa_dfs_file.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0024_create_ibexa_map_location.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0081_create_ibexa_map_location.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0081_create_ibexa_map_location.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0025_create_ibexa_image_file.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0083_create_ibexa_image_file.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0083_create_ibexa_image_file.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0026_create_ibexa_keyword.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0086_create_ibexa_keyword.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0086_create_ibexa_keyword.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0027_create_ibexa_keyword_field_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0088_create_ibexa_keyword_field_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0088_create_ibexa_keyword_field_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0028_create_ibexa_media.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0092_create_ibexa_media.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0092_create_ibexa_media.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0029_create_ibexa_node_assignment.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0093_create_ibexa_node_assignment.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0093_create_ibexa_node_assignment.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0030_create_ibexa_notification.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0098_create_ibexa_notification.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0098_create_ibexa_notification.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0031_create_ibexa_package.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0101_create_ibexa_package.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0101_create_ibexa_package.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0032_create_ibexa_policy.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0102_create_ibexa_policy.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0102_create_ibexa_policy.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0033_create_ibexa_policy_limitation.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0105_create_ibexa_policy_limitation.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0105_create_ibexa_policy_limitation.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0034_create_ibexa_policy_limitation_value.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0107_create_ibexa_policy_limitation_value.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0107_create_ibexa_policy_limitation_value.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0035_create_ibexa_user_preference.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0110_create_ibexa_user_preference.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0110_create_ibexa_user_preference.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0036_create_ibexa_role.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0113_create_ibexa_role.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0113_create_ibexa_role.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0037_create_ibexa_search_object_word_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0114_create_ibexa_search_object_word_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0114_create_ibexa_search_object_word_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0038_create_ibexa_search_word.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0120_create_ibexa_search_word.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0120_create_ibexa_search_word.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0039_create_ibexa_section.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0123_create_ibexa_section.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0123_create_ibexa_section.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0040_create_ibexa_site_data.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0124_create_ibexa_site_data.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0124_create_ibexa_site_data.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0041_create_ibexa_url.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0125_create_ibexa_url.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0125_create_ibexa_url.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0042_create_ibexa_url_content_link.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0127_create_ibexa_url_content_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0127_create_ibexa_url_content_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0043_create_ibexa_url_alias.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0132_create_ibexa_url_alias.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0132_create_ibexa_url_alias.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0044_create_ibexa_url_alias_ml.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0139_create_ibexa_url_alias_ml.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0139_create_ibexa_url_alias_ml.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0046_create_ibexa_url_wildcard.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0149_create_ibexa_url_wildcard.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0149_create_ibexa_url_wildcard.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0047_create_ibexa_user_accountkey.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0150_create_ibexa_user_accountkey.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0150_create_ibexa_user_accountkey.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0048_create_ibexa_user_role.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0152_create_ibexa_user_role.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0152_create_ibexa_user_role.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0049_create_ibexa_user_setting.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0155_create_ibexa_user_setting.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0155_create_ibexa_user_setting.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0050_create_ibexa_setting.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0156_create_ibexa_setting.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0156_create_ibexa_setting.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0051_create_ibexa_token_type.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0159_create_ibexa_token_type.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0159_create_ibexa_token_type.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0052_create_ibexa_token.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0161_create_ibexa_token.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0161_create_ibexa_token.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql' - platforms: 'sqlite' - - file: 'sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql' - platforms: 'postgresql' - - file: 'sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql' - platforms: 'sqlite' - - file: 'sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql' - platforms: 'postgresql' - - file: 'sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql' - platforms: 'postgresql' - - file: 'sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql' - platforms: 'postgresql' - - file: 'sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql' - platforms: 'mysql' - - file: 'sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql' - platforms: 'postgresql' diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql deleted file mode 100644 index c943527dcd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0001_create_ibexa_binary_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_binary_file (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql deleted file mode 100644 index 1dfe6a0996..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0002_create_ibexa_object_state.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, INDEX ibexa_object_state_priority (priority), INDEX ibexa_object_state_lmask (language_mask), UNIQUE INDEX ibexa_object_state_identifier (group_id, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql deleted file mode 100644 index 5d213d116d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0003_create_ibexa_object_state_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_group (id INT AUTO_INCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ibexa_object_state_group_lmask (language_mask), UNIQUE INDEX ibexa_object_state_group_identifier (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql deleted file mode 100644 index 45148f2653..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0004_create_ibexa_object_state_group_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql deleted file mode 100644 index 85fe903387..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0005_create_ibexa_object_state_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description LONGTEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql deleted file mode 100644 index 538f70b531..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0006_create_ibexa_object_state_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql deleted file mode 100644 index d52bc456b4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0007_create_ibexa_content_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ibexa_content_language_name (name(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql deleted file mode 100644 index d20233ca4a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0008_create_ibexa_user.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, UNIQUE INDEX ibexa_user_login (login), PRIMARY KEY(contentobject_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql deleted file mode 100644 index 606cd1350b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0009_create_ibexa_content_tree.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_tree (node_id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, INDEX ibexa_content_tree_p_node_id (parent_node_id), INDEX ibexa_content_tree_path_ident (path_identification_string(50)), INDEX ibexa_content_tree_contentobject_id_path_string (path_string(191), contentobject_id), INDEX ibexa_content_tree_co_id (contentobject_id), INDEX ibexa_content_tree_depth (depth), INDEX ibexa_content_tree_path (path_string(191)), INDEX ibexa_content_modified_subnode (modified_subnode), INDEX ibexa_content_tree_remote_id (remote_id), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql deleted file mode 100644 index 5d151b7f76..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0010_create_ibexa_content_bookmark.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_bookmark (id INT AUTO_INCREMENT NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, INDEX ibexa_content_bookmark_location (node_id), INDEX ibexa_content_bookmark_user (user_id), INDEX ibexa_content_bookmark_user_location (user_id, node_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql deleted file mode 100644 index ee03fa5c2e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0011_create_ibexa_content_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type (id INT AUTO_INCREMENT NOT NULL, status INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, INDEX ibexa_content_type_status (status), INDEX ibexa_content_type_identifier (identifier, status), PRIMARY KEY(id, status)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql deleted file mode 100644 index 4b19569c53..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0012_create_ibexa_content_type_field_definition.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_field_definition (id INT AUTO_INCREMENT NOT NULL, status INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail TINYINT(1) DEFAULT '0' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text LONGTEXT DEFAULT NULL, serialized_description_list LONGTEXT DEFAULT NULL, serialized_name_list LONGTEXT NOT NULL, INDEX ibexa_content_type_field_definition_ctid (content_type_id), INDEX ibexa_content_type_field_definition_dts (data_type_string), PRIMARY KEY(id, status)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql deleted file mode 100644 index e2c749811c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0013_create_ibexa_content_type_field_definition_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_field_definition_ml (content_type_field_definition_id INT NOT NULL, status INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, INDEX ibexa_content_type_field_definition_ml_lang_fk (language_id), PRIMARY KEY(content_type_field_definition_id, status, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql deleted file mode 100644 index feee823633..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0014_create_ibexa_content_type_group_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_group_assignment (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(content_type_id, content_type_status, group_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql deleted file mode 100644 index e6f78e3ffb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0015_create_ibexa_content_type_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_name (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(content_type_id, content_type_status, language_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql deleted file mode 100644 index 67e1b4b74a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0016_create_ibexa_content_type_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_group (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system TINYINT(1) DEFAULT '0' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql deleted file mode 100644 index 8655ec78bf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0017_create_ibexa_content.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content (id INT AUTO_INCREMENT NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden TINYINT(1) DEFAULT '0' NOT NULL, INDEX ibexa_content_type_id (content_type_id), INDEX ibexa_content_lmask (language_mask), INDEX ibexa_content_pub (published), INDEX ibexa_content_section (section_id), INDEX ibexa_content_currentversion (current_version), INDEX ibexa_content_owner (owner_id), INDEX ibexa_content_status (status), UNIQUE INDEX ibexa_content_remote_id (remote_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql deleted file mode 100644 index 0531f77f6b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0018_create_ibexa_content_field.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_field (id INT AUTO_INCREMENT NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, content_type_field_definition_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text LONGTEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, INDEX ibexa_content_field_co_id_ver_lang_code (contentobject_id, version, language_code), INDEX ibexa_content_field_field_definition_id (content_type_field_definition_id), INDEX sort_key_string (sort_key_string(191)), INDEX ibexa_content_field_language_code (language_code), INDEX sort_key_int (sort_key_int), INDEX ibexa_content_field_co_id_ver (contentobject_id, version), PRIMARY KEY(id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql deleted file mode 100644 index 5a3ec084a3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0019_create_ibexa_content_relation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_relation (id INT AUTO_INCREMENT NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, INDEX ibexa_content_relation_to_co_id (to_contentobject_id), INDEX ibexa_content_relation_from (from_contentobject_id, from_contentobject_version, content_type_field_definition_id), INDEX ibexa_content_relation_ccfd_id (content_type_field_definition_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql deleted file mode 100644 index 466f34fd24..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0020_create_ibexa_content_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, INDEX ibexa_content_name_lang_id (language_id), INDEX ibexa_content_name_cov_id (content_version), INDEX ibexa_content_name_name (name(191)), PRIMARY KEY(contentobject_id, content_version, content_translation)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql deleted file mode 100644 index 508d60ade2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0021_create_ibexa_content_trash.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string LONGTEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, INDEX ibexa_content_trash_depth (depth), INDEX ibexa_content_trash_p_node_id (parent_node_id), INDEX ibexa_content_trash_path_ident (path_identification_string(50)), INDEX ibexa_content_trash_co_id (contentobject_id), INDEX ibexa_content_trash_modified_subnode (modified_subnode), INDEX ibexa_content_trash_path (path_string(191)), PRIMARY KEY(node_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql deleted file mode 100644 index b2b8c958c5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0022_create_ibexa_content_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_version (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, INDEX ibexa_content_version_status (status), INDEX ibexa_content_version_idx_ver (contentobject_id, version), INDEX ibexa_content_version_idx_status (contentobject_id, status), INDEX ibexa_content_version_creator_id (creator_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql deleted file mode 100644 index 788d674b31..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0023_create_ibexa_dfs_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_dfs_file (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired TINYINT(1) DEFAULT '0' NOT NULL, status TINYINT(1) DEFAULT '0' NOT NULL, INDEX ibexa_dfs_file_name_trunk (name_trunk(191)), INDEX ibexa_dfs_file_expired_name (expired, name(191)), INDEX ibexa_dfs_file_name (name(191)), INDEX ibexa_dfs_file_mtime (mtime), PRIMARY KEY(name_hash)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql deleted file mode 100644 index c6717b1deb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0024_create_ibexa_map_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_map_location (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, INDEX ibexa_map_location_latitude_longitude_key (latitude, longitude), PRIMARY KEY(contentobject_attribute_id, contentobject_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql deleted file mode 100644 index 4b1b110eb9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0025_create_ibexa_image_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_image_file (id INT AUTO_INCREMENT NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath LONGTEXT NOT NULL, INDEX ibexa_image_file_file (filepath(191)), INDEX ibexa_image_file_coid (contentobject_attribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql deleted file mode 100644 index cdaf39b246..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0026_create_ibexa_keyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_keyword (id INT AUTO_INCREMENT NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, INDEX ibexa_keyword_keyword (keyword(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql deleted file mode 100644 index 13cf8a2bb5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0027_create_ibexa_keyword_field_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_keyword_field_link (id INT AUTO_INCREMENT NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, INDEX ibexa_keyword_field_link_oaid (objectattribute_id), INDEX ibexa_keyword_field_link_kid_oaid (keyword_id, objectattribute_id), INDEX ibexa_keyword_field_link_oaid_ver (objectattribute_id, version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql deleted file mode 100644 index 84fbd67808..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0028_create_ibexa_media.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_media (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql deleted file mode 100644 index 3c6e1873ec..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0029_create_ibexa_node_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_node_assignment (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, INDEX ibexa_node_assignment_is_main (is_main), INDEX ibexa_node_assignment_coid_cov (contentobject_id, contentobject_version), INDEX ibexa_node_assignment_parent_node (parent_node), INDEX ibexa_node_assignment_co_version (contentobject_version), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql deleted file mode 100644 index f1f8dfbaf6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0030_create_ibexa_notification.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_notification (id INT AUTO_INCREMENT NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending TINYINT(1) DEFAULT '1' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INT DEFAULT 0 NOT NULL, data LONGTEXT DEFAULT NULL, INDEX ibexa_notification_owner_is_pending (owner_id, is_pending), INDEX ibexa_notification_owner (owner_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql deleted file mode 100644 index 95e192f2c5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0031_create_ibexa_package.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_package (id INT AUTO_INCREMENT NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql deleted file mode 100644 index 6675be55e3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0032_create_ibexa_policy.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy (id INT AUTO_INCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, INDEX ibexa_policy_role_id (role_id), INDEX ibexa_policy_original_id (original_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql deleted file mode 100644 index e8bc6695bf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0033_create_ibexa_policy_limitation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy_limitation (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, INDEX ibexa_policy_id (policy_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql deleted file mode 100644 index ae56570647..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0034_create_ibexa_policy_limitation_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy_limitation_value (id INT AUTO_INCREMENT NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, INDEX ibexa_policy_limit_value_limit_id (limitation_id), INDEX ibexa_policy_limitation_value_val (value(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql deleted file mode 100644 index fd6e5537f8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0035_create_ibexa_user_preference.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_preference (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value LONGTEXT DEFAULT NULL, INDEX ibexa_user_preference_user_id_idx (user_id, name), INDEX ibexa_user_preference_name (name), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql deleted file mode 100644 index 5e0b1a68d9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0036_create_ibexa_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_role (id INT AUTO_INCREMENT NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql deleted file mode 100644 index 65c95303c6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0037_create_ibexa_search_object_word_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_search_object_word_link (id INT AUTO_INCREMENT NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, INDEX ibexa_search_object_word_link_object (contentobject_id), INDEX ibexa_search_object_word_link_identifier (identifier(191)), INDEX ibexa_search_object_word_link_integer_value (integer_value), INDEX ibexa_search_object_word_link_word (word_id), INDEX ibexa_search_object_word_link_frequency (frequency), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql deleted file mode 100644 index 8f8501a790..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0038_create_ibexa_search_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_search_word (id INT AUTO_INCREMENT NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, INDEX ibexa_search_word_word_i (word), INDEX ibexa_search_word_obj_count (object_count), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql deleted file mode 100644 index fd30887309..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0039_create_ibexa_section.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_section (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql deleted file mode 100644 index f0c130755d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0040_create_ibexa_site_data.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_site_data (name VARCHAR(60) DEFAULT '' NOT NULL, value LONGTEXT NOT NULL, PRIMARY KEY(name)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql deleted file mode 100644 index 91a9ea5521..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0041_create_ibexa_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url (id INT AUTO_INCREMENT NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url LONGTEXT DEFAULT NULL, INDEX ibexa_url_url (url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql deleted file mode 100644 index 818099cb8c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0042_create_ibexa_url_content_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_content_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL, INDEX ibexa_url_ol_coa_id (contentobject_attribute_id), INDEX ibexa_url_ol_url_id (url_id), INDEX ibexa_url_ol_coa_version (contentobject_attribute_version), INDEX ibexa_url_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql deleted file mode 100644 index 10056978da..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0043_create_ibexa_url_alias.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url LONGTEXT NOT NULL, INDEX ibexa_url_alias_source_md5 (source_md5), INDEX ibexa_url_alias_wcard_fwd (is_wildcard, forward_to_id), INDEX ibexa_url_alias_forward_to_id (forward_to_id), INDEX ibexa_url_alias_imp_wcard_fwd (is_imported, is_wildcard, forward_to_id), INDEX ibexa_url_alias_source_url (source_url(191)), INDEX ibexa_url_alias_desturl (destination_url(191)), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql deleted file mode 100644 index 124e784561..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0044_create_ibexa_url_alias_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, action LONGTEXT NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text LONGTEXT NOT NULL, INDEX ibexa_url_alias_ml_actt_org_al (action_type, is_original, is_alias), INDEX ibexa_url_alias_ml_text_lang (text(32), lang_mask, parent), INDEX ibexa_url_alias_ml_par_act_id_lnk (action(32), id, link, parent), INDEX ibexa_url_alias_ml_par_lnk_txt (parent, text(32), link), INDEX ibexa_url_alias_ml_act_org (action(32), is_original), INDEX ibexa_url_alias_ml_text (text(32), id, link), INDEX ibexa_url_alias_ml_link (link), INDEX ibexa_url_alias_ml_id (id), PRIMARY KEY(parent, text_md5)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql deleted file mode 100644 index c709d26910..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0045_create_ibexa_url_alias_ml_incr.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias_ml_incr (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql deleted file mode 100644 index 6a04532c6a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0046_create_ibexa_url_wildcard.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_wildcard (id INT AUTO_INCREMENT NOT NULL, destination_url LONGTEXT NOT NULL, source_url LONGTEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql deleted file mode 100644 index 7e7f3409a9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0047_create_ibexa_user_accountkey.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_accountkey (id INT AUTO_INCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, INDEX hash_key (hash_key), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql deleted file mode 100644 index e0ac803371..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0048_create_ibexa_user_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_role (id INT AUTO_INCREMENT NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, INDEX ibexa_user_role_role_id (role_id), INDEX ibexa_user_role_contentobject_id (contentobject_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql deleted file mode 100644 index 0d206a10a8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0049_create_ibexa_user_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql deleted file mode 100644 index d664bb1bf9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0050_create_ibexa_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_setting (id INT AUTO_INCREMENT NOT NULL, `group` VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, INDEX ibexa_setting_id (id), UNIQUE INDEX ibexa_setting_group_identifier (`group`, identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql deleted file mode 100644 index 050286548c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0051_create_ibexa_token_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token_type (id INT AUTO_INCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL, UNIQUE INDEX ibexa_token_type_unique (identifier), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql deleted file mode 100644 index 2cc774c11a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0052_create_ibexa_token.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token (id INT AUTO_INCREMENT NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked TINYINT(1) DEFAULT '0' NOT NULL, INDEX IDX_B5412887C54C8C93 (type_id), UNIQUE INDEX ibexa_token_unique (token, identifier, type_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql deleted file mode 100644 index 653438c362..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0053_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql deleted file mode 100644 index 760aa35800..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0054_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql deleted file mode 100644 index c002dd7f33..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0055_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language (id) ON UPDATE CASCADE ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql deleted file mode 100644 index f8e58ffca0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/0056_fk_ibexa_token_ibexa_token_type_id_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql deleted file mode 100644 index 28d054bae2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0001_insert_ibexa_object_state.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_object_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) -VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql deleted file mode 100644 index d6ecfca0a8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0002_insert_ibexa_object_state_group.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_object_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) -VALUES (2,2,'ibexa_lock',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql deleted file mode 100644 index c2cce56918..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0003_insert_ibexa_object_state_group_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_object_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) -VALUES (2,'',3,'Lock',2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql deleted file mode 100644 index 5447342e3b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0004_insert_ibexa_object_state_language.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_object_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) -VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql deleted file mode 100644 index a58c50424a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0005_insert_ibexa_object_state_link.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_object_state_link` (`contentobject_id`, `contentobject_state_id`) -VALUES (1, 1), - (4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql deleted file mode 100644 index 716102901f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0006_insert_ibexa_content_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_content_language` (`disabled`, `id`, `locale`, `name`) -VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql deleted file mode 100644 index 0acd993329..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0007_insert_ibexa_content_type.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_content_type` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `status`) -VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql deleted file mode 100644 index d88a046425..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0008_insert_ibexa_content_type_field_definition.sql +++ /dev/null @@ -1,25 +0,0 @@ -INSERT INTO `ibexa_content_type_field_definition` (`can_translate`, `category`, `content_type_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `status`) -VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ibexa_string',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ibexa_string',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ibexa_user',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ibexa_string',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ibexa_image',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ibexa_richtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ibexa_richtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_boolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ibexa_string',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ibexa_binaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ibexa_author',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_object_relation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_string',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','ibexa_text',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ibexa_image',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql deleted file mode 100644 index 06892a0765..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0009_insert_ibexa_content_type_group_assignment.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_content_type_group_assignment` (`content_type_id`, `content_type_status`, `group_id`, `group_name`) -VALUES (1, 0, 1, 'Content'), - (2, 0, 1, 'Content'), - (3, 0, 2, 'Users'), - (4, 0, 2, 'Users'), - (5, 0, 3, 'Media'), - (12, 0, 3, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql deleted file mode 100644 index b62ac8a988..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0010_insert_ibexa_content_type_name.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_content_type_name` (`content_type_id`, `content_type_status`, `language_id`, `language_locale`, `name`) -VALUES (1, 0, 2, 'eng-GB', 'Folder'), - (2, 0, 3, 'eng-GB', 'Article'), - (3, 0, 3, 'eng-GB', 'User group'), - (4, 0, 3, 'eng-GB', 'User'), - (5, 0, 3, 'eng-GB', 'Image'), - (12, 0, 3, 'eng-GB', 'File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql deleted file mode 100644 index 2eb94f3b43..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0011_insert_ibexa_content_type_group.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ibexa_content_type_group` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) -VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), - (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql deleted file mode 100644 index 7108cc1143..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0012_insert_ibexa_content.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_content` (`content_type_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) -VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), - (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), - (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), - (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), - (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), - (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), - (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), - (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), - (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), - (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), - (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql deleted file mode 100644 index 0d542f8dbd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0013_insert_ibexa_content_field.sql +++ /dev/null @@ -1,41 +0,0 @@ -INSERT INTO `ibexa_content_field` (`attribute_original_id`, `content_type_field_definition_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) -VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ibexa_string',1,'eng-GB',3,0,'ibexa platform',9), - (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ibexa_richtext',2,'eng-GB',3,0,'',9), - (0,7,4,NULL,NULL,'Main group','ibexa_string',7,'eng-GB',3,0,'',1), - (0,6,4,NULL,NULL,'Users','ibexa_string',8,'eng-GB',3,0,'',1), - (0,8,10,0,0,'Anonymous','ibexa_string',19,'eng-GB',3,0,'anonymous',2), - (0,9,10,0,0,'User','ibexa_string',20,'eng-GB',3,0,'user',2), - (0,12,10,0,0,'','ibexa_user',21,'eng-GB',3,0,'',2), - (0,6,11,0,0,'Guest accounts','ibexa_string',22,'eng-GB',3,0,'',1), - (0,7,11,0,0,'','ibexa_string',23,'eng-GB',3,0,'',1), - (0,6,12,0,0,'Administrator users','ibexa_string',24,'eng-GB',3,0,'',1), - (0,7,12,0,0,'','ibexa_string',25,'eng-GB',3,0,'',1), - (0,6,13,0,0,'Editors','ibexa_string',26,'eng-GB',3,0,'',1), - (0,7,13,0,0,'','ibexa_string',27,'eng-GB',3,0,'',1), - (0,8,14,0,0,'Administrator','ibexa_string',28,'eng-GB',3,0,'administrator',3), - (0,9,14,0,0,'User','ibexa_string',29,'eng-GB',3,0,'user',3), - (30,12,14,0,0,'','ibexa_user',30,'eng-GB',3,0,'',3), - (0,4,41,0,0,'Media','ibexa_string',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,'\n
\n','ibexa_richtext',99,'eng-GB',3,0,'',1), - (0,6,42,0,0,'Anonymous users','ibexa_string',100,'eng-GB',3,0,'anonymous users',1), - (0,7,42,0,0,'User group for the anonymous user','ibexa_string',101,'eng-GB',3,0,'user group for the anonymous user',1), - (0,155,1,NULL,NULL,'Ibexa Platform','ibexa_string',102,'eng-GB',3,0,'ibexa platform',9), - (0,155,41,0,0,'','ibexa_string',103,'eng-GB',3,0,'',1), - (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ibexa_richtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,'\n
\n','ibexa_richtext',105,'eng-GB',3,0,'',1), - (0,4,49,0,0,'Images','ibexa_string',142,'eng-GB',3,0,'images',1), - (0,155,49,0,0,'','ibexa_string',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,'\n
\n','ibexa_richtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,'\n
\n','ibexa_richtext',145,'eng-GB',3,0,'',1), - (0,4,50,0,0,'Files','ibexa_string',147,'eng-GB',3,0,'files',1), - (0,155,50,0,0,'','ibexa_string',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,'\n
\n','ibexa_richtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,'\n
\n','ibexa_richtext',150,'eng-GB',3,0,'',1), - (0,4,51,0,0,'Multimedia','ibexa_string',152,'eng-GB',3,0,'multimedia',1), - (0,155,51,0,0,'','ibexa_string',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,'\n
\n','ibexa_richtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,'\n
\n','ibexa_richtext',155,'eng-GB',3,0,'',1), - (0,179,10,0,0,'','ibexa_text',177,'eng-GB',3,0,'',2), - (0,179,14,0,0,'','ibexa_text',178,'eng-GB',3,0,'',3), - (0,180,10,0,0,'','ibexa_image',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,'\n\n','ibexa_image',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql deleted file mode 100644 index c36299fd6a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0014_insert_ibexa_content_name.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_content_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) -VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), - ('eng-GB',1,4,3,'Users','eng-GB'), - ('eng-GB',2,10,3,'Anonymous User','eng-GB'), - ('eng-GB',1,11,3,'Guest accounts','eng-GB'), - ('eng-GB',1,12,3,'Administrator users','eng-GB'), - ('eng-GB',1,13,3,'Editors','eng-GB'), - ('eng-GB',3,14,3,'Administrator User','eng-GB'), - ('eng-GB',1,41,3,'Media','eng-GB'), - ('eng-GB',1,42,3,'Anonymous users','eng-GB'), - ('eng-GB',1,49,3,'Images','eng-GB'), - ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql deleted file mode 100644 index 65d092ccef..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0015_insert_ibexa_content_tree.sql +++ /dev/null @@ -1,14 +0,0 @@ -INSERT INTO `ibexa_content_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) -VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql deleted file mode 100644 index 83f4e503e7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0016_insert_ibexa_content_version.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_content_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) -VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql deleted file mode 100644 index 9640698edf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0017_insert_ibexa_node_assignment.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_node_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) -VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), - (42,1,0,5,1,2,5,'','0',9,1,0,0), - (10,2,-1,6,1,2,44,'','0',9,1,0,0), - (4,1,0,7,1,2,1,'','0',1,1,0,0), - (12,1,0,8,1,2,5,'','0',1,1,0,0), - (13,1,0,9,1,2,5,'','0',1,1,0,0), - (41,1,0,11,1,2,1,'','0',1,1,0,0), - (11,1,0,12,1,2,5,'','0',1,1,0,0), - (49,1,0,27,1,2,43,'','0',9,1,0,0), - (50,1,0,28,1,2,43,'','0',9,1,0,0), - (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql deleted file mode 100644 index 4d51ce8204..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0018_insert_ibexa_policy.sql +++ /dev/null @@ -1,9 +0,0 @@ -INSERT INTO `ibexa_policy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) -VALUES ('*',317,'content',0,3), - ('login',319,'user',0,3), - ('read',328,'content',0,1), - ('login',331,'user',0,1), - ('*',332,'*',0,2), - ('read',333,'content',0,4), - ('view_embed',334,'content',0,1), - ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql deleted file mode 100644 index cc61881062..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0019_insert_ibexa_policy_limitation.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_policy_limitation` (`id`, `identifier`, `policy_id`) -VALUES (251,'Section',328), - (252,'Section',329), - (253,'SiteAccess',331), - (254,'Class',333), - (255,'Owner',333), - (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql deleted file mode 100644 index 4ac14df7f5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0020_insert_ibexa_policy_limitation_value.sql +++ /dev/null @@ -1,8 +0,0 @@ -INSERT INTO `ibexa_policy_limitation_value` (`id`, `limitation_id`, `value`) -VALUES (477,251,'1'), - (478,252,'1'), - (479,253,'1766001124'), - (480,254,'4'), - (481,255,'1'), - (482,256,'5'), - (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql deleted file mode 100644 index cde93d16ed..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0021_insert_ibexa_role.sql +++ /dev/null @@ -1,5 +0,0 @@ -INSERT INTO `ibexa_role` (`id`, `is_new`, `name`, `value`, `version`) -VALUES (1,0,'Anonymous','',0), - (2,0,'Administrator','0',0), - (3,0,'Editor','',0), - (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql deleted file mode 100644 index 0436a276f7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0022_insert_ibexa_section.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ibexa_section` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) -VALUES (1,'standard','','Standard','ezcontentnavigationpart'), - (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql deleted file mode 100644 index 3a30397432..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0023_insert_ibexa_site_data.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_site_data` (`name`, `value`) -VALUES ('ibexa-release','6.0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql deleted file mode 100644 index 9b111ca869..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0024_insert_ibexa_url_alias.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_url_alias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) -VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), - ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), - ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), - ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), - ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), - ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), - ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), - ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), - ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), - ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), - ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql deleted file mode 100644 index d9a59e6dc4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0025_insert_ibexa_url_alias_ml.sql +++ /dev/null @@ -1,26 +0,0 @@ -INSERT INTO `ibexa_url_alias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) -VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), - ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), - ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), - ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), - ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), - ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), - ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), - ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), - ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), - ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), - ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), - ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), - ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), - ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), - ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), - ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), - ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), - ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), - ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), - ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), - ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql deleted file mode 100644 index 755c37655a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0026_insert_ibexa_url_alias_ml_incr.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ibexa_url_alias_ml_incr` (`id`) -VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql deleted file mode 100644 index a7d0cf247c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0027_insert_ibexa_user.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_user` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) -VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql deleted file mode 100644 index 4dbaff1fbd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0028_insert_ibexa_user_role.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_user_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) -VALUES (11,28,'','',1), - (42,31,'','',1), - (13,32,'Subtree','/1/2/',3), - (13,33,'Subtree','/1/43/',3), - (12,34,'','',2), - (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql deleted file mode 100644 index a3c25ef316..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0029_insert_ibexa_user_setting.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_user_setting` (`is_enabled`, `max_login`, `user_id`) -VALUES (1,1000,10), - (1,10,14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql deleted file mode 100644 index 6643c6b914..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/mysql/data/0030_insert_ibexa_user_preference.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_user_preference` (`name`, `user_id`, `value`) -SELECT 'focus_mode', u.contentobject_id, '0' FROM `ibexa_user` u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql deleted file mode 100644 index 5c6a43d2ad..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0001_create_ibexa_binary_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_binary_file (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, download_count INT DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql deleted file mode 100644 index ac4ed70654..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0002_create_ibexa_object_state.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql deleted file mode 100644 index 5826aaef24..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0003_index_ibexa_object_state_ibexa_object_state_priority.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql deleted file mode 100644 index 60be743406..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql deleted file mode 100644 index 38a0fa6827..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql deleted file mode 100644 index 66967266f3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0006_create_ibexa_object_state_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_group (id SERIAL NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql deleted file mode 100644 index 507f119efb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql deleted file mode 100644 index d3a6cf12d0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql deleted file mode 100644 index 5d05a11ce1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0009_create_ibexa_object_state_group_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_group_language (contentobject_state_group_id INT DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql deleted file mode 100644 index 9bf50f4a1f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0010_create_ibexa_object_state_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_language (contentobject_state_id INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description TEXT NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql deleted file mode 100644 index b9d499e790..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0011_create_ibexa_object_state_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_link (contentobject_id INT DEFAULT 0 NOT NULL, contentobject_state_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql deleted file mode 100644 index 07684961c0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0012_create_ibexa_content_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_language (id BIGINT DEFAULT 0 NOT NULL, disabled INT DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql deleted file mode 100644 index f95137a14e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0013_index_ibexa_content_language_ibexa_content_language_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql deleted file mode 100644 index 1f81a66b28..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0014_create_ibexa_user.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user (contentobject_id INT DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INT DEFAULT 1 NOT NULL, password_updated_at INT DEFAULT NULL, PRIMARY KEY(contentobject_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql deleted file mode 100644 index b49abbfa91..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0015_index_ibexa_user_ibexa_user_login.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql deleted file mode 100644 index 8e5f58c330..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0016_create_ibexa_content_tree.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_tree (node_id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_is_published INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql deleted file mode 100644 index d686c910b2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql deleted file mode 100644 index 0f9daed470..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql deleted file mode 100644 index 1712708976..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql deleted file mode 100644 index ef847742e7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql deleted file mode 100644 index eab7a10df6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql deleted file mode 100644 index f4d449f8c8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql deleted file mode 100644 index 597f0baf62..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql deleted file mode 100644 index f2407dd47f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql deleted file mode 100644 index 1e269d7092..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0025_create_ibexa_content_bookmark.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_bookmark (id SERIAL NOT NULL, node_id INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql deleted file mode 100644 index da8bdcb2ee..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql deleted file mode 100644 index cebfbca729..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql deleted file mode 100644 index ceb1ad9be3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql deleted file mode 100644 index eb802edbb8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0029_create_ibexa_content_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type (id SERIAL NOT NULL, status INT DEFAULT 0 NOT NULL, always_available INT DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT DEFAULT NULL, sort_field INT DEFAULT 1 NOT NULL, sort_order INT DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id, status)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql deleted file mode 100644 index abefabe9f2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0030_index_ibexa_content_type_ibexa_content_type_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_status ON ibexa_content_type (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql deleted file mode 100644 index e61735359b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql deleted file mode 100644 index cfafafcbd8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0032_create_ibexa_content_type_field_definition.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_field_definition (id SERIAL NOT NULL, status INT DEFAULT 0 NOT NULL, can_translate INT DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INT DEFAULT NULL, data_int2 INT DEFAULT NULL, data_int3 INT DEFAULT NULL, data_int4 INT DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INT DEFAULT 0 NOT NULL, is_required INT DEFAULT 0 NOT NULL, is_searchable INT DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT 'false' NOT NULL, placement INT DEFAULT 0 NOT NULL, serialized_data_text TEXT DEFAULT NULL, serialized_description_list TEXT DEFAULT NULL, serialized_name_list TEXT NOT NULL, PRIMARY KEY(id, status)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql deleted file mode 100644 index f8e2452ae5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql deleted file mode 100644 index 453cd13008..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql deleted file mode 100644 index bd0b624554..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0035_create_ibexa_content_type_field_definition_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_field_definition_ml (content_type_field_definition_id INT NOT NULL, status INT NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_json TEXT DEFAULT NULL, PRIMARY KEY(content_type_field_definition_id, status, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql deleted file mode 100644 index 670308e41e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql deleted file mode 100644 index d0abc06557..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0037_create_ibexa_content_type_group_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_group_assignment (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, group_id INT DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(content_type_id, content_type_status, group_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql deleted file mode 100644 index 0aee835c33..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0038_create_ibexa_content_type_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_name (content_type_id INT DEFAULT 0 NOT NULL, content_type_status INT DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(content_type_id, content_type_status, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql deleted file mode 100644 index 062e1aa732..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0039_create_ibexa_content_type_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_group (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, modifier_id INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql deleted file mode 100644 index 5224bcd356..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0040_create_ibexa_content.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content (id SERIAL NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, current_version INT DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INT DEFAULT 0 NOT NULL, status INT DEFAULT 0, is_hidden BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql deleted file mode 100644 index 33a031bd4d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0041_index_ibexa_content_ibexa_content_type_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_id ON ibexa_content (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql deleted file mode 100644 index 32497a5d84..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0042_index_ibexa_content_ibexa_content_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql deleted file mode 100644 index 736a4155af..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0043_index_ibexa_content_ibexa_content_pub.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_pub ON ibexa_content (published); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql deleted file mode 100644 index 19457bef18..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0044_index_ibexa_content_ibexa_content_section.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_section ON ibexa_content (section_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql deleted file mode 100644 index edd6826160..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0045_index_ibexa_content_ibexa_content_currentversion.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql deleted file mode 100644 index 0790e62c88..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0046_index_ibexa_content_ibexa_content_owner.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql deleted file mode 100644 index 48c05cd4f6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0047_index_ibexa_content_ibexa_content_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_status ON ibexa_content (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql deleted file mode 100644 index 45c31edd02..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0048_index_ibexa_content_ibexa_content_remote_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql deleted file mode 100644 index a281f913f7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0049_create_ibexa_content_field.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_field (id SERIAL NOT NULL, version INT DEFAULT 0 NOT NULL, attribute_original_id INT DEFAULT 0, content_type_field_definition_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INT DEFAULT NULL, data_text TEXT DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INT DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql deleted file mode 100644 index 93726617f0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql deleted file mode 100644 index 4d432626a5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql deleted file mode 100644 index ec24a9b21f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0052_index_ibexa_content_field_sort_key_string.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX sort_key_string ON ibexa_content_field (sort_key_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql deleted file mode 100644 index c530bbb7d8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql deleted file mode 100644 index 884b7ff664..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0054_index_ibexa_content_field_sort_key_int.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX sort_key_int ON ibexa_content_field (sort_key_int); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql deleted file mode 100644 index 9d647be9c1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql deleted file mode 100644 index c65bf209a7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0056_create_ibexa_content_relation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_relation (id SERIAL NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, from_contentobject_id INT DEFAULT 0 NOT NULL, from_contentobject_version INT DEFAULT 0 NOT NULL, relation_type INT DEFAULT 1 NOT NULL, to_contentobject_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql deleted file mode 100644 index ca644fd1dd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql deleted file mode 100644 index f62d709bae..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql deleted file mode 100644 index ef1e83724d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql deleted file mode 100644 index b9d627df74..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0060_create_ibexa_content_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_name (contentobject_id INT DEFAULT 0 NOT NULL, content_version INT DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql deleted file mode 100644 index b4016f33cd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql deleted file mode 100644 index a162e3e70e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql deleted file mode 100644 index b1b1ed6f83..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0063_index_ibexa_content_name_ibexa_content_name_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql deleted file mode 100644 index 25a18c58dd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0064_create_ibexa_content_trash.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_trash (node_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, depth INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, is_invisible INT DEFAULT 0 NOT NULL, main_node_id INT DEFAULT NULL, modified_subnode INT DEFAULT 0, parent_node_id INT DEFAULT 0 NOT NULL, path_identification_string TEXT DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INT DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, trashed INT DEFAULT 0 NOT NULL, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql deleted file mode 100644 index a7f3aaf8cf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql deleted file mode 100644 index 7353270650..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql deleted file mode 100644 index 8108c8112e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql deleted file mode 100644 index 7be1fea30f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql deleted file mode 100644 index 1c0b897b62..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql deleted file mode 100644 index 5a29b83d62..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql deleted file mode 100644 index 0d09ac88a6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0071_create_ibexa_content_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_version (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, created INT DEFAULT 0 NOT NULL, creator_id INT DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, status INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, workflow_event_pos INT DEFAULT 0, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql deleted file mode 100644 index 38615b8104..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0072_index_ibexa_content_version_ibexa_content_version_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql deleted file mode 100644 index 6e2dfb52fa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql deleted file mode 100644 index 1ba59bfc72..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql deleted file mode 100644 index 834ec3deb3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql deleted file mode 100644 index 9fcc404ba3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0076_create_ibexa_dfs_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_dfs_file (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name TEXT NOT NULL, name_trunk TEXT NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT DEFAULT 0 NOT NULL, mtime INT DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT 'false' NOT NULL, status BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(name_hash)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql deleted file mode 100644 index 8391ba0217..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql deleted file mode 100644 index 74985d0c93..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql deleted file mode 100644 index e921fe6650..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql deleted file mode 100644 index 469533ca93..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql deleted file mode 100644 index c5019aacb4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0081_create_ibexa_map_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_map_location (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_version INT DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql deleted file mode 100644 index 6b5b375d51..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql deleted file mode 100644 index 8b10f8366b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0083_create_ibexa_image_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_image_file (id SERIAL NOT NULL, contentobject_attribute_id INT DEFAULT 0 NOT NULL, filepath TEXT NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql deleted file mode 100644 index 5a95b4318b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0084_index_ibexa_image_file_ibexa_image_file_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql deleted file mode 100644 index 4134ec7b9f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0085_index_ibexa_image_file_ibexa_image_file_coid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql deleted file mode 100644 index 68c151a74b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0086_create_ibexa_keyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_keyword (id SERIAL NOT NULL, class_id INT DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql deleted file mode 100644 index 499d339734..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql deleted file mode 100644 index eda4daf849..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0088_create_ibexa_keyword_field_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_keyword_field_link (id SERIAL NOT NULL, keyword_id INT DEFAULT 0 NOT NULL, objectattribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql deleted file mode 100644 index 982b9a7f6a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql deleted file mode 100644 index 0b45f48a7c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql deleted file mode 100644 index f26ce33baf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql deleted file mode 100644 index 1ad747ea69..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0092_create_ibexa_media.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_media (contentobject_attribute_id INT DEFAULT 0 NOT NULL, version INT DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INT DEFAULT 0, height INT DEFAULT NULL, is_autoplay INT DEFAULT 0, is_loop INT DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INT DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql deleted file mode 100644 index b5e29f3a22..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0093_create_ibexa_node_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_node_assignment (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, contentobject_version INT DEFAULT NULL, from_node_id INT DEFAULT 0, is_main INT DEFAULT 0 NOT NULL, op_code INT DEFAULT 0 NOT NULL, parent_node INT DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INT DEFAULT 1, sort_order INT DEFAULT 1, priority INT DEFAULT 0 NOT NULL, is_hidden INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql deleted file mode 100644 index 7d474bf250..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql deleted file mode 100644 index e33fbd46b2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql deleted file mode 100644 index b6e3bb305b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql deleted file mode 100644 index ba16836181..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql deleted file mode 100644 index 781e65a7de..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0098_create_ibexa_notification.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_notification (id SERIAL NOT NULL, owner_id INT DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT 'true' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INT DEFAULT 0 NOT NULL, data TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql deleted file mode 100644 index 74453e4129..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql deleted file mode 100644 index acc0093c1c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0100_index_ibexa_notification_ibexa_notification_owner.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql deleted file mode 100644 index 84a2dd7219..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0101_create_ibexa_package.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_package (id SERIAL NOT NULL, install_date INT DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql deleted file mode 100644 index d2b1987a92..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0102_create_ibexa_policy.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy (id SERIAL NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INT DEFAULT 0 NOT NULL, role_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql deleted file mode 100644 index a7390a7cc9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0103_index_ibexa_policy_ibexa_policy_role_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql deleted file mode 100644 index c84254dffc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0104_index_ibexa_policy_ibexa_policy_original_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql deleted file mode 100644 index c8bf8e0e9d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0105_create_ibexa_policy_limitation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy_limitation (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql deleted file mode 100644 index 18d2c85a03..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql deleted file mode 100644 index f16c66662e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0107_create_ibexa_policy_limitation_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy_limitation_value (id SERIAL NOT NULL, limitation_id INT DEFAULT NULL, value VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql deleted file mode 100644 index 04e7f07679..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql deleted file mode 100644 index 8f30cd8184..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql deleted file mode 100644 index 33779c66a5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0110_create_ibexa_user_preference.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_preference (id SERIAL NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INT DEFAULT 0 NOT NULL, value TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql deleted file mode 100644 index 3d17125e44..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql deleted file mode 100644 index 763c959525..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql deleted file mode 100644 index 10c8fc9827..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0113_create_ibexa_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_role (id SERIAL NOT NULL, is_new INT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INT DEFAULT 0, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql deleted file mode 100644 index f5ef170df9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0114_create_ibexa_search_object_word_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_search_object_word_link (id SERIAL NOT NULL, content_type_field_definition_id INT DEFAULT 0 NOT NULL, content_type_id INT DEFAULT 0 NOT NULL, contentobject_id INT DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INT DEFAULT 0 NOT NULL, next_word_id INT DEFAULT 0 NOT NULL, placement INT DEFAULT 0 NOT NULL, prev_word_id INT DEFAULT 0 NOT NULL, published INT DEFAULT 0 NOT NULL, section_id INT DEFAULT 0 NOT NULL, word_id INT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql deleted file mode 100644 index 2979febcf7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql deleted file mode 100644 index 7a7882ea59..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql deleted file mode 100644 index 561c155c92..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql deleted file mode 100644 index c78a04a41a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql deleted file mode 100644 index b3d1751e6c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql deleted file mode 100644 index 391f8d9338..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0120_create_ibexa_search_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_search_word (id SERIAL NOT NULL, object_count INT DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql deleted file mode 100644 index 171471b339..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql deleted file mode 100644 index a2098d0ab4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql deleted file mode 100644 index ed418c0a92..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0123_create_ibexa_section.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_section (id SERIAL NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart', PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql deleted file mode 100644 index 05c78a8d9c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0124_create_ibexa_site_data.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_site_data (name VARCHAR(60) DEFAULT '' NOT NULL, value TEXT NOT NULL, PRIMARY KEY(name)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql deleted file mode 100644 index 61b4162a0f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0125_create_ibexa_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url (id SERIAL NOT NULL, created INT DEFAULT 0 NOT NULL, is_valid INT DEFAULT 1 NOT NULL, last_checked INT DEFAULT 0 NOT NULL, modified INT DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url TEXT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql deleted file mode 100644 index 7a08f3b1db..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0126_index_ibexa_url_ibexa_url_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_url ON ibexa_url (url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql deleted file mode 100644 index 4976f77e90..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0127_create_ibexa_url_content_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_content_link (contentobject_attribute_id INT DEFAULT 0 NOT NULL, contentobject_attribute_version INT DEFAULT 0 NOT NULL, url_id INT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql deleted file mode 100644 index 258187b47a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql deleted file mode 100644 index 9dd2926df0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql deleted file mode 100644 index db2e9886fa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql deleted file mode 100644 index 2c2b9b0ab5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql deleted file mode 100644 index 20a5b42de2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0132_create_ibexa_url_alias.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias (id SERIAL NOT NULL, destination_url TEXT NOT NULL, forward_to_id INT DEFAULT 0 NOT NULL, is_imported INT DEFAULT 0 NOT NULL, is_internal INT DEFAULT 1 NOT NULL, is_wildcard INT DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url TEXT NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql deleted file mode 100644 index ffe6981649..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql deleted file mode 100644 index 2e84f84a69..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql deleted file mode 100644 index daf44ce9e2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql deleted file mode 100644 index 218055c124..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql deleted file mode 100644 index cd3078d4aa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql deleted file mode 100644 index 1357e15320..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql deleted file mode 100644 index 66e832b023..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0139_create_ibexa_url_alias_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias_ml (parent INT DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, action TEXT NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INT DEFAULT 1 NOT NULL, id INT DEFAULT 0 NOT NULL, is_alias INT DEFAULT 0 NOT NULL, is_original INT DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INT DEFAULT 0 NOT NULL, text TEXT NOT NULL, PRIMARY KEY(parent, text_md5)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql deleted file mode 100644 index 80426d6d25..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql deleted file mode 100644 index 40898e833a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql deleted file mode 100644 index 120d8b301d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml (action, id, link, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql deleted file mode 100644 index d8dd20bc1e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql deleted file mode 100644 index 3e76cc88ba..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml (action, is_original); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql deleted file mode 100644 index 0cf1bc2dbf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql deleted file mode 100644 index 43d854ee19..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql deleted file mode 100644 index 1d63e3df21..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql deleted file mode 100644 index 0766455cfa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0148_create_ibexa_url_alias_ml_incr.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias_ml_incr (id SERIAL NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql deleted file mode 100644 index f26db352d9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0149_create_ibexa_url_wildcard.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_wildcard (id SERIAL NOT NULL, destination_url TEXT NOT NULL, source_url TEXT NOT NULL, type INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql deleted file mode 100644 index 8f4b865f98..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0150_create_ibexa_user_accountkey.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_accountkey (id SERIAL NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INT DEFAULT 0 NOT NULL, user_id INT DEFAULT 0 NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql deleted file mode 100644 index 261d15ac25..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0151_index_ibexa_user_accountkey_hash_key.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX hash_key ON ibexa_user_accountkey (hash_key); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql deleted file mode 100644 index e768b8ab09..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0152_create_ibexa_user_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_role (id SERIAL NOT NULL, contentobject_id INT DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INT DEFAULT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql deleted file mode 100644 index 8c83fae5a6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql deleted file mode 100644 index f2c678cebc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql deleted file mode 100644 index 3132296fce..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0155_create_ibexa_user_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_setting (user_id INT DEFAULT 0 NOT NULL, is_enabled INT DEFAULT 0 NOT NULL, max_login INT DEFAULT NULL, PRIMARY KEY(user_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql deleted file mode 100644 index d3ae1af8b3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0156_create_ibexa_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_setting (id SERIAL NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value JSON NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql deleted file mode 100644 index d6f3d3b0dc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0157_index_ibexa_setting_ibexa_setting_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_setting_id ON ibexa_setting (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql deleted file mode 100644 index e2a05c6a8d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql deleted file mode 100644 index 34e08782fb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0159_create_ibexa_token_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token_type (id SERIAL NOT NULL, identifier VARCHAR(64) NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql deleted file mode 100644 index 17f4b2cf68..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0160_index_ibexa_token_type_ibexa_token_type_unique.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql deleted file mode 100644 index a67a678e35..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0161_create_ibexa_token.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token (id SERIAL NOT NULL, type_id INT NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INT DEFAULT 0 NOT NULL, expires INT DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT 'false' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql deleted file mode 100644 index 8217faeab1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql deleted file mode 100644 index 1d13c98da4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0163_index_ibexa_token_ibexa_token_unique.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql deleted file mode 100644 index fdafaa780d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0164_fk_ibexa_content_bookmark_ibexa_content_bookmark_location_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree (node_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql deleted file mode 100644 index 2f8d81a319..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0165_fk_ibexa_content_bookmark_ibexa_content_bookmark_user_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_content_bookmark ADD CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user (contentobject_id) ON UPDATE NO ACTION ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql deleted file mode 100644 index c03b65599b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0166_fk_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_content_type_field_definition_ml ADD CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language (id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql deleted file mode 100644 index 973e602987..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/0167_fk_ibexa_token_ibexa_token_type_id_fk.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE ibexa_token ADD CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql deleted file mode 100644 index b6e93a2054..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0001_insert_ibexa_object_state.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO "ibexa_object_state" ("default_language_id", "group_id", "id", "identifier", "language_mask", "priority") -VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql deleted file mode 100644 index 539b01fc3b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0002_insert_ibexa_object_state_group.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ibexa_object_state_group" ("default_language_id", "id", "identifier", "language_mask") -VALUES (2, 2, 'ibexa_lock', 3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql deleted file mode 100644 index a6244ff430..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0003_insert_ibexa_object_state_group_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ibexa_object_state_group_language" ("contentobject_state_group_id", "description","language_id", "name", "real_language_id") -VALUES (2, '', 3, 'Lock', 2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql deleted file mode 100644 index 2b22aad739..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0004_insert_ibexa_object_state_language.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO "ibexa_object_state_language" ("contentobject_state_id", "description", "language_id", "name") -VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql deleted file mode 100644 index f40935c418..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0005_insert_ibexa_object_state_link.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ibexa_object_state_link" ("contentobject_id", "contentobject_state_id") -VALUES ( 1, 1), - ( 4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql deleted file mode 100644 index a9e6bde55c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0006_insert_ibexa_content_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ibexa_content_language" ("disabled", "id", "locale", "name") -VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql deleted file mode 100644 index dff061c9d5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0007_insert_ibexa_content_type.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ibexa_content_type" ("always_available", "contentobject_name", "created", "creator_id", "id", "identifier", "initial_language_id", "is_container", "language_mask", "modified", "modifier_id", "remote_id", "serialized_description_list", "serialized_name_list", "sort_field", "sort_order", "url_alias_name", "status") -VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:"eng-GB";s:6:"Folder";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:"eng-GB";s:7:"Article";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql deleted file mode 100644 index 5b0bd908df..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0008_insert_ibexa_content_type_field_definition.sql +++ /dev/null @@ -1,25 +0,0 @@ -INSERT INTO "ibexa_content_type_field_definition" ("can_translate", "category", "content_type_id", "data_float1", "data_float2", "data_float3", "data_float4", "data_int1", "data_int2", "data_int3", "data_int4", "data_text1", "data_text2", "data_text3", "data_text4", "data_text5", "data_type_string", "id", "identifier", "is_information_collector", "is_required", "is_searchable", "is_thumbnail", "placement", "serialized_data_text", "serialized_description_list", "serialized_name_list", "status") -VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ibexa_string',1,'title',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ibexa_string',4,'name',0,1,1,FALSE,1,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:4:"Name";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',6,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',7,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',8,'first_name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:10:"First name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',9,'last_name',0,1,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Last name";s:16:"always-available";s:6:"eng-GB";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ibexa_user',12,'user_account',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:12:"User account";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ibexa_string',116,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',117,'caption',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:7:"Caption";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ibexa_image',118,'image',0,0,1,TRUE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',119,'short_description',0,0,1,FALSE,3,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:17:"Short description";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ibexa_richtext',120,'intro',0,1,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Intro";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ibexa_richtext',121,'body',0,0,1,FALSE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Body";s:16:"always-available";s:6:"eng-GB";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_boolean',123,'enable_comments',0,0,0,FALSE,6,NULL,NULL,'a:2:{s:6:"eng-GB";s:15:"Enable comments";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ibexa_string',146,'name',0,1,1,FALSE,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',147,'description',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ibexa_binaryfile',148,'file',0,1,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',152,'short_title',0,0,1,FALSE,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Short title";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ibexa_author',153,'author',0,0,0,FALSE,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:6:"Author";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_object_relation',154,'image',0,0,1,FALSE,7,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_string',155,'short_name',0,0,1,FALSE,2,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:10:"Short name";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',156,'description',0,0,1,FALSE,4,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:11:"Description";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','ibexa_text',179,'signature',0,0,1,FALSE,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ibexa_image',180,'image',0,0,0,TRUE,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql deleted file mode 100644 index 0930c2a4c4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0009_insert_ibexa_content_type_group_assignment.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ibexa_content_type_group_assignment" ("content_type_id", "content_type_status", "group_id", "group_name") -VALUES (1,0,1,'Content'), - (2,0,1,'Content'), - (3,0,2,'Users'), - (4,0,2,'Users'), - (5,0,3,'Media'), - (12,0,3,'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql deleted file mode 100644 index 4ce17b5c00..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0010_insert_ibexa_content_type_name.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ibexa_content_type_name" ("content_type_id", "content_type_status", "language_id", "language_locale", "name") -VALUES (1,0,2,'eng-GB','Folder'), - (2,0,3,'eng-GB','Article'), - (3,0,3,'eng-GB','User group'), - (4,0,3,'eng-GB','User'), - (5,0,3,'eng-GB','Image'), - (12,0,3,'eng-GB','File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql deleted file mode 100644 index dec1cfcde3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0011_insert_ibexa_content_type_group.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO "ibexa_content_type_group" ("created", "creator_id", "id", "modified", "modifier_id", "name") -VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), - (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql deleted file mode 100644 index 40d7370b67..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0012_insert_ibexa_content.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ibexa_content" ("content_type_id", "current_version", "id", "initial_language_id", "language_mask", "modified", "name", "owner_id", "published", "remote_id", "section_id", "status") -VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), - (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), - (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), - (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), - (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), - (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), - (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), - (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), - (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), - (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), - (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql deleted file mode 100644 index 0f8422d6ce..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0013_insert_ibexa_content_field.sql +++ /dev/null @@ -1,41 +0,0 @@ -INSERT INTO "ibexa_content_field" ("attribute_original_id", "content_type_field_definition_id", "contentobject_id", "data_float", "data_int", "data_text", "data_type_string", "id", "language_code", "language_id", "sort_key_int", "sort_key_string", "version") -VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ibexa_string',1,'eng-GB',3,0,'ibexa platform',9), - (0,119,1,NULL,NULL,E'
You are now ready to start your project.
','ibexa_richtext',2,'eng-GB',3,0,'',9), - (0,7,4,NULL,NULL,'Main group','ibexa_string',7,'eng-GB',3,0,'',1), - (0,6,4,NULL,NULL,'Users','ibexa_string',8,'eng-GB',3,0,'',1), - (0,8,10,0,0,'Anonymous','ibexa_string',19,'eng-GB',3,0,'anonymous',2), - (0,9,10,0,0,'User','ibexa_string',20,'eng-GB',3,0,'user',2), - (0,12,10,0,0,'','ibexa_user',21,'eng-GB',3,0,'',2), - (0,6,11,0,0,'Guest accounts','ibexa_string',22,'eng-GB',3,0,'',1), - (0,7,11,0,0,'','ibexa_string',23,'eng-GB',3,0,'',1), - (0,6,12,0,0,'Administrator users','ibexa_string',24,'eng-GB',3,0,'',1), - (0,7,12,0,0,'','ibexa_string',25,'eng-GB',3,0,'',1), - (0,6,13,0,0,'Editors','ibexa_string',26,'eng-GB',3,0,'',1), - (0,7,13,0,0,'','ibexa_string',27,'eng-GB',3,0,'',1), - (0,8,14,0,0,'Administrator','ibexa_string',28,'eng-GB',3,0,'administrator',3), - (0,9,14,0,0,'User','ibexa_string',29,'eng-GB',3,0,'user',3), - (30,12,14,0,0,'','ibexa_user',30,'eng-GB',3,0,'',3), - (0,4,41,0,0,'Media','ibexa_string',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,E'\n
\n','ibexa_richtext',99,'eng-GB',3,0,'',1), - (0,6,42,0,0,'Anonymous users','ibexa_string',100,'eng-GB',3,0,'anonymous users',1), - (0,7,42,0,0,'User group for the anonymous user','ibexa_string',101,'eng-GB',3,0,'user group for the anonymous user',1), - (0,155,1,NULL,NULL,'Ibexa Platform','ibexa_string',102,'eng-GB',3,0,'ibexa platform',9), - (0,155,41,0,0,'','ibexa_string',103,'eng-GB',3,0,'',1), - (0,156,1,NULL,NULL,E'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ibexa_richtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,E'\n
\n','ibexa_richtext',105,'eng-GB',3,0,'',1), - (0,4,49,0,0,'Images','ibexa_string',142,'eng-GB',3,0,'images',1), - (0,155,49,0,0,'','ibexa_string',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,E'\n
\n','ibexa_richtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,E'\n
\n','ibexa_richtext',145,'eng-GB',3,0,'',1), - (0,4,50,0,0,'Files','ibexa_string',147,'eng-GB',3,0,'files',1), - (0,155,50,0,0,'','ibexa_string',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,E'\n
\n','ibexa_richtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,E'\n
\n','ibexa_richtext',150,'eng-GB',3,0,'',1), - (0,4,51,0,0,'Multimedia','ibexa_string',152,'eng-GB',3,0,'multimedia',1), - (0,155,51,0,0,'','ibexa_string',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,E'\n
\n','ibexa_richtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,E'\n
\n','ibexa_richtext',155,'eng-GB',3,0,'',1), - (0,179,10,0,0,'','ibexa_text',177,'eng-GB',3,0,'',2), - (0,179,14,0,0,'','ibexa_text',178,'eng-GB',3,0,'',3), - (0,180,10,0,0,'','ibexa_image',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,E'\n\n','ibexa_image',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql deleted file mode 100644 index f03b1eb85c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0014_insert_ibexa_content_name.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ibexa_content_name" ("content_translation", "content_version", "contentobject_id", "language_id", "name", "real_translation") -VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), - ('eng-GB',1,4,3,'Users','eng-GB'), - ('eng-GB',2,10,3,'Anonymous User','eng-GB'), - ('eng-GB',1,11,3,'Guest accounts','eng-GB'), - ('eng-GB',1,12,3,'Administrator users','eng-GB'), - ('eng-GB',1,13,3,'Editors','eng-GB'), - ('eng-GB',3,14,3,'Administrator User','eng-GB'), - ('eng-GB',1,41,3,'Media','eng-GB'), - ('eng-GB',1,42,3,'Anonymous users','eng-GB'), - ('eng-GB',1,49,3,'Images','eng-GB'), - ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql deleted file mode 100644 index e373f6d94e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0015_insert_ibexa_content_tree.sql +++ /dev/null @@ -1,14 +0,0 @@ -INSERT INTO "ibexa_content_tree" ("contentobject_id", "contentobject_is_published", "contentobject_version", "depth", "is_hidden", "is_invisible", "main_node_id", "modified_subnode", "node_id", "parent_node_id", "path_identification_string", "path_string", "priority", "remote_id", "sort_field", "sort_order") -VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql deleted file mode 100644 index 6da2948ddc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0016_insert_ibexa_content_version.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ibexa_content_version" ("contentobject_id", "created", "creator_id", "id", "initial_language_id", "language_mask", "modified", "status", "user_id", "version", "workflow_event_pos") -VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql deleted file mode 100644 index 3c2930a01a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0017_insert_ibexa_node_assignment.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ibexa_node_assignment" ("contentobject_id", "contentobject_version", "from_node_id", "id", "is_main", "op_code", "parent_node", "parent_remote_id", "remote_id", "sort_field", "sort_order", "priority", "is_hidden") -VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), - (42,1,0,5,1,2,5,'','0',9,1,0,0), - (10,2,-1,6,1,2,44,'','0',9,1,0,0), - (4,1,0,7,1,2,1,'','0',1,1,0,0), - (12,1,0,8,1,2,5,'','0',1,1,0,0), - (13,1,0,9,1,2,5,'','0',1,1,0,0), - (41,1,0,11,1,2,1,'','0',1,1,0,0), - (11,1,0,12,1,2,5,'','0',1,1,0,0), - (49,1,0,27,1,2,43,'','0',9,1,0,0), - (50,1,0,28,1,2,43,'','0',9,1,0,0), - (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql deleted file mode 100644 index 0509cded66..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0018_insert_ibexa_policy.sql +++ /dev/null @@ -1,9 +0,0 @@ -INSERT INTO "ibexa_policy" ("function_name", "id", "module_name", "original_id", "role_id") -VALUES ('*',317,'content',0,3), - ('login',319,'user',0,3), - ('read',328,'content',0,1), - ('login',331,'user',0,1), - ('*',332,'*',0,2), - ('read',333,'content',0,4), - ('view_embed',334,'content',0,1), - ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql deleted file mode 100644 index 5ee58ed2d5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0019_insert_ibexa_policy_limitation.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ibexa_policy_limitation" ("id", "identifier", "policy_id") -VALUES (251,'Section',328), - (252,'Section',329), - (253,'SiteAccess',331), - (254,'Class',333), - (255,'Owner',333), - (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql deleted file mode 100644 index 1b1e99a293..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0020_insert_ibexa_policy_limitation_value.sql +++ /dev/null @@ -1,8 +0,0 @@ -INSERT INTO "ibexa_policy_limitation_value" ("id", "limitation_id", "value") -VALUES (477,251,'1'), - (478,252,'1'), - (479,253,'1766001124'), - (480,254,'4'), - (481,255,'1'), - (482,256,'5'), - (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql deleted file mode 100644 index 2ef278a3f2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0021_insert_ibexa_role.sql +++ /dev/null @@ -1,5 +0,0 @@ -INSERT INTO "ibexa_role" ("id", "is_new", "name", "value", "version") -VALUES (1,0,'Anonymous','',0), - (2,0,'Administrator','0',0), - (3,0,'Editor','',0), - (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql deleted file mode 100644 index 67a4ec349a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0022_insert_ibexa_section.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO "ibexa_section" ("id", "identifier", "locale", "name", "navigation_part_identifier") -VALUES (1,'standard','','Standard','ezcontentnavigationpart'), - (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql deleted file mode 100644 index ae464771e3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0023_insert_ibexa_site_data.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ibexa_site_data" ("name", "value") -VALUES ('ibexa-release','6.0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql deleted file mode 100644 index 6261b39f37..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0024_insert_ibexa_url_alias.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO "ibexa_url_alias" ("destination_url", "forward_to_id", "id", "is_imported", "is_internal", "is_wildcard", "source_md5", "source_url") -VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), - ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), - ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), - ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), - ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), - ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), - ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), - ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), - ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), - ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), - ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql deleted file mode 100644 index 1d3efbc851..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0025_insert_ibexa_url_alias_ml.sql +++ /dev/null @@ -1,26 +0,0 @@ -INSERT INTO "ibexa_url_alias_ml" ("action", "action_type", "alias_redirects", "id", "is_alias", "is_original", "lang_mask", "link", "parent", "text", "text_md5") -VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), - ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), - ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), - ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), - ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), - ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), - ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), - ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), - ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), - ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), - ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), - ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), - ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), - ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), - ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), - ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), - ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), - ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), - ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), - ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), - ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql deleted file mode 100644 index ca0299588d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0026_insert_ibexa_url_alias_ml_incr.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO "ibexa_url_alias_ml_incr" ("id") -VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql deleted file mode 100644 index 223331fee9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0027_insert_ibexa_user.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO "ibexa_user" ("contentobject_id", "email", "login", "password_hash", "password_hash_type") -VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql deleted file mode 100644 index 8d29a039bf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0028_insert_ibexa_user_role.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO "ibexa_user_role" ("contentobject_id", "id", "limit_identifier", "limit_value", "role_id") -VALUES (11,28,'','',1), - (42,31,'','',1), - (13,32,'Subtree','/1/2/',3), - (13,33,'Subtree','/1/43/',3), - (12,34,'','',2), - (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql deleted file mode 100644 index bc4b6d2e02..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0029_insert_ibexa_user_setting.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO "ibexa_user_setting" ("is_enabled", "max_login", "user_id") -VALUES (1, 1000, 10), - (1, 10, 14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql deleted file mode 100644 index 73d0e999e8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0030_insert_ibexa_user_preference.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO "ibexa_user_preference" ("name", "user_id", "value") -SELECT 'focus_mode', u.contentobject_id, '0' FROM "ibexa_user" u WHERE u.login = 'admin'; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql deleted file mode 100644 index 35ea9e6454..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0031_setval_ibexa_object_state_group_id_seq.sql +++ /dev/null @@ -1,2 +0,0 @@ --- Set proper sequence values after inserting data -SELECT SETVAL('ibexa_object_state_group_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_object_state_group; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql deleted file mode 100644 index 143449a4de..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0032_setval_ibexa_object_state_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_object_state_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_object_state; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql deleted file mode 100644 index a7be654d44..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0033_setval_ibexa_content_bookmark_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_bookmark_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_bookmark; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql deleted file mode 100644 index 35f9eec982..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0034_setval_ibexa_content_type_field_definition_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_type_field_definition_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_type_field_definition; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql deleted file mode 100644 index 918015bbe8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0035_setval_ibexa_content_type_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_type_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_type; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql deleted file mode 100644 index 672e305275..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0036_setval_ibexa_content_type_group_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_type_group_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_type_group; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql deleted file mode 100644 index 7b6d0cfe1d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0037_setval_ibexa_content_field_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_field_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_field; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql deleted file mode 100644 index 20229bca7a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0038_setval_ibexa_content_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql deleted file mode 100644 index 1857a4d6ea..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0039_setval_ibexa_content_relation_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_relation_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_relation; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql deleted file mode 100644 index aa3cfe2c04..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0040_setval_ibexa_content_tree_node_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_tree_node_id_seq', COALESCE(MAX(node_id), 1) ) FROM ibexa_content_tree; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql deleted file mode 100644 index f0c12436af..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0041_setval_ibexa_content_version_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_content_version_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_content_version; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql deleted file mode 100644 index 86730112e4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0042_setval_ibexa_image_file_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_image_file_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_image_file; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql deleted file mode 100644 index 1767283a6b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0043_setval_ibexa_keyword_field_link_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_keyword_field_link_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_keyword_field_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql deleted file mode 100644 index 1f06e40462..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0044_setval_ibexa_keyword_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_keyword_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_keyword; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql deleted file mode 100644 index 69d629bb29..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0045_setval_ibexa_node_assignment_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_node_assignment_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_node_assignment; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql deleted file mode 100644 index 29ef5708ee..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0046_setval_ibexa_notification_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_notification_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_notification; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql deleted file mode 100644 index e88663a73b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0047_setval_ibexa_package_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_package_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_package; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql deleted file mode 100644 index 7da0578503..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0048_setval_ibexa_policy_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_policy_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_policy; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql deleted file mode 100644 index a731325f17..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0049_setval_ibexa_policy_limitation_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_policy_limitation_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_policy_limitation; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql deleted file mode 100644 index 8de743a58e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0050_setval_ibexa_policy_limitation_value_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_policy_limitation_value_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_policy_limitation_value; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql deleted file mode 100644 index 727674f0af..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0051_setval_ibexa_user_preference_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_user_preference_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_user_preference; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql deleted file mode 100644 index 542cbd22d1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0052_setval_ibexa_role_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_role_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_role; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql deleted file mode 100644 index c5028e319f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0053_setval_ibexa_search_object_word_link_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_search_object_word_link_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_search_object_word_link; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql deleted file mode 100644 index 20334d7f3a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0054_setval_ibexa_search_word_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_search_word_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_search_word; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql deleted file mode 100644 index 285bbdd057..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0055_setval_ibexa_section_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_section_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_section; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql deleted file mode 100644 index e9c38e4fb4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0056_setval_ibexa_url_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_url_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql deleted file mode 100644 index 3785200f46..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0057_setval_ibexa_url_alias_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_url_alias_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url_alias; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql deleted file mode 100644 index 278e452839..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0058_setval_ibexa_url_alias_ml_incr_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_url_alias_ml_incr_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url_alias_ml_incr; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql deleted file mode 100644 index 51ec0baedb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0059_setval_ibexa_url_wildcard_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_url_wildcard_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_url_wildcard; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql deleted file mode 100644 index dcda0cd494..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0060_setval_ibexa_user_accountkey_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_user_accountkey_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_user_accountkey; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql deleted file mode 100644 index 5047855424..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/postgresql/data/0061_setval_ibexa_user_role_id_seq.sql +++ /dev/null @@ -1 +0,0 @@ -SELECT SETVAL('ibexa_user_role_id_seq', COALESCE(MAX(id), 1) ) FROM ibexa_user_role; diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql deleted file mode 100644 index 72666e79c5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0001_create_ibexa_binary_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_binary_file (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, download_count INTEGER DEFAULT 0 NOT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, mime_type VARCHAR(255) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql deleted file mode 100644 index ecfba429b9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0002_create_ibexa_object_state.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, priority INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql deleted file mode 100644 index 5826aaef24..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0003_index_ibexa_object_state_ibexa_object_state_priority.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_object_state_priority ON ibexa_object_state (priority); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql deleted file mode 100644 index 60be743406..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0004_index_ibexa_object_state_ibexa_object_state_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_object_state_lmask ON ibexa_object_state (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql deleted file mode 100644 index 38a0fa6827..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0005_index_ibexa_object_state_ibexa_object_state_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_object_state_identifier ON ibexa_object_state (group_id, identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql deleted file mode 100644 index e0a49092df..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0006_create_ibexa_object_state_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_group (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, default_language_id BIGINT DEFAULT 0 NOT NULL, identifier VARCHAR(45) DEFAULT '' NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql deleted file mode 100644 index 507f119efb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0007_index_ibexa_object_state_group_ibexa_object_state_group_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_object_state_group_lmask ON ibexa_object_state_group (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql deleted file mode 100644 index d3a6cf12d0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0008_index_ibexa_object_state_group_ibexa_object_state_group_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_object_state_group_identifier ON ibexa_object_state_group (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql deleted file mode 100644 index 7a74ca31eb..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0009_create_ibexa_object_state_group_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_group_language (contentobject_state_group_id INTEGER DEFAULT 0 NOT NULL, real_language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_group_id, real_language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql deleted file mode 100644 index 1db6e699f1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0010_create_ibexa_object_state_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_language (contentobject_state_id INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, description CLOB NOT NULL, name VARCHAR(45) DEFAULT '' NOT NULL, PRIMARY KEY(contentobject_state_id, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql deleted file mode 100644 index 9c930f3b81..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0011_create_ibexa_object_state_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_object_state_link (contentobject_id INTEGER DEFAULT 0 NOT NULL, contentobject_state_id INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(contentobject_id, contentobject_state_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql deleted file mode 100644 index 54f650f8ff..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0012_create_ibexa_content_language.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_language (id BIGINT DEFAULT 0 NOT NULL, disabled INTEGER DEFAULT 0 NOT NULL, locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql deleted file mode 100644 index f95137a14e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0013_index_ibexa_content_language_ibexa_content_language_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_language_name ON ibexa_content_language (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql deleted file mode 100644 index 283e5d125d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0014_create_ibexa_user.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user (contentobject_id INTEGER DEFAULT 0 NOT NULL, email VARCHAR(150) DEFAULT '' NOT NULL, login VARCHAR(150) DEFAULT '' NOT NULL, password_hash VARCHAR(255) DEFAULT NULL, password_hash_type INTEGER DEFAULT 1 NOT NULL, password_updated_at INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql deleted file mode 100644 index b49abbfa91..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0015_index_ibexa_user_ibexa_user_login.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_user_login ON ibexa_user (login); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql deleted file mode 100644 index bf8300cb6e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0016_create_ibexa_content_tree.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_tree (node_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_is_published INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql deleted file mode 100644 index d686c910b2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0017_index_ibexa_content_tree_ibexa_content_tree_p_node_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_p_node_id ON ibexa_content_tree (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql deleted file mode 100644 index 0f9daed470..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0018_index_ibexa_content_tree_ibexa_content_tree_path_ident.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_path_ident ON ibexa_content_tree (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql deleted file mode 100644 index 1712708976..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0019_index_ibexa_content_tree_ibexa_content_tree_contentobject_id_path_string.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_contentobject_id_path_string ON ibexa_content_tree (path_string, contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql deleted file mode 100644 index ef847742e7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0020_index_ibexa_content_tree_ibexa_content_tree_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_co_id ON ibexa_content_tree (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql deleted file mode 100644 index eab7a10df6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0021_index_ibexa_content_tree_ibexa_content_tree_depth.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_depth ON ibexa_content_tree (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql deleted file mode 100644 index f4d449f8c8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0022_index_ibexa_content_tree_ibexa_content_tree_path.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_path ON ibexa_content_tree (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql deleted file mode 100644 index 597f0baf62..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0023_index_ibexa_content_tree_ibexa_content_modified_subnode.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_modified_subnode ON ibexa_content_tree (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql deleted file mode 100644 index f2407dd47f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0024_index_ibexa_content_tree_ibexa_content_tree_remote_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_tree_remote_id ON ibexa_content_tree (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql deleted file mode 100644 index 73411b24ba..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0025_create_ibexa_content_bookmark.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_bookmark (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, node_id INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, CONSTRAINT ibexa_content_bookmark_location_fk FOREIGN KEY (node_id) REFERENCES ibexa_content_tree (node_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE, CONSTRAINT ibexa_content_bookmark_user_fk FOREIGN KEY (user_id) REFERENCES ibexa_user (contentobject_id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql deleted file mode 100644 index da8bdcb2ee..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0026_index_ibexa_content_bookmark_ibexa_content_bookmark_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_bookmark_location ON ibexa_content_bookmark (node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql deleted file mode 100644 index cebfbca729..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0027_index_ibexa_content_bookmark_ibexa_content_bookmark_user.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_bookmark_user ON ibexa_content_bookmark (user_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql deleted file mode 100644 index ceb1ad9be3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0028_index_ibexa_content_bookmark_ibexa_content_bookmark_user_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_bookmark_user_location ON ibexa_content_bookmark (user_id, node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql deleted file mode 100644 index 531c774503..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0029_create_ibexa_content_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, status INTEGER DEFAULT 0 NOT NULL, always_available INTEGER DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, is_container INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB DEFAULT NULL, sort_field INTEGER DEFAULT 1 NOT NULL, sort_order INTEGER DEFAULT 1 NOT NULL, url_alias_name VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql deleted file mode 100644 index abefabe9f2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0030_index_ibexa_content_type_ibexa_content_type_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_status ON ibexa_content_type (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql deleted file mode 100644 index e61735359b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0031_index_ibexa_content_type_ibexa_content_type_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_identifier ON ibexa_content_type (identifier, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql deleted file mode 100644 index 490fd2d69b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0032_create_ibexa_content_type_field_definition.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_field_definition (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, status INTEGER DEFAULT 0 NOT NULL, can_translate INTEGER DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, content_type_id INTEGER DEFAULT 0 NOT NULL, data_float1 DOUBLE PRECISION DEFAULT NULL, data_float2 DOUBLE PRECISION DEFAULT NULL, data_float3 DOUBLE PRECISION DEFAULT NULL, data_float4 DOUBLE PRECISION DEFAULT NULL, data_int1 INTEGER DEFAULT NULL, data_int2 INTEGER DEFAULT NULL, data_int3 INTEGER DEFAULT NULL, data_int4 INTEGER DEFAULT NULL, data_text1 VARCHAR(255) DEFAULT NULL, data_text2 VARCHAR(50) DEFAULT NULL, data_text3 VARCHAR(50) DEFAULT NULL, data_text4 VARCHAR(255) DEFAULT NULL, data_text5 CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '' NOT NULL, identifier VARCHAR(50) DEFAULT '' NOT NULL, is_information_collector INTEGER DEFAULT 0 NOT NULL, is_required INTEGER DEFAULT 0 NOT NULL, is_searchable INTEGER DEFAULT 0 NOT NULL, is_thumbnail BOOLEAN DEFAULT '0' NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, serialized_data_text CLOB DEFAULT NULL, serialized_description_list CLOB DEFAULT NULL, serialized_name_list CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql deleted file mode 100644 index f8e2452ae5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0033_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_ctid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_field_definition_ctid ON ibexa_content_type_field_definition (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql deleted file mode 100644 index 453cd13008..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0034_index_ibexa_content_type_field_definition_ibexa_content_type_field_definition_dts.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_field_definition_dts ON ibexa_content_type_field_definition (data_type_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql deleted file mode 100644 index 9baca2231c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0035_create_ibexa_content_type_field_definition_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_field_definition_ml (content_type_field_definition_id INTEGER NOT NULL, status INTEGER NOT NULL, language_id BIGINT NOT NULL, name VARCHAR(255) NOT NULL, description CLOB DEFAULT NULL, data_text CLOB DEFAULT NULL, data_json CLOB DEFAULT NULL, PRIMARY KEY(content_type_field_definition_id, status, language_id), CONSTRAINT ibexa_content_type_field_definition_ml_lang_fk FOREIGN KEY (language_id) REFERENCES ibexa_content_language (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql deleted file mode 100644 index 670308e41e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0036_index_ibexa_content_type_field_definition_ml_ibexa_content_type_field_definition_ml_lang_fk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_field_definition_ml_lang_fk ON ibexa_content_type_field_definition_ml (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql deleted file mode 100644 index 2ee133c63f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0037_create_ibexa_content_type_group_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_group_assignment (content_type_id INTEGER DEFAULT 0 NOT NULL, content_type_status INTEGER DEFAULT 0 NOT NULL, group_id INTEGER DEFAULT 0 NOT NULL, group_name VARCHAR(255) DEFAULT NULL, PRIMARY KEY(content_type_id, content_type_status, group_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql deleted file mode 100644 index 8556bc0d86..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0038_create_ibexa_content_type_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_name (content_type_id INTEGER DEFAULT 0 NOT NULL, content_type_status INTEGER DEFAULT 0 NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, language_locale VARCHAR(20) DEFAULT '' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY(content_type_id, content_type_status, language_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql deleted file mode 100644 index ec89241b8b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0039_create_ibexa_content_type_group.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_type_group (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, modifier_id INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, is_system BOOLEAN DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql deleted file mode 100644 index 6af42d7369..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0040_create_ibexa_content.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, content_type_id INTEGER DEFAULT 0 NOT NULL, current_version INTEGER DEFAULT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT NULL, section_id INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0, is_hidden BOOLEAN DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql deleted file mode 100644 index 33a031bd4d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0041_index_ibexa_content_ibexa_content_type_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_type_id ON ibexa_content (content_type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql deleted file mode 100644 index 32497a5d84..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0042_index_ibexa_content_ibexa_content_lmask.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_lmask ON ibexa_content (language_mask); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql deleted file mode 100644 index 736a4155af..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0043_index_ibexa_content_ibexa_content_pub.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_pub ON ibexa_content (published); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql deleted file mode 100644 index 19457bef18..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0044_index_ibexa_content_ibexa_content_section.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_section ON ibexa_content (section_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql deleted file mode 100644 index edd6826160..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0045_index_ibexa_content_ibexa_content_currentversion.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_currentversion ON ibexa_content (current_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql deleted file mode 100644 index 0790e62c88..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0046_index_ibexa_content_ibexa_content_owner.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_owner ON ibexa_content (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql deleted file mode 100644 index 48c05cd4f6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0047_index_ibexa_content_ibexa_content_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_status ON ibexa_content (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql deleted file mode 100644 index 45c31edd02..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0048_index_ibexa_content_ibexa_content_remote_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_content_remote_id ON ibexa_content (remote_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql deleted file mode 100644 index 51e68dbdbe..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0049_create_ibexa_content_field.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_field (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, version INTEGER DEFAULT 0 NOT NULL, attribute_original_id INTEGER DEFAULT 0, content_type_field_definition_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, data_float DOUBLE PRECISION DEFAULT NULL, data_int INTEGER DEFAULT NULL, data_text CLOB DEFAULT NULL, data_type_string VARCHAR(50) DEFAULT '', language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INTEGER DEFAULT 0 NOT NULL, sort_key_string VARCHAR(255) DEFAULT '' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql deleted file mode 100644 index 93726617f0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0050_index_ibexa_content_field_ibexa_content_field_co_id_ver_lang_code.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_co_id_ver_lang_code ON ibexa_content_field (contentobject_id, version, language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql deleted file mode 100644 index 4d432626a5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0051_index_ibexa_content_field_ibexa_content_field_field_definition_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_field_definition_id ON ibexa_content_field (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql deleted file mode 100644 index ec24a9b21f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0052_index_ibexa_content_field_sort_key_string.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX sort_key_string ON ibexa_content_field (sort_key_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql deleted file mode 100644 index c530bbb7d8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0053_index_ibexa_content_field_ibexa_content_field_language_code.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_language_code ON ibexa_content_field (language_code); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql deleted file mode 100644 index 884b7ff664..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0054_index_ibexa_content_field_sort_key_int.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX sort_key_int ON ibexa_content_field (sort_key_int); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql deleted file mode 100644 index 9d647be9c1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0055_index_ibexa_content_field_ibexa_content_field_co_id_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_field_co_id_ver ON ibexa_content_field (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql deleted file mode 100644 index b8d2cd590a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0056_create_ibexa_content_relation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_relation (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, content_type_field_definition_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_id INTEGER DEFAULT 0 NOT NULL, from_contentobject_version INTEGER DEFAULT 0 NOT NULL, relation_type INTEGER DEFAULT 1 NOT NULL, to_contentobject_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql deleted file mode 100644 index ca644fd1dd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0057_index_ibexa_content_relation_ibexa_content_relation_to_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_relation_to_co_id ON ibexa_content_relation (to_contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql deleted file mode 100644 index f62d709bae..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0058_index_ibexa_content_relation_ibexa_content_relation_from.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_relation_from ON ibexa_content_relation (from_contentobject_id, from_contentobject_version, content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql deleted file mode 100644 index ef1e83724d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0059_index_ibexa_content_relation_ibexa_content_relation_ccfd_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql deleted file mode 100644 index 95be4f4e69..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0060_create_ibexa_content_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_name (contentobject_id INTEGER DEFAULT 0 NOT NULL, content_version INTEGER DEFAULT 0 NOT NULL, content_translation VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT NULL, real_translation VARCHAR(20) DEFAULT NULL, PRIMARY KEY(contentobject_id, content_version, content_translation)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql deleted file mode 100644 index b4016f33cd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0061_index_ibexa_content_name_ibexa_content_name_lang_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_name_lang_id ON ibexa_content_name (language_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql deleted file mode 100644 index a162e3e70e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0062_index_ibexa_content_name_ibexa_content_name_cov_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_name_cov_id ON ibexa_content_name (content_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql deleted file mode 100644 index b1b1ed6f83..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0063_index_ibexa_content_name_ibexa_content_name_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_name_name ON ibexa_content_name (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql deleted file mode 100644 index cb167ea200..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0064_create_ibexa_content_trash.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_trash (node_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, depth INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL, is_invisible INTEGER DEFAULT 0 NOT NULL, main_node_id INTEGER DEFAULT NULL, modified_subnode INTEGER DEFAULT 0, parent_node_id INTEGER DEFAULT 0 NOT NULL, path_identification_string CLOB DEFAULT NULL, path_string VARCHAR(255) DEFAULT '' NOT NULL, priority INTEGER DEFAULT 0 NOT NULL, remote_id VARCHAR(100) DEFAULT '' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, trashed INTEGER DEFAULT 0 NOT NULL, PRIMARY KEY(node_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql deleted file mode 100644 index a7f3aaf8cf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0065_index_ibexa_content_trash_ibexa_content_trash_depth.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_depth ON ibexa_content_trash (depth); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql deleted file mode 100644 index 7353270650..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0066_index_ibexa_content_trash_ibexa_content_trash_p_node_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_p_node_id ON ibexa_content_trash (parent_node_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql deleted file mode 100644 index 8108c8112e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0067_index_ibexa_content_trash_ibexa_content_trash_path_ident.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_path_ident ON ibexa_content_trash (path_identification_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql deleted file mode 100644 index 7be1fea30f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0068_index_ibexa_content_trash_ibexa_content_trash_co_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_co_id ON ibexa_content_trash (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql deleted file mode 100644 index 1c0b897b62..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0069_index_ibexa_content_trash_ibexa_content_trash_modified_subnode.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_modified_subnode ON ibexa_content_trash (modified_subnode); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql deleted file mode 100644 index 5a29b83d62..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0070_index_ibexa_content_trash_ibexa_content_trash_path.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_trash_path ON ibexa_content_trash (path_string); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql deleted file mode 100644 index 22ef073b23..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0071_create_ibexa_content_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_content_version (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, creator_id INTEGER DEFAULT 0 NOT NULL, initial_language_id BIGINT DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, status INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, workflow_event_pos INTEGER DEFAULT 0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql deleted file mode 100644 index 38615b8104..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0072_index_ibexa_content_version_ibexa_content_version_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_status ON ibexa_content_version (status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql deleted file mode 100644 index 6e2dfb52fa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0073_index_ibexa_content_version_ibexa_content_version_idx_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_idx_ver ON ibexa_content_version (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql deleted file mode 100644 index 1ba59bfc72..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0074_index_ibexa_content_version_ibexa_content_version_idx_status.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_idx_status ON ibexa_content_version (contentobject_id, status); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql deleted file mode 100644 index 834ec3deb3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0075_index_ibexa_content_version_ibexa_content_version_creator_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_content_version_creator_id ON ibexa_content_version (creator_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql deleted file mode 100644 index 14a3a4fa5a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0076_create_ibexa_dfs_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_dfs_file (name_hash VARCHAR(34) DEFAULT '' NOT NULL, name CLOB NOT NULL, name_trunk CLOB NOT NULL, datatype VARCHAR(255) DEFAULT 'application/octet-stream' NOT NULL, scope VARCHAR(25) DEFAULT '' NOT NULL, size BIGINT UNSIGNED DEFAULT 0 NOT NULL, mtime INTEGER DEFAULT 0 NOT NULL, expired BOOLEAN DEFAULT '0' NOT NULL, status BOOLEAN DEFAULT '0' NOT NULL, PRIMARY KEY(name_hash)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql deleted file mode 100644 index 8391ba0217..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0077_index_ibexa_dfs_file_ibexa_dfs_file_name_trunk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_name_trunk ON ibexa_dfs_file (name_trunk); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql deleted file mode 100644 index 74985d0c93..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0078_index_ibexa_dfs_file_ibexa_dfs_file_expired_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_expired_name ON ibexa_dfs_file (expired, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql deleted file mode 100644 index e921fe6650..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0079_index_ibexa_dfs_file_ibexa_dfs_file_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_name ON ibexa_dfs_file (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql deleted file mode 100644 index 469533ca93..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0080_index_ibexa_dfs_file_ibexa_dfs_file_mtime.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_dfs_file_mtime ON ibexa_dfs_file (mtime); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql deleted file mode 100644 index 225f2946d8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0081_create_ibexa_map_location.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_map_location (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_version INTEGER DEFAULT 0 NOT NULL, latitude DOUBLE PRECISION DEFAULT '0' NOT NULL, longitude DOUBLE PRECISION DEFAULT '0' NOT NULL, address VARCHAR(150) DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, contentobject_version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql deleted file mode 100644 index 6b5b375d51..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0082_index_ibexa_map_location_ibexa_map_location_latitude_longitude_key.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_map_location_latitude_longitude_key ON ibexa_map_location (latitude, longitude); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql deleted file mode 100644 index f4294149c4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0083_create_ibexa_image_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_image_file (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, filepath CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql deleted file mode 100644 index 5a95b4318b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0084_index_ibexa_image_file_ibexa_image_file_file.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_image_file_file ON ibexa_image_file (filepath); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql deleted file mode 100644 index 4134ec7b9f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0085_index_ibexa_image_file_ibexa_image_file_coid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_image_file_coid ON ibexa_image_file (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql deleted file mode 100644 index a0e82d451f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0086_create_ibexa_keyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_keyword (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, class_id INTEGER DEFAULT 0 NOT NULL, keyword VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql deleted file mode 100644 index 499d339734..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0087_index_ibexa_keyword_ibexa_keyword_keyword.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_keyword ON ibexa_keyword (keyword); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql deleted file mode 100644 index 1bf50ba6c8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0088_create_ibexa_keyword_field_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_keyword_field_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, keyword_id INTEGER DEFAULT 0 NOT NULL, objectattribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql deleted file mode 100644 index 982b9a7f6a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0089_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_field_link_oaid ON ibexa_keyword_field_link (objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql deleted file mode 100644 index 0b45f48a7c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0090_index_ibexa_keyword_field_link_ibexa_keyword_field_link_kid_oaid.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_field_link_kid_oaid ON ibexa_keyword_field_link (keyword_id, objectattribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql deleted file mode 100644 index f26ce33baf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0091_index_ibexa_keyword_field_link_ibexa_keyword_field_link_oaid_ver.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_keyword_field_link_oaid_ver ON ibexa_keyword_field_link (objectattribute_id, version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql deleted file mode 100644 index 597a6b775c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0092_create_ibexa_media.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_media (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, version INTEGER DEFAULT 0 NOT NULL, controls VARCHAR(50) DEFAULT NULL, filename VARCHAR(255) DEFAULT '' NOT NULL, has_controller INTEGER DEFAULT 0, height INTEGER DEFAULT NULL, is_autoplay INTEGER DEFAULT 0, is_loop INTEGER DEFAULT 0, mime_type VARCHAR(50) DEFAULT '' NOT NULL, original_filename VARCHAR(255) DEFAULT '' NOT NULL, pluginspage VARCHAR(255) DEFAULT NULL, quality VARCHAR(50) DEFAULT NULL, width INTEGER DEFAULT NULL, PRIMARY KEY(contentobject_attribute_id, version)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql deleted file mode 100644 index 172cdae7e6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0093_create_ibexa_node_assignment.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_node_assignment (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, contentobject_version INTEGER DEFAULT NULL, from_node_id INTEGER DEFAULT 0, is_main INTEGER DEFAULT 0 NOT NULL, op_code INTEGER DEFAULT 0 NOT NULL, parent_node INTEGER DEFAULT NULL, parent_remote_id VARCHAR(100) DEFAULT '' NOT NULL, remote_id VARCHAR(100) DEFAULT '0' NOT NULL, sort_field INTEGER DEFAULT 1, sort_order INTEGER DEFAULT 1, priority INTEGER DEFAULT 0 NOT NULL, is_hidden INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql deleted file mode 100644 index 7d474bf250..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0094_index_ibexa_node_assignment_ibexa_node_assignment_is_main.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_is_main ON ibexa_node_assignment (is_main); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql deleted file mode 100644 index e33fbd46b2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0095_index_ibexa_node_assignment_ibexa_node_assignment_coid_cov.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_coid_cov ON ibexa_node_assignment (contentobject_id, contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql deleted file mode 100644 index b6e3bb305b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0096_index_ibexa_node_assignment_ibexa_node_assignment_parent_node.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_parent_node ON ibexa_node_assignment (parent_node); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql deleted file mode 100644 index ba16836181..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0097_index_ibexa_node_assignment_ibexa_node_assignment_co_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_node_assignment_co_version ON ibexa_node_assignment (contentobject_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql deleted file mode 100644 index 0b847b3303..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0098_create_ibexa_notification.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_notification (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, owner_id INTEGER DEFAULT 0 NOT NULL, is_pending BOOLEAN DEFAULT '1' NOT NULL, type VARCHAR(128) DEFAULT '' NOT NULL, created INTEGER DEFAULT 0 NOT NULL, data CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql deleted file mode 100644 index 74453e4129..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0099_index_ibexa_notification_ibexa_notification_owner_is_pending.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_notification_owner_is_pending ON ibexa_notification (owner_id, is_pending); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql deleted file mode 100644 index acc0093c1c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0100_index_ibexa_notification_ibexa_notification_owner.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_notification_owner ON ibexa_notification (owner_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql deleted file mode 100644 index 6f94beae79..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0101_create_ibexa_package.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_package (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, install_date INTEGER DEFAULT 0 NOT NULL, name VARCHAR(100) DEFAULT '' NOT NULL, version VARCHAR(30) DEFAULT '0' NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql deleted file mode 100644 index a6592bf283..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0102_create_ibexa_policy.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, function_name VARCHAR(255) DEFAULT NULL, module_name VARCHAR(255) DEFAULT NULL, original_id INTEGER DEFAULT 0 NOT NULL, role_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql deleted file mode 100644 index a7390a7cc9..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0103_index_ibexa_policy_ibexa_policy_role_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_role_id ON ibexa_policy (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql deleted file mode 100644 index c84254dffc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0104_index_ibexa_policy_ibexa_policy_original_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_original_id ON ibexa_policy (original_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql deleted file mode 100644 index 3ad75585d5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0105_create_ibexa_policy_limitation.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy_limitation (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, policy_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql deleted file mode 100644 index 18d2c85a03..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0106_index_ibexa_policy_limitation_ibexa_policy_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_id ON ibexa_policy_limitation (policy_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql deleted file mode 100644 index e70595b525..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0107_create_ibexa_policy_limitation_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_policy_limitation_value (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, limitation_id INTEGER DEFAULT NULL, value VARCHAR(255) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql deleted file mode 100644 index 04e7f07679..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0108_index_ibexa_policy_limitation_value_ibexa_policy_limit_value_limit_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_limit_value_limit_id ON ibexa_policy_limitation_value (limitation_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql deleted file mode 100644 index 8f30cd8184..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0109_index_ibexa_policy_limitation_value_ibexa_policy_limitation_value_val.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_policy_limitation_value_val ON ibexa_policy_limitation_value (value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql deleted file mode 100644 index 29781d3a49..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0110_create_ibexa_user_preference.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_preference (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name VARCHAR(100) DEFAULT NULL, user_id INTEGER DEFAULT 0 NOT NULL, value CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql deleted file mode 100644 index 3d17125e44..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0111_index_ibexa_user_preference_ibexa_user_preference_user_id_idx.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_preference_user_id_idx ON ibexa_user_preference (user_id, name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql deleted file mode 100644 index 763c959525..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0112_index_ibexa_user_preference_ibexa_user_preference_name.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_preference_name ON ibexa_user_preference (name); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql deleted file mode 100644 index fca332a08b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0113_create_ibexa_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_role (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, is_new INTEGER DEFAULT 0 NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, value CHAR(1) DEFAULT NULL, version INTEGER DEFAULT 0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql deleted file mode 100644 index 0fdc19594b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0114_create_ibexa_search_object_word_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_search_object_word_link (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, content_type_field_definition_id INTEGER DEFAULT 0 NOT NULL, content_type_id INTEGER DEFAULT 0 NOT NULL, contentobject_id INTEGER DEFAULT 0 NOT NULL, frequency DOUBLE PRECISION DEFAULT '0' NOT NULL, identifier VARCHAR(255) DEFAULT '' NOT NULL, integer_value INTEGER DEFAULT 0 NOT NULL, next_word_id INTEGER DEFAULT 0 NOT NULL, placement INTEGER DEFAULT 0 NOT NULL, prev_word_id INTEGER DEFAULT 0 NOT NULL, published INTEGER DEFAULT 0 NOT NULL, section_id INTEGER DEFAULT 0 NOT NULL, word_id INTEGER DEFAULT 0 NOT NULL, language_mask BIGINT DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql deleted file mode 100644 index 2979febcf7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0115_index_ibexa_search_object_word_link_ibexa_search_object_word_link_object.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_object ON ibexa_search_object_word_link (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql deleted file mode 100644 index 7a7882ea59..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0116_index_ibexa_search_object_word_link_ibexa_search_object_word_link_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_identifier ON ibexa_search_object_word_link (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql deleted file mode 100644 index 561c155c92..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0117_index_ibexa_search_object_word_link_ibexa_search_object_word_link_integer_value.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_integer_value ON ibexa_search_object_word_link (integer_value); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql deleted file mode 100644 index c78a04a41a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0118_index_ibexa_search_object_word_link_ibexa_search_object_word_link_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_word ON ibexa_search_object_word_link (word_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql deleted file mode 100644 index b3d1751e6c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0119_index_ibexa_search_object_word_link_ibexa_search_object_word_link_frequency.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_object_word_link_frequency ON ibexa_search_object_word_link (frequency); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql deleted file mode 100644 index 4975eb3136..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0120_create_ibexa_search_word.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_search_word (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, object_count INTEGER DEFAULT 0 NOT NULL, word VARCHAR(150) DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql deleted file mode 100644 index 171471b339..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0121_index_ibexa_search_word_ibexa_search_word_word_i.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_word_word_i ON ibexa_search_word (word); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql deleted file mode 100644 index a2098d0ab4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0122_index_ibexa_search_word_ibexa_search_word_obj_count.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_search_word_obj_count ON ibexa_search_word (object_count); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql deleted file mode 100644 index 8df5a3a64b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0123_create_ibexa_section.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_section (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(255) DEFAULT NULL, locale VARCHAR(255) DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, navigation_part_identifier VARCHAR(100) DEFAULT 'ezcontentnavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql deleted file mode 100644 index 613fa731b5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0124_create_ibexa_site_data.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_site_data (name VARCHAR(60) DEFAULT '' NOT NULL, value CLOB NOT NULL, PRIMARY KEY(name)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql deleted file mode 100644 index 4d44606ea3..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0125_create_ibexa_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, created INTEGER DEFAULT 0 NOT NULL, is_valid INTEGER DEFAULT 1 NOT NULL, last_checked INTEGER DEFAULT 0 NOT NULL, modified INTEGER DEFAULT 0 NOT NULL, original_url_md5 VARCHAR(32) DEFAULT '' NOT NULL, url CLOB DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql deleted file mode 100644 index 7a08f3b1db..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0126_index_ibexa_url_ibexa_url_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_url ON ibexa_url (url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql deleted file mode 100644 index abf45d5f71..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0127_create_ibexa_url_content_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_content_link (contentobject_attribute_id INTEGER DEFAULT 0 NOT NULL, contentobject_attribute_version INTEGER DEFAULT 0 NOT NULL, url_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql deleted file mode 100644 index 258187b47a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0128_index_ibexa_url_content_link_ibexa_url_ol_coa_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_coa_id ON ibexa_url_content_link (contentobject_attribute_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql deleted file mode 100644 index 9dd2926df0..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0129_index_ibexa_url_content_link_ibexa_url_ol_url_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_url_id ON ibexa_url_content_link (url_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql deleted file mode 100644 index db2e9886fa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0130_index_ibexa_url_content_link_ibexa_url_ol_coa_version.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_coa_version ON ibexa_url_content_link (contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql deleted file mode 100644 index 2c2b9b0ab5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0131_index_ibexa_url_content_link_ibexa_url_ol_coa_id_cav.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_ol_coa_id_cav ON ibexa_url_content_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql deleted file mode 100644 index e6e5bf58a8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0132_create_ibexa_url_alias.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, forward_to_id INTEGER DEFAULT 0 NOT NULL, is_imported INTEGER DEFAULT 0 NOT NULL, is_internal INTEGER DEFAULT 1 NOT NULL, is_wildcard INTEGER DEFAULT 0 NOT NULL, source_md5 VARCHAR(32) DEFAULT NULL, source_url CLOB NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql deleted file mode 100644 index ffe6981649..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0133_index_ibexa_url_alias_ibexa_url_alias_source_md5.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_source_md5 ON ibexa_url_alias (source_md5); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql deleted file mode 100644 index 2e84f84a69..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0134_index_ibexa_url_alias_ibexa_url_alias_wcard_fwd.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_wcard_fwd ON ibexa_url_alias (is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql deleted file mode 100644 index daf44ce9e2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0135_index_ibexa_url_alias_ibexa_url_alias_forward_to_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_forward_to_id ON ibexa_url_alias (forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql deleted file mode 100644 index 218055c124..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0136_index_ibexa_url_alias_ibexa_url_alias_imp_wcard_fwd.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_imp_wcard_fwd ON ibexa_url_alias (is_imported, is_wildcard, forward_to_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql deleted file mode 100644 index cd3078d4aa..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0137_index_ibexa_url_alias_ibexa_url_alias_source_url.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_source_url ON ibexa_url_alias (source_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql deleted file mode 100644 index 1357e15320..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0138_index_ibexa_url_alias_ibexa_url_alias_desturl.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_desturl ON ibexa_url_alias (destination_url); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql deleted file mode 100644 index 09360d07da..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0139_create_ibexa_url_alias_ml.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias_ml (parent INTEGER DEFAULT 0 NOT NULL, text_md5 VARCHAR(32) DEFAULT '' NOT NULL, "action" CLOB NOT NULL, action_type VARCHAR(32) DEFAULT '' NOT NULL, alias_redirects INTEGER DEFAULT 1 NOT NULL, id INTEGER DEFAULT 0 NOT NULL, is_alias INTEGER DEFAULT 0 NOT NULL, is_original INTEGER DEFAULT 0 NOT NULL, lang_mask BIGINT DEFAULT 0 NOT NULL, link INTEGER DEFAULT 0 NOT NULL, text CLOB NOT NULL, PRIMARY KEY(parent, text_md5)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql deleted file mode 100644 index 80426d6d25..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0140_index_ibexa_url_alias_ml_ibexa_url_alias_ml_actt_org_al.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_actt_org_al ON ibexa_url_alias_ml (action_type, is_original, is_alias); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql deleted file mode 100644 index 40898e833a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0141_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text_lang.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_text_lang ON ibexa_url_alias_ml (text, lang_mask, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql deleted file mode 100644 index b66f77c26d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0142_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_act_id_lnk.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_par_act_id_lnk ON ibexa_url_alias_ml ("action", id, link, parent); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql deleted file mode 100644 index d8dd20bc1e..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0143_index_ibexa_url_alias_ml_ibexa_url_alias_ml_par_lnk_txt.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_par_lnk_txt ON ibexa_url_alias_ml (parent, text, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql deleted file mode 100644 index 9da9048bbd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0144_index_ibexa_url_alias_ml_ibexa_url_alias_ml_act_org.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_act_org ON ibexa_url_alias_ml ("action", is_original); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql deleted file mode 100644 index 0cf1bc2dbf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0145_index_ibexa_url_alias_ml_ibexa_url_alias_ml_text.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_text ON ibexa_url_alias_ml (text, id, link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql deleted file mode 100644 index 43d854ee19..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0146_index_ibexa_url_alias_ml_ibexa_url_alias_ml_link.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_link ON ibexa_url_alias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql deleted file mode 100644 index 1d63e3df21..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0147_index_ibexa_url_alias_ml_ibexa_url_alias_ml_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_url_alias_ml_id ON ibexa_url_alias_ml (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql deleted file mode 100644 index 8a61928479..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0148_create_ibexa_url_alias_ml_incr.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_alias_ml_incr (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql deleted file mode 100644 index 3fea66d9ef..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0149_create_ibexa_url_wildcard.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_url_wildcard (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, destination_url CLOB NOT NULL, source_url CLOB NOT NULL, type INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql deleted file mode 100644 index 662e5a0e80..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0150_create_ibexa_user_accountkey.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_accountkey (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, hash_key VARCHAR(32) DEFAULT '' NOT NULL, time INTEGER DEFAULT 0 NOT NULL, user_id INTEGER DEFAULT 0 NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql deleted file mode 100644 index 261d15ac25..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0151_index_ibexa_user_accountkey_hash_key.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX hash_key ON ibexa_user_accountkey (hash_key); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql deleted file mode 100644 index bf42a480ed..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0152_create_ibexa_user_role.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_role (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, contentobject_id INTEGER DEFAULT NULL, limit_identifier VARCHAR(255) DEFAULT '', limit_value VARCHAR(255) DEFAULT '', role_id INTEGER DEFAULT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql deleted file mode 100644 index 8c83fae5a6..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0153_index_ibexa_user_role_ibexa_user_role_role_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_role_role_id ON ibexa_user_role (role_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql deleted file mode 100644 index f2c678cebc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0154_index_ibexa_user_role_ibexa_user_role_contentobject_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_user_role_contentobject_id ON ibexa_user_role (contentobject_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql deleted file mode 100644 index f6421b7bdf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0155_create_ibexa_user_setting.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_user_setting (user_id INTEGER DEFAULT 0 NOT NULL, is_enabled INTEGER DEFAULT 0 NOT NULL, max_login INTEGER DEFAULT NULL, PRIMARY KEY(user_id)); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql deleted file mode 100644 index 8d12ee2b45..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0156_create_ibexa_setting.sql +++ /dev/null @@ -1,2 +0,0 @@ -CREATE TABLE ibexa_setting (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group" VARCHAR(128) NOT NULL, identifier VARCHAR(128) NOT NULL, value CLOB NOT NULL --(DC2Type:json) -); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql deleted file mode 100644 index d6f3d3b0dc..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0157_index_ibexa_setting_ibexa_setting_id.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX ibexa_setting_id ON ibexa_setting (id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql deleted file mode 100644 index e2a05c6a8d..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0158_index_ibexa_setting_ibexa_setting_group_identifier.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_setting_group_identifier ON ibexa_setting ("group", identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql deleted file mode 100644 index 56545a77df..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0159_create_ibexa_token_type.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token_type (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, identifier VARCHAR(64) NOT NULL); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql deleted file mode 100644 index 17f4b2cf68..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0160_index_ibexa_token_type_ibexa_token_type_unique.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_token_type_unique ON ibexa_token_type (identifier); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql deleted file mode 100644 index 4ccb1fc31a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0161_create_ibexa_token.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE TABLE ibexa_token (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, type_id INTEGER NOT NULL, token VARCHAR(255) NOT NULL, identifier VARCHAR(128) DEFAULT NULL, created INTEGER DEFAULT 0 NOT NULL, expires INTEGER DEFAULT 0 NOT NULL, revoked BOOLEAN DEFAULT '0' NOT NULL, CONSTRAINT ibexa_token_type_id_fk FOREIGN KEY (type_id) REFERENCES ibexa_token_type (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql deleted file mode 100644 index 8217faeab1..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0162_index_ibexa_token_IDX_B5412887C54C8C93.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE INDEX IDX_B5412887C54C8C93 ON ibexa_token (type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql deleted file mode 100644 index 1d13c98da4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/0163_index_ibexa_token_ibexa_token_unique.sql +++ /dev/null @@ -1 +0,0 @@ -CREATE UNIQUE INDEX ibexa_token_unique ON ibexa_token (token, identifier, type_id); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql deleted file mode 100644 index 28d054bae2..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0001_insert_ibexa_object_state.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_object_state` (`default_language_id`, `group_id`, `id`, `identifier`, `language_mask`, `priority`) -VALUES (2, 2, 1, 'not_locked', 3, 0), - (2, 2, 2, 'locked', 3, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql deleted file mode 100644 index d6ecfca0a8..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0002_insert_ibexa_object_state_group.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_object_state_group` (`default_language_id`, `id`, `identifier`, `language_mask`) -VALUES (2,2,'ibexa_lock',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql deleted file mode 100644 index c2cce56918..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0003_insert_ibexa_object_state_group_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_object_state_group_language` (`contentobject_state_group_id`, `description`, `language_id`, `name`, `real_language_id`) -VALUES (2,'',3,'Lock',2); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql deleted file mode 100644 index 5447342e3b..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0004_insert_ibexa_object_state_language.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_object_state_language` (`contentobject_state_id`, `description`, `language_id`, `name`) -VALUES (1,'',3,'Not locked'), - (2,'',3,'Locked'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql deleted file mode 100644 index a58c50424a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0005_insert_ibexa_object_state_link.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_object_state_link` (`contentobject_id`, `contentobject_state_id`) -VALUES (1, 1), - (4, 1), - (10, 1), - (11, 1), - (12, 1), - (13, 1), - (14, 1), - (41, 1), - (42, 1), - (49, 1), - (50, 1), - (51, 1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql deleted file mode 100644 index 716102901f..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0006_insert_ibexa_content_language.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_content_language` (`disabled`, `id`, `locale`, `name`) -VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql deleted file mode 100644 index 0acd993329..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0007_insert_ibexa_content_type.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_content_type` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `status`) -VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql deleted file mode 100644 index d88a046425..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0008_insert_ibexa_content_type_field_definition.sql +++ /dev/null @@ -1,25 +0,0 @@ -INSERT INTO `ibexa_content_type_field_definition` (`can_translate`, `category`, `content_type_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `status`) -VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ibexa_string',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ibexa_string',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ibexa_string',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ibexa_user',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ibexa_string',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ibexa_image',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ibexa_richtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ibexa_richtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_boolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ibexa_string',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ibexa_richtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ibexa_binaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ibexa_string',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ibexa_author',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ibexa_object_relation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_string',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ibexa_richtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','ibexa_text',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ibexa_image',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql deleted file mode 100644 index 06892a0765..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0009_insert_ibexa_content_type_group_assignment.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_content_type_group_assignment` (`content_type_id`, `content_type_status`, `group_id`, `group_name`) -VALUES (1, 0, 1, 'Content'), - (2, 0, 1, 'Content'), - (3, 0, 2, 'Users'), - (4, 0, 2, 'Users'), - (5, 0, 3, 'Media'), - (12, 0, 3, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql deleted file mode 100644 index b62ac8a988..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0010_insert_ibexa_content_type_name.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_content_type_name` (`content_type_id`, `content_type_status`, `language_id`, `language_locale`, `name`) -VALUES (1, 0, 2, 'eng-GB', 'Folder'), - (2, 0, 3, 'eng-GB', 'Article'), - (3, 0, 3, 'eng-GB', 'User group'), - (4, 0, 3, 'eng-GB', 'User'), - (5, 0, 3, 'eng-GB', 'Image'), - (12, 0, 3, 'eng-GB', 'File'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql deleted file mode 100644 index 2eb94f3b43..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0011_insert_ibexa_content_type_group.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ibexa_content_type_group` (`created`, `creator_id`, `id`, `modified`, `modifier_id`, `name`) -VALUES (1031216928, 14, 1, 1033922106, 14, 'Content'), - (1031216941, 14, 2, 1033922113, 14, 'Users'), - (1032009743, 14, 3, 1033922120, 14, 'Media'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql deleted file mode 100644 index 7108cc1143..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0012_insert_ibexa_content.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_content` (`content_type_id`, `current_version`, `id`, `initial_language_id`, `language_mask`, `modified`, `name`, `owner_id`, `published`, `remote_id`, `section_id`, `status`) -VALUES (1,9,1,2,3,1448889046,'Ibexa Platform',14,1448889046,'9459d3c29e15006e45197295722c7ade',1,1), - (3,1,4,2,3,1033917596,'Users',14,1033917596,'f5c88a2209584891056f987fd965b0ba',2,1), - (4,2,10,2,3,1072180405,'Anonymous User',14,1033920665,'faaeb9be3bd98ed09f606fc16d144eca',2,1), - (3,1,11,2,3,1033920746,'Guest accounts',14,1033920746,'5f7f0bdb3381d6a461d8c29ff53d908f',2,1), - (3,1,12,2,3,1033920775,'Administrator users',14,1033920775,'9b47a45624b023b1a76c73b74d704acf',2,1), - (3,1,13,2,3,1033920794,'Editors',14,1033920794,'3c160cca19fb135f83bd02d911f04db2',2,1), - (4,3,14,2,3,1301062024,'Administrator User',14,1033920830,'1bb4fe25487f05527efa8bfd394cecc7',2,1), - (1,1,41,2,3,1060695457,'Media',14,1060695457,'a6e35cbcb7cd6ae4b691f3eee30cd262',3,1), - (3,1,42,2,3,1072180330,'Anonymous users',14,1072180330,'15b256dbea2ae72418ff5facc999e8f9',2,1), - (1,1,49,2,3,1080220197,'Images',14,1080220197,'e7ff633c6b8e0fd3531e74c6e712bead',3,1), - (1,1,50,2,3,1080220220,'Files',14,1080220220,'732a5acd01b51a6fe6eab448ad4138a9',3,1), - (1,1,51,2,3,1080220233,'Multimedia',14,1080220233,'09082deb98662a104f325aaa8c4933d3',3,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql deleted file mode 100644 index 0d542f8dbd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0013_insert_ibexa_content_field.sql +++ /dev/null @@ -1,41 +0,0 @@ -INSERT INTO `ibexa_content_field` (`attribute_original_id`, `content_type_field_definition_id`, `contentobject_id`, `data_float`, `data_int`, `data_text`, `data_type_string`, `id`, `language_code`, `language_id`, `sort_key_int`, `sort_key_string`, `version`) -VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ibexa_string',1,'eng-GB',3,0,'ibexa platform',9), - (0,119,1,NULL,NULL,'
You are now ready to start your project.
','ibexa_richtext',2,'eng-GB',3,0,'',9), - (0,7,4,NULL,NULL,'Main group','ibexa_string',7,'eng-GB',3,0,'',1), - (0,6,4,NULL,NULL,'Users','ibexa_string',8,'eng-GB',3,0,'',1), - (0,8,10,0,0,'Anonymous','ibexa_string',19,'eng-GB',3,0,'anonymous',2), - (0,9,10,0,0,'User','ibexa_string',20,'eng-GB',3,0,'user',2), - (0,12,10,0,0,'','ibexa_user',21,'eng-GB',3,0,'',2), - (0,6,11,0,0,'Guest accounts','ibexa_string',22,'eng-GB',3,0,'',1), - (0,7,11,0,0,'','ibexa_string',23,'eng-GB',3,0,'',1), - (0,6,12,0,0,'Administrator users','ibexa_string',24,'eng-GB',3,0,'',1), - (0,7,12,0,0,'','ibexa_string',25,'eng-GB',3,0,'',1), - (0,6,13,0,0,'Editors','ibexa_string',26,'eng-GB',3,0,'',1), - (0,7,13,0,0,'','ibexa_string',27,'eng-GB',3,0,'',1), - (0,8,14,0,0,'Administrator','ibexa_string',28,'eng-GB',3,0,'administrator',3), - (0,9,14,0,0,'User','ibexa_string',29,'eng-GB',3,0,'user',3), - (30,12,14,0,0,'','ibexa_user',30,'eng-GB',3,0,'',3), - (0,4,41,0,0,'Media','ibexa_string',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,'\n
\n','ibexa_richtext',99,'eng-GB',3,0,'',1), - (0,6,42,0,0,'Anonymous users','ibexa_string',100,'eng-GB',3,0,'anonymous users',1), - (0,7,42,0,0,'User group for the anonymous user','ibexa_string',101,'eng-GB',3,0,'user group for the anonymous user',1), - (0,155,1,NULL,NULL,'Ibexa Platform','ibexa_string',102,'eng-GB',3,0,'ibexa platform',9), - (0,155,41,0,0,'','ibexa_string',103,'eng-GB',3,0,'',1), - (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ibexa_richtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,'\n
\n','ibexa_richtext',105,'eng-GB',3,0,'',1), - (0,4,49,0,0,'Images','ibexa_string',142,'eng-GB',3,0,'images',1), - (0,155,49,0,0,'','ibexa_string',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,'\n
\n','ibexa_richtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,'\n
\n','ibexa_richtext',145,'eng-GB',3,0,'',1), - (0,4,50,0,0,'Files','ibexa_string',147,'eng-GB',3,0,'files',1), - (0,155,50,0,0,'','ibexa_string',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,'\n
\n','ibexa_richtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,'\n
\n','ibexa_richtext',150,'eng-GB',3,0,'',1), - (0,4,51,0,0,'Multimedia','ibexa_string',152,'eng-GB',3,0,'multimedia',1), - (0,155,51,0,0,'','ibexa_string',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,'\n
\n','ibexa_richtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,'\n
\n','ibexa_richtext',155,'eng-GB',3,0,'',1), - (0,179,10,0,0,'','ibexa_text',177,'eng-GB',3,0,'',2), - (0,179,14,0,0,'','ibexa_text',178,'eng-GB',3,0,'',3), - (0,180,10,0,0,'','ibexa_image',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,'\n\n','ibexa_image',180,'eng-GB',3,0,'',3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql deleted file mode 100644 index c36299fd6a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0014_insert_ibexa_content_name.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_content_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) -VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), - ('eng-GB',1,4,3,'Users','eng-GB'), - ('eng-GB',2,10,3,'Anonymous User','eng-GB'), - ('eng-GB',1,11,3,'Guest accounts','eng-GB'), - ('eng-GB',1,12,3,'Administrator users','eng-GB'), - ('eng-GB',1,13,3,'Editors','eng-GB'), - ('eng-GB',3,14,3,'Administrator User','eng-GB'), - ('eng-GB',1,41,3,'Media','eng-GB'), - ('eng-GB',1,42,3,'Anonymous users','eng-GB'), - ('eng-GB',1,49,3,'Images','eng-GB'), - ('eng-GB',1,50,3,'Files','eng-GB'), - ('eng-GB',1,51,3,'Multimedia','eng-GB'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql deleted file mode 100644 index 65d092ccef..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0015_insert_ibexa_content_tree.sql +++ /dev/null @@ -1,14 +0,0 @@ -INSERT INTO `ibexa_content_tree` (`contentobject_id`, `contentobject_is_published`, `contentobject_version`, `depth`, `is_hidden`, `is_invisible`, `main_node_id`, `modified_subnode`, `node_id`, `parent_node_id`, `path_identification_string`, `path_string`, `priority`, `remote_id`, `sort_field`, `sort_order`) -VALUES (0,1,1,0,0,0,1,1448999778,1,1,'','/1/',0,'629709ba256fe317c3ddcee35453a96a',1,1), - (1,1,9,1,0,0,2,1301073466,2,1,'node_2','/1/2/',0,'f3e90596361e31d496d4026eb624c983',8,1), - (4,1,1,1,0,0,5,1301062024,5,1,'users','/1/5/',0,'3f6d92f8044aed134f32153517850f5a',1,1), - (11,1,1,2,0,0,12,1081860719,12,5,'users/guest_accounts','/1/5/12/',0,'602dcf84765e56b7f999eaafd3821dd3',1,1), - (12,1,1,2,0,0,13,1301062024,13,5,'users/administrator_users','/1/5/13/',0,'769380b7aa94541679167eab817ca893',1,1), - (13,1,1,2,0,0,14,1081860719,14,5,'users/editors','/1/5/14/',0,'f7dda2854fc68f7c8455d9cb14bd04a9',1,1), - (14,1,3,3,0,0,15,1301062024,15,13,'users/administrator_users/administrator_user','/1/5/13/15/',0,'e5161a99f733200b9ed4e80f9c16187b',1,1), - (41,1,1,1,0,0,43,1081860720,43,1,'media','/1/43/',0,'75c715a51699d2d309a924eca6a95145',9,1), - (42,1,1,2,0,0,44,1081860719,44,5,'users/anonymous_users','/1/5/44/',0,'4fdf0072da953bb276c0c7e0141c5c9b',9,1), - (10,1,2,3,0,0,45,1081860719,45,44,'users/anonymous_users/anonymous_user','/1/5/44/45/',0,'2cf8343bee7b482bab82b269d8fecd76',9,1), - (49,1,1,2,0,0,51,1081860720,51,43,'media/images','/1/43/51/',0,'1b26c0454b09bb49dfb1b9190ffd67cb',9,1), - (50,1,1,2,0,0,52,1081860720,52,43,'media/files','/1/43/52/',0,'0b113a208f7890f9ad3c24444ff5988c',9,1), - (51,1,1,2,0,0,53,1081860720,53,43,'media/multimedia','/1/43/53/',0,'4f18b82c75f10aad476cae5adf98c11f',9,1); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql deleted file mode 100644 index 83f4e503e7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0016_insert_ibexa_content_version.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_content_version` (`contentobject_id`, `created`, `creator_id`, `id`, `initial_language_id`, `language_mask`, `modified`, `status`, `user_id`, `version`, `workflow_event_pos`) -VALUES (4,0,14,4,2,3,0,1,0,1,1), - (11,1033920737,14,439,2,3,1033920746,1,0,1,0), - (12,1033920760,14,440,2,3,1033920775,1,0,1,0), - (13,1033920786,14,441,2,3,1033920794,1,0,1,0), - (41,1060695450,14,472,2,3,1060695457,1,0,1,0), - (42,1072180278,14,473,2,3,1072180330,1,0,1,0), - (10,1072180337,14,474,2,3,1072180405,1,0,2,0), - (49,1080220181,14,488,2,3,1080220197,1,0,1,0), - (50,1080220211,14,489,2,3,1080220220,1,0,1,0), - (51,1080220225,14,490,2,3,1080220233,1,0,1,0), - (14,1301061783,14,499,2,3,1301062024,1,0,3,0), - (1,1448889045,14,506,2,3,1448889046,1,0,9,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql deleted file mode 100644 index 9640698edf..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0017_insert_ibexa_node_assignment.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_node_assignment` (`contentobject_id`, `contentobject_version`, `from_node_id`, `id`, `is_main`, `op_code`, `parent_node`, `parent_remote_id`, `remote_id`, `sort_field`, `sort_order`, `priority`, `is_hidden`) -VALUES (8,2,0,4,1,2,5,'','0',1,1,0,0), - (42,1,0,5,1,2,5,'','0',9,1,0,0), - (10,2,-1,6,1,2,44,'','0',9,1,0,0), - (4,1,0,7,1,2,1,'','0',1,1,0,0), - (12,1,0,8,1,2,5,'','0',1,1,0,0), - (13,1,0,9,1,2,5,'','0',1,1,0,0), - (41,1,0,11,1,2,1,'','0',1,1,0,0), - (11,1,0,12,1,2,5,'','0',1,1,0,0), - (49,1,0,27,1,2,43,'','0',9,1,0,0), - (50,1,0,28,1,2,43,'','0',9,1,0,0), - (51,1,0,29,1,2,43,'','0',9,1,0,0), - (14,3,-1,38,1,2,13,'','0',1,1,0,0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql deleted file mode 100644 index 4d51ce8204..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0018_insert_ibexa_policy.sql +++ /dev/null @@ -1,9 +0,0 @@ -INSERT INTO `ibexa_policy` (`function_name`, `id`, `module_name`, `original_id`, `role_id`) -VALUES ('*',317,'content',0,3), - ('login',319,'user',0,3), - ('read',328,'content',0,1), - ('login',331,'user',0,1), - ('*',332,'*',0,2), - ('read',333,'content',0,4), - ('view_embed',334,'content',0,1), - ('*',340,'url',0,3); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql deleted file mode 100644 index cc61881062..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0019_insert_ibexa_policy_limitation.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_policy_limitation` (`id`, `identifier`, `policy_id`) -VALUES (251,'Section',328), - (252,'Section',329), - (253,'SiteAccess',331), - (254,'Class',333), - (255,'Owner',333), - (256,'Class',334); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql deleted file mode 100644 index 4ac14df7f5..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0020_insert_ibexa_policy_limitation_value.sql +++ /dev/null @@ -1,8 +0,0 @@ -INSERT INTO `ibexa_policy_limitation_value` (`id`, `limitation_id`, `value`) -VALUES (477,251,'1'), - (478,252,'1'), - (479,253,'1766001124'), - (480,254,'4'), - (481,255,'1'), - (482,256,'5'), - (483,256,'12'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql deleted file mode 100644 index cde93d16ed..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0021_insert_ibexa_role.sql +++ /dev/null @@ -1,5 +0,0 @@ -INSERT INTO `ibexa_role` (`id`, `is_new`, `name`, `value`, `version`) -VALUES (1,0,'Anonymous','',0), - (2,0,'Administrator','0',0), - (3,0,'Editor','',0), - (4,0,'Member','',0); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql deleted file mode 100644 index 0436a276f7..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0022_insert_ibexa_section.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ibexa_section` (`id`, `identifier`, `locale`, `name`, `navigation_part_identifier`) -VALUES (1,'standard','','Standard','ezcontentnavigationpart'), - (2,'users','','Users','ezusernavigationpart'), - (3,'media','','Media','ezmedianavigationpart'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql deleted file mode 100644 index 3a30397432..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0023_insert_ibexa_site_data.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_site_data` (`name`, `value`) -VALUES ('ibexa-release','6.0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql deleted file mode 100644 index 9b111ca869..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0024_insert_ibexa_url_alias.sql +++ /dev/null @@ -1,13 +0,0 @@ -INSERT INTO `ibexa_url_alias` (`destination_url`, `forward_to_id`, `id`, `is_imported`, `is_internal`, `is_wildcard`, `source_md5`, `source_url`) -VALUES ('content/view/full/2',0,12,1,1,0,'d41d8cd98f00b204e9800998ecf8427e',''), - ('content/view/full/5',0,13,1,1,0,'9bc65c2abec141778ffaa729489f3e87','users'), - ('content/view/full/12',0,15,1,1,0,'02d4e844e3a660857a3f81585995ffe1','users/guest_accounts'), - ('content/view/full/13',0,16,1,1,0,'1b1d79c16700fd6003ea7be233e754ba','users/administrator_users'), - ('content/view/full/14',0,17,1,1,0,'0bb9dd665c96bbc1cf36b79180786dea','users/editors'), - ('content/view/full/15',0,18,1,1,0,'f1305ac5f327a19b451d82719e0c3f5d','users/administrator_users/administrator_user'), - ('content/view/full/43',0,20,1,1,0,'62933a2951ef01f4eafd9bdf4d3cd2f0','media'), - ('content/view/full/44',0,21,1,1,0,'3ae1aac958e1c82013689d917d34967a','users/anonymous_users'), - ('content/view/full/45',0,22,1,1,0,'aad93975f09371695ba08292fd9698db','users/anonymous_users/anonymous_user'), - ('content/view/full/51',0,28,1,1,0,'38985339d4a5aadfc41ab292b4527046','media/images'), - ('content/view/full/52',0,29,1,1,0,'ad5a8c6f6aac3b1b9df267fe22e7aef6','media/files'), - ('content/view/full/53',0,30,1,1,0,'562a0ac498571c6c3529173184a2657c','media/multimedia'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql deleted file mode 100644 index d9a59e6dc4..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0025_insert_ibexa_url_alias_ml.sql +++ /dev/null @@ -1,26 +0,0 @@ -INSERT INTO `ibexa_url_alias_ml` (`action`, `action_type`, `alias_redirects`, `id`, `is_alias`, `is_original`, `lang_mask`, `link`, `parent`, `text`, `text_md5`) -VALUES ('nop:','nop',1,17,0,0,1,17,0,'media2','50e2736330de124f6edea9b008556fe6'), - ('eznode:43','eznode',1,9,0,1,3,9,0,'Media','62933a2951ef01f4eafd9bdf4d3cd2f0'), - ('nop:','nop',1,3,0,0,1,3,0,'users2','86425c35a33507d479f71ade53a669aa'), - ('eznode:5','eznode',1,2,0,1,3,2,0,'Users','9bc65c2abec141778ffaa729489f3e87'), - ('eznode:2','eznode',1,1,0,1,3,1,0,'','d41d8cd98f00b204e9800998ecf8427e'), - ('eznode:14','eznode',1,6,0,1,3,6,2,'Editors','a147e136bfa717592f2bd70bd4b53b17'), - ('eznode:44','eznode',1,10,0,1,3,10,2,'Anonymous-Users','c2803c3fa1b0b5423237b4e018cae755'), - ('eznode:12','eznode',1,4,0,1,3,4,2,'Guest-accounts','e57843d836e3af8ab611fde9e2139b3a'), - ('eznode:13','eznode',1,5,0,1,3,5,2,'Administrator-users','f89fad7f8a3abc8c09e1deb46a420007'), - ('nop:','nop',1,11,0,0,1,11,3,'anonymous_users2','505e93077a6dde9034ad97a14ab022b1'), - ('eznode:12','eznode',1,26,0,0,1,4,3,'guest_accounts','70bb992820e73638731aa8de79b3329e'), - ('eznode:14','eznode',1,29,0,0,1,6,3,'editors','a147e136bfa717592f2bd70bd4b53b17'), - ('nop:','nop',1,7,0,0,1,7,3,'administrator_users2','a7da338c20bf65f9f789c87296379c2a'), - ('eznode:13','eznode',1,27,0,0,1,5,3,'administrator_users','aeb8609aa933b0899aa012c71139c58c'), - ('eznode:44','eznode',1,30,0,0,1,10,3,'anonymous_users','e9e5ad0c05ee1a43715572e5cc545926'), - ('eznode:15','eznode',1,8,0,1,3,8,5,'Administrator-User','5a9d7b0ec93173ef4fedee023209cb61'), - ('eznode:15','eznode',1,28,0,0,0,8,7,'administrator_user','a3cca2de936df1e2f805710399989971'), - ('eznode:53','eznode',1,20,0,1,3,20,9,'Multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,19,0,1,3,19,9,'Files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,18,0,1,3,18,9,'Images','59b514174bffe4ae402b3d63aad79fe0'), - ('eznode:45','eznode',1,12,0,1,3,12,10,'Anonymous-User','ccb62ebca03a31272430bc414bd5cd5b'), - ('eznode:45','eznode',1,31,0,0,1,12,11,'anonymous_user','c593ec85293ecb0e02d50d4c5c6c20eb'), - ('eznode:53','eznode',1,34,0,0,1,20,17,'multimedia','2e5bc8831f7ae6a29530e7f1bbf2de9c'), - ('eznode:52','eznode',1,33,0,0,1,19,17,'files','45b963397aa40d4a0063e0d85e4fe7a1'), - ('eznode:51','eznode',1,32,0,0,1,18,17,'images','59b514174bffe4ae402b3d63aad79fe0'); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql deleted file mode 100644 index 755c37655a..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0026_insert_ibexa_url_alias_ml_incr.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `ibexa_url_alias_ml_incr` (`id`) -VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (14), (15), (16), (17), - (18), (19), (20), (21), (22), (24), (25), (26), (27), (28), (29), (30), (31), (32), (33), - (34), (35), (36), (37); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql deleted file mode 100644 index a7d0cf247c..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0027_insert_ibexa_user.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_user` (`contentobject_id`, `email`, `login`, `password_hash`, `password_hash_type`) -VALUES (10,'anonymous@link.invalid','anonymous','$2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC',7), - (14,'admin@link.invalid','admin','$2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy',7); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql deleted file mode 100644 index 4dbaff1fbd..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0028_insert_ibexa_user_role.sql +++ /dev/null @@ -1,7 +0,0 @@ -INSERT INTO `ibexa_user_role` (`contentobject_id`, `id`, `limit_identifier`, `limit_value`, `role_id`) -VALUES (11,28,'','',1), - (42,31,'','',1), - (13,32,'Subtree','/1/2/',3), - (13,33,'Subtree','/1/43/',3), - (12,34,'','',2), - (13,35,'','',4); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql deleted file mode 100644 index a3c25ef316..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0029_insert_ibexa_user_setting.sql +++ /dev/null @@ -1,3 +0,0 @@ -INSERT INTO `ibexa_user_setting` (`is_enabled`, `max_login`, `user_id`) -VALUES (1,1000,10), - (1,10,14); diff --git a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql b/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql deleted file mode 100644 index 6643c6b914..0000000000 --- a/src/bundle/RepositoryInstaller/Resources/migrations/sql/sqlite/data/0030_insert_ibexa_user_preference.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `ibexa_user_preference` (`name`, `user_id`, `value`) -SELECT 'focus_mode', u.contentobject_id, '0' FROM `ibexa_user` u WHERE u.login = 'admin'; From 269d89f7c7efa8681e29e21f7a5c5c550f1d3899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Wed, 22 Jul 2026 12:11:09 +0200 Subject: [PATCH 25/38] IBX-11939: Added trailing semicolons to migration SQL files Each statement now ends with `;`, matching ibexa:doctrine:schema:dump-sql's own convention, so the files are directly executable via mysql/psql/sqlite3 CLI clients. addSqlFile() still splits on the delimiter and passes one statement per addSql() call, unaffected by the trailing terminator. --- .../Migration/sql/rename-schema-to-5-0-mysql.sql | 6 ++++++ .../Migration/sql/rename-schema-to-5-0-postgresql.sql | 6 ++++++ .../Migration/sql/rename-schema-to-5-0-sqlite.sql | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql index 512b58dd07..f9e9cffa91 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql @@ -345,3 +345,9 @@ ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO con ALTER TABLE ibexa_content_relation RENAME INDEX ibexa_content_relation_cca_id TO ibexa_content_relation_ccfd_id; -- ibexa:sql-statement-separator ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; +-- ibexa:sql-statement-separator +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql index 12ddc1f3a2..07150fa771 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql @@ -407,3 +407,9 @@ ALTER SEQUENCE ezurlwildcard_id_seq RENAME TO ibexa_url_wildcard_id_seq; ALTER SEQUENCE ezuser_accountkey_id_seq RENAME TO ibexa_user_accountkey_id_seq; -- ibexa:sql-statement-separator ALTER SEQUENCE ezuser_role_id_seq RENAME TO ibexa_user_role_id_seq; +-- ibexa:sql-statement-separator +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql index 302ba3aa95..a5df30153f 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql @@ -547,3 +547,9 @@ DROP INDEX ibexa_content_relation_cca_id; CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); -- ibexa:sql-statement-separator ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; +-- ibexa:sql-statement-separator +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; From 00fa23204edead65b6c48f8dd2df7501e3ce387b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 23 Jul 2026 17:25:42 +0200 Subject: [PATCH 26/38] IBX-11939: Added schema/data-presence guards for legacy-install migrations Guards ibexa/core's InstallSchemaMigration/ImportDataMigration/ RenameSchemaTo5_0Migration and ibexa/fieldtype-page's RenameSchemaTo5_0Migration so they skip when an existing install already built its schema the old way. ImportDataMigration checks for the absence of its pre-rename input table, since migrations run in a strict, deterministic order -- if it's missing, this system never went through this migration, meaning it built its schema (and bootstrap data) via schema.yaml directly. The two data-value fixes hidden inside the rename migrations (core's ez_lock/ezstring identifier fixes, fieldtype-page's block-ID HTML reference fix) are split into their own always-run migrations (FixLegacyIdentifiersMigration, FixBlockIdReferencesMigration), since a schema-shape guard on the rename would otherwise also skip these on a system whose schema is already renamed but whose row data still holds the old values -- schema.yaml only defines structure, not content. Both run unconditionally right after their corresponding rename (same target version, later creation date), so the tables they touch are always at their final name by then, and each statement is a no-op via its own WHERE clause once already applied. --- .../Migration/sql/rename-schema-to-5-0-mysql.sql | 6 ------ .../Migration/sql/rename-schema-to-5-0-postgresql.sql | 6 ------ .../Migration/sql/rename-schema-to-5-0-sqlite.sql | 6 ------ 3 files changed, 18 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql index f9e9cffa91..512b58dd07 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql @@ -345,9 +345,3 @@ ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO con ALTER TABLE ibexa_content_relation RENAME INDEX ibexa_content_relation_cca_id TO ibexa_content_relation_ccfd_id; -- ibexa:sql-statement-separator ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; --- ibexa:sql-statement-separator -UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; --- ibexa:sql-statement-separator -UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; --- ibexa:sql-statement-separator -UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql index 07150fa771..12ddc1f3a2 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql @@ -407,9 +407,3 @@ ALTER SEQUENCE ezurlwildcard_id_seq RENAME TO ibexa_url_wildcard_id_seq; ALTER SEQUENCE ezuser_accountkey_id_seq RENAME TO ibexa_user_accountkey_id_seq; -- ibexa:sql-statement-separator ALTER SEQUENCE ezuser_role_id_seq RENAME TO ibexa_user_role_id_seq; --- ibexa:sql-statement-separator -UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; --- ibexa:sql-statement-separator -UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; --- ibexa:sql-statement-separator -UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql index a5df30153f..302ba3aa95 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql @@ -547,9 +547,3 @@ DROP INDEX ibexa_content_relation_cca_id; CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); -- ibexa:sql-statement-separator ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; --- ibexa:sql-statement-separator -UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; --- ibexa:sql-statement-separator -UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; --- ibexa:sql-statement-separator -UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; From a7b754222f7a6bc78a62019ba2115f57ffa542a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Fri, 24 Jul 2026 13:44:48 +0200 Subject: [PATCH 27/38] IBX-11939: Added data-value rename statements dropped during rebase conflict resolution Restores the ez_lock->ibexa_lock and ezstring->ibexa_string (x2) UPDATE statements that were present in the original commit but got lost while resolving rebase conflicts against 6.0. --- .../Migration/sql/rename-schema-to-5-0-mysql.sql | 6 ++++++ .../Migration/sql/rename-schema-to-5-0-postgresql.sql | 6 ++++++ .../Migration/sql/rename-schema-to-5-0-sqlite.sql | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql index 512b58dd07..f9e9cffa91 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-mysql.sql @@ -345,3 +345,9 @@ ALTER TABLE ibexa_content_relation RENAME COLUMN contentclassattribute_id TO con ALTER TABLE ibexa_content_relation RENAME INDEX ibexa_content_relation_cca_id TO ibexa_content_relation_ccfd_id; -- ibexa:sql-statement-separator ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; +-- ibexa:sql-statement-separator +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql index 12ddc1f3a2..07150fa771 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-postgresql.sql @@ -407,3 +407,9 @@ ALTER SEQUENCE ezurlwildcard_id_seq RENAME TO ibexa_url_wildcard_id_seq; ALTER SEQUENCE ezuser_accountkey_id_seq RENAME TO ibexa_user_accountkey_id_seq; -- ibexa:sql-statement-separator ALTER SEQUENCE ezuser_role_id_seq RENAME TO ibexa_user_role_id_seq; +-- ibexa:sql-statement-separator +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; diff --git a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql index 302ba3aa95..a5df30153f 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/rename-schema-to-5-0-sqlite.sql @@ -547,3 +547,9 @@ DROP INDEX ibexa_content_relation_cca_id; CREATE INDEX ibexa_content_relation_ccfd_id ON ibexa_content_relation (content_type_field_definition_id); -- ibexa:sql-statement-separator ALTER TABLE ibexa_search_object_word_link RENAME COLUMN contentclass_attribute_id TO content_type_field_definition_id; +-- ibexa:sql-statement-separator +UPDATE ibexa_object_state_group SET identifier = 'ibexa_lock' WHERE identifier = 'ez_lock'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_type_field_definition SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; +-- ibexa:sql-statement-separator +UPDATE ibexa_content_field SET data_type_string = 'ibexa_string' WHERE data_type_string = 'ezstring'; From 8cc15ef92bb175b9f703c5af375bc2fb92ba775b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Mon, 27 Jul 2026 12:40:00 +0200 Subject: [PATCH 28/38] IBX-11939: Addressed review feedback (arrow-fn style, removed redundant importData() call) Propagated from ibexa/core#785 (4.6): - CoreInstaller::getQueriesFromSchemaBuilderEvent() now builds its Query list via an arrow function instead of a static closure, per review suggestion. - CoreInstaller::importData() no longer re-invokes TaggedMigrationsRunner::run() in the migrations-runner branch; importSchema() already runs every tagged migration (including ImportDataMigration) to the latest version, so the second call was a pure no-op with no real caller relying on it standalone. - getDropSqlStatementsForExistingSchema()'s docblock tightened to list, which it always genuinely returns. - TaggedMigrationsRunner's constructor documents why $dependencyFactory is nullable (optional service, wired via "@?..." in services.yml; run() throws a clear exception if called while null). --- .../Installer/CoreInstaller.php | 19 +++++++------------ .../Migration/TaggedMigrationsRunner.php | 6 ++++++ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php b/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php index 9360661c8a..670f5bbbc7 100644 --- a/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php +++ b/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php @@ -86,9 +86,10 @@ private function getQueriesFromSchemaBuilderEvent(): array $schema->toSql($databasePlatform) ); - return array_map(static function (string $sql): Query { - return new Query($sql); - }, $sqls); + return array_map( + static fn (string $sql): Query => new Query($sql), + $sqls + ); } /** @@ -144,10 +145,8 @@ private function executeQueries(array $queries): void * When the "ibexa.installer.schema_builder_event.enabled" setting is enabled (the default), this imports * the DBMS-specific "cleandata.sql" file directly. * - * Otherwise, this also delegates to {@see TaggedMigrationsRunner}, same as {@see importSchema()}. Since - * {@see \Ibexa\Bundle\RepositoryInstaller\Migration\ImportDataMigration} is tagged and run the same way, - * calling the runner here typically executes nothing new (it already ran as part of importSchema()) - - * this call only matters if importData() is invoked on its own. + * Otherwise, this is a no-op: {@see \Ibexa\Bundle\RepositoryInstaller\Migration\ImportDataMigration} is + * tagged and already runs as part of {@see importSchema()}'s call to {@see TaggedMigrationsRunner}. * * @throws \Doctrine\DBAL\DBALException * @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException @@ -156,15 +155,11 @@ public function importData() { if ($this->schemaBuilderEventEnabled) { $this->runQueriesFromFile($this->getKernelSQLFileForDBMS('cleandata.sql')); - - return; } - - $this->reportExecutedQueries($this->taggedMigrationsRunner->run()); } /** - * @return string[] + * @return list */ protected function getDropSqlStatementsForExistingSchema( Schema $newSchema, diff --git a/src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php b/src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php index c77115aa47..e75d48f090 100644 --- a/src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php +++ b/src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php @@ -41,6 +41,12 @@ final class TaggedMigrationsRunner { private ?DependencyFactory $dependencyFactory; + /** + * @param \Doctrine\Migrations\DependencyFactory|null $dependencyFactory Null when + * "ibexa/doctrine-migrations" isn't installed/enabled ({@see services.yml}'s optional + * "@?ibexa.doctrine_migrations.dependency_factory.ibexa_migrations_only" reference) — + * {@see run()} throws a clear exception rather than allowing a silent no-op in that state. + */ public function __construct(?DependencyFactory $dependencyFactory = null) { $this->dependencyFactory = $dependencyFactory; From 089df9f6ef13a27a7e70fad05e89d2c6fe413e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Mon, 27 Jul 2026 17:20:31 +0200 Subject: [PATCH 29/38] IBX-11939: Removed ibexa/doctrine-migrations VCS repository entry ibexa/doctrine-migrations is now published on Packagist (which mirrors all of its branches, not just tags), so the explicit VCS repository pointing composer directly at GitHub is no longer needed to resolve the dev-branch require constraint. --- composer.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/composer.json b/composer.json index ce271e530d..6a748e1f7d 100644 --- a/composer.json +++ b/composer.json @@ -3,12 +3,6 @@ "description": "Ibexa DXP and Open Source core. Provides the Content Repository, its APIs, and the application's Symfony framework integration.", "homepage": "https://ibexa.co", "license": "(GPL-2.0-only or proprietary)", - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/ibexa/doctrine-migrations.git" - } - ], "suggest": { "php-64bit": "For support of more than 30 languages, a 64bit php installation on all involved prod/dev machines is required" }, From 8cc0272debe71e2fb198f498611e8119504482a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Tue, 28 Jul 2026 11:33:43 +0200 Subject: [PATCH 30/38] IBX-11939: Made TaggedMigrationsRunner's DependencyFactory dependency mandatory Instead of TaggedMigrationsRunner tolerating a null DependencyFactory at runtime, RemoveTaggedMigrationsRunnerPass now removes its service definition entirely when "ibexa/doctrine-migrations" isn't installed/enabled, and CoreInstaller depends on it as an optional (nullable) service instead, throwing a clear configuration exception if "ibexa.installer.schema_builder_event.enabled" is disabled without it. --- .../RemoveTaggedMigrationsRunnerPass.php | 38 +++++++++++++++++++ .../IbexaRepositoryInstallerBundle.php | 2 + .../Installer/CoreInstaller.php | 16 +++++++- .../Migration/TaggedMigrationsRunner.php | 26 ++++--------- .../Resources/config/services.yml | 11 ++++-- 5 files changed, 69 insertions(+), 24 deletions(-) create mode 100644 src/bundle/RepositoryInstaller/DependencyInjection/Compiler/RemoveTaggedMigrationsRunnerPass.php diff --git a/src/bundle/RepositoryInstaller/DependencyInjection/Compiler/RemoveTaggedMigrationsRunnerPass.php b/src/bundle/RepositoryInstaller/DependencyInjection/Compiler/RemoveTaggedMigrationsRunnerPass.php new file mode 100644 index 0000000000..90468208d3 --- /dev/null +++ b/src/bundle/RepositoryInstaller/DependencyInjection/Compiler/RemoveTaggedMigrationsRunnerPass.php @@ -0,0 +1,38 @@ +hasDefinition(IbexaOnlyDependencyFactory::SERVICE_ID)) { + return; + } + + if ($container->hasDefinition(TaggedMigrationsRunner::class)) { + $container->removeDefinition(TaggedMigrationsRunner::class); + } + } +} diff --git a/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php b/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php index 93a622d650..5fcab8f7e5 100644 --- a/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php +++ b/src/bundle/RepositoryInstaller/IbexaRepositoryInstallerBundle.php @@ -10,6 +10,7 @@ use Ibexa\Bundle\DoctrineSchema\DoctrineSchemaBundle; use Ibexa\Bundle\RepositoryInstaller\DependencyInjection\Compiler\InstallerTagPass; use Ibexa\Bundle\RepositoryInstaller\DependencyInjection\Compiler\RegisterSchemaBuilderEventSchemaProviderPass; +use Ibexa\Bundle\RepositoryInstaller\DependencyInjection\Compiler\RemoveTaggedMigrationsRunnerPass; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Exception\RuntimeException; use Symfony\Component\HttpKernel\Bundle\Bundle; @@ -33,5 +34,6 @@ public function build(ContainerBuilder $container): void parent::build($container); $container->addCompilerPass(new InstallerTagPass()); $container->addCompilerPass(new RegisterSchemaBuilderEventSchemaProviderPass()); + $container->addCompilerPass(new RemoveTaggedMigrationsRunnerPass()); } } diff --git a/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php b/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php index 670f5bbbc7..b8b515c27f 100644 --- a/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php +++ b/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php @@ -13,7 +13,9 @@ use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\Query\Query; use Ibexa\Bundle\RepositoryInstaller\Migration\TaggedMigrationsRunner; +use Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaOnlyDependencyFactory; use Ibexa\Contracts\DoctrineSchema\Builder\SchemaBuilderInterface; +use RuntimeException; use Symfony\Component\Console\Helper\ProgressBar; /** @@ -26,13 +28,13 @@ class CoreInstaller extends DbBasedInstaller implements Installer private bool $schemaBuilderEventEnabled; - private TaggedMigrationsRunner $taggedMigrationsRunner; + private ?TaggedMigrationsRunner $taggedMigrationsRunner; public function __construct( Connection $db, SchemaBuilderInterface $schemaBuilder, bool $schemaBuilderEventEnabled, - TaggedMigrationsRunner $taggedMigrationsRunner + ?TaggedMigrationsRunner $taggedMigrationsRunner = null ) { parent::__construct($db); @@ -54,6 +56,8 @@ public function __construct( * package's) via the application's Doctrine Migrations DependencyFactory. * * @throws \Doctrine\DBAL\DBALException + * @throws \RuntimeException if "ibexa.installer.schema_builder_event.enabled" is disabled but + * "ibexa/doctrine-migrations" isn't installed/enabled to run the migrations-based path instead */ public function importSchema() { @@ -63,6 +67,14 @@ public function importSchema() return; } + if ($this->taggedMigrationsRunner === null) { + throw new RuntimeException( + 'Disabling "ibexa.installer.schema_builder_event.enabled" requires the "' . + IbexaOnlyDependencyFactory::SERVICE_ID . '" service (provided by "ibexa/doctrine-migrations", ' . + 'with Ibexa\Bundle\DoctrineMigrations\IbexaDoctrineMigrationsBundle registered) to be available.' + ); + } + $this->reportExecutedQueries($this->taggedMigrationsRunner->run()); } diff --git a/src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php b/src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php index e75d48f090..4731a0a49c 100644 --- a/src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php +++ b/src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php @@ -16,7 +16,6 @@ use Doctrine\Migrations\Metadata\Storage\MetadataStorage; use Doctrine\Migrations\Version\ExecutionResult; use Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaOnlyDependencyFactory; -use RuntimeException; /** * Runs every not-yet-executed migration tagged with @@ -36,37 +35,26 @@ * Doctrine Migrations' Migrator/Executor/AliasResolver classes are marked `@internal`. Only the * DependencyFactory's public accessors ({@see DependencyFactory::getMigrationPlanCalculator()}, * {@see DependencyFactory::getMetadataStorage()}, {@see DependencyFactory::getConnection()}) are used. + * + * This service isn't registered at all when "ibexa/doctrine-migrations" isn't installed/enabled + * ({@see \Ibexa\Bundle\RepositoryInstaller\DependencyInjection\Compiler\RemoveTaggedMigrationsRunnerPass} + * removes its definition), so callers should depend on it as an optional (nullable) service rather + * than expecting this class itself to handle that unavailability. */ final class TaggedMigrationsRunner { - private ?DependencyFactory $dependencyFactory; + private DependencyFactory $dependencyFactory; - /** - * @param \Doctrine\Migrations\DependencyFactory|null $dependencyFactory Null when - * "ibexa/doctrine-migrations" isn't installed/enabled ({@see services.yml}'s optional - * "@?ibexa.doctrine_migrations.dependency_factory.ibexa_migrations_only" reference) — - * {@see run()} throws a clear exception rather than allowing a silent no-op in that state. - */ - public function __construct(?DependencyFactory $dependencyFactory = null) + public function __construct(DependencyFactory $dependencyFactory) { $this->dependencyFactory = $dependencyFactory; } /** * @return \Doctrine\Migrations\Query\Query[] All SQL statements that were executed, across all migrations run - * - * @throws \RuntimeException if the "{@see IbexaOnlyDependencyFactory::SERVICE_ID}" service isn't available */ public function run(): array { - if ($this->dependencyFactory === null) { - throw new RuntimeException( - 'Running tagged Doctrine migrations requires the "' . IbexaOnlyDependencyFactory::SERVICE_ID . '" ' . - 'service (provided by doctrine/migrations-bundle, with Ibexa\Bundle\DoctrineMigrations\IbexaDoctrineMigrationsBundle ' . - 'registered) to be available.' - ); - } - $metadataStorage = $this->dependencyFactory->getMetadataStorage(); // Mirrors what the "doctrine:migrations:migrate" console command does before migrating. $metadataStorage->ensureInitialized(); diff --git a/src/bundle/RepositoryInstaller/Resources/config/services.yml b/src/bundle/RepositoryInstaller/Resources/config/services.yml index d28e95ff66..07ecdc49cd 100644 --- a/src/bundle/RepositoryInstaller/Resources/config/services.yml +++ b/src/bundle/RepositoryInstaller/Resources/config/services.yml @@ -40,10 +40,11 @@ services: Ibexa\Bundle\RepositoryInstaller\Migration\TaggedMigrationsRunner: public: false arguments: - # Optional: only resolves to a service if doctrine/migrations-bundle is installed and - # configured. Not defined here, since it belongs to that package, not this one. + # Mandatory: this whole service definition is removed by RemoveTaggedMigrationsRunnerPass + # when unavailable, so compilation never attempts to resolve this reference in that case. + # Not defined here, since it belongs to that package, not this one. # Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaOnlyDependencyFactory::SERVICE_ID - $dependencyFactory: '@?ibexa.doctrine_migrations.dependency_factory.ibexa_migrations_only' + $dependencyFactory: '@ibexa.doctrine_migrations.dependency_factory.ibexa_migrations_only' Ibexa\Bundle\RepositoryInstaller\Migration\SchemaBuilderEventSchemaProvider: autowire: true @@ -59,6 +60,10 @@ services: parent: Ibexa\Bundle\RepositoryInstaller\Installer\DbBasedInstaller arguments: $schemaBuilderEventEnabled: '%ibexa.installer.schema_builder_event.enabled%' + # Optional: TaggedMigrationsRunner's own service definition may not exist at all + # (RemoveTaggedMigrationsRunnerPass removes it when "ibexa/doctrine-migrations" isn't + # installed/enabled) - autowiring alone can't express "pass null if absent". + $taggedMigrationsRunner: '@?Ibexa\Bundle\RepositoryInstaller\Migration\TaggedMigrationsRunner' tags: - { name: ibexa.installer, type: ibexa-oss } From 9d6bc2406f60188b9aec558aa46bc1129eea03e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Tue, 28 Jul 2026 11:34:15 +0200 Subject: [PATCH 31/38] IBX-11939: Enforced list return from getQueriesFromSchemaBuilderEvent() Passing an empty array as array_map()'s third argument re-indexes its result, so PHPStan can type it as list instead of Query[]. --- src/bundle/RepositoryInstaller/Installer/CoreInstaller.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php b/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php index b8b515c27f..db4d0462f1 100644 --- a/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php +++ b/src/bundle/RepositoryInstaller/Installer/CoreInstaller.php @@ -86,7 +86,7 @@ public function importSchema() * @see \Ibexa\Contracts\DoctrineSchema\Event\SchemaBuilderEvent * @see \Ibexa\Bundle\RepositoryInstaller\Event\Subscriber\BuildSchemaSubscriber * - * @return \Doctrine\Migrations\Query\Query[] + * @return list<\Doctrine\Migrations\Query\Query> */ private function getQueriesFromSchemaBuilderEvent(): array { @@ -100,7 +100,8 @@ private function getQueriesFromSchemaBuilderEvent(): array return array_map( static fn (string $sql): Query => new Query($sql), - $sqls + $sqls, + [] ); } From 64b9506eec5a498de5517081673819c3daed981b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Wed, 29 Jul 2026 00:27:37 +0200 Subject: [PATCH 32/38] Added guarded migrations for core content/URL performance indexes Converts installer's upgrade/db/ibexa-4.5.1-to-4.5.2.sql and upgrade/db/ibexa-4.6.20-to-4.6.21.sql into guarded Doctrine migrations targeting the pre-rename (4.6.0) table names. Same content as the 5.0 branch. --- .../AddContentPerformanceIndexesMigration.php | 58 +++++++++++++++++++ .../AddUrlAliasMlLinkIndexMigration.php | 57 ++++++++++++++++++ .../add-content-performance-indexes-mysql.sql | 7 +++ ...content-performance-indexes-postgresql.sql | 7 +++ ...add-content-performance-indexes-sqlite.sql | 7 +++ .../sql/add-urlalias-ml-link-index-mysql.sql | 1 + .../add-urlalias-ml-link-index-postgresql.sql | 1 + .../sql/add-urlalias-ml-link-index-sqlite.sql | 1 + .../Resources/config/services.yml | 16 +++++ 9 files changed, 155 insertions(+) create mode 100644 src/bundle/RepositoryInstaller/Migration/AddContentPerformanceIndexesMigration.php create mode 100644 src/bundle/RepositoryInstaller/Migration/AddUrlAliasMlLinkIndexMigration.php create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-mysql.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-postgresql.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-sqlite.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/add-urlalias-ml-link-index-mysql.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/add-urlalias-ml-link-index-postgresql.sql create mode 100644 src/bundle/RepositoryInstaller/Migration/sql/add-urlalias-ml-link-index-sqlite.sql diff --git a/src/bundle/RepositoryInstaller/Migration/AddContentPerformanceIndexesMigration.php b/src/bundle/RepositoryInstaller/Migration/AddContentPerformanceIndexesMigration.php new file mode 100644 index 0000000000..06dba06a53 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/AddContentPerformanceIndexesMigration.php @@ -0,0 +1,58 @@ +abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); + + if ($schema->getTable('ezcontentobject_link')->hasIndex('ezco_link_cca_id')) { + return; + } + + if ($this->isMySQL()) { + $this->addSqlFile(__DIR__ . '/sql/add-content-performance-indexes-mysql.sql'); + } elseif ($this->isPostgreSQL()) { + $this->addSqlFile(__DIR__ . '/sql/add-content-performance-indexes-postgresql.sql'); + } elseif ($this->isSqlite()) { + $this->addSqlFile(__DIR__ . '/sql/add-content-performance-indexes-sqlite.sql'); + } + } +} diff --git a/src/bundle/RepositoryInstaller/Migration/AddUrlAliasMlLinkIndexMigration.php b/src/bundle/RepositoryInstaller/Migration/AddUrlAliasMlLinkIndexMigration.php new file mode 100644 index 0000000000..7ce1f395a1 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/AddUrlAliasMlLinkIndexMigration.php @@ -0,0 +1,57 @@ +abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); + + if ($schema->getTable('ezurlalias_ml')->hasIndex('ezurlalias_ml_link')) { + return; + } + + if ($this->isMySQL()) { + $this->addSqlFile(__DIR__ . '/sql/add-urlalias-ml-link-index-mysql.sql'); + } elseif ($this->isPostgreSQL()) { + $this->addSqlFile(__DIR__ . '/sql/add-urlalias-ml-link-index-postgresql.sql'); + } elseif ($this->isSqlite()) { + $this->addSqlFile(__DIR__ . '/sql/add-urlalias-ml-link-index-sqlite.sql'); + } + } +} diff --git a/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-mysql.sql new file mode 100644 index 0000000000..e59a9c8f37 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-mysql.sql @@ -0,0 +1,7 @@ +ALTER TABLE ezcontentobject_link ADD INDEX ezco_link_cca_id (contentclassattribute_id); +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentclass_attribute ADD INDEX ezcontentclass_attr_dts (data_type_string); +-- ibexa:sql-statement-separator +ALTER TABLE ezurl_object_link ADD INDEX ezurl_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version); +-- ibexa:sql-statement-separator +ALTER TABLE ezcontentobject_attribute ADD INDEX ezcontentobject_attribute_co_id_ver (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-postgresql.sql new file mode 100644 index 0000000000..a506f987c5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-postgresql.sql @@ -0,0 +1,7 @@ +CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id); +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string); +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version); +-- ibexa:sql-statement-separator +CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-sqlite.sql new file mode 100644 index 0000000000..a506f987c5 --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-sqlite.sql @@ -0,0 +1,7 @@ +CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id); +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string); +-- ibexa:sql-statement-separator +CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version); +-- ibexa:sql-statement-separator +CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Migration/sql/add-urlalias-ml-link-index-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/add-urlalias-ml-link-index-mysql.sql new file mode 100644 index 0000000000..474d0a11dc --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/add-urlalias-ml-link-index-mysql.sql @@ -0,0 +1 @@ +ALTER TABLE ezurlalias_ml ADD INDEX ezurlalias_ml_link (link); diff --git a/src/bundle/RepositoryInstaller/Migration/sql/add-urlalias-ml-link-index-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/add-urlalias-ml-link-index-postgresql.sql new file mode 100644 index 0000000000..34117d2b9c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/add-urlalias-ml-link-index-postgresql.sql @@ -0,0 +1 @@ +CREATE INDEX IF NOT EXISTS ezurlalias_ml_link ON ezurlalias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Migration/sql/add-urlalias-ml-link-index-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/add-urlalias-ml-link-index-sqlite.sql new file mode 100644 index 0000000000..34117d2b9c --- /dev/null +++ b/src/bundle/RepositoryInstaller/Migration/sql/add-urlalias-ml-link-index-sqlite.sql @@ -0,0 +1 @@ +CREATE INDEX IF NOT EXISTS ezurlalias_ml_link ON ezurlalias_ml (link); diff --git a/src/bundle/RepositoryInstaller/Resources/config/services.yml b/src/bundle/RepositoryInstaller/Resources/config/services.yml index 07ecdc49cd..0a9a329f03 100644 --- a/src/bundle/RepositoryInstaller/Resources/config/services.yml +++ b/src/bundle/RepositoryInstaller/Resources/config/services.yml @@ -13,6 +13,22 @@ services: tags: - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + Ibexa\Bundle\RepositoryInstaller\Migration\AddContentPerformanceIndexesMigration: + autowire: true + public: false + arguments: + $connection: '@ibexa.persistence.connection' + tags: + - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + + Ibexa\Bundle\RepositoryInstaller\Migration\AddUrlAliasMlLinkIndexMigration: + autowire: true + public: false + arguments: + $connection: '@ibexa.persistence.connection' + tags: + - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + Ibexa\Bundle\RepositoryInstaller\Migration\RenameSchemaTo5_0Migration: autowire: true public: false From 5407781fb786b1e766bf54ea4f02fd2cfa699cc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Wed, 29 Jul 2026 09:36:58 +0200 Subject: [PATCH 33/38] Fixed guard crash on installs that never had the pre-rename table $schema->getTable() throws TableDoesNotExist rather than returning null, so a guard that calls it directly (without checking hasTable() first) crashes -- rather than skipping -- on any install that never had the table under this name at all. Caught via live testing against a real database. Guard now checks hasTable() first. Same content as the 4.6 branch. --- .../Migration/AddContentPerformanceIndexesMigration.php | 2 +- .../Migration/AddUrlAliasMlLinkIndexMigration.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Migration/AddContentPerformanceIndexesMigration.php b/src/bundle/RepositoryInstaller/Migration/AddContentPerformanceIndexesMigration.php index 06dba06a53..4665715be8 100644 --- a/src/bundle/RepositoryInstaller/Migration/AddContentPerformanceIndexesMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/AddContentPerformanceIndexesMigration.php @@ -43,7 +43,7 @@ public function up(Schema $schema): void { $this->abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); - if ($schema->getTable('ezcontentobject_link')->hasIndex('ezco_link_cca_id')) { + if (!$schema->hasTable('ezcontentobject_link') || $schema->getTable('ezcontentobject_link')->hasIndex('ezco_link_cca_id')) { return; } diff --git a/src/bundle/RepositoryInstaller/Migration/AddUrlAliasMlLinkIndexMigration.php b/src/bundle/RepositoryInstaller/Migration/AddUrlAliasMlLinkIndexMigration.php index 7ce1f395a1..0451419d8e 100644 --- a/src/bundle/RepositoryInstaller/Migration/AddUrlAliasMlLinkIndexMigration.php +++ b/src/bundle/RepositoryInstaller/Migration/AddUrlAliasMlLinkIndexMigration.php @@ -42,7 +42,7 @@ public function up(Schema $schema): void { $this->abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); - if ($schema->getTable('ezurlalias_ml')->hasIndex('ezurlalias_ml_link')) { + if (!$schema->hasTable('ezurlalias_ml') || $schema->getTable('ezurlalias_ml')->hasIndex('ezurlalias_ml_link')) { return; } From cae3cef87e34ab75b681613cd1660ed0d032b399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Wed, 29 Jul 2026 10:02:56 +0200 Subject: [PATCH 34/38] Removed pre-4.6-origin AddContentPerformanceIndexesMigration, folded into baseline Same rationale as ibexa/product-catalog: doctrine migrations only exist starting at 4.6, so InstallSchemaMigration's baseline already includes these indexes (originally shipped via installer's upgrade/db/ibexa-4.5.0-to-4.5.1.sql). A standalone migration for pre-4.6 content can never have real work to do on a genuine 4.6+ install. --- .../AddContentPerformanceIndexesMigration.php | 58 ------------------- .../add-content-performance-indexes-mysql.sql | 7 --- ...content-performance-indexes-postgresql.sql | 7 --- ...add-content-performance-indexes-sqlite.sql | 7 --- .../Resources/config/services.yml | 8 --- 5 files changed, 87 deletions(-) delete mode 100644 src/bundle/RepositoryInstaller/Migration/AddContentPerformanceIndexesMigration.php delete mode 100644 src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-mysql.sql delete mode 100644 src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-postgresql.sql delete mode 100644 src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-sqlite.sql diff --git a/src/bundle/RepositoryInstaller/Migration/AddContentPerformanceIndexesMigration.php b/src/bundle/RepositoryInstaller/Migration/AddContentPerformanceIndexesMigration.php deleted file mode 100644 index 4665715be8..0000000000 --- a/src/bundle/RepositoryInstaller/Migration/AddContentPerformanceIndexesMigration.php +++ /dev/null @@ -1,58 +0,0 @@ -abortIfUnsupportedPlatform(SqlPlatform::MYSQL, SqlPlatform::POSTGRESQL, SqlPlatform::SQLITE); - - if (!$schema->hasTable('ezcontentobject_link') || $schema->getTable('ezcontentobject_link')->hasIndex('ezco_link_cca_id')) { - return; - } - - if ($this->isMySQL()) { - $this->addSqlFile(__DIR__ . '/sql/add-content-performance-indexes-mysql.sql'); - } elseif ($this->isPostgreSQL()) { - $this->addSqlFile(__DIR__ . '/sql/add-content-performance-indexes-postgresql.sql'); - } elseif ($this->isSqlite()) { - $this->addSqlFile(__DIR__ . '/sql/add-content-performance-indexes-sqlite.sql'); - } - } -} diff --git a/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-mysql.sql b/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-mysql.sql deleted file mode 100644 index e59a9c8f37..0000000000 --- a/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-mysql.sql +++ /dev/null @@ -1,7 +0,0 @@ -ALTER TABLE ezcontentobject_link ADD INDEX ezco_link_cca_id (contentclassattribute_id); --- ibexa:sql-statement-separator -ALTER TABLE ezcontentclass_attribute ADD INDEX ezcontentclass_attr_dts (data_type_string); --- ibexa:sql-statement-separator -ALTER TABLE ezurl_object_link ADD INDEX ezurl_ol_coa_id_cav (contentobject_attribute_id, contentobject_attribute_version); --- ibexa:sql-statement-separator -ALTER TABLE ezcontentobject_attribute ADD INDEX ezcontentobject_attribute_co_id_ver (contentobject_id, version); diff --git a/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-postgresql.sql b/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-postgresql.sql deleted file mode 100644 index a506f987c5..0000000000 --- a/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-postgresql.sql +++ /dev/null @@ -1,7 +0,0 @@ -CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id); --- ibexa:sql-statement-separator -CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string); --- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version); --- ibexa:sql-statement-separator -CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-sqlite.sql deleted file mode 100644 index a506f987c5..0000000000 --- a/src/bundle/RepositoryInstaller/Migration/sql/add-content-performance-indexes-sqlite.sql +++ /dev/null @@ -1,7 +0,0 @@ -CREATE INDEX ezco_link_cca_id ON ezcontentobject_link (contentclassattribute_id); --- ibexa:sql-statement-separator -CREATE INDEX ezcontentclass_attr_dts ON ezcontentclass_attribute (data_type_string); --- ibexa:sql-statement-separator -CREATE INDEX ezcontentobject_attribute_co_id_ver ON ezcontentobject_attribute (contentobject_id, version); --- ibexa:sql-statement-separator -CREATE INDEX ezurl_ol_coa_id_cav ON ezurl_object_link (contentobject_attribute_id, contentobject_attribute_version); diff --git a/src/bundle/RepositoryInstaller/Resources/config/services.yml b/src/bundle/RepositoryInstaller/Resources/config/services.yml index 0a9a329f03..64cd99dd2f 100644 --- a/src/bundle/RepositoryInstaller/Resources/config/services.yml +++ b/src/bundle/RepositoryInstaller/Resources/config/services.yml @@ -13,14 +13,6 @@ services: tags: - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } - Ibexa\Bundle\RepositoryInstaller\Migration\AddContentPerformanceIndexesMigration: - autowire: true - public: false - arguments: - $connection: '@ibexa.persistence.connection' - tags: - - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } - Ibexa\Bundle\RepositoryInstaller\Migration\AddUrlAliasMlLinkIndexMigration: autowire: true public: false From d356c1321f2f230658996b38fd0cba8ea08a0987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 30 Jul 2026 14:03:46 +0200 Subject: [PATCH 35/38] Fix ibexa/doctrine-migrations constraint to track the 6.0 branch The feat/doctrine-migrations-6.0 branch it previously required has been merged into and deleted from the primary 6.0 branch upstream, so the old constraint no longer resolves. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5673c697f1..05384796e7 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "friendsofphp/proxy-manager-lts": "^1.0", "friendsofsymfony/http-cache-bundle": "^3.0", "friendsofsymfony/jsrouting-bundle": "^3.5", - "ibexa/doctrine-migrations": "dev-feat/doctrine-migrations-6.0", + "ibexa/doctrine-migrations": "~6.0.x-dev", "ibexa/doctrine-schema": "~6.0.x-dev", "ibexa/jms-translation-bundle": "^2.6.0", "league/flysystem-memory": "^2.0.6", From 87c0aedc5da00d5d1bd220f3eebe6bef5bcf9d91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 30 Jul 2026 14:03:59 +0200 Subject: [PATCH 36/38] Fix TaggedMigrationsRunner passing an empty Schema to every migration $migration->up(new Schema()) gave every migration's hasTable()/ getTable() guard checks an always-empty schema to inspect, regardless of what earlier migrations in the same run (or a prior run) actually created against the real database -- guards written the correct way (checking hasTable() before trusting a table exists) would incorrectly conclude the table is missing and either skip work that still needs doing, or crash outright on getTable() for a table that does exist. Introspect the live database instead, the same way the standalone 'doctrine:migrations:migrate' command already does via DBALSchemaDiffProvider::createFromSchema(). --- .../Migration/TaggedMigrationsRunner.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php b/src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php index 4731a0a49c..198bb88e35 100644 --- a/src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php +++ b/src/bundle/RepositoryInstaller/Migration/TaggedMigrationsRunner.php @@ -10,7 +10,6 @@ use DateTimeImmutable; use Doctrine\DBAL\Connection; -use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\DependencyFactory; use Doctrine\Migrations\Metadata\MigrationPlan; use Doctrine\Migrations\Metadata\Storage\MetadataStorage; @@ -92,7 +91,12 @@ private function executeMigration( $executedAt = new DateTimeImmutable(); $migration = $migrationPlan->getMigration(); - $migration->up(new Schema()); + // A freshly-constructed, empty Schema() would make every hasTable()/getTable() guard + // check inside a migration see nothing at all, regardless of what previous migrations + // in this same run (or a prior run) actually created -- introspect the live database + // instead, same as what "doctrine:migrations:migrate" itself does via + // DBALSchemaDiffProvider::createFromSchema(). + $migration->up($connection->getSchemaManager()->createSchema()); $queries = $migration->getSql(); foreach ($queries as $query) { From 75c38c3343f54c14cbde20217c775132d273b849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 30 Jul 2026 19:17:25 +0200 Subject: [PATCH 37/38] Move core's own Doctrine Migrations into IbexaCoreBundle InstallSchemaMigration, AddUrlAliasMlLinkIndexMigration, RenameSchemaTo5_0Migration, ImportDataMigration, and FixLegacyIdentifiersMigration only depend on the persistence connection -- they don't need anything from IbexaRepositoryInstallerBundle (CoreInstaller, BuildSchemaSubscriber), which is scoped to installer-time concerns and additionally requires DoctrineSchemaBundle to boot at all. Declaring them in IbexaCoreBundle instead matches how every other package in this effort declares its own InstallSchemaMigration in its own bundle, and lets any consumer discover core's schema migrations via ibexa:doctrine:migrations:migrate without needing the installer bundle registered -- useful for integration test kernels that don't otherwise need CoreInstaller. --- .../IbexaCoreExtension.php | 2 + .../Resources/config/doctrine_migrations.yml | 40 +++++++++++++++++++ .../Resources/config/services.yml | 40 ------------------- 3 files changed, 42 insertions(+), 40 deletions(-) create mode 100644 src/bundle/Core/Resources/config/doctrine_migrations.yml diff --git a/src/bundle/Core/DependencyInjection/IbexaCoreExtension.php b/src/bundle/Core/DependencyInjection/IbexaCoreExtension.php index 92d745537f..ea7db582c2 100644 --- a/src/bundle/Core/DependencyInjection/IbexaCoreExtension.php +++ b/src/bundle/Core/DependencyInjection/IbexaCoreExtension.php @@ -119,6 +119,8 @@ public function load(array $configs, ContainerBuilder $container): void // Base services and services overrides $loader->load('services.yml'); + // Doctrine Migrations for core's own schema, alongside the legacy SchemaBuilderEvent path + $loader->load('doctrine_migrations.yml'); // Security services $loader->load('security.yml'); // HTTP Kernel diff --git a/src/bundle/Core/Resources/config/doctrine_migrations.yml b/src/bundle/Core/Resources/config/doctrine_migrations.yml new file mode 100644 index 0000000000..efdb675c83 --- /dev/null +++ b/src/bundle/Core/Resources/config/doctrine_migrations.yml @@ -0,0 +1,40 @@ +services: + Ibexa\Bundle\RepositoryInstaller\Migration\InstallSchemaMigration: + autowire: true + public: false + arguments: + $connection: '@ibexa.persistence.connection' + tags: + - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + + Ibexa\Bundle\RepositoryInstaller\Migration\AddUrlAliasMlLinkIndexMigration: + autowire: true + public: false + arguments: + $connection: '@ibexa.persistence.connection' + tags: + - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + + Ibexa\Bundle\RepositoryInstaller\Migration\RenameSchemaTo5_0Migration: + autowire: true + public: false + arguments: + $connection: '@ibexa.persistence.connection' + tags: + - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + + Ibexa\Bundle\RepositoryInstaller\Migration\ImportDataMigration: + autowire: true + public: false + arguments: + $connection: '@ibexa.persistence.connection' + tags: + - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } + + Ibexa\Bundle\RepositoryInstaller\Migration\FixLegacyIdentifiersMigration: + autowire: true + public: false + arguments: + $connection: '@ibexa.persistence.connection' + tags: + - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } diff --git a/src/bundle/RepositoryInstaller/Resources/config/services.yml b/src/bundle/RepositoryInstaller/Resources/config/services.yml index 64cd99dd2f..a06a1f65c3 100644 --- a/src/bundle/RepositoryInstaller/Resources/config/services.yml +++ b/src/bundle/RepositoryInstaller/Resources/config/services.yml @@ -5,46 +5,6 @@ services: arguments: - '@=service("kernel").locateResource("@IbexaCoreBundle/Resources/config/storage/legacy/schema.yaml")' - Ibexa\Bundle\RepositoryInstaller\Migration\InstallSchemaMigration: - autowire: true - public: false - arguments: - $connection: '@ibexa.persistence.connection' - tags: - - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } - - Ibexa\Bundle\RepositoryInstaller\Migration\AddUrlAliasMlLinkIndexMigration: - autowire: true - public: false - arguments: - $connection: '@ibexa.persistence.connection' - tags: - - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } - - Ibexa\Bundle\RepositoryInstaller\Migration\RenameSchemaTo5_0Migration: - autowire: true - public: false - arguments: - $connection: '@ibexa.persistence.connection' - tags: - - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } - - Ibexa\Bundle\RepositoryInstaller\Migration\ImportDataMigration: - autowire: true - public: false - arguments: - $connection: '@ibexa.persistence.connection' - tags: - - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } - - Ibexa\Bundle\RepositoryInstaller\Migration\FixLegacyIdentifiersMigration: - autowire: true - public: false - arguments: - $connection: '@ibexa.persistence.connection' - tags: - - { name: !php/const Ibexa\Contracts\DoctrineMigrations\Migrations\IbexaMigrationTag::TAG } - Ibexa\Bundle\RepositoryInstaller\Migration\TaggedMigrationsRunner: public: false arguments: From 68b220719f899ef441c7ff2fce96a4ba87a13917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Thu, 30 Jul 2026 22:53:55 +0200 Subject: [PATCH 38/38] Fix SQLite-dialect bugs in InstallSchemaMigration/ImportDataMigration SQL install-schema-sqlite.sql and import-data-sqlite.sql were generated from the MySQL source without adapting to SQLite's stricter SQL semantics: - import-data-sqlite.sql used MySQL-style backslash escapes (\" and \n) inside string literals. SQLite (unlike MySQL) does not interpret backslash as an escape character at all, so these were stored as literal two-byte sequences, corrupting PHP-serialized content-type names/descriptions (unserialize() failures) and embedded XML field data (DOMDocument parse failures, e.g. the admin user's own ezimage field). - install-schema-sqlite.sql collapsed the composite primary keys on ezcontentclass, ezcontentclass_attribute and ezcontentobject_attribute (id, version) down to a single-column `id INTEGER PRIMARY KEY AUTOINCREMENT`, dropping the `version` component entirely -- unlike the mysql/postgresql variants, which both correctly declare `PRIMARY KEY(id, version)`. This made SQLite reject the second row (e.g. publishing a content-type draft, which legitimately reuses the same id with a different version/status) as a duplicate primary key. Both only affect the SQLite platform; MySQL and PostgreSQL were already correct. --- .../Migration/sql/import-data-sqlite.sql | 96 +++++++++++-------- .../Migration/sql/install-schema-sqlite.sql | 15 +-- 2 files changed, 66 insertions(+), 45 deletions(-) diff --git a/src/bundle/RepositoryInstaller/Migration/sql/import-data-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/import-data-sqlite.sql index 81b1803b4c..98a6a7d279 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/import-data-sqlite.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/import-data-sqlite.sql @@ -30,38 +30,38 @@ INSERT INTO `ezcontent_language` (`disabled`, `id`, `locale`, `name`) VALUES (0, 2, 'eng-GB', 'English (United Kingdom)'); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclass` (`always_available`, `contentobject_name`, `created`, `creator_id`, `id`, `identifier`, `initial_language_id`, `is_container`, `language_mask`, `modified`, `modifier_id`, `remote_id`, `serialized_description_list`, `serialized_name_list`, `sort_field`, `sort_order`, `url_alias_name`, `version`) -VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:\"eng-GB\";s:6:\"Folder\";}',1,1,NULL,0), - (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Article\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:\"eng-GB\";s:10:\"User group\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"User\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0), - (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',1,1,NULL,0); +VALUES (1,'',1024392098,14,1,'folder',2,1,2,1448831672,14,'a3d405b81be900468eb153d774f4f0d2','a:0:{}','a:1:{s:6:"eng-GB";s:6:"Folder";}',1,1,NULL,0), + (0,'',1024392098,14,2,'article',2,1,3,1082454989,14,'c15b600eb9198b1924063b5a68758232',NULL,'a:2:{s:6:"eng-GB";s:7:"Article";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1024392098,14,3,'user_group',2,1,3,1048494743,14,'25b4268cdcd01921b808a0d854b877ef',NULL,'a:2:{s:6:"eng-GB";s:10:"User group";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,' ',1024392098,14,4,'user',2,0,3,1082018364,14,'40faa822edc579b02c25f6bb7beec3ad',NULL,'a:2:{s:6:"eng-GB";s:4:"User";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1031484992,14,5,'image',2,0,3,1048494784,14,'f6df12aa74e36230eb675f364fccd25a',NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0), + (1,'',1052385472,14,12,'file',2,0,3,1052385669,14,'637d58bfddf164627bdfd265733280a0',NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',1,1,NULL,0); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclass_attribute` (`can_translate`, `category`, `contentclass_id`, `data_float1`, `data_float2`, `data_float3`, `data_float4`, `data_int1`, `data_int2`, `data_int3`, `data_int4`, `data_text1`, `data_text2`, `data_text3`, `data_text4`, `data_text5`, `data_type_string`, `id`, `identifier`, `is_information_collector`, `is_required`, `is_searchable`, `is_thumbnail`, `placement`, `serialized_data_text`, `serialized_description_list`, `serialized_name_list`, `version`) -VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:4:\"Name\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:10:\"First name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Last name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:12:\"User account\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:7:\"Caption\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:17:\"Short description\";}',0), - (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Intro\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Body\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:15:\"Enable comments\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"Name\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Description\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:4:\"File\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:11:\"Short title\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:6:\"Author\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:10:\"Short name\";}',0), - (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:\"eng-GB\";s:11:\"Description\";}',0), - (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:9:\"Signature\";s:16:\"always-available\";s:6:\"eng-GB\";}',0), - (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:\"eng-GB\";s:5:\"Image\";s:16:\"always-available\";s:6:\"eng-GB\";}',0); +VALUES (1,'',2,0,0,0,0,255,0,0,0,'New article','','','','','ezstring',1,'title',0,1,1,1,0,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Title";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,255,0,NULL,NULL,'Folder',NULL,NULL,NULL,NULL,'ezstring',4,'name',0,1,1,0,1,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:4:"Name";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',6,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',3,0,0,0,0,255,0,0,0,'','','','',NULL,'ezstring',7,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',8,'first_name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:10:"First name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,0,0,0,0,255,0,0,0,'','','','','','ezstring',9,'last_name',0,1,1,0,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Last name";s:16:"always-available";s:6:"eng-GB";}',0), + (0,'',4,0,0,0,0,7,10,0,0,'','^[^@]+$','','','','ezuser',12,'user_account',0,1,0,0,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:12:"User account";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,0,0,0,0,150,0,0,0,'','','','',NULL,'ezstring',116,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',117,'caption',0,0,1,0,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:7:"Caption";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',5,10.0,0,0,0,0,0,0,0,'MB','','','',NULL,'ezimage',118,'image',0,0,1,1,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',119,'short_description',0,0,1,0,3,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:17:"Short description";}',0), + (1,'',2,0,0,0,0,10,0,0,0,'','','','','','ezrichtext',120,'intro',0,1,1,0,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Intro";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,20,0,0,0,'','','','','','ezrichtext',121,'body',0,0,1,0,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Body";s:16:"always-available";s:6:"eng-GB";}',0), + (0,'',2,0,0,0,0,0,0,0,0,'','','','','','ezboolean',123,'enable_comments',0,0,0,0,6,NULL,NULL,'a:2:{s:6:"eng-GB";s:15:"Enable comments";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'New file','','','',NULL,'ezstring',146,'name',0,1,1,0,1,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"Name";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,10,0,0,0,'','','','',NULL,'ezrichtext',147,'description',0,0,1,0,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Description";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',12,0,0,0,0,0,0,0,0,'','','','',NULL,'ezbinaryfile',148,'file',0,1,0,0,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:4:"File";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,255,0,0,0,'','','','','','ezstring',152,'short_title',0,0,1,0,2,NULL,NULL,'a:2:{s:6:"eng-GB";s:11:"Short title";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,1,0,0,0,'','','','','','ezauthor',153,'author',0,0,0,0,3,NULL,NULL,'a:2:{s:6:"eng-GB";s:6:"Author";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',2,0,0,0,0,0,0,0,0,'','','','','','ezobjectrelation',154,'image',0,0,1,0,7,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',1,NULL,NULL,NULL,NULL,100,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezstring',155,'short_name',0,0,1,0,2,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:10:"Short name";}',0), + (1,'',1,NULL,NULL,NULL,NULL,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ezrichtext',156,'description',0,0,1,0,4,'N;','a:0:{}','a:1:{s:6:"eng-GB";s:11:"Description";}',0), + (1,'',4,0,0,0,0,10,0,0,0,'','','','','','eztext',179,'signature',0,0,1,0,4,NULL,NULL,'a:2:{s:6:"eng-GB";s:9:"Signature";s:16:"always-available";s:6:"eng-GB";}',0), + (1,'',4,10.0,0,0,0,0,0,0,0,'MB','','','','','ezimage',180,'image',0,0,0,1,5,NULL,NULL,'a:2:{s:6:"eng-GB";s:5:"Image";s:16:"always-available";s:6:"eng-GB";}',0); -- ibexa:sql-statement-separator INSERT INTO `ezcontentclass_classgroup` (`contentclass_id`, `contentclass_version`, `group_id`, `group_name`) VALUES (1, 0, 1, 'Content'), @@ -116,29 +116,47 @@ VALUES (0,4,1,NULL,NULL,'Ibexa Platform','ezstring',1,'eng-GB',3,0,'ibexa platfo (0,9,14,0,0,'User','ezstring',29,'eng-GB',3,0,'user',3), (30,12,14,0,0,'','ezuser',30,'eng-GB',3,0,'',3), (0,4,41,0,0,'Media','ezstring',98,'eng-GB',3,0,'',1), - (0,119,41,0,1045487555,'\n
\n','ezrichtext',99,'eng-GB',3,0,'',1), + (0,119,41,0,1045487555,' +
+','ezrichtext',99,'eng-GB',3,0,'',1), (0,6,42,0,0,'Anonymous users','ezstring',100,'eng-GB',3,0,'anonymous users',1), (0,7,42,0,0,'User group for the anonymous user','ezstring',101,'eng-GB',3,0,'user group for the anonymous user',1), (0,155,1,NULL,NULL,'Ibexa Platform','ezstring',102,'eng-GB',3,0,'ibexa platform',9), (0,155,41,0,0,'','ezstring',103,'eng-GB',3,0,'',1), (0,156,1,NULL,NULL,'
This is the clean installation coming with Ibexa Platform.It''s a bare-bones setup of the Platform, an excellent foundation to build upon if you want to start your project from scratch.
','ezrichtext',104,'eng-GB',3,0,'',9), - (0,156,41,0,1045487555,'\n
\n','ezrichtext',105,'eng-GB',3,0,'',1), + (0,156,41,0,1045487555,' +
+','ezrichtext',105,'eng-GB',3,0,'',1), (0,4,49,0,0,'Images','ezstring',142,'eng-GB',3,0,'images',1), (0,155,49,0,0,'','ezstring',143,'eng-GB',3,0,'',1), - (0,119,49,0,1045487555,'\n
\n','ezrichtext',144,'eng-GB',3,0,'',1), - (0,156,49,0,1045487555,'\n
\n','ezrichtext',145,'eng-GB',3,0,'',1), + (0,119,49,0,1045487555,' +
+','ezrichtext',144,'eng-GB',3,0,'',1), + (0,156,49,0,1045487555,' +
+','ezrichtext',145,'eng-GB',3,0,'',1), (0,4,50,0,0,'Files','ezstring',147,'eng-GB',3,0,'files',1), (0,155,50,0,0,'','ezstring',148,'eng-GB',3,0,'',1), - (0,119,50,0,1045487555,'\n
\n','ezrichtext',149,'eng-GB',3,0,'',1), - (0,156,50,0,1045487555,'\n
\n','ezrichtext',150,'eng-GB',3,0,'',1), + (0,119,50,0,1045487555,' +
+','ezrichtext',149,'eng-GB',3,0,'',1), + (0,156,50,0,1045487555,' +
+','ezrichtext',150,'eng-GB',3,0,'',1), (0,4,51,0,0,'Multimedia','ezstring',152,'eng-GB',3,0,'multimedia',1), (0,155,51,0,0,'','ezstring',153,'eng-GB',3,0,'',1), - (0,119,51,0,1045487555,'\n
\n','ezrichtext',154,'eng-GB',3,0,'',1), - (0,156,51,0,1045487555,'\n
\n','ezrichtext',155,'eng-GB',3,0,'',1), + (0,119,51,0,1045487555,' +
+','ezrichtext',154,'eng-GB',3,0,'',1), + (0,156,51,0,1045487555,' +
+','ezrichtext',155,'eng-GB',3,0,'',1), (0,179,10,0,0,'','eztext',177,'eng-GB',3,0,'',2), (0,179,14,0,0,'','eztext',178,'eng-GB',3,0,'',3), (0,180,10,0,0,'','ezimage',179,'eng-GB',3,0,'',2), - (0,180,14,0,0,'\n\n','ezimage',180,'eng-GB',3,0,'',3); + (0,180,14,0,0,' + +','ezimage',180,'eng-GB',3,0,'',3); -- ibexa:sql-statement-separator INSERT INTO `ezcontentobject_name` (`content_translation`, `content_version`, `contentobject_id`, `language_id`, `name`, `real_translation`) VALUES ('eng-GB',9,1,2,'Ibexa Platform','eng-GB'), diff --git a/src/bundle/RepositoryInstaller/Migration/sql/install-schema-sqlite.sql b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-sqlite.sql index 38c87c1365..899b6cf872 100644 --- a/src/bundle/RepositoryInstaller/Migration/sql/install-schema-sqlite.sql +++ b/src/bundle/RepositoryInstaller/Migration/sql/install-schema-sqlite.sql @@ -130,7 +130,7 @@ CREATE INDEX ezcontentbrowsebookmark_user ON ezcontentbrowsebookmark (user_id); CREATE INDEX ezcontentbrowsebookmark_user_location ON ezcontentbrowsebookmark (user_id, node_id); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + id INTEGER NOT NULL, version INTEGER DEFAULT 0 NOT NULL, always_available INTEGER DEFAULT 0 NOT NULL, contentobject_name VARCHAR(255) DEFAULT NULL, @@ -147,7 +147,8 @@ CREATE TABLE ezcontentclass ( serialized_name_list CLOB DEFAULT NULL, sort_field INTEGER DEFAULT 1 NOT NULL, sort_order INTEGER DEFAULT 1 NOT NULL, - url_alias_name VARCHAR(255) DEFAULT NULL + url_alias_name VARCHAR(255) DEFAULT NULL, + PRIMARY KEY(id, version) ); -- ibexa:sql-statement-separator CREATE INDEX ezcontentclass_version ON ezcontentclass (version); @@ -155,7 +156,7 @@ CREATE INDEX ezcontentclass_version ON ezcontentclass (version); CREATE INDEX ezcontentclass_identifier ON ezcontentclass (identifier, version); -- ibexa:sql-statement-separator CREATE TABLE ezcontentclass_attribute ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + id INTEGER NOT NULL, version INTEGER DEFAULT 0 NOT NULL, can_translate INTEGER DEFAULT 1, category VARCHAR(25) DEFAULT '' NOT NULL, @@ -182,7 +183,8 @@ CREATE TABLE ezcontentclass_attribute ( placement INTEGER DEFAULT 0 NOT NULL, serialized_data_text CLOB DEFAULT NULL, serialized_description_list CLOB DEFAULT NULL, - serialized_name_list CLOB NOT NULL + serialized_name_list CLOB NOT NULL, + PRIMARY KEY(id, version) ); -- ibexa:sql-statement-separator CREATE INDEX ezcontentclass_attr_ccid ON ezcontentclass_attribute (contentclass_id); @@ -263,7 +265,7 @@ CREATE INDEX ezcontentobject_status ON ezcontentobject (status); CREATE UNIQUE INDEX ezcontentobject_remote_id ON ezcontentobject (remote_id); -- ibexa:sql-statement-separator CREATE TABLE ezcontentobject_attribute ( - id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + id INTEGER NOT NULL, version INTEGER DEFAULT 0 NOT NULL, attribute_original_id INTEGER DEFAULT 0, contentclassattribute_id INTEGER DEFAULT 0 NOT NULL, @@ -275,7 +277,8 @@ CREATE TABLE ezcontentobject_attribute ( language_code VARCHAR(20) DEFAULT '' NOT NULL, language_id BIGINT DEFAULT 0 NOT NULL, sort_key_int INTEGER DEFAULT 0 NOT NULL, - sort_key_string VARCHAR(255) DEFAULT '' NOT NULL + sort_key_string VARCHAR(255) DEFAULT '' NOT NULL, + PRIMARY KEY(id, version) ); -- ibexa:sql-statement-separator CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute (contentobject_id, version, language_code);