-[FIXED] Nested query return correct result when quoteIdentifiers is false. (Postgres) [#6363](https://github.com/sequelize/sequelize/issues/6363)
-[FIXED] Fixed an issue where changing multiple ENUM columns in PostgreSQL could break. [#6203](https://github.com/sequelize/sequelize/issues/6203)
## BC breaks:
- Range type bounds now default to [postgres default](https://www.postgresql.org/docs/9.5/static/rangetypes.html#RANGETYPES-CONSTRUCT)`[)` (inclusive, exclusive), previously was `()` (exclusive, exclusive)
@@ -201,6 +201,16 @@ if (dialect.match(/^postgres/)) {
}
],
changeColumnQuery:[
{
arguments:['myTable',{
col_1:"ENUM('value 1', 'value 2') NOT NULL",
col_2:"ENUM('value 3', 'value 4') NOT NULL"
}],
expectation:'ALTER TABLE "myTable" ALTER COLUMN "col_1" SET NOT NULL;ALTER TABLE "myTable" ALTER COLUMN "col_1" DROP DEFAULT;CREATE TYPE "public"."enum_myTable_col_1" AS ENUM(\'value 1\', \'value 2\');ALTER TABLE "myTable" ALTER COLUMN "col_1" TYPE "public"."enum_myTable_col_1" USING ("col_1"::"public.enum_myTable_col_1");ALTER TABLE "myTable" ALTER COLUMN "col_2" SET NOT NULL;ALTER TABLE "myTable" ALTER COLUMN "col_2" DROP DEFAULT;CREATE TYPE "public"."enum_myTable_col_2" AS ENUM(\'value 3\', \'value 4\');ALTER TABLE "myTable" ALTER COLUMN "col_2" TYPE "public"."enum_myTable_col_2" USING ("col_2"::"public.enum_myTable_col_2");'