Enhance audience management features with new components and API integrations
- Added `AssignCoursesModal`, `AudienceMemberRow`, `AudienceTable`, and related components for improved audience management UI. - Implemented audience invite actions including resend and revoke functionality. - Updated audience API to support importing members and assigning courses. - Refactored audience data handling to include status and invite management. - Improved overall user experience with pagination and selection features in the audience table.
This commit is contained in:
@@ -1475,7 +1475,10 @@ export const organizationmember = pgTable(
|
||||
index('idx_organizationmember_profile_org').on(table.profileId, table.organizationId),
|
||||
uniqueIndex('organizationmember_org_profile_unique')
|
||||
.on(table.organizationId, table.profileId)
|
||||
.where(sql`${table.profileId} IS NOT NULL`)
|
||||
.where(sql`${table.profileId} IS NOT NULL`),
|
||||
uniqueIndex('organizationmember_org_email_unique')
|
||||
.on(table.organizationId, table.email)
|
||||
.where(sql`${table.email} IS NOT NULL`)
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user