Skip to content

Commit a9ce957

Browse files
committed
Add a note that index length is supported only by MySQL [skip ci]
1 parent 3fcadfb commit a9ce957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ def rename_column(table_name, column_name, new_column_name)
778778
#
779779
# CREATE INDEX by_name_surname ON accounts(name(10), surname(15))
780780
#
781-
# Note: SQLite doesn't support index length.
781+
# Note: only supported by MySQL
782782
#
783783
# ====== Creating an index with a sort order (desc or asc, asc is the default)
784784
#

0 commit comments

Comments
 (0)