23 lines
491 B
SQL
23 lines
491 B
SQL
-- 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()
|
|
); |