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

Wherever our models use :string, add changeset validation for length or change to text Postgres type #131

Open
ericworkman opened this issue Mar 10, 2017 · 0 comments

Comments

@ericworkman
Copy link
Member

By default, the :string type in Ecto will create fields in Postgres that are varchar(255). In places like this and this, for example, user input could be longer than 255 characters. We should either migrate to the text Postgres type or add changeset length validation. See #130 for an example.

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

No branches or pull requests

1 participant