Correctly creating database and schema, still some table errors