We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d7454 commit 2e22a8fCopy full SHA for 2e22a8f
internal/endtoend/testdata/ddl_create_table_inherits_cross_schema/postgresql/stdlib/schema.sql
@@ -1,18 +1,13 @@
1
-CREATE TABLE party (
+CREATE SCHEMA one;
2
+CREATE SCHEMA two;
3
+
4
+CREATE TABLE one.party (
5
party_id uuid PRIMARY KEY,
6
name text NOT NULL
7
);
8
-CREATE TABLE person (
9
+CREATE TABLE two.person (
10
first_name text NOT NULL,
11
last_name text NOT NULL
-) INHERITS (party);
-
-CREATE TABLE organisation (
12
- legal_name text
13
+) INHERITS (one.party);
14
15
-CREATE TABLE llc (
16
- incorporation_date timestamp,
17
- legal_name text NOT NULL
18
-) INHERITS (organisation);
0 commit comments