Skip to content
Snippets Groups Projects
user avatar
Nikita Pettik authored
In our SQL implementation we can omit list of referenced columns in
FOREIGN KEY constraint:

... FOREIGN KEY (id) REFERENCES parent;

In this case columns composing primary key are used. Hence, it makes
it impossible to use this variant of FK statement if space doesn't have
primary key. Let's now raise an error in this case.
0230fa17
History
Name Last commit Last update