mirror of
https://codeberg.org/ThisIsMiseryy/techstore
synced 2026-05-14 14:52:04 +00:00
Inserimento admin di esempio in DB base
This commit is contained in:
+5
-1
@@ -54,4 +54,8 @@ INSERT INTO Categories(Name) VALUES
|
||||
INSERT INTO Products(ProductName,Description,CategoryID,Price,ImagePath,StockQuantity) VALUES
|
||||
('Yealink T31P',"Telefono IP con PoE, Ethernet a 100M, 2 linee",3,'51.21','example/t31p.jpg',104),
|
||||
('Lenovo ThinkCentre M920q','Mini PC (Ricondizionato) Intel Core i5, 512GB SSD, 16GB RAM, Windows 11 Pro',1,'299','example/tcM920q.jpg',69),
|
||||
('Mercusys MS116GS Switch 16 Porte','Switch Gigabit 16 Porte, Montaggio Desktop o Rack, Plug & Play, Priorità del Traffico, Prevenzione Loop, Modalità di Isolamento, Funzionamento Silenzioso, Case in Metallo',2,'44.99','example/mercusysMS116GS.jpg',727);
|
||||
('Mercusys MS116GS Switch 16 Porte','Switch Gigabit 16 Porte, Montaggio Desktop o Rack, Plug & Play, Priorità del Traffico, Prevenzione Loop, Modalità di Isolamento, Funzionamento Silenzioso, Case in Metallo',2,'44.99','example/mercusysMS116GS.jpg',727);
|
||||
|
||||
-- Inserimento utente admin di base (password = changeme)
|
||||
INSERT INTO Users (Name,Surname,Email,Password,Role) VALUES
|
||||
('Ellen', 'Joe', 'admin@example.com', '$2y$12$zEXyLRdKvvvoH4/zuIuwYuQLA5GwsvZw2usIhxxbYyw4.uoeghe4m', 'admin');
|
||||
Reference in New Issue
Block a user