Copy Australian texts to NZ (#384)

This commit is contained in:
Fredrik Ringqvist
2024-03-15 10:03:03 +01:00
committed by GitHub
parent e82d3ab9b2
commit c502b58e91
+5
View File
@@ -0,0 +1,5 @@
-- Copy Australian text tags to New Zealand
INSERT INTO "i18n-texts_data" (textid, text, locale_id)
SELECT textid, text, (select id from locales where value = 'en_NZ')
FROM "i18n-texts_data" WHERE locale_id = (SELECT id FROM locales WHERE value = 'en_AU')
ON CONFLICT (textid, locale_id) DO UPDATE SET text = EXCLUDED.text;