Skip to content

Datomic doesn't have a date type, it only has a timestamp type. #11

@humorless

Description

@humorless

Problem

In Postgres, we actually have several time/date datatypes, and this is very useful feature which provide clear modeling of the user domain. However, if Plenish always directly map Datomic timestamp to Postgres timestamp, we can not leverage these Postgres features.

Possible Solution:

have some additional configuration for Plenish regarding column types. Now we see "oh this is :db.type/inst", so we make a postgresql timestamp (same semantics), but the use could configure that this needs to become an SQL DATE column instead, and set up some kind of coercion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions