pgschema
pgschema copied to clipboard
Support for like operator in table schemas
The like operator is currently not supported. Not sure how complex this would be to implement :)
Example
create table _template_timestamps (
created_at timestamptz not null default now(),
updated_at timestamptz not null default now(),
deleted_at timestamptz default null
)
create table users (
id serial,
like _template_timestamps including all
)
Expected result when running the plan command:
create table users (
id serial,
like _template_timestamps including all
)
Actual result:
create table users (
id serial
)
The like _template_timestamps including all is not included
Available in 1.0.3
Cool, thank you :)