schema to database and tables