Skip to content

Commit 2e22a8f

Browse files
committed
fix: wrong schema in postgresql/stdlib/schema.sql
1 parent 27d7454 commit 2e22a8f

File tree

1 file changed

+6
-11
lines changed
  • internal/endtoend/testdata/ddl_create_table_inherits_cross_schema/postgresql/stdlib

1 file changed

+6
-11
lines changed
Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
1-
CREATE TABLE party (
1+
CREATE SCHEMA one;
2+
CREATE SCHEMA two;
3+
4+
CREATE TABLE one.party (
25
party_id uuid PRIMARY KEY,
36
name text NOT NULL
47
);
58

6-
CREATE TABLE person (
9+
CREATE TABLE two.person (
710
first_name text NOT NULL,
811
last_name text NOT NULL
9-
) INHERITS (party);
10-
11-
CREATE TABLE organisation (
12-
legal_name text
13-
) INHERITS (party);
12+
) INHERITS (one.party);
1413

15-
CREATE TABLE llc (
16-
incorporation_date timestamp,
17-
legal_name text NOT NULL
18-
) INHERITS (organisation);

0 commit comments

Comments
 (0)