Skip to content

Schema: native Postgres types (cidr, tsvector, hstore) #26

Description

@devituz

Goal

Add first-class support for Postgres-specific column types beyond what the cross-dialect schema covers. CIDR / INET, TSVECTOR (full-text search), and HSTORE come up regularly in real apps.

Acceptance criteria

  • t.Cidr("network"), t.Inet("ip"), t.Tsvector("search"), t.Hstore("props") builders
  • Schema package errors with a clear message on non-PG grammars (instead of silently producing invalid SQL)
  • Migration tests cover the round-trip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions