create_default_user.sql 394 B

1234567
  1. -- Insert default admin user
  2. INSERT INTO users (username, email, password_hash, first_name, last_name, role, is_active) VALUES
  3. ('admin', 'admin@inventory.com', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 'Admin', 'User', 'admin', TRUE);
  4. -- Password for this user is: password
  5. -- The hash is for the password "password"
  6. -- You should change this password after first login