fly-apps / fly-apps/safe-ecto-migrations

Recommend `:text` instead of `:string`

Open
#11 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
387
Forks
17
PR merge metrics
No merged PRs in 30d

Description

I _know_ this but I need to find the right sources to cite and run my own benchmarks.

Here's a wonderful start: https://www.depesz.com/2010/03/02/charx-vs-varcharx-vs-varchar-vs-text/

It's not so much a caution of "don't do this" but more of a "steer in better direction with no trade-offs".

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named in the issue. Start by reviewing the cited benchmark and the repository's migration guidance, then establish the recommended wording and supporting sources. Done means the recommendation to prefer :text over :string is documented with credible citations and benchmark results.

Written by the indexing model from the issue text.

Assessment

Domain
database
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.