add lowdb
This commit is contained in:
11
src/database/defaultAdminUser.ts
Normal file
11
src/database/defaultAdminUser.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { User } from "./database.schema";
|
||||
|
||||
export const defaultAdminUser: User = {
|
||||
id: 1,
|
||||
username: "admin",
|
||||
email: "admin@example.com",
|
||||
firstName: "Admin",
|
||||
lastName: "User",
|
||||
password: "admin123", // You should hash this in production
|
||||
isDeleted: false,
|
||||
};
|
||||
Reference in New Issue
Block a user