Database Seed Script Using Organization Plugin
Anyone here using the
organization
plugin and made a local database seed script that populates your database with a fake organization and users in said organization? If so, can you share what that looks like? Step-wise sequence is:
Create organization
Invite users to organization
Accept invitations
But how does one do step 2 of the process in a seed script? Is it possible to skip it all together and directly add users to the organization using the server API?1 Reply
use your orm and create the orgs and members directly