Update auth, users, settings page, and prisma schema

This commit is contained in:
2026-02-24 00:24:15 -05:00
parent 27e6e6a4a0
commit 6e31681438
9 changed files with 324 additions and 43 deletions

View File

@@ -6,11 +6,11 @@ function formatTime(date: Date): string {
}
async function main() {
// Create multiple users
// Create multiple users (role: ADMIN | USER)
const users = await prisma.user.createMany({
data: [
{ username: "admin2", password: "123456" },
{ username: "bob", password: "123456" },
{ username: "admin2", password: "123456", role: "ADMIN" },
{ username: "bob", password: "123456", role: "USER" },
],
});