aboutsummaryrefslogtreecommitdiffstats
path: root/db_creation.py
diff options
context:
space:
mode:
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,