fix
This commit is contained in:
23
scripts/add-user.sql
Normal file
23
scripts/add-user.sql
Normal file
@ -0,0 +1,23 @@
|
||||
-- Add user: Gregor Klevže
|
||||
-- Note: In a real application, you would use proper password hashing,
|
||||
-- but for direct SQL insertion we're using a placeholder password that you should change immediately
|
||||
INSERT INTO `User` (
|
||||
`email`,
|
||||
`password`,
|
||||
`name`,
|
||||
`surname`,
|
||||
`active`,
|
||||
`role`,
|
||||
`createdAt`,
|
||||
`updatedAt`
|
||||
)
|
||||
VALUES (
|
||||
'gregor@klevze.si',
|
||||
'gk1510!', -- This should be hashed in a real application
|
||||
'Gregor',
|
||||
'Klevže',
|
||||
true,
|
||||
'admin',
|
||||
NOW(),
|
||||
NOW()
|
||||
);
|
||||
Reference in New Issue
Block a user