Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Show indexes query on Postgres fails to return functional indexes #3911
It works when the database is empty. But when I stop the server and then run it again. It throws this error:
The contents of my /bin/www file is similar to this - https://github.com/sequelize/express-example/blob/master/bin/www
@janmeier There's a typo,
What do you mean by "Are you using schemas?". If you're referring to Migrations / Manual schema changes, nope. No migrations yet.
referenced this issue
Jul 2, 2015
I ran into this same problem, and explained a bit on what I found investigating in #4047.
Therefore functional indexes with UPPER/LOWER get a zero in
Currently it seems that Sequelize depends on knowing which columns returned indexes are on (not sure about this). If it were possible for Sequelize to use just the name of the index, then the query could be simplified tremendously (and solve this bug!).