haskell-beam / haskell-beam/beam

Postgres range types with beam-migrate

Open
#382 0 comments 0 reactions 0 assignees View on GitHub
enhancement migration-framework
Dominant language
Haskell
Stars
635
Forks
193
PR merge metrics
No merged PRs in 30d

Description

Am I right in thinking that Postgres range types are not currently supported in `beam-migrate`? Attempting to use a field of type `PgRange PgDateRange Day` leads to:
```
No instance for (HasDefaultSqlDataType
Postgres (PgRange PgDateRange Day))
```
and as far as I can see `Database.Beam.Postgres.Syntax` doesn't include data type syntax for range types.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.