You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it is only possible to specify the columns that need to be stored in an index using the regular add_index method. We therefore resort to execute statements like the following:
CREATE INDEX "users_lastname_asc"
ON users (last_name ASC)
STORING (first_name, company_id);
This will however add an index declaration to the schema.rb that reads as follow:
This seems like an implementation detail leaking into the schema.rb: Obviously the stored columns are part of the index, but to the best of my understanding they are not contributing to the lookup data structures. So the schema.rb is now expressing something different than the actual migration.
tl;dr: Please ...
Support STORING in add_index
Support indices created using STORING in schema.rb
The text was updated successfully, but these errors were encountered:
Currently it is only possible to specify the columns that need to be stored in an index using the regular
add_index
method. We therefore resort toexecute
statements like the following:This will however add an index declaration to the
schema.rb
that reads as follow:This seems like an implementation detail leaking into the
schema.rb
: Obviously the stored columns are part of the index, but to the best of my understanding they are not contributing to the lookup data structures. So theschema.rb
is now expressing something different than the actual migration.tl;dr: Please ...
STORING
inadd_index
STORING
inschema.rb
The text was updated successfully, but these errors were encountered: