Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

index name is too long rails

t.index %i[idex_columns], name: 'SHORTER_NAME'
# or
add_index :your_table, %i[:index_columns], "SHORTER_NAME"
 
PREVIOUS NEXT
Tagged: #index #long #rails
ADD COMMENT
Topic
Name
8+2 =