• pbair's avatar
    Add migration helper to swap partitioned tables · f8909b24
    pbair authored
    Add a new migration helper that completes the last step of a
    partitioning migration: swapping the partitioned copy with the original.
    In addition to renaming the tables, it also renames the primary keys and
    moves the primary key sequences appropriately.
    f8909b24
table_management_helpers.rb 19 KB