Database timezone fixed

This commit is contained in:
Filip Izydorczyk 2020-12-11 16:18:43 +01:00
parent d2a679fb22
commit 15533525af
2 changed files with 6 additions and 1 deletions

View File

@ -1 +1,2 @@
CREATE DATABASE IF NOT EXISTS test;
SET GLOBAL time_zone = '+1:00';

View File

@ -40,6 +40,10 @@ public class App {
SpringApplication.run(App.class, args);
}
/**
* method to import mocked data to testing app after startz. It is called only
* in dev profile
*/
@EventListener(ApplicationReadyEvent.class)
public void importData() {
System.out.println(Logo.getInitInfo(isDev));