Fixed DB init quieries execution before creation of db itself

Change-Id: I0585ea2b79933ce40df4aa32efdc137f5e474917
1 file changed