all the database tables have renamed to base and views created for the tables