Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor Migration Issue with PostgreSQL #49

Open
jcasimir opened this issue Apr 13, 2010 · 0 comments
Open

Minor Migration Issue with PostgreSQL #49

jcasimir opened this issue Apr 13, 2010 · 0 comments

Comments

@jcasimir
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant