Provide admin tools to manage and resend DJ invitations easily

Implements invitation management features, including resending and manual user creation, via new API endpoints and React components.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 3a22ac80-cd1d-4441-9e36-f24fc2f4c3de
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3478f7c3-db8c-4fca-9165-3adbdf1b5829/dbb6f90a-b277-4de1-a273-07d2fc2d56d1.jpg
This commit is contained in:
spliceboti
2025-07-10 00:46:13 +00:00
parent ec2ab0e9f4
commit 9945ecbca7
5 changed files with 461 additions and 20 deletions
+2
View File
@@ -43,6 +43,8 @@ export const users = pgTable("users", {
role: userRoleEnum("role").default("dj").notNull(),
isActive: boolean("is_active").default(true).notNull(),
maxEventsPerMonth: integer("max_events_per_month").default(2).notNull(),
tempPassword: varchar("temp_password"),
needsPasswordChange: boolean("needs_password_change").default(false),
createdAt: timestamp("created_at").defaultNow(),
updatedAt: timestamp("updated_at").defaultNow(),
});