Archive old migrations (#426)

* Archive old migrations

* Fix invalid placement of migrations
This commit is contained in:
Rikard Bartholf
2024-10-17 11:19:12 +02:00
committed by GitHub
parent 763262c108
commit ddcbd0afb0
500 changed files with 0 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
CREATE OR REPLACE VIEW v_funnel_currencies
AS
SELECT iso3char AS iso_code,
ROUND(exchange_rate * 100, 2) exchange_rate,
updated
FROM "i18n-currencies"
WHERE NOT iso3char IN ('SEK', 'RUB');
GRANT SELECT ON TABLE public.v_funnel_currencies TO funnel;
GRANT INSERT, SELECT, UPDATE, DELETE ON TABLE public.v_funnel_currencies TO photowall;