From 85cba98cc56972f1e4a34fe8f3c569ef0deaf2c5 Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@nibio.no>
Date: Thu, 20 Aug 2020 12:18:33 +0200
Subject: [PATCH] Added OpenData FMI also in the database (through Flyway)

---
 .../V7__FMI_WeatherForecastProvider_added.sql | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 src/main/resources/db/migration/V7__FMI_WeatherForecastProvider_added.sql

diff --git a/src/main/resources/db/migration/V7__FMI_WeatherForecastProvider_added.sql b/src/main/resources/db/migration/V7__FMI_WeatherForecastProvider_added.sql
new file mode 100644
index 00000000..f47a58c3
--- /dev/null
+++ b/src/main/resources/db/migration/V7__FMI_WeatherForecastProvider_added.sql
@@ -0,0 +1,25 @@
+/* 
+ * Copyright (c) 2020 NIBIO <http://www.nibio.no/>. 
+ * 
+ * This file is part of VIPSLogic.
+ * VIPSLogic is free software: you can redistribute it and/or modify
+ * it under the terms of the NIBIO Open Source License as published by 
+ * NIBIO, either version 1 of the License, or (at your option) any
+ * later version.
+ * 
+ * VIPSLogic is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * NIBIO Open Source License for more details.
+ * 
+ * You should have received a copy of the NIBIO Open Source License
+ * along with VIPSLogic.  If not, see <http://www.nibio.no/licenses/>.
+ * 
+ */
+/**
+ * Author:  Tor-Einar Skog <tor-einar.skog@nibio.no>
+ * Created: 2020-08-20
+ */
+
+INSERT INTO public.weather_forecast_provider(weather_forecast_provider_id,name,info_url,description)
+VALUES(2,'OpenData FMI','http://opendata.fmi.fi','The Finnish Meteorological Institute''s forecast service');
\ No newline at end of file
-- 
GitLab