sql script fix

Change-Id: I225c791a2ccd0adf73c46aec8ca5c75f1924cc98
Signed-off-by: Laszlo Hornyak <lhornyak@redhat.com>