Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1538

Issues with mysql upgrade scripts going from 1.3 to 2.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0, 3.1
    • 3.1.1, 4.0
    • None
    • mysql 4.1, tomcat 5.5
    • N/A
    • mysql 4.1
    • N/A
    • RHEL4

    Description

      I had to modify the 130-to-200-migration.sql script in a few ways to avoid errors in later migration scripts and/or get my roller install to work when I was done. The following are the statements I added:

      – ELW 8/16/07
      alter table website add column isenabled tinyint(1) default 1;
      update website set isenabled=1;
      alter table website modify isenabled tinyint(1) default 1 not null;

      The following are the statements I commented out because they threw errors on my database:

      – ELW 8/16/07 alter table webpage drop index webpage_name_index;
      – ELW 8/16/07 alter table webpage drop index webpage_link_index;
      – ELW 8/16/07 alter table website drop index website_isenabled_index;

      Not sure how many 1.X roller installs are left out there, so this may not be worth fixing, but probably is worth having around in case anyone else runs into it.

      -Eric

      Attachments

        Activity

          People

            djohnson David Johnson
            ericw@wittle.net Eric L. Wittle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: