This answer https://stackoverflow.com/a/973785/1297371 to the question: How to set Sqlite3 to be case insensitive when string comparing? tells how to create table with "COLLATE NOCASE" column.
My question is how to create such column in a rails migration? i.e. how from
create table Test
(
  Text_Value  text collate nocase
);
create index Test_Text_Value_Index
  on Test (Text_Value collate nocase);
do:
create_table :tests do
  #WHAT HERE?
end
add_index #... WHAT HERE?
 
     
     
     
    