mpociot / teamwork

User to Team associations with invitation system for the Laravel 5 Framework
MIT License
1.07k stars 170 forks source link

Able to set alternative team id column name/key (team_id) #32

Closed kyranb closed 8 years ago

kyranb commented 8 years ago

I have an existing database structure that references a 'Tenant' (tenant_id') rather than team. Would you be open to including this as a dynamically set option (like the user model)?

Happy to submit a PR if so :)

Edit: Upon looking at the codebase, it would make it harder to read, so probably not worth it.

mpociot commented 8 years ago

Sure - if it's optional, I'd be happy to see a PR 👍