SwitchUp SwitchUp Ranked Best Coding Bootcamps 2025

Index name '...' on table '...' is too long; the limit is 63 characters

Altcademy Team wrote on 7 February 2018

You change change the index name to be shorter or equal to 63 characters
add_index :table_name, ["column_name_1", "column_name_2", "column_name_3", "column_name_4"], :name => 'your_specified_index_name'

Trusted by

Students and instructors from world-class organizations

Join the upcoming Cohort #111

Enroll for March 2nd, 2026