Skip to content
Prev Previous commit
Next Next commit
fix: wrong schema in postgresql/stdlib/schema.sql
  • Loading branch information
axlalmflower committed Oct 7, 2025
commit 2e22a8f420162170d1ac5dd86da484059a3a6589
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
CREATE TABLE party (
CREATE SCHEMA one;
CREATE SCHEMA two;

CREATE TABLE one.party (
party_id uuid PRIMARY KEY,
name text NOT NULL
);

CREATE TABLE person (
CREATE TABLE two.person (
first_name text NOT NULL,
last_name text NOT NULL
) INHERITS (party);

CREATE TABLE organisation (
legal_name text
) INHERITS (party);
) INHERITS (one.party);

CREATE TABLE llc (
incorporation_date timestamp,
legal_name text NOT NULL
) INHERITS (organisation);
Loading