Class ConfluenceSchemaCreator

  • @Internal
    public final class ConfluenceSchemaCreator
    extends Object
    Responsible for creating (or recreating) the Confluence database schema on initial setup or backup restoration.
    • Method Detail

      • createSchema

        public void createSchema​(boolean fromXmlImport)
      • createAdditionalDatabaseConstraints

        public void createAdditionalDatabaseConstraints()
        creates constraints that SchemaExport cannot automatically generate from hibernate mapping files. For the most part these are the multi-column uniqueness constraints required by embedded crowd.

        These constraints will become active after import. Use createAdditionalInitialDatabaseConstraints() if you need to ensure the constraints are active during import.