created migration and tables