taps
taps copied to clipboard
Taps ignored and index
When I downloaded schema and data from Heroku to my dev machine, taps didn't create this three indexes (the first one is clearly problematic, the other two I'm not sure why they were ignored):
CREATE UNIQUE INDEX index_users_on_tenant_id_and_lower_email ON users USING btree (tenant_id, lower((email)::text));
CREATE INDEX index_users_on_tenant_id_and_state_and_created_at ON users USING btree (tenant_id, state, created_at DESC);
CREATE INDEX index_users_on_tenant_id_and_type ON users USING btree (tenant_id, type);
heroku db:push and pull will soon be replaced with pg:push and pull, which won't use taps, so it wouldn't have this problem. It'll have all of its own, new problems! If you want a preview check out https://github.com/heroku/heroku-pg-extras/issues/42