Working model and migration with join table