esameits24-26backend/initdb/02_seed.sql
AV77web a68eae4828
All checks were successful
Deploy to VPS / build (push) Successful in 17s
Deploy to VPS / deploy (push) Successful in 20s
modifica a 02_seed.sql con inserimento ruolo
2026-07-12 17:25:07 +02:00

16 lines
No EOL
1.1 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- ============================================================
-- Dati iniziali di test esameits24-26
-- Password per tutti gli utenti: Password123!
-- 1 Andrea Villari admin@azienda.it (responsabile)
-- 2 Mario Rossi mario.rossi@azienda.it (dipendente)
-- 3 Marco Bianchi marco.bianchi@azienda.it (dipendente)
-- 4 Anna Verdi anna.verdi@azienda.it (dipendente)
-- ============================================================
USE `esameits24-26`;
INSERT INTO utenti (nome, cognome, email, password_hash, ruolo) VALUES
('Andrea', 'Villari', 'admin@azienda.it', '$2b$10$7Z80qZcDydZCdLrOcaH/VOa9knKWjQVyyg8MtEgBAvgfNMsiLEZze', 'RESPONSABILE_AMMINISTRATIVO'),
('Mario', 'Rossi', 'mario.rossi@azienda.it', '$2b$10$7Z80qZcDydZCdLrOcaH/VOa9knKWjQVyyg8MtEgBAvgfNMsiLEZze', 'DIPENDENTE'),
('Marco', 'Bianchi', 'marco.bianchi@azienda.it', '$2b$10$7Z80qZcDydZCdLrOcaH/VOa9knKWjQVyyg8MtEgBAvgfNMsiLEZze', 'DIPENDENTE'),
('Anna', 'Verdi', 'anna.verdi@azienda.it', '$2b$10$7Z80qZcDydZCdLrOcaH/VOa9knKWjQVyyg8MtEgBAvgfNMsiLEZze', 'DIPENDENTE');