aboutsummaryrefslogtreecommitdiffstats
path: root/db_creation.py
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-05-01 22:07:55 +0200
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-05-01 22:07:55 +0200
commita21983cbae1d7e2b7d1c0de694799a57a3886bd3 (patch)
tree1a83bb0c6a6308d8a366cd612111af497eaf9919 /db_creation.py
parentd5be03206a83c09751d9c9bc73e0ad960d0dc487 (diff)
downloadjustice-a21983cbae1d7e2b7d1c0de694799a57a3886bd3.tar.gz
further update search by legal persons in a role
Diffstat (limited to 'db_creation.py')
-rw-r--r--db_creation.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/db_creation.py b/db_creation.py
index 58ad840..a05b35e 100644
--- a/db_creation.py
+++ b/db_creation.py
@@ -84,7 +84,8 @@ def create_tables(conn):
dr_organ_clen_relation = """ CREATE TABLE "dr_organ_clen_relation" (
"id" INTEGER NOT NULL UNIQUE,
"dozorci_rada_id" INTEGER NOT NULL,
- "osoba_id" INTEGER NOT NULL,
+ "osoba_id" INTEGER,
+ "pravnicka_osoba_id" INTEGER,
"adresa_id" INTEGER,
"zapis_datum" DATE,
"vymaz_datum" DATE,