Skip to content

[FEATURE] Add support for PostgreSQL "CREATE TABLE INHERITS" #472

Open
@ecerichter

Description

@ecerichter

Is your feature request related to a problem? Please describe.
I would like to have support for PostgreSQL "CREATE TABLE INHERITS" in order to avoid repeting each time certain common features of standardized database.

Describe the solution you'd like
This feature is often used in cases where several fields are shared by other tables (example: in taxes, all tables has common information like validity period, activation, tax rate, tax base, etc), but some taxes are per county, per state, per city, per school district, per country. So, one table is defined with the common parameters, and then each table inherit adding addition information necessary for each specific applyance.

Additional context
PostgreSQL documentation: https://www.postgresql.org/docs/current/sql-createtable.html#SQL-CREATETABLE-PARMS-INHERITS

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