Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-676

Explicit usage of InnoDB table type in database migrations

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.16
    • Labels:
      None

      Description

      If database default table type is not "InnoDB" migrations that create new table can fail occasionally. Thus migrations must explicitly define it. E.g.:

      CREATE TABLE IF NOT EXISTS ... (
      ...)
      ENGINE = InnoDB
      

        Attachments

          Structure

            Activity

              People

              • Assignee:
                jk1 Evgeniy Naumenko
                Reporter:
                nofate Michael Gamov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0.5h
                  0.5h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m Time Not Required
                  20m

                    Structure Helper Panel