fix repeatable migrations
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
-- =============================================================
|
||||
-- R__vw_audit_summary.sql
|
||||
-- R__053_vw_audit_summary.sql
|
||||
-- EMS Platform – přehledové views pro audit a dashboard
|
||||
-- Repeatable migration
|
||||
-- =============================================================
|
||||
@@ -1,5 +1,5 @@
|
||||
-- =============================================================
|
||||
-- R__vw_energy_flows.sql
|
||||
-- R__056_vw_energy_flows.sql
|
||||
-- Denní agregace 6 základních Wh + 7 směrových toků z audit_interval
|
||||
-- Repeatable migration (závisí na audit_interval + V042 sloupcech)
|
||||
-- =============================================================
|
||||
@@ -1,5 +1,5 @@
|
||||
-- =============================================================
|
||||
-- R__vw_latest_telemetry.sql
|
||||
-- R__058_vw_latest_telemetry.sql
|
||||
-- EMS Platform – aktuální stav všech zařízení per lokalita
|
||||
-- Repeatable migration
|
||||
-- =============================================================
|
||||
@@ -1,5 +1,5 @@
|
||||
-- =============================================================
|
||||
-- R__vw_operating_mode.sql
|
||||
-- R__059_vw_operating_mode.sql
|
||||
-- EMS Platform – views pro provozní režimy a heartbeat
|
||||
-- Repeatable migration
|
||||
-- =============================================================
|
||||
@@ -1,5 +1,5 @@
|
||||
-- =============================================================
|
||||
-- R__vw_site_effective_price.sql
|
||||
-- R__061_vw_site_effective_price.sql
|
||||
-- EMS Platform – view efektivních cen per site
|
||||
-- Repeatable migration
|
||||
-- =============================================================
|
||||
@@ -1,7 +1,7 @@
|
||||
-- =============================================================
|
||||
-- R__vw_site_effective_price_economics.sql
|
||||
-- R__067_vw_site_effective_price_economics.sql
|
||||
-- EMS Platform – ekonomické views (závisí na vw_site_effective_price)
|
||||
-- Musí běžet až PO R__vw_site_effective_price.sql (abecední pořadí Flyway).
|
||||
-- Musí běžet až PO R__061_vw_site_effective_price.sql (číselný prefix Flyway).
|
||||
-- Repeatable migration
|
||||
--
|
||||
-- Pozn.: při změně pořadí / názvů výstupních sloupců nestačí CREATE OR REPLACE VIEW —
|
||||
@@ -1,5 +1,5 @@
|
||||
-- =============================================================
|
||||
-- R__vw_telemetry_15m_7d.sql
|
||||
-- R__071_vw_telemetry_15m_7d.sql
|
||||
-- EMS Platform – telemetrie střídače po 15 min (dashboard sloty)
|
||||
-- Repeatable migration – jedna aktuální definice view
|
||||
-- =============================================================
|
||||
@@ -1,4 +1,4 @@
|
||||
-- PostgREST ems_anon: SELECT na views (repeatable – po R__vw_* ve stejném Flyway běhu).
|
||||
-- PostgREST ems_anon: SELECT na views (repeatable R__072 – po ostatních vw_* v pořadí Flyway).
|
||||
--
|
||||
-- Po importu DB dumpu bez cluster rolí často chybí samotná role; V009 pak na cílovém
|
||||
-- clusteru neběžela. Tento blok je idempotentní a při změně souboru znovu spáruje granty.
|
||||
Reference in New Issue
Block a user