I found that modify/3 generates wrong query. For example such code
alter(table(:table)) do
modify :column, :integer
end
generates such query ALTER TABLE "table" ALTER COLUMN "column" Int32;, but according to documentation it should be ALTER TABLE "table" MODIFY COLUMN "column" Int32;.
Hi!
I found that
modify/3
generates wrong query. For example such codegenerates such query
ALTER TABLE "table" ALTER COLUMN "column" Int32;
, but according to documentation it should beALTER TABLE "table" MODIFY COLUMN "column" Int32;
.