You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PDOException: SQLSTATE[42601]: Syntax error: 7 ERROR: type modifier is not allowed for type "bytea"
LINE 1: ...BLE "public"."users" ("id" SERIAL NOT NULL, "col" BYTEA (32)...
^ in /Users/mpeveler/Work/Github/phinx/src/Phinx/Db/Adapter/PdoAdapter.php:184
It would feel like the appropriate thing would be to just drop the limit and generate the following SQL:
Should this be documented in the docs that limit cannot be used with binary for postgresql, or should the limit just be dropped implicitly for postgresql adapter?
The text was updated successfully, but these errors were encountered:
Using the following migration:
generates the following SQL:
which throws the following exception / error:
It would feel like the appropriate thing would be to just drop the limit and generate the following SQL:
Should this be documented in the docs that limit cannot be used with
binary
for postgresql, or should the limit just be dropped implicitly for postgresql adapter?The text was updated successfully, but these errors were encountered: