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
When running the migrate task against PostgreSQL you'll get:
== AdjustYamlColumnType: migrating ===========================================
-- change_column(:versions, :yaml, :text, {:limit=>65537})
rake aborted!
An error has occurred, this and all later migrations canceled:
PGError: ERROR: type modifier is not allowed for type "text"
: ALTER TABLE "versions" ALTER COLUMN "yaml" TYPE text(65537)
The text datatype doesn't take a parameter/size on PSQL. I just removed the migration and left the column as text.
The text was updated successfully, but these errors were encountered:
When running the migrate task against PostgreSQL you'll get:
The text datatype doesn't take a parameter/size on PSQL. I just removed the migration and left the column as text.
The text was updated successfully, but these errors were encountered: