Incorrect default value for booleans during table creation
Arnagos opened this issue · 1 comments
Arnagos commented
Arnagos commented
As a side note:
Running a migration to fix this generates an incorrect comment (false -> false instead of false -> true):
-- Testing__BaseTypesDefaultValues from "Boolean" BOOL DEFAULT FALSE to "Boolean" BOOL DEFAULT FALSE
...
ALTER TABLE "public"."Testing__BaseTypesDefaultValues" ALTER COLUMN "Boolean" SET DEFAULT true;
...