Skip to content

Add tags migration 1 #96

Merged
merged 6 commits into from
Mar 29, 2021
Merged

Add tags migration 1 #96

merged 6 commits into from
Mar 29, 2021

Commits on Mar 29, 2021

  1. Configuration menu
    Copy the full SHA
    4fec1a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a9bead0 View commit details
    Browse the repository at this point in the history
  3. sql: Add column tags to mxq_daemon

    mxq_daemon.prerequisites should be renamed to tags. Add the
    new name as a new column. The old column prerequisites will be reused
    for another purpose.
    
    Make both columns into VARCHAR(1000) for consistency, where 1000 is an
    arbitary big enough number.
    donald committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    cba024c View commit details
    Browse the repository at this point in the history
  4. sql: Add migration for mxq_daemon.tags

    We want to rename prerequisites to tags. Additionally, we want a new
    column prerequisites with new data. However, we can't go the direct
    way (CHANGE COLUMN prerequisites tags...), because the running mxqd
    processes use the old name.
    
    Create a new column with the new name and copy the data over. We don't
    really care to much, if data is lost because a mxq daemon restarts
    during the migration phase, because the former prerequisites and now tags
    column is only published into the database.
    
    Additionally, fix length of prerequisites from 1024 to 1000.
    donald committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    3b01ae1 View commit details
    Browse the repository at this point in the history
  5. sql: Add column tags to mxq_group

    Add new column tags to mxq_group and change length of prerequisites
    for consistency, where 1000 is an arbitary large number.
    donald committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    b91cb5d View commit details
    Browse the repository at this point in the history
  6. sql: Add migration for mxq_group.tags

    Add new column tags to mxq_groups.
    
    Additionally, fix length of prerequisites from 1024 to 1000.
    donald committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    b2decaf View commit details
    Browse the repository at this point in the history