db.create syntax error fixed