fix correct account

This commit is contained in:
ismail 2026-02-03 17:01:15 +01:00
parent e0cda49063
commit f0d259a8a8
1 changed files with 4 additions and 2 deletions

View File

@ -36,8 +36,10 @@ CREATE TABLE IF NOT EXISTS users (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- 4. Insert root admin user (password: 3DBFC7FEF43B45E887C8E54205C8EC8F) -- 4. Insert root admin user (password: 3DBFC7FEF43B45E887C8E54205C8EC8F)
INSERT IGNORE INTO users (email, username, password_hash, full_name, role, email_verified) VALUES INSERT IGNORE INTO users
('root@nordicstorium.se', 'root', '$2b$10$MDURVVPDTo60o.W5rHJOPex3jwR8.s.xc5e1dpYF8DG7bu5SXXwLq', 'Root Administrator', 'admin', TRUE); (email, username, password_hash, full_name, role, email_verified, newsletter_subscribed, two_factor_enabled, created_at, updated_at)
VALUES
('[EMAIL_ADDRESS]', 'admin', '$2b$10$55XGCRwDrElqYT6EEcLpw./dB5hUKy8sBvfZAYo1NGq47i47PGO7C', 'Administrator', 'admin', 1, 0, 0, NOW(), NOW());
-- 5. Create categories table (Required for webshop) -- 5. Create categories table (Required for webshop)
CREATE TABLE IF NOT EXISTS categories ( CREATE TABLE IF NOT EXISTS categories (