• 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
replace_table.rb 2.98 KB