diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-04-18 22:54:50 +0200 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-04-18 22:54:50 +0200 |
commit | ac2215cbbb62a1e4f445ac779f9334791f3b8dbd (patch) | |
tree | d727085e04aa299863e625673c49cb3c01d81085 /db_creation.py | |
parent | 9cceba9b3466a2e5a7e712414bdf006215d7cb18 (diff) | |
download | justice-ac2215cbbb62a1e4f445ac779f9334791f3b8dbd.tar.gz |
more tweaks to search by natural persons
Diffstat (limited to 'db_creation.py')
-rw-r--r-- | db_creation.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db_creation.py b/db_creation.py index 3a92988..58ad840 100644 --- a/db_creation.py +++ b/db_creation.py @@ -732,15 +732,15 @@ def create_indices(conn): "id" ); """ - statutarni_organy_relation_4 = """ CREATE INDEX "index statutarni organ relation 4" ON "statutarni_organ_clen_relation" ( + statutarni_organy_relation_4 = """ CREATE INDEX "index statutarni organ relation 4" ON "statutarni_organ_clen_relation" ( "osoba_id" ); """ - dr_relation_3 = """ CREATE INDEX "index dr clen relation3" ON "dr_organ_clen_relation" ( + dr_relation_3 = """ CREATE INDEX "index dr clen relation3" ON "dr_organ_clen_relation" ( "osoba_id" ); """ - akcionari3 = """ CREATE INDEX "index akcionari3" ON "jediny_akcionar" ( + akcionari3 = """ CREATE INDEX "index akcionari3" ON "jediny_akcionar" ( "akcionar_fo_id" ); """ |