Database timezone fixed
This commit is contained in:
parent
d2a679fb22
commit
15533525af
3
init.sql
3
init.sql
@ -1 +1,2 @@
|
|||||||
CREATE DATABASE IF NOT EXISTS test;
|
CREATE DATABASE IF NOT EXISTS test;
|
||||||
|
SET GLOBAL time_zone = '+1:00';
|
@ -40,6 +40,10 @@ public class App {
|
|||||||
SpringApplication.run(App.class, args);
|
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)
|
@EventListener(ApplicationReadyEvent.class)
|
||||||
public void importData() {
|
public void importData() {
|
||||||
System.out.println(Logo.getInitInfo(isDev));
|
System.out.println(Logo.getInitInfo(isDev));
|
||||||
|
Loading…
Reference in New Issue
Block a user