yesodweb / yesodweb/persistent
Sqlite CHECKs
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 486
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
I'd really like to add some CHECKs in the database table definitions.
See section 3.7 here: https://www.sqlite.org/lang_createtable.html
To also solve #1542 in one go, just some verbatim property verbatim that is spliced into the migration would be enough.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with SQLite's CREATE TABLE CHECK constraint documentation linked in the issue, then trace the repository's database table-definition and migration entry points. Determine how CHECK expressions and a verbatim migration property should be represented, and verify that both this request and #1542 are covered across the supported migration path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell, sqlite
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100