created database and table on worker init to avoid permission issues when starting nginx as root and running workers as nobody