diff --git a/app/controllers/homepage_controller.rb b/app/controllers/homepage_controller.rb index 6efb3096..b9730ebb 100644 --- a/app/controllers/homepage_controller.rb +++ b/app/controllers/homepage_controller.rb @@ -3,7 +3,7 @@ class HomepageController < ContentController before_action :dump_urls, :dump_sizes, only: :index - SCHEMAS = [:crz, :itms, :metais, :ov, :rpo, :ruz, :socpoist, :vszp, :vvo] + SCHEMAS = [:crz, :itms, :metais, :ov, :rpo, :ruz, :socpoist, :vszp] def index @page.title = 'Služby. Otvorené dáta & API. · Ekosystém.Slovensko.Digital'.html_safe diff --git a/app/views/homepage/index.html.erb b/app/views/homepage/index.html.erb index f8ac30db..a000082e 100644 --- a/app/views/homepage/index.html.erb +++ b/app/views/homepage/index.html.erb @@ -200,18 +200,6 @@
Databáza oznámení vestníka verejného obstarávania od roku 2014.
-- vvo.sql.gz.torrent <%= @dump_sizes[:vvo] %> - <%= link_to 'Dokumentácia', open_data_path(anchor: :vvo), class: 'btn btn-default' %> - <%= link_to 'API', open_api_path(anchor: :vvo), class: 'btn btn-default' %> -
-- Zdroj: data.gov.sk, Vestník verejného obstarávania, Úrad pre verejné obstarávanie. -
-Databáza oznámení obchodného vestníka od roku 2011.
@@ -223,10 +211,7 @@ Zdroj: Obchodný vestník. Ministerstvo spravodlivosti Slovenskej republiky.
Databáza účtovných jednotiek registra účtovných závierok.
@@ -238,7 +223,10 @@ Zdroj: Register účtovných závierok, Ministerstvo financií Slovenskej republiky.
Databáza dlžníkov Sociálnej poisťovne.
@@ -250,10 +238,7 @@ Zdroj: Zoznamy dlžníkov, Sociálna poisťovňa.
Databáza dlžníkov Všeobecnej zdravotnej poisťovne.
@@ -265,7 +250,10 @@ Zdroj: Zoznamy dlžníkov, Všeobecná zdravotná poisťovňa.
Databáza zmlúv centrálneho registra zmlúv od roku 2011.
@@ -277,10 +265,7 @@ Zdroj: data.gov.sk, Centrálny register zmlúv, Úrad vlády Slovenskej republiky.
Informácie o projektoch rozvoja IT z centrálneho metainformačného systému verejnej správy.
diff --git a/app/views/open_apis/_vvo_api.html.erb b/app/views/open_apis/_vvo_api.html.erb deleted file mode 100644 index c700efc2..00000000 --- a/app/views/open_apis/_vvo_api.html.erb +++ /dev/null @@ -1,128 +0,0 @@ -
GET <%= api_data_vvo_notice_url(id: ':id', host: api_host) %>
Názov | -Typ | -Popis | -
---|---|---|
id |
- integer |
- Identifikátor oznámenia | -
<%= link_to 'Popis atribútov', open_data_path(anchor: 'vvo.notices'), class: 'btn btn-default btn-sm' %>
-{
- "id": 149949,
- "title": "Dodávka HW (osobné počítače, monitory, notebooky, tlačiarne, periférne zariadenia a sieťové zariadenia),SW a súvisiacich služieb",
- "contracting_authority_name": "Slovenská pošta, a.s.",
- "contracting_authority_cin": 36631124,
- "estimated_value_amount": "173058.0",
- "estimated_value_currency": "EUR",
- "created_at": "2016-08-12T22:06:58.682810Z",
- "updated_at": "2016-08-12T22:06:58.682810Z",
- "e_auction": true,
- "raw_notice_id": 108275,
- "bulletin_issue": {
- "id": 3562,
- "year": 2016,
- "number": 149,
- "published_on": "2016-08-03",
- "source_url": "https://data.gov.sk/dataset/5c6bd403-29e4-435c-ac96-4455c4d217be/resource/6ea59341-4576-413e-a8b5-ed2d87621054/download/2016149.xml",
- "created_at": "2016-08-12T22:05:19.035025Z",
- "updated_at": "2016-08-12T22:05:19.035025Z"
- },
- "notice_type": {
- "id": 5,
- "code": "VZT",
- "name": "výsledok zmluvy na základe rámcovej dohody (tovary)",
- "created_at": "2016-05-24T21:16:46.333853Z",
- "updated_at": "2016-05-24T21:16:46.333853Z"
- },
- "contracting_authority": {
- "id": 9015,
- "name": "Slovenská pošta, a.s.",
- "created_at": "2016-05-25T15:04:49.189942Z",
- "updated_at": "2016-05-25T15:04:49.189942Z"
- },
- "contract": {
- "id": 139996,
- "created_at": "2016-05-25T15:05:09.688505Z",
- "updated_at": "2016-05-25T15:05:09.688505Z"
- },
- "suppliers": [
- {
- "id": 9652,
- "notice_id": 149949,
- "name": "Atos IT Solutions and Services s.r.o.",
- "cin": 45650276,
- "created_at": "2016-08-12T22:06:58.714491Z",
- "updated_at": "2016-08-12T22:06:58.714491Z"
- },
- {
- "id": 9650,
- "notice_id": 149949,
- "name": "EMM spol. s r.o.",
- "cin": 17316260,
- "created_at": "2016-08-12T22:06:58.702056Z",
- "updated_at": "2016-08-12T22:06:58.702056Z"
- }
- ]
-}
-GET <%= sync_api_data_vvo_notices_url(host: api_host) %>
Zmenené záznamy od určeného času je možné získať pomocou <%= link_to 'synchronizačného API', '#sync-api' %>.
-GET <%= api_data_vvo_raw_notice_url(id: ':id', host: api_host) %>
Názov | -Typ | -Popis | -
---|---|---|
id |
- integer |
- Identifikátor oznámenia | -
<%= link_to 'Popis atribútov', open_data_path(anchor: 'vvo.raw_notices'), class: 'btn btn-default btn-sm' %>
-{
- "id": 108275,
- "number": 12,
- "body": "<item>\n <obstaravatel id=...",
- "created_at": "2016-08-12T22:05:19.722411Z",
- "updated_at": "2016-08-12T22:05:19.722411Z",
- "bulletin_issue": {
- "id": 3562,
- "year": 2016,
- "number": 149,
- "published_on": "2016-08-03",
- "source_url": "https://data.gov.sk/dataset/5c6bd403-29e4-435c-ac96-4455c4d217be/resource/6ea59341-4576-413e-a8b5-ed2d87621054/download/2016149.xml",
- "created_at": "2016-08-12T22:05:19.035025Z",
- "updated_at": "2016-08-12T22:05:19.035025Z"
- },
- "notice_type": {
- "id": 5,
- "code": "VZT",
- "name": "výsledok zmluvy na základe rámcovej dohody (tovary)",
- "created_at": "2016-05-24T21:16:46.333853Z",
- "updated_at": "2016-05-24T21:16:46.333853Z"
- }
-}
-GET <%= sync_api_data_vvo_raw_notices_url(host: api_host) %>
Zmenené záznamy od určeného času je možné získať pomocou <%= link_to 'synchronizačného API', '#sync-api' %>.
diff --git a/app/views/open_apis/show.html.erb b/app/views/open_apis/show.html.erb index 660aa572..292883a3 100644 --- a/app/views/open_apis/show.html.erb +++ b/app/views/open_apis/show.html.erb @@ -20,7 +20,7 @@Štruktúra dát podlieha <%= link_to 'zmenám', release_notes_path %>.
API pre údaje z <%= link_to 'centrálneho registra zmlúv', '#crz' %>, <%= link_to 'registra právnických osôb', '#rpo' %>, <%= link_to 'vestníka verejného obstarávania', '#vvo' %>, <%= link_to 'obchodného vestníka', '#ov' %> a <%= link_to 'registra účtovných závierok', '#ruz' %>.
+API pre údaje z <%= link_to 'centrálneho registra zmlúv', '#crz' %>, <%= link_to 'registra právnických osôb', '#rpo' %>, <%= link_to 'obchodného vestníka', '#ov' %> a <%= link_to 'registra účtovných závierok', '#ruz' %>.
Register právnických osôb je jedným z kľúčových referenčných registrov vo verejnej správe. Obsahuje informácie o právnických osobách z viacerých zdrojových registrov (napr. obchodný register, živnostenský register, register občianskych združení…)
@@ -29,9 +29,6 @@Na testovanie, pre študentov a na dobročinné a výskumné účely poskytujeme prístup zadarmo.
Popis štruktúry tabuliek pre datasety z <%= link_to 'registra právnických osôb', '#rpo' %>, <%= link_to 'centrálneho registra zmlúv', '#crz' %>, <%= link_to 'vestníka verejného obstarávania', '#vvo' %>, <%= link_to 'obchodného vestníka', '#ov' %>, <%= link_to 'informačných zoznamov Finančnej správy', '#fs' %>, <%= link_to 'registra účtovných závierok', '#ruz' %>, <%= link_to 'dlžníkov Sociálnej poisťovne', '#socpoist' %>, <%= link_to 'dlžníkov Všeobecnej zdravotnej poisťovne', '#vszp' %> ako aj ďalšie nájdete v tejto dokumentácii.
+Popis štruktúry tabuliek pre datasety z <%= link_to 'registra právnických osôb', '#rpo' %>, <%= link_to 'centrálneho registra zmlúv', '#crz' %>, <%= link_to 'obchodného vestníka', '#ov' %>, <%= link_to 'informačných zoznamov Finančnej správy', '#fs' %>, <%= link_to 'registra účtovných závierok', '#ruz' %>, <%= link_to 'dlžníkov Sociálnej poisťovne', '#socpoist' %>, <%= link_to 'dlžníkov Všeobecnej zdravotnej poisťovne', '#vszp' %> ako aj ďalšie nájdete v tejto dokumentácii.
SQL dumpy sú vytvárané raz týždenne v nedeľu od 4:00. Dáta prístupné cez API sú aktualizované priebežne. Štruktúra dát podlieha <%= link_to 'zmenám', release_notes_path %>.
@@ -35,18 +35,6 @@ <%= render partial: 'tables', object: tables %> <%= render partial: 'table', collection: tables %> -Vestník verejného obstarávania je zdrojom dát o pripravovaných, prebiehajúcich ako aj ukončených verejných obstarávaní. Obsahuje oznámenia o verejných obstarávaniach.
-Oznámenia o výsledkoch verejných obstarávaní sú v štruktúrovanej forme, v neupravenej forme sú dostupné všetky oznámenia.
-- vvo.sql.gz.torrent - vvo.sql.gz - <%= link_to 'API', open_api_path(anchor: :vvo), class: 'btn btn-default' %> -
- <% tables = PgCatalog::PgTable.find_by_schema(:vvo) %> - <%= render partial: 'tables', object: tables %> - <%= render partial: 'table', collection: tables %> -Obchodný vestník obsahuje údaje o zmenách právnických osôb. Poskytované sú kompletné dáta pochádzajúce zo zdroja. Aktuálne sú do štrukturovanej podoby spracované iba niektoré z nich (vestník obchodného registra, konkurzy, likvidácie, reštrukturalizácie a zníženie základného imania).
diff --git a/app/views/static/datasets_terms.html.erb b/app/views/static/datasets_terms.html.erb index 171d7534..c4dbf467 100644 --- a/app/views/static/datasets_terms.html.erb +++ b/app/views/static/datasets_terms.html.erb @@ -52,9 +52,6 @@
statutory_type_id: bigint, NULL
vvo.notice_suppliers
cin_raw: varchar, NULL
upvs.public_authority_edesks
00 585 441
alebo bez ičo
.
- sme:
- description: Príznak stredného a malého podnikateľa
- country:
- description: Krajina
- <<: *timestamp_columns
-
- contract_awards:
- description: Zadania zákazky
- columns:
- id:
- description: Identifikátor
- note_html: Nepochádza zo zdroja.
- result_notice_id:
- description: Identifikátor oznámenia o výsledku
- lot_number:
- description: Číslo časti
- note_html: Referencuje číslo položky, ku ktorému za zadanie vzťahuje.
- title:
- description: Názov
- awarded:
- description: Zákazka / časť je pridelená
- note_html: Hodnota je vypĺňaná len pre formy oznamení CONTRACT_AWARD
, CONTRACT_AWARD_UTILITIES
a VYSLEDOK_VO
. Pri ostatných formách je hodnota null
.
- concluded_on:
- description: Dátum uzavretia zmluvy
- number_of_tenders:
- description: Počet prijatých ponúk
- number_of_electronic_tenders:
- description: Počet prijatých ponúk elektronicky
- number_of_other_eu_tenders:
- description: Počet prijatých ponúk z iných členských štátov EU
- note_html: Hodnota je vypĺňaná len pre formy oznamení CONTRACT_AWARD
, CONTRACT_AWARD_UTILITIES
a VYSLEDOK_VO
. Pri ostatných formách je hodnota null
.
- number_of_non_eu_tenders:
- description: Počet prijatých ponúk zo štátov mimo EU
- note_html: Hodnota je vypĺňaná len pre formy oznamení CONTRACT_AWARD
, CONTRACT_AWARD_UTILITIES
a VYSLEDOK_VO
. Pri ostatných formách je hodnota null
.
- number_of_sme_tenders:
- description: Počet prijatých ponúk od malých a stredných podnikateľov
- note_html: Hodnota je vypĺňaná len pre formy oznamení CONTRACT_AWARD
, CONTRACT_AWARD_UTILITIES
a VYSLEDOK_VO
. Pri ostatných formách je hodnota null
.
- estimated_value_amount:
- description: Predpokladaná hodnota zákazky / časti
- estimated_value_currency:
- description: Mena
- note_html: EUR
.
- estimated_value_vat_included:
- description: Predpokladaná hodnota zahŕňa DPH
- estimated_value_vat_rate:
- description: Sadzba DPH
- note_html: Uvádzaná len ak je cena vrátane DPH. V percentách. Nápríklad 20
.
- final_value_type:
- description: Typ hodnoty zákazky / časti
- note_html: Hodnotou zákazky môže byť jedna suma (pri hodnote Jedna hodnota
) alebo interval ponúk.
- final_value_amount:
- description: Celková hodnota zákazky / časti
- note_html: Vypĺňaná ak final_value_type
má hodnotu Jedna hodnota
.
- final_value_lowest_offer:
- description: Celková hodnota najnižšej ponuky
- note_html: Vypĺňaná pri intervale ponúk.
- final_value_highest_offer:
- description: Celková hodnota najvyššej ponuky
- note_html: Vypĺňaná pri intervale ponúk.
- final_value_currency:
- description: Mena
- note_html: EUR
.
- final_value_vat_included:
- description: Celková hodnota zahŕňa DPH
- final_value_vat_rate:
- description: Sadzba DPH
- note_html: Uvádzaná len ak je cena vrátane DPH. V percentách. Nápríklad 20
.
- value_per_period_type:
- description: Typ hodnoty časového obdobia
- note_html: Vypĺňaná pre formy oznámení NM03
, NM06
, PM07
, PM09N
a to len v prípade, ak je hodnota platná pre časové obdobie. Napríklad Počet mesiacov
.
- value_per_period_value:
- description: Hodnota časového obdobia
- note_html: Vypĺňaná pre formy oznámení NM03
, NM06
, PM07
, PM09N
a to len v prípade, ak je hodnota platná pre časové obdobie. Napríklad 12
.
- subcontracts_assumption:
- description: Príznak predpokladu subdodávok
- awarded_to_group:
- description: Príznak pridelia skupine hospodárskych subjektov
- note_html: Hodnota je vypĺňaná len pre formy oznamení CONTRACT_AWARD
, CONTRACT_AWARD_UTILITIES
a VYSLEDOK_VO
. Pri ostatných formách je hodnota null
.
- group_count:
- description: Počet hospodárskych subjektov v skupine
- note_html: Hodnota je vypĺňaná len pre formy oznamení CONTRACT_AWARD
, CONTRACT_AWARD_UTILITIES
a VYSLEDOK_VO
. Pri ostatných formách je hodnota null
.
- <<: *timestamp_columns
-
- bulletin_issues:
- description: Vydania vestníka
- columns:
- id:
- description: Identifikátor
- note_html: Nepochádza zo zdroja.
- year:
- description: Rok vydania
- number:
- description: Číslo vydania
- published_on:
- description: Dátum uverejnenia
- source_url:
- description: URL zdroja dát
- <<: *timestamp_columns
-
- contracting_authorities:
- description: Obstarávatelia / Verejní obstarávatelia
- columns:
- id:
- description: Identifikátor
- note_html: Hodnota zodpovedá identifikátoru v zdroji.
- name:
- description: Názov
- <<: *timestamp_columns
-
- contracts:
- description: Zákazky
- columns:
- id:
- description: Identifikátor
- note_html: Hodnota zodpovedá identifikátoru v zdroji.
- name:
- description: Názov
- <<: *timestamp_columns
-
- notice_suppliers:
- description: Dodávatelia
- columns:
- id:
- description: Identifikátor
- notice_id:
- description: Identifikátor oznámenia
- name:
- description: Názov
- cin:
- description: Identifikačné číslo organizácie (IČO)
- cin_raw:
- description: IČO v nespracovanej forme
- note_html: Hodnota zo zdroja. Napríklad 57-015-188
alebo HR15645
.
- <<: *timestamp_columns
- notice_types:
- description: Typy oznámenia
- columns:
- id:
- description: Identifikátor
- note_html: Nepochádza zo zdroja.
- code:
- description: Kód typu
- note_html: Napríklad DES
.
- name:
- description: Názov
- note_html: Napríklad oznámenie o dobrovoľnej transparentnosti EX-ANTE (služby)
.
- <<: *timestamp_columns
-
- notices:
- description: Oznámenia
- columns:
- id:
- description: Identifikátor
- title:
- description: Názov
- contracting_authority_name:
- description: Názov objednávateľa
- contracting_authority_cin:
- description: IČO objednávateľa
- estimated_value_amount:
- description: Suma predbežnej hodnoty zákazky
- estimated_value_currency:
- description: Mena predbežnej hodnoty zákazky
- contracting_authority_id:
- description: Identifikátor objednávateľa
- procedure_type_id:
- description: Identifikátor druhu postupu
- contract_id:
- description: Identifikátor zákazky
- e_auction:
- description: Príznak elektronickej aukcie
- raw_notice_id:
- description: Identifikátor neštruktúrovaného oznámenia
- bulletin_issue_id:
- description: Identifikátor vydania
- notice_type_id:
- description: Identifikator typu oznamu
- <<: *timestamp_columns
-
- procedure_types:
- description: Druhy postupu
- columns:
- id:
- description: Identifikátor
- title:
- description: Názov
- note_html: Napríklad Verejná súťaž
.
- code:
- description: Kód
- category:
- description: Kategória druhu postupu
- note_html: Napríklad DRUH_POSTUPU_F15_24
.
- body:
- description: Obsah oznámenia
- <<: *timestamp_columns
-
- raw_notices:
- description: Neštruktúrované oznámenia
- columns:
- id:
- description: Identifikátor
- note_html: Nepochádza zo zdroja.
- bulletin_issue_id:
- description: Identifikátor vydania vestníka
- contract_id:
- description: Identifikátor zákazky
- contracting_authority_id:
- description: Identifikátor obstarávateľa
- number:
- description: Poradové číslo oznámenia
- note_html: Nepochádza zo zdroja.
- notice_type_id:
- description: Identifikátor typu oznámenia
- body:
- description: Obsah oznámenia
- zovo_type:
- description: Forma oznámenia
- note_html: Hodnota z obsahu oznámenia, časť ZovoForm. Určuje formu obsahu oznámenia. Napríklad CONTRACT_AWARD
.
- zovo_version:
- description: Verzia formy oznámenia
- note_html: Hodnota z obsahu oznámenia, časť ZovoForm. Napríklad 17
.
- zovo_category:
- description: Kategória formy oznámenia
- note_html: Hodnota z obsahu oznámenia, časť ZovoForm. Napríklad 10
.
- <<: *timestamp_columns
-
- result_notice_lot_main_cpvs:
- description: Hlavné CPV kódy časti
- columns:
- id:
- description: Identifikátor
- note_html: Nepochádza zo zdroja.
- result_notice_lot_id:
- description: Identifikátor časti
- code:
- description: Hlavný CPV kód
- note_html: Napríklad 34352100-0
.
- <<: *timestamp_columns
-
- result_notice_lots:
- description: Časti zákazky
- long_description_html: Časti zákazky obsahujú iba oznámenia formy CONTRACT_AWARD
, CONTRACT_AWARD_UTILITIES
a VYSLEDOK_VO
.
- columns:
- id:
- description: Identifikátor
- note_html: Nepochádza zo zdroja.
- result_notice_id:
- description: Identifikátor oznámenia o výsledku
- number:
- description: Číslo časti
- title:
- description: Názov
- nuts:
- description: Kód NUTS
- note_html: Napríklad SK041
.
- description:
- description: Opis obstarávania
- eu_funds:
- description: Príznak financovania z fondov EU
- code:
- description: Hlavný CPV kód
- note_html: Napríklad 34352100-0
.
- <<: *timestamp_columns
-
- result_notice_main_cpvs:
- description: Hlavné CPV kódy oznámení o výsledku
- columns:
- id:
- description: Identifikátor
- note_html: Nepochádza zo zdroja.
- result_notice_id:
- description: Identifikátor oznámenia o výsledku
- code:
- description: Hlavný CPV kód
- note_html: Napríklad 34352100-0
.
- <<: *timestamp_columns
-
- result_notices:
- description: Oznámenia o výsledku obstarávania
- long_description_html: "Obsahuje štrukturovane spracované informácie z oznámení Oznámenia o vyhlásení verejného obstarávania
a Informácie o výsledku verejného obstarávania
. Aktuálne spracovávame nasledujúce formy oznámení: NM03
, NM06
, PM07
, PM09N
, CONTRACT_AWARD
, CONTRACT_AWARD_UTILITIES
a VYSLEDOK_VO
"
- columns:
- id:
- description: Identifikátor
- note_html: Nepochádza zo zdroja.
- bulletin_issue_id:
- description: Identifikátor vydania vestníka
- contract_id:
- description: Identifikátor zákazky
- contracting_authority_id:
- description: Identifikátor obstarávateľa
- raw_notice_id:
- description: Identifikátor neštruktúrovaného oznámenia
- notice_type_id:
- description: Identifikátor typu oznámenia
- title:
- description: Názov
- short_description:
- description: Popis
- reference_number:
- description: Referenčné číslo
- contract_type:
- description: Druh zákazky
- note_html: Napríklad Tovary
, Služby
, Práce
.
- contract_sub_type:
- description: Konkrétny druh zákazky
- note_html: Hodnotu majú iba formy oznámení NM03
, NM06
, PM07
, PM09N
. Napríklad Kúpa
.
- nuts:
- description: Kód NUTS
- note_html: Hodnotu majú iba formy oznámení NM03
, NM06
, PM07
, PM09N
. Napríklad SK041
.
- main_cpv:
- description: Hlavný CPV kód
- note_html: Napríklad 34352100-0
.
- gpa:
- description: Dohoda o vládnom obstarávaní (GPA)
- note_html: Hodnotu majú iba formy oznámení NM03
, NM06
, PM07
.
- e_auction:
- description: Príznak použitia elektronickej aukcie
- eu_funds:
- description: Príznak financovania z fondov EU
- note_html: Hodnotu majú iba formy oznámení NM03
, NM06
, PM07
, PM09N
.
- procedure_type:
- description: Druh postupu
- note_html: Každá forma oznámanie obsahuje svoje vlastné hodnoty pre jednotlivé postupy. Napríklad Verejná súťaž
.
-
- total_final_value_type:
- description: Typ celkovej hodnoty zákazky
- note_html: Hodnotou zákazky môže byť jedna suma (pri hodnote Jedna hodnota
) alebo interval ponúk. Oznámenie formy PM09N
túto hodnotu neobsahuje.
- total_final_value_amount:
- description: Celková hodnota zákazky ako celku
- note_html: Vypĺňaná ak total_final_value_type
má hodnotu Jedna hodnota
. Oznámenie formy PM09N
túto hodnotu neobsahuje.
- total_final_value_lowest_offer:
- description: Celková hodnota najnižšej ponuky
- note_html: Vypĺňaná pri intervale ponúk. Oznámenie formy PM09N
túto hodnotu neobsahuje.
- total_final_value_highest_offer:
- description: Celková hodnota najvyššej ponuky
- note_html: Vypĺňaná pri intervale ponúk. Oznámenie formy PM09N
túto hodnotu neobsahuje.
- total_final_value_currency:
- description: Mena
- note_html: EUR
. Oznámenie formy PM09N
túto hodnotu neobsahuje.
- total_final_value_vat_included:
- description: Celková hodnota zahŕňa DPH
- note_html: Oznámenie formy PM09N
túto hodnotu neobsahuje.
- total_final_value_vat_rate:
- description: Sadzba DPH
- note_html: Uvádzaná len ak je cena vrátane DPH. V percentách. Nápríklad 20
. Oznámenie formy PM09N
túto hodnotu neobsahuje.
-
- total_estimated_value_type:
- description: Typ celkovej odhadovanej hodnoty zákazky
- note_html: Hodnotou zákazky môže byť jedna suma (pri hodnote Jedna hodnota
) alebo interval ponúk. Hodnotu obsahuje iba oznámenie formy PM09N
.
- total_estimated_value_amount:
- description: Celková odhadovaná hodnota zákazky ako celku
- note_html: Vypĺňaná ak total_estimated_value_type
má hodnotu Jedna hodnota
. Hodnotu obsahuje iba oznámenie formy PM09N
.
- total_estimated_value_lowest_offer:
- description: Celková odhadovaná hodnota najnižšej ponuky
- note_html: Vypĺňaná pri intervale ponúk. Hodnotu obsahuje iba oznámenie formy PM09N
.
- total_estimated_value_highest_offer:
- description: Celková odhadovaná hodnota najvyššej ponuky
- note_html: Vypĺňaná pri intervale ponúk. Hodnotu obsahuje iba oznámenie formy PM09N
.
- total_estimated_value_currency:
- description: Mena
- note_html: EUR
. Hodnotu obsahuje iba oznámenie formy PM09N
.
- total_estimated_value_vat_included:
- description: Celková odhadovaná hodnota zahŕňa DPH
- note_html: Hodnotu obsahuje iba oznámenie formy PM09N
.
-
- direct_negotiate_procedure_reason:
- description: Dôvod priameho rokovacieho konania
- note_html: Vypĺňané len pre oznámenia formy PM09N
a VYSLEDOK_VO
.
-
- <<: *timestamp_columns
-
rpo:
tables:
esa2010_codes:
@@ -1356,7 +968,7 @@ sk:
description: Daňové povinnosti subjektu
<<: *effective_range_columns
<<: *timestamp_columns
-
+
vat_subjects:
description: Daňové subjekty
@@ -1613,7 +1225,7 @@ sk:
name:
description: Názov schránky inštitúcie
<<: *timestamp_columns
-
+
services_with_forms:
description: Formulárové služby
columns:
@@ -1755,7 +1367,7 @@ sk:
<<: *itms_columns
nezrovnalosti_subjekty_ktore_sposobili_nezrovnalost:
columns:
- <<: *itms_columns
+ <<: *itms_columns
nezrovnalosti_subjekty_ktore_zistili_nezrovnalost:
columns:
<<: *itms_columns
@@ -1836,7 +1448,7 @@ sk:
<<: *itms_columns
projekty_miesta_realizacie:
columns:
- <<: *itms_columns
+ <<: *itms_columns
projekty_miesta_realizacie_mimo_uzemia_op:
columns:
<<: *itms_columns
@@ -1854,7 +1466,7 @@ sk:
<<: *itms_columns
projekty_sekundarne_tematicke_okruhy:
columns:
- <<: *itms_columns
+ <<: *itms_columns
projekty_typy_uzemia:
columns:
<<: *itms_columns
@@ -1863,10 +1475,10 @@ sk:
<<: *itms_columns
subjekty:
columns:
- <<: *itms_columns
+ <<: *itms_columns
typy_aktivit:
columns:
- <<: *itms_columns
+ <<: *itms_columns
uctovne_doklady:
columns:
<<: *itms_columns
@@ -1878,7 +1490,7 @@ sk:
<<: *itms_columns
verejne_obstaravania:
columns:
- <<: *itms_columns
+ <<: *itms_columns
verejne_obstaravania_doplnujuce_predmety_doplnkovy_slovnik:
columns:
<<: *itms_columns
@@ -1902,7 +1514,7 @@ sk:
<<: *itms_columns
vyzvy_planovane_doplnujuce_info:
columns:
- <<: *itms_columns
+ <<: *itms_columns
vyzvy_planovane_konkretne_ciele:
columns:
<<: *itms_columns
@@ -2338,8 +1950,6 @@ sk:
description: Link na zmluvu o NFP v CRZ
vyhlasenie_vo:
description: Dátum zverejnenia verejného obstarávania
- vo:
- description: Link na vestník verejného obstarávania
zmluva_o_dielo:
description: Dátum účinnosti zmluvy o dielo
zmluva_o_dielo_crz:
diff --git a/config/routes.rb b/config/routes.rb
index e25996c1..b5fa295f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -125,11 +125,6 @@
resources :znizenie_imania_issues, concerns: :syncable
end
- namespace :vvo do
- resources :raw_notices, concerns: :syncable
- resources :notices, concerns: :syncable
- end
-
namespace :socpoist do
resources :debtors, concerns: :syncable
resources :debts_lists, concerns: :syncable
diff --git a/db/structure.sql b/db/structure.sql
index 02b1f1cc..7df75ccd 100644
--- a/db/structure.sql
+++ b/db/structure.sql
@@ -105,13 +105,6 @@ CREATE SCHEMA upvs;
CREATE SCHEMA vszp;
---
--- Name: vvo; Type: SCHEMA; Schema: -; Owner: -
---
-
-CREATE SCHEMA vvo;
-
-
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
--
@@ -6121,866 +6114,339 @@ ALTER SEQUENCE vszp.debtors_id_seq OWNED BY vszp.debtors.id;
--
--- Name: contractors; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: crz; Owner: -
--
-CREATE TABLE vvo.contractors (
- id integer NOT NULL,
- contract_award_id integer NOT NULL,
- corporate_body_name character varying,
- corporate_body_cin_raw character varying,
- corporate_body_cin bigint,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL,
- sme boolean,
- country character varying
-);
+ALTER TABLE ONLY crz.attachments ALTER COLUMN id SET DEFAULT nextval('crz.attachments_id_seq'::regclass);
--
--- Name: agreement_suppliers_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: crz; Owner: -
--
-CREATE SEQUENCE vvo.agreement_suppliers_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY crz.contracts ALTER COLUMN id SET DEFAULT nextval('crz.contracts_id_seq'::regclass);
--
--- Name: agreement_suppliers_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: crz; Owner: -
--
-ALTER SEQUENCE vvo.agreement_suppliers_id_seq OWNED BY vvo.contractors.id;
+ALTER TABLE ONLY crz.departments ALTER COLUMN id SET DEFAULT nextval('crz.departments_id_seq'::regclass);
--
--- Name: contract_awards; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: datahub; Owner: -
--
-CREATE TABLE vvo.contract_awards (
- id integer NOT NULL,
- result_notice_id integer NOT NULL,
- lot_number character varying,
- title character varying,
- concluded_on date,
- awarded boolean,
- number_of_tenders integer,
- number_of_electronic_tenders integer,
- estimated_value_amount numeric,
- estimated_value_currency character varying,
- estimated_value_vat_included boolean,
- estimated_value_vat_rate integer,
- final_value_type character varying,
- final_value_amount numeric,
- final_value_currency character varying,
- final_value_vat_included boolean,
- final_value_vat_rate integer,
- value_per_period_type character varying,
- value_per_period_value integer,
- subcontracts_assumption boolean,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL,
- awarded_to_group boolean,
- group_count integer,
- final_value_lowest_offer numeric,
- final_value_highest_offer numeric,
- number_of_sme_tenders integer,
- number_of_other_eu_tenders integer,
- number_of_non_eu_tenders integer
-);
+ALTER TABLE ONLY datahub.corporate_bodies ALTER COLUMN id SET DEFAULT nextval('datahub.corporate_bodies_id_seq'::regclass);
--
--- Name: agreements_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: fs; Owner: -
--
-CREATE SEQUENCE vvo.agreements_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY fs.tax_liabilities ALTER COLUMN id SET DEFAULT nextval('fs.tax_liabilities_id_seq'::regclass);
--
--- Name: agreements_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: fs; Owner: -
--
-ALTER SEQUENCE vvo.agreements_id_seq OWNED BY vvo.contract_awards.id;
+ALTER TABLE ONLY fs.vat_subjects ALTER COLUMN id SET DEFAULT nextval('fs.vat_subjects_id_seq'::regclass);
--
--- Name: notice_types; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: fs_to_datahub; Owner: -
--
-CREATE TABLE vvo.notice_types (
- id integer NOT NULL,
- code character varying NOT NULL,
- name character varying NOT NULL,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL
-);
+ALTER TABLE ONLY fs_to_datahub.tax_liability_to_corporate_bodies ALTER COLUMN id SET DEFAULT nextval('fs_to_datahub.tax_liability_to_corporate_bodies_id_seq'::regclass);
--
--- Name: announcement_types_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: fs_to_datahub; Owner: -
--
-CREATE SEQUENCE vvo.announcement_types_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY fs_to_datahub.vat_subject_to_corporate_bodies ALTER COLUMN id SET DEFAULT nextval('fs_to_datahub.vat_subject_to_corporate_bodies_id_seq'::regclass);
--
--- Name: announcement_types_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER SEQUENCE vvo.announcement_types_id_seq OWNED BY vvo.notice_types.id;
+ALTER TABLE ONLY itms.aktivity ALTER COLUMN id SET DEFAULT nextval('itms.aktivity_id_seq'::regclass);
--
--- Name: bulletin_issues; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE TABLE vvo.bulletin_issues (
- id integer NOT NULL,
- year integer NOT NULL,
- number integer NOT NULL,
- published_on date NOT NULL,
- source_url character varying NOT NULL,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL
-);
+ALTER TABLE ONLY itms.ciselniky ALTER COLUMN id SET DEFAULT nextval('itms.ciselniky_id_seq'::regclass);
--
--- Name: bulletins_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE SEQUENCE vvo.bulletins_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY itms.deklarovane_vydavky ALTER COLUMN id SET DEFAULT nextval('itms.deklarovane_vydavky_id_seq'::regclass);
--
--- Name: bulletins_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER SEQUENCE vvo.bulletins_id_seq OWNED BY vvo.bulletin_issues.id;
+ALTER TABLE ONLY itms.deklarovane_vydavky_sumy_neschvalene_na_preplatenie ALTER COLUMN id SET DEFAULT nextval('itms.deklarovane_vydavky_sumy_neschvalene_na_preplatenie_id_seq'::regclass);
--
--- Name: contracting_authorities; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE TABLE vvo.contracting_authorities (
- id integer NOT NULL,
- name character varying NOT NULL,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL
-);
+ALTER TABLE ONLY itms.deklarovane_vydavky_sumy_neziadane_na_preplatenie ALTER COLUMN id SET DEFAULT nextval('itms.deklarovane_vydavky_sumy_neziadane_na_preplatenie_id_seq'::regclass);
--
--- Name: contracting_authorities_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE SEQUENCE vvo.contracting_authorities_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY itms.dodavatelia ALTER COLUMN id SET DEFAULT nextval('itms.dodavatelia_id_seq'::regclass);
--
--- Name: contracting_authorities_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER SEQUENCE vvo.contracting_authorities_id_seq OWNED BY vvo.contracting_authorities.id;
+ALTER TABLE ONLY itms.hodnoty_ciselnikov ALTER COLUMN id SET DEFAULT nextval('itms.hodnoty_ciselnikov_id_seq'::regclass);
--
--- Name: contracts; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE TABLE vvo.contracts (
- id integer NOT NULL,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL,
- name character varying
-);
+ALTER TABLE ONLY itms.intenzity ALTER COLUMN id SET DEFAULT nextval('itms.intenzity_id_seq'::regclass);
--
--- Name: contracts_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE SEQUENCE vvo.contracts_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY itms.intenzity_zdroje ALTER COLUMN id SET DEFAULT nextval('itms.intenzity_zdroje_id_seq'::regclass);
--
--- Name: contracts_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER SEQUENCE vvo.contracts_id_seq OWNED BY vvo.contracts.id;
+ALTER TABLE ONLY itms.konkretne_ciele ALTER COLUMN id SET DEFAULT nextval('itms.konkretne_ciele_id_seq'::regclass);
--
--- Name: notice_suppliers; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE TABLE vvo.notice_suppliers (
- id integer NOT NULL,
- notice_id integer NOT NULL,
- name character varying NOT NULL,
- cin bigint,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL
-);
+ALTER TABLE ONLY itms.konkretne_ciele_hodnoty_ciselnikov ALTER COLUMN id SET DEFAULT nextval('itms.konkretne_ciele_hodnoty_ciselnikov_id_seq'::regclass);
--
--- Name: notice_suppliers_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE SEQUENCE vvo.notice_suppliers_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY itms.konkretne_ciele_typy_aktivit ALTER COLUMN id SET DEFAULT nextval('itms.konkretne_ciele_typy_aktivit_id_seq'::regclass);
--
--- Name: notice_suppliers_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER SEQUENCE vvo.notice_suppliers_id_seq OWNED BY vvo.notice_suppliers.id;
+ALTER TABLE ONLY itms.miesta_realizacie ALTER COLUMN id SET DEFAULT nextval('itms.miesta_realizacie_id_seq'::regclass);
--
--- Name: notices; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE TABLE vvo.notices (
- id integer NOT NULL,
- title character varying NOT NULL,
- contracting_authority_name character varying NOT NULL,
- contracting_authority_cin bigint NOT NULL,
- estimated_value_amount numeric,
- estimated_value_currency character varying,
- contracting_authority_id integer NOT NULL,
- procedure_type_id integer,
- contract_id integer NOT NULL,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL,
- e_auction boolean,
- raw_notice_id integer NOT NULL,
- bulletin_issue_id integer NOT NULL,
- notice_type_id integer NOT NULL
-);
+ALTER TABLE ONLY itms.monitorovacie_terminy ALTER COLUMN id SET DEFAULT nextval('itms.monitorovacie_terminy_id_seq'::regclass);
--
--- Name: notices_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE SEQUENCE vvo.notices_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY itms.nezrovnalosti ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_id_seq'::regclass);
--
--- Name: notices_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER SEQUENCE vvo.notices_id_seq OWNED BY vvo.notices.id;
+ALTER TABLE ONLY itms.nezrovnalosti_subjekty_ktore_sposobili_nezrovnalost ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_subjekty_ktore_sposobili_nezrovnalost_id_seq'::regclass);
--
--- Name: procedure_types; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE TABLE vvo.procedure_types (
- id integer NOT NULL,
- title character varying NOT NULL,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL,
- code integer NOT NULL,
- category character varying NOT NULL
-);
+ALTER TABLE ONLY itms.nezrovnalosti_subjekty_ktore_zistili_nezrovnalost ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_subjekty_ktore_zistili_nezrovnalost_id_seq'::regclass);
--
--- Name: procedure_types_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE SEQUENCE vvo.procedure_types_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY itms.nezrovnalosti_subjekty_zodpovedne_za_nasledne_konanie ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_subjekty_zodpovedne_za_nasledne_konanie_id_seq'::regclass);
--
--- Name: procedure_types_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER SEQUENCE vvo.procedure_types_id_seq OWNED BY vvo.procedure_types.id;
+ALTER TABLE ONLY itms.nezrovnalosti_suvisiace_nezrovnalosti ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_suvisiace_nezrovnalosti_id_seq'::regclass);
--
--- Name: raw_notices; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE TABLE vvo.raw_notices (
- id integer NOT NULL,
- bulletin_issue_id integer NOT NULL,
- number integer NOT NULL,
- notice_type_id integer,
- body xml NOT NULL,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL,
- zovo_type character varying,
- zovo_version integer,
- zovo_category integer,
- contract_id integer,
- contracting_authority_id integer
-);
+ALTER TABLE ONLY itms.nezrovnalosti_suvisiace_pohladavkove_doklady ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_suvisiace_pohladavkove_doklady_id_seq'::regclass);
--
--- Name: raw_notices_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE SEQUENCE vvo.raw_notices_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY itms.nezrovnalosti_suvisiace_verejne_obstaravania ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_suvisiace_verejne_obstaravania_id_seq'::regclass);
--
--- Name: raw_notices_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER SEQUENCE vvo.raw_notices_id_seq OWNED BY vvo.raw_notices.id;
+ALTER TABLE ONLY itms.nezrovnalosti_suvisiace_zop ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_suvisiace_zop_id_seq'::regclass);
--
--- Name: result_notice_main_cpvs; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE TABLE vvo.result_notice_main_cpvs (
- id integer NOT NULL,
- result_notice_id integer NOT NULL,
- code character varying NOT NULL,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL
-);
+ALTER TABLE ONLY itms.nezrovnalosti_typy_nezrovnalosti ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_typy_nezrovnalosti_id_seq'::regclass);
--
--- Name: result_notice_cpvs_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE SEQUENCE vvo.result_notice_cpvs_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY itms.nuts_kody ALTER COLUMN id SET DEFAULT nextval('itms.nuts_kody_id_seq'::regclass);
--
--- Name: result_notice_cpvs_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER SEQUENCE vvo.result_notice_cpvs_id_seq OWNED BY vvo.result_notice_main_cpvs.id;
+ALTER TABLE ONLY itms.operacne_programy ALTER COLUMN id SET DEFAULT nextval('itms.operacne_programy_id_seq'::regclass);
--
--- Name: result_notice_lot_main_cpvs; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE TABLE vvo.result_notice_lot_main_cpvs (
- id integer NOT NULL,
- result_notice_lot_id integer NOT NULL,
- code character varying NOT NULL,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL
-);
+ALTER TABLE ONLY itms.organizacne_zlozky ALTER COLUMN id SET DEFAULT nextval('itms.organizacne_zlozky_id_seq'::regclass);
--
--- Name: result_notice_item_cpvs_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE SEQUENCE vvo.result_notice_item_cpvs_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY itms.osoby ALTER COLUMN id SET DEFAULT nextval('itms.osoby_id_seq'::regclass);
--
--- Name: result_notice_item_cpvs_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER SEQUENCE vvo.result_notice_item_cpvs_id_seq OWNED BY vvo.result_notice_lot_main_cpvs.id;
+ALTER TABLE ONLY itms.pohladavkove_doklady ALTER COLUMN id SET DEFAULT nextval('itms.pohladavkove_doklady_id_seq'::regclass);
--
--- Name: result_notice_lots; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE TABLE vvo.result_notice_lots (
- id integer NOT NULL,
- result_notice_id integer NOT NULL,
- number character varying,
- title character varying,
- nuts character varying NOT NULL,
- description character varying,
- eu_funds boolean NOT NULL,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL
-);
+ALTER TABLE ONLY itms.pohladavkove_doklady_suvisiace_verejne_obstaravania ALTER COLUMN id SET DEFAULT nextval('itms.pohladavkove_doklady_suvisiace_verejne_obstaravania_id_seq'::regclass);
--
--- Name: result_notice_items_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE SEQUENCE vvo.result_notice_items_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY itms.pohladavkove_doklady_suvisiace_zop ALTER COLUMN id SET DEFAULT nextval('itms.pohladavkove_doklady_suvisiace_zop_id_seq'::regclass);
--
--- Name: result_notice_items_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER SEQUENCE vvo.result_notice_items_id_seq OWNED BY vvo.result_notice_lots.id;
+ALTER TABLE ONLY itms.polozky_rozpoctu ALTER COLUMN id SET DEFAULT nextval('itms.polozky_rozpoctu_id_seq'::regclass);
--
--- Name: result_notices; Type: TABLE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE TABLE vvo.result_notices (
- id integer NOT NULL,
- bulletin_issue_id integer NOT NULL,
- raw_notice_id integer NOT NULL,
- notice_type_id integer NOT NULL,
- contracting_authority_id integer NOT NULL,
- contract_id integer NOT NULL,
- title character varying NOT NULL,
- short_description character varying NOT NULL,
- reference_number character varying NOT NULL,
- contract_type character varying NOT NULL,
- contract_sub_type character varying,
- nuts character varying,
- main_cpv character varying,
- gpa boolean,
- e_auction boolean,
- eu_funds boolean,
- total_final_value_type character varying,
- total_final_value_amount numeric,
- total_final_value_currency character varying,
- total_final_value_vat_included boolean,
- total_final_value_vat_rate integer,
- created_at timestamp without time zone NOT NULL,
- updated_at timestamp without time zone NOT NULL,
- total_final_value_lowest_offer numeric,
- total_final_value_highest_offer numeric,
- procedure_type character varying,
- total_estimated_value_type character varying,
- total_estimated_value_amount numeric,
- total_estimated_value_lowest_offer numeric,
- total_estimated_value_highest_offer numeric,
- total_estimated_value_currency character varying,
- total_estimated_value_vat_included boolean,
- direct_negotiate_procedure_reason character varying
-);
+ALTER TABLE ONLY itms.prioritne_osi ALTER COLUMN id SET DEFAULT nextval('itms.prioritne_osi_id_seq'::regclass);
--
--- Name: result_notices_id_seq; Type: SEQUENCE; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-CREATE SEQUENCE vvo.result_notices_id_seq
- START WITH 1
- INCREMENT BY 1
- NO MINVALUE
- NO MAXVALUE
- CACHE 1;
+ALTER TABLE ONLY itms.projektove_ukazovatele ALTER COLUMN id SET DEFAULT nextval('itms.projektove_ukazovatele_id_seq'::regclass);
--
--- Name: result_notices_id_seq; Type: SEQUENCE OWNED BY; Schema: vvo; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER SEQUENCE vvo.result_notices_id_seq OWNED BY vvo.result_notices.id;
+ALTER TABLE ONLY itms.projektove_ukazovatele_casy_plnenia ALTER COLUMN id SET DEFAULT nextval('itms.projektove_ukazovatele_casy_plnenia_id_seq'::regclass);
--
--- Name: id; Type: DEFAULT; Schema: crz; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER TABLE ONLY crz.attachments ALTER COLUMN id SET DEFAULT nextval('crz.attachments_id_seq'::regclass);
+ALTER TABLE ONLY itms.projektove_ukazovatele_fondy ALTER COLUMN id SET DEFAULT nextval('itms.projektove_ukazovatele_fondy_id_seq'::regclass);
--
--- Name: id; Type: DEFAULT; Schema: crz; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER TABLE ONLY crz.contracts ALTER COLUMN id SET DEFAULT nextval('crz.contracts_id_seq'::regclass);
+ALTER TABLE ONLY itms.projekty ALTER COLUMN id SET DEFAULT nextval('itms.projekty_id_seq'::regclass);
--
--- Name: id; Type: DEFAULT; Schema: crz; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER TABLE ONLY crz.departments ALTER COLUMN id SET DEFAULT nextval('crz.departments_id_seq'::regclass);
+ALTER TABLE ONLY itms.projekty_aktivity ALTER COLUMN id SET DEFAULT nextval('itms.projekty_aktivity_id_seq'::regclass);
--
--- Name: id; Type: DEFAULT; Schema: datahub; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER TABLE ONLY datahub.corporate_bodies ALTER COLUMN id SET DEFAULT nextval('datahub.corporate_bodies_id_seq'::regclass);
+ALTER TABLE ONLY itms.projekty_formy_financovania ALTER COLUMN id SET DEFAULT nextval('itms.projekty_formy_financovania_id_seq'::regclass);
--
--- Name: id; Type: DEFAULT; Schema: fs; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER TABLE ONLY fs.tax_liabilities ALTER COLUMN id SET DEFAULT nextval('fs.tax_liabilities_id_seq'::regclass);
+ALTER TABLE ONLY itms.projekty_hospodarske_cinnosti ALTER COLUMN id SET DEFAULT nextval('itms.projekty_hospodarske_cinnosti_id_seq'::regclass);
--
--- Name: id; Type: DEFAULT; Schema: fs; Owner: -
+-- Name: id; Type: DEFAULT; Schema: itms; Owner: -
--
-ALTER TABLE ONLY fs.vat_subjects ALTER COLUMN id SET DEFAULT nextval('fs.vat_subjects_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: fs_to_datahub; Owner: -
---
-
-ALTER TABLE ONLY fs_to_datahub.tax_liability_to_corporate_bodies ALTER COLUMN id SET DEFAULT nextval('fs_to_datahub.tax_liability_to_corporate_bodies_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: fs_to_datahub; Owner: -
---
-
-ALTER TABLE ONLY fs_to_datahub.vat_subject_to_corporate_bodies ALTER COLUMN id SET DEFAULT nextval('fs_to_datahub.vat_subject_to_corporate_bodies_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.aktivity ALTER COLUMN id SET DEFAULT nextval('itms.aktivity_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.ciselniky ALTER COLUMN id SET DEFAULT nextval('itms.ciselniky_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.deklarovane_vydavky ALTER COLUMN id SET DEFAULT nextval('itms.deklarovane_vydavky_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.deklarovane_vydavky_sumy_neschvalene_na_preplatenie ALTER COLUMN id SET DEFAULT nextval('itms.deklarovane_vydavky_sumy_neschvalene_na_preplatenie_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.deklarovane_vydavky_sumy_neziadane_na_preplatenie ALTER COLUMN id SET DEFAULT nextval('itms.deklarovane_vydavky_sumy_neziadane_na_preplatenie_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.dodavatelia ALTER COLUMN id SET DEFAULT nextval('itms.dodavatelia_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.hodnoty_ciselnikov ALTER COLUMN id SET DEFAULT nextval('itms.hodnoty_ciselnikov_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.intenzity ALTER COLUMN id SET DEFAULT nextval('itms.intenzity_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.intenzity_zdroje ALTER COLUMN id SET DEFAULT nextval('itms.intenzity_zdroje_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.konkretne_ciele ALTER COLUMN id SET DEFAULT nextval('itms.konkretne_ciele_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.konkretne_ciele_hodnoty_ciselnikov ALTER COLUMN id SET DEFAULT nextval('itms.konkretne_ciele_hodnoty_ciselnikov_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.konkretne_ciele_typy_aktivit ALTER COLUMN id SET DEFAULT nextval('itms.konkretne_ciele_typy_aktivit_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.miesta_realizacie ALTER COLUMN id SET DEFAULT nextval('itms.miesta_realizacie_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.monitorovacie_terminy ALTER COLUMN id SET DEFAULT nextval('itms.monitorovacie_terminy_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.nezrovnalosti ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.nezrovnalosti_subjekty_ktore_sposobili_nezrovnalost ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_subjekty_ktore_sposobili_nezrovnalost_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.nezrovnalosti_subjekty_ktore_zistili_nezrovnalost ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_subjekty_ktore_zistili_nezrovnalost_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.nezrovnalosti_subjekty_zodpovedne_za_nasledne_konanie ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_subjekty_zodpovedne_za_nasledne_konanie_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.nezrovnalosti_suvisiace_nezrovnalosti ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_suvisiace_nezrovnalosti_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.nezrovnalosti_suvisiace_pohladavkove_doklady ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_suvisiace_pohladavkove_doklady_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.nezrovnalosti_suvisiace_verejne_obstaravania ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_suvisiace_verejne_obstaravania_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.nezrovnalosti_suvisiace_zop ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_suvisiace_zop_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.nezrovnalosti_typy_nezrovnalosti ALTER COLUMN id SET DEFAULT nextval('itms.nezrovnalosti_typy_nezrovnalosti_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.nuts_kody ALTER COLUMN id SET DEFAULT nextval('itms.nuts_kody_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.operacne_programy ALTER COLUMN id SET DEFAULT nextval('itms.operacne_programy_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.organizacne_zlozky ALTER COLUMN id SET DEFAULT nextval('itms.organizacne_zlozky_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.osoby ALTER COLUMN id SET DEFAULT nextval('itms.osoby_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.pohladavkove_doklady ALTER COLUMN id SET DEFAULT nextval('itms.pohladavkove_doklady_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.pohladavkove_doklady_suvisiace_verejne_obstaravania ALTER COLUMN id SET DEFAULT nextval('itms.pohladavkove_doklady_suvisiace_verejne_obstaravania_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.pohladavkove_doklady_suvisiace_zop ALTER COLUMN id SET DEFAULT nextval('itms.pohladavkove_doklady_suvisiace_zop_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.polozky_rozpoctu ALTER COLUMN id SET DEFAULT nextval('itms.polozky_rozpoctu_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.prioritne_osi ALTER COLUMN id SET DEFAULT nextval('itms.prioritne_osi_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.projektove_ukazovatele ALTER COLUMN id SET DEFAULT nextval('itms.projektove_ukazovatele_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.projektove_ukazovatele_casy_plnenia ALTER COLUMN id SET DEFAULT nextval('itms.projektove_ukazovatele_casy_plnenia_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.projektove_ukazovatele_fondy ALTER COLUMN id SET DEFAULT nextval('itms.projektove_ukazovatele_fondy_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.projekty ALTER COLUMN id SET DEFAULT nextval('itms.projekty_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.projekty_aktivity ALTER COLUMN id SET DEFAULT nextval('itms.projekty_aktivity_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.projekty_formy_financovania ALTER COLUMN id SET DEFAULT nextval('itms.projekty_formy_financovania_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.projekty_hospodarske_cinnosti ALTER COLUMN id SET DEFAULT nextval('itms.projekty_hospodarske_cinnosti_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: itms; Owner: -
---
-
-ALTER TABLE ONLY itms.projekty_intenzity ALTER COLUMN id SET DEFAULT nextval('itms.projekty_intenzity_id_seq'::regclass);
+ALTER TABLE ONLY itms.projekty_intenzity ALTER COLUMN id SET DEFAULT nextval('itms.projekty_intenzity_id_seq'::regclass);
--
@@ -7795,104 +7261,6 @@ ALTER TABLE ONLY upvs.public_authority_edesks ALTER COLUMN id SET DEFAULT nextva
ALTER TABLE ONLY vszp.debtors ALTER COLUMN id SET DEFAULT nextval('vszp.debtors_id_seq'::regclass);
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.bulletin_issues ALTER COLUMN id SET DEFAULT nextval('vvo.bulletins_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.contract_awards ALTER COLUMN id SET DEFAULT nextval('vvo.agreements_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.contracting_authorities ALTER COLUMN id SET DEFAULT nextval('vvo.contracting_authorities_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.contractors ALTER COLUMN id SET DEFAULT nextval('vvo.agreement_suppliers_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.contracts ALTER COLUMN id SET DEFAULT nextval('vvo.contracts_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.notice_suppliers ALTER COLUMN id SET DEFAULT nextval('vvo.notice_suppliers_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.notice_types ALTER COLUMN id SET DEFAULT nextval('vvo.announcement_types_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.notices ALTER COLUMN id SET DEFAULT nextval('vvo.notices_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.procedure_types ALTER COLUMN id SET DEFAULT nextval('vvo.procedure_types_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.raw_notices ALTER COLUMN id SET DEFAULT nextval('vvo.raw_notices_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.result_notice_lot_main_cpvs ALTER COLUMN id SET DEFAULT nextval('vvo.result_notice_item_cpvs_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.result_notice_lots ALTER COLUMN id SET DEFAULT nextval('vvo.result_notice_items_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.result_notice_main_cpvs ALTER COLUMN id SET DEFAULT nextval('vvo.result_notice_cpvs_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.result_notices ALTER COLUMN id SET DEFAULT nextval('vvo.result_notices_id_seq'::regclass);
-
-
--
-- Name: attachments_pkey; Type: CONSTRAINT; Schema: crz; Owner: -
--
@@ -9122,263 +8490,143 @@ ALTER TABLE ONLY rpo.organizations
--
ALTER TABLE ONLY rpo.share_forms
- ADD CONSTRAINT share_forms_pkey PRIMARY KEY (id);
-
-
---
--- Name: share_types_pkey; Type: CONSTRAINT; Schema: rpo; Owner: -
---
-
-ALTER TABLE ONLY rpo.share_types
- ADD CONSTRAINT share_types_pkey PRIMARY KEY (id);
-
-
---
--- Name: stakeholder_types_pkey; Type: CONSTRAINT; Schema: rpo; Owner: -
---
-
-ALTER TABLE ONLY rpo.stakeholder_types
- ADD CONSTRAINT stakeholder_types_pkey PRIMARY KEY (id);
-
-
---
--- Name: organization_to_corporate_bodies_pkey; Type: CONSTRAINT; Schema: rpo_to_datahub; Owner: -
---
-
-ALTER TABLE ONLY rpo_to_datahub.organization_to_corporate_bodies
- ADD CONSTRAINT organization_to_corporate_bodies_pkey PRIMARY KEY (id);
-
-
---
--- Name: organization_to_corporate_bodies_uniq; Type: CONSTRAINT; Schema: rpo_to_datahub; Owner: -
---
-
-ALTER TABLE ONLY rpo_to_datahub.organization_to_corporate_bodies
- ADD CONSTRAINT organization_to_corporate_bodies_uniq UNIQUE (corporate_body_id, organization_id);
-
-
---
--- Name: ruz_accounting_entities_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
---
-
-ALTER TABLE ONLY ruz.accounting_entities
- ADD CONSTRAINT ruz_accounting_entities_pkey PRIMARY KEY (id);
-
-
---
--- Name: ruz_districts_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
---
-
-ALTER TABLE ONLY ruz.districts
- ADD CONSTRAINT ruz_districts_pkey PRIMARY KEY (id);
-
-
---
--- Name: ruz_legal_forms_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
---
-
-ALTER TABLE ONLY ruz.legal_forms
- ADD CONSTRAINT ruz_legal_forms_pkey PRIMARY KEY (id);
-
-
---
--- Name: ruz_municipalities_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
---
-
-ALTER TABLE ONLY ruz.municipalities
- ADD CONSTRAINT ruz_municipalities_pkey PRIMARY KEY (id);
-
-
---
--- Name: ruz_organization_sizes_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
---
-
-ALTER TABLE ONLY ruz.organization_sizes
- ADD CONSTRAINT ruz_organization_sizes_pkey PRIMARY KEY (id);
-
-
---
--- Name: ruz_ownership_types_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
---
-
-ALTER TABLE ONLY ruz.ownership_types
- ADD CONSTRAINT ruz_ownership_types_pkey PRIMARY KEY (id);
-
-
---
--- Name: ruz_regions_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
---
-
-ALTER TABLE ONLY ruz.regions
- ADD CONSTRAINT ruz_regions_pkey PRIMARY KEY (id);
-
-
---
--- Name: ruz_sk_nace_categories_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
---
-
-ALTER TABLE ONLY ruz.sk_nace_categories
- ADD CONSTRAINT ruz_sk_nace_categories_pkey PRIMARY KEY (id);
-
-
---
--- Name: accounting_entity_to_corporate_bodies_pkey; Type: CONSTRAINT; Schema: ruz_to_datahub; Owner: -
---
-
-ALTER TABLE ONLY ruz_to_datahub.accounting_entity_to_corporate_bodies
- ADD CONSTRAINT accounting_entity_to_corporate_bodies_pkey PRIMARY KEY (id);
-
-
---
--- Name: accounting_entity_to_corporate_bodies_uniq; Type: CONSTRAINT; Schema: ruz_to_datahub; Owner: -
---
-
-ALTER TABLE ONLY ruz_to_datahub.accounting_entity_to_corporate_bodies
- ADD CONSTRAINT accounting_entity_to_corporate_bodies_uniq UNIQUE (corporate_body_id, accounting_entity_id);
-
-
---
--- Name: debtors_pkey; Type: CONSTRAINT; Schema: socpoist; Owner: -
---
-
-ALTER TABLE ONLY socpoist.debtors
- ADD CONSTRAINT debtors_pkey PRIMARY KEY (id);
+ ADD CONSTRAINT share_forms_pkey PRIMARY KEY (id);
--
--- Name: public_authority_edesks_pkey; Type: CONSTRAINT; Schema: upvs; Owner: -
+-- Name: share_types_pkey; Type: CONSTRAINT; Schema: rpo; Owner: -
--
-ALTER TABLE ONLY upvs.public_authority_edesks
- ADD CONSTRAINT public_authority_edesks_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY rpo.share_types
+ ADD CONSTRAINT share_types_pkey PRIMARY KEY (id);
--
--- Name: debtors_pkey; Type: CONSTRAINT; Schema: vszp; Owner: -
+-- Name: stakeholder_types_pkey; Type: CONSTRAINT; Schema: rpo; Owner: -
--
-ALTER TABLE ONLY vszp.debtors
- ADD CONSTRAINT debtors_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY rpo.stakeholder_types
+ ADD CONSTRAINT stakeholder_types_pkey PRIMARY KEY (id);
--
--- Name: agreement_suppliers_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: organization_to_corporate_bodies_pkey; Type: CONSTRAINT; Schema: rpo_to_datahub; Owner: -
--
-ALTER TABLE ONLY vvo.contractors
- ADD CONSTRAINT agreement_suppliers_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY rpo_to_datahub.organization_to_corporate_bodies
+ ADD CONSTRAINT organization_to_corporate_bodies_pkey PRIMARY KEY (id);
--
--- Name: agreements_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: organization_to_corporate_bodies_uniq; Type: CONSTRAINT; Schema: rpo_to_datahub; Owner: -
--
-ALTER TABLE ONLY vvo.contract_awards
- ADD CONSTRAINT agreements_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY rpo_to_datahub.organization_to_corporate_bodies
+ ADD CONSTRAINT organization_to_corporate_bodies_uniq UNIQUE (corporate_body_id, organization_id);
--
--- Name: announcement_types_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: ruz_accounting_entities_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
--
-ALTER TABLE ONLY vvo.notice_types
- ADD CONSTRAINT announcement_types_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY ruz.accounting_entities
+ ADD CONSTRAINT ruz_accounting_entities_pkey PRIMARY KEY (id);
--
--- Name: bulletins_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: ruz_districts_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
--
-ALTER TABLE ONLY vvo.bulletin_issues
- ADD CONSTRAINT bulletins_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY ruz.districts
+ ADD CONSTRAINT ruz_districts_pkey PRIMARY KEY (id);
--
--- Name: contracting_authorities_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: ruz_legal_forms_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
--
-ALTER TABLE ONLY vvo.contracting_authorities
- ADD CONSTRAINT contracting_authorities_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY ruz.legal_forms
+ ADD CONSTRAINT ruz_legal_forms_pkey PRIMARY KEY (id);
--
--- Name: contracts_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: ruz_municipalities_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
--
-ALTER TABLE ONLY vvo.contracts
- ADD CONSTRAINT contracts_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY ruz.municipalities
+ ADD CONSTRAINT ruz_municipalities_pkey PRIMARY KEY (id);
--
--- Name: notice_suppliers_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: ruz_organization_sizes_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
--
-ALTER TABLE ONLY vvo.notice_suppliers
- ADD CONSTRAINT notice_suppliers_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY ruz.organization_sizes
+ ADD CONSTRAINT ruz_organization_sizes_pkey PRIMARY KEY (id);
--
--- Name: notices_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: ruz_ownership_types_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
--
-ALTER TABLE ONLY vvo.notices
- ADD CONSTRAINT notices_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY ruz.ownership_types
+ ADD CONSTRAINT ruz_ownership_types_pkey PRIMARY KEY (id);
--
--- Name: procedure_types_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: ruz_regions_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
--
-ALTER TABLE ONLY vvo.procedure_types
- ADD CONSTRAINT procedure_types_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY ruz.regions
+ ADD CONSTRAINT ruz_regions_pkey PRIMARY KEY (id);
--
--- Name: raw_notices_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: ruz_sk_nace_categories_pkey; Type: CONSTRAINT; Schema: ruz; Owner: -
--
-ALTER TABLE ONLY vvo.raw_notices
- ADD CONSTRAINT raw_notices_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY ruz.sk_nace_categories
+ ADD CONSTRAINT ruz_sk_nace_categories_pkey PRIMARY KEY (id);
--
--- Name: result_notice_cpvs_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: accounting_entity_to_corporate_bodies_pkey; Type: CONSTRAINT; Schema: ruz_to_datahub; Owner: -
--
-ALTER TABLE ONLY vvo.result_notice_main_cpvs
- ADD CONSTRAINT result_notice_cpvs_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY ruz_to_datahub.accounting_entity_to_corporate_bodies
+ ADD CONSTRAINT accounting_entity_to_corporate_bodies_pkey PRIMARY KEY (id);
--
--- Name: result_notice_item_cpvs_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: accounting_entity_to_corporate_bodies_uniq; Type: CONSTRAINT; Schema: ruz_to_datahub; Owner: -
--
-ALTER TABLE ONLY vvo.result_notice_lot_main_cpvs
- ADD CONSTRAINT result_notice_item_cpvs_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY ruz_to_datahub.accounting_entity_to_corporate_bodies
+ ADD CONSTRAINT accounting_entity_to_corporate_bodies_uniq UNIQUE (corporate_body_id, accounting_entity_id);
--
--- Name: result_notice_items_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: debtors_pkey; Type: CONSTRAINT; Schema: socpoist; Owner: -
--
-ALTER TABLE ONLY vvo.result_notice_lots
- ADD CONSTRAINT result_notice_items_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY socpoist.debtors
+ ADD CONSTRAINT debtors_pkey PRIMARY KEY (id);
--
--- Name: result_notices_pkey; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: public_authority_edesks_pkey; Type: CONSTRAINT; Schema: upvs; Owner: -
--
-ALTER TABLE ONLY vvo.result_notices
- ADD CONSTRAINT result_notices_pkey PRIMARY KEY (id);
+ALTER TABLE ONLY upvs.public_authority_edesks
+ ADD CONSTRAINT public_authority_edesks_pkey PRIMARY KEY (id);
--
--- Name: vvo_unique_code; Type: CONSTRAINT; Schema: vvo; Owner: -
+-- Name: debtors_pkey; Type: CONSTRAINT; Schema: vszp; Owner: -
--
-ALTER TABLE ONLY vvo.procedure_types
- ADD CONSTRAINT vvo_unique_code UNIQUE (code, category);
+ALTER TABLE ONLY vszp.debtors
+ ADD CONSTRAINT debtors_pkey PRIMARY KEY (id);
--
@@ -12146,132 +11394,6 @@ CREATE INDEX "index_upvs.public_authority_edesks_on_cin" ON upvs.public_authorit
CREATE UNIQUE INDEX "index_upvs.public_authority_edesks_on_uri" ON upvs.public_authority_edesks USING btree (uri);
---
--- Name: index_vvo.agreement_suppliers_on_agreement_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.agreement_suppliers_on_agreement_id" ON vvo.contractors USING btree (contract_award_id);
-
-
---
--- Name: index_vvo.agreements_on_result_notice_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.agreements_on_result_notice_id" ON vvo.contract_awards USING btree (result_notice_id);
-
-
---
--- Name: index_vvo.announcement_types_on_code; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE UNIQUE INDEX "index_vvo.announcement_types_on_code" ON vvo.notice_types USING btree (code);
-
-
---
--- Name: index_vvo.notice_suppliers_on_notice_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.notice_suppliers_on_notice_id" ON vvo.notice_suppliers USING btree (notice_id);
-
-
---
--- Name: index_vvo.notices_on_contract_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.notices_on_contract_id" ON vvo.notices USING btree (contract_id);
-
-
---
--- Name: index_vvo.notices_on_contracting_authority_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.notices_on_contracting_authority_id" ON vvo.notices USING btree (contracting_authority_id);
-
-
---
--- Name: index_vvo.notices_on_procedure_type_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.notices_on_procedure_type_id" ON vvo.notices USING btree (procedure_type_id);
-
-
---
--- Name: index_vvo.raw_notices_on_bulletin_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.raw_notices_on_bulletin_id" ON vvo.raw_notices USING btree (bulletin_issue_id);
-
-
---
--- Name: index_vvo.raw_notices_on_bulletin_id_and_number; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE UNIQUE INDEX "index_vvo.raw_notices_on_bulletin_id_and_number" ON vvo.raw_notices USING btree (bulletin_issue_id, number);
-
-
---
--- Name: index_vvo.raw_notices_on_contract_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.raw_notices_on_contract_id" ON vvo.raw_notices USING btree (contract_id);
-
-
---
--- Name: index_vvo.raw_notices_on_contracting_authority_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.raw_notices_on_contracting_authority_id" ON vvo.raw_notices USING btree (contracting_authority_id);
-
-
---
--- Name: index_vvo.result_notice_cpvs_on_result_notice_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.result_notice_cpvs_on_result_notice_id" ON vvo.result_notice_main_cpvs USING btree (result_notice_id);
-
-
---
--- Name: index_vvo.result_notice_item_cpvs_on_result_notice_item_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.result_notice_item_cpvs_on_result_notice_item_id" ON vvo.result_notice_lot_main_cpvs USING btree (result_notice_lot_id);
-
-
---
--- Name: index_vvo.result_notice_items_on_result_notice_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.result_notice_items_on_result_notice_id" ON vvo.result_notice_lots USING btree (result_notice_id);
-
-
---
--- Name: index_vvo.result_notices_on_bulletin_issue_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.result_notices_on_bulletin_issue_id" ON vvo.result_notices USING btree (bulletin_issue_id);
-
-
---
--- Name: index_vvo.result_notices_on_contract_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.result_notices_on_contract_id" ON vvo.result_notices USING btree (contract_id);
-
-
---
--- Name: index_vvo.result_notices_on_notice_type_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE INDEX "index_vvo.result_notices_on_notice_type_id" ON vvo.result_notices USING btree (notice_type_id);
-
-
---
--- Name: index_vvo.result_notices_on_raw_notice_id; Type: INDEX; Schema: vvo; Owner: -
---
-
-CREATE UNIQUE INDEX "index_vvo.result_notices_on_raw_notice_id" ON vvo.result_notices USING btree (raw_notice_id);
-
-
--
-- Name: fk_rails_43c7c1b4e3; Type: FK CONSTRAINT; Schema: crz; Owner: -
--
@@ -14592,174 +13714,6 @@ ALTER TABLE ONLY ruz_to_datahub.accounting_entity_to_corporate_bodies
ADD CONSTRAINT fk_rails_b9792f9055 FOREIGN KEY (accounting_entity_id) REFERENCES ruz.accounting_entities(id) ON DELETE CASCADE;
---
--- Name: fk_rails_01251ddbaf; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.result_notices
- ADD CONSTRAINT fk_rails_01251ddbaf FOREIGN KEY (contracting_authority_id) REFERENCES vvo.contracting_authorities(id) ON DELETE CASCADE;
-
-
---
--- Name: fk_rails_0141124b0b; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.contractors
- ADD CONSTRAINT fk_rails_0141124b0b FOREIGN KEY (contract_award_id) REFERENCES vvo.contract_awards(id) ON DELETE CASCADE;
-
-
---
--- Name: fk_rails_189dae0237; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.notices
- ADD CONSTRAINT fk_rails_189dae0237 FOREIGN KEY (raw_notice_id) REFERENCES vvo.raw_notices(id);
-
-
---
--- Name: fk_rails_2965d55cab; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.raw_notices
- ADD CONSTRAINT fk_rails_2965d55cab FOREIGN KEY (notice_type_id) REFERENCES vvo.notice_types(id);
-
-
---
--- Name: fk_rails_2f54d3abd1; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.result_notices
- ADD CONSTRAINT fk_rails_2f54d3abd1 FOREIGN KEY (bulletin_issue_id) REFERENCES vvo.bulletin_issues(id) ON DELETE CASCADE;
-
-
---
--- Name: fk_rails_46621bd6f9; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.result_notice_lots
- ADD CONSTRAINT fk_rails_46621bd6f9 FOREIGN KEY (result_notice_id) REFERENCES vvo.result_notices(id) ON DELETE CASCADE;
-
-
---
--- Name: fk_rails_4ebe2a9ae2; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.contract_awards
- ADD CONSTRAINT fk_rails_4ebe2a9ae2 FOREIGN KEY (result_notice_id) REFERENCES vvo.result_notices(id) ON DELETE CASCADE;
-
-
---
--- Name: fk_rails_504141c77e; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.result_notice_lot_main_cpvs
- ADD CONSTRAINT fk_rails_504141c77e FOREIGN KEY (result_notice_lot_id) REFERENCES vvo.result_notice_lots(id) ON DELETE CASCADE;
-
-
---
--- Name: fk_rails_56618ccf4f; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.notice_suppliers
- ADD CONSTRAINT fk_rails_56618ccf4f FOREIGN KEY (notice_id) REFERENCES vvo.notices(id) ON DELETE CASCADE;
-
-
---
--- Name: fk_rails_60e44e731a; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.result_notices
- ADD CONSTRAINT fk_rails_60e44e731a FOREIGN KEY (raw_notice_id) REFERENCES vvo.raw_notices(id) ON DELETE CASCADE;
-
-
---
--- Name: fk_rails_6154057566; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.notices
- ADD CONSTRAINT fk_rails_6154057566 FOREIGN KEY (notice_type_id) REFERENCES vvo.notice_types(id);
-
-
---
--- Name: fk_rails_6e839c3c34; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.result_notices
- ADD CONSTRAINT fk_rails_6e839c3c34 FOREIGN KEY (notice_type_id) REFERENCES vvo.notice_types(id) ON DELETE CASCADE;
-
-
---
--- Name: fk_rails_7044e59199; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.notices
- ADD CONSTRAINT fk_rails_7044e59199 FOREIGN KEY (contracting_authority_id) REFERENCES vvo.contracting_authorities(id);
-
-
---
--- Name: fk_rails_761755b44a; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.result_notice_main_cpvs
- ADD CONSTRAINT fk_rails_761755b44a FOREIGN KEY (result_notice_id) REFERENCES vvo.result_notices(id) ON DELETE CASCADE;
-
-
---
--- Name: fk_rails_86b5e17ff4; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.notices
- ADD CONSTRAINT fk_rails_86b5e17ff4 FOREIGN KEY (bulletin_issue_id) REFERENCES vvo.bulletin_issues(id);
-
-
---
--- Name: fk_rails_b442791ca1; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.notices
- ADD CONSTRAINT fk_rails_b442791ca1 FOREIGN KEY (contract_id) REFERENCES vvo.contracts(id);
-
-
---
--- Name: fk_rails_b5b2f1b1b2; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.notices
- ADD CONSTRAINT fk_rails_b5b2f1b1b2 FOREIGN KEY (procedure_type_id) REFERENCES vvo.procedure_types(id);
-
-
---
--- Name: fk_rails_c0eda68529; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.raw_notices
- ADD CONSTRAINT fk_rails_c0eda68529 FOREIGN KEY (bulletin_issue_id) REFERENCES vvo.bulletin_issues(id);
-
-
---
--- Name: fk_rails_cbeb7267a3; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.result_notices
- ADD CONSTRAINT fk_rails_cbeb7267a3 FOREIGN KEY (contract_id) REFERENCES vvo.contracts(id) ON DELETE CASCADE;
-
-
---
--- Name: fk_rails_ce5c668074; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.raw_notices
- ADD CONSTRAINT fk_rails_ce5c668074 FOREIGN KEY (contract_id) REFERENCES vvo.contracts(id) ON DELETE CASCADE;
-
-
---
--- Name: fk_rails_ff034edcd4; Type: FK CONSTRAINT; Schema: vvo; Owner: -
---
-
-ALTER TABLE ONLY vvo.raw_notices
- ADD CONSTRAINT fk_rails_ff034edcd4 FOREIGN KEY (contracting_authority_id) REFERENCES vvo.contracting_authorities(id) ON DELETE CASCADE;
-
-
--
-- PostgreSQL database dump complete
--
@@ -15154,5 +14108,3 @@ INSERT INTO "schema_migrations" (version) VALUES
('20180723150841'),
('20180806095308'),
('20180820080219');
-
-
diff --git a/spec/features/pages_spec.rb b/spec/features/pages_spec.rb
index 06aa7e80..86269c0e 100644
--- a/spec/features/pages_spec.rb
+++ b/spec/features/pages_spec.rb
@@ -71,7 +71,6 @@
expect(page).to have_content('Synchronizačné API')
expect(page).to have_content('Register právnických osôb')
expect(page).to have_content('Centrálny register zmlúv')
- expect(page).to have_content('Vestník verejného obstarávania')
expect(page).to have_content('Obchodný vestník')
expect(page).to have_content('Register účtovných závierok')
end
@@ -85,7 +84,6 @@
expect(page).to have_content('rpo.')
expect(page).to have_content('crz.')
- expect(page).to have_content('vvo.')
expect(page).to have_content('ov.')
expect(page).to have_content('fs.')
expect(page).to have_content('ruz.')