Class R911000XWIKI14889DataMigration

  • All Implemented Interfaces:
    DataMigration, HibernateDataMigration

    @Component
    @Named("R911000XWIKI14889")
    @Singleton
    public class R911000XWIKI14889DataMigration
    extends AbstractDropNotNullDataMigration
    Migration for XWIKI-14889. Remove the non-null=true from deleted attachments table.
    Since:
    9.11RC1
    Version:
    $Id: 5daff2ad0c5b3eb69ed5ece1e72eb2b79862bdea $
    • Constructor Detail

      • R911000XWIKI14889DataMigration

        public R911000XWIKI14889DataMigration()
        The default constructor.
    • Method Detail

      • getDescription

        public String getDescription()
        Returns:
        a description of what the data migration does
      • getVersion

        public XWikiDBVersion getVersion()
        Returns:
        data version which need migration. before you commit stuff which needs migration, you need write data migration with version = current release number (i.e 32000 for release 3.2).