• blackst0ne's avatar
    Add Migration/DropTable rubocop cop · 09e993ec
    blackst0ne authored
    Calling `drop_table` in deployment migrations can cause downtime as
    there might still be code that uses tables.
    
    This MR adds a cop that checks that tables get droppped only in
    post-deployment migrations.
    09e993ec
drop_table_spec.rb 1.37 KB