8000 How to support partitioning using Postgres, atlas and ent · Issue #1579 · ariga/atlas · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
How to support partitioning using Postgres, atlas and ent #1579
Open
@manttila74

Description

@manttila74

Hi,

I have a problem supporting partitioned tables using Postgres, atlas and ent.

I haven't been able to model the partitioned table correctly in ent schema and therefore the atlas migrate lint and migration file generation produce this error:
Error: partition key cannot be added to "xxx" (drop and add is required)
exit status 1

Basically, I think it's because of the multicolumn PK not modeled accordingly. It should contain the partition key with some other fields, one of them being a timestamp.

Any ideas how to solve this?

Thanks,

-Manu

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

      0