created and migrated teachers table