diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-05-01 22:07:55 +0200 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-05-01 22:07:55 +0200 |
commit | a21983cbae1d7e2b7d1c0de694799a57a3886bd3 (patch) | |
tree | 1a83bb0c6a6308d8a366cd612111af497eaf9919 /db_creation.py | |
parent | d5be03206a83c09751d9c9bc73e0ad960d0dc487 (diff) | |
download | justice-a21983cbae1d7e2b7d1c0de694799a57a3886bd3.tar.gz |
further update search by legal persons in a role
Diffstat (limited to 'db_creation.py')
-rw-r--r-- | db_creation.py | 3 |
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, |