Fix database create statement