Create database migrations
Rename table users_in_departments to departments_users
Define model relationships