REZOPAY DB INSTALLER
=====================

Connecting to: localhost / wbtopper_rezopaydata as wbtopper_razopayuser ...
✔ Connected successfully.

Tables currently in database: 28
  (admin_2fa, admin_activity_logs, admin_users, api_logs, api_settings, app_settings, banners, bbps_transactions, billers, commission_settings, commissions, domain_configurations, gift_cards, notifications, operators, otp_verifications, payments, recharge_transactions, referral_discounts, referral_settings, referrals, refunds, service_categories, services, support_messages, support_tickets, transactions, users)

Found 36 SQL statements to run.
----------------------------------------

✔ [1/36] SET FOREIGN_KEY_CHECKS = 0
✔ [2/36] SET NAMES utf8mb4
✔ [3/36] CREATE TABLE IF NOT EXISTS users ( id BIGINT UNSIGNED AUTO_INCREMENT P
✔ [4/36] CREATE TABLE IF NOT EXISTS otp_verifications ( id BIGINT UNSIGNED AUTO
✔ [5/36] CREATE TABLE IF NOT EXISTS admin_users ( id INT UNSIGNED AUTO_INCREMEN
✔ [6/36] CREATE TABLE IF NOT EXISTS admin_2fa ( id BIGINT UNSIGNED AUTO_INCREME
✔ [7/36] CREATE TABLE IF NOT EXISTS admin_activity_logs ( id BIGINT UNSIGNED AU
✔ [8/36] CREATE TABLE IF NOT EXISTS service_categories ( id INT UNSIGNED AUTO_I
✔ [9/36] CREATE TABLE IF NOT EXISTS services ( id INT UNSIGNED AUTO_INCREMENT P
✔ [10/36] CREATE TABLE IF NOT EXISTS operators ( id INT UNSIGNED AUTO_INCREMENT 
✔ [11/36] CREATE TABLE IF NOT EXISTS billers ( id INT UNSIGNED AUTO_INCREMENT PR
✔ [12/36] CREATE TABLE IF NOT EXISTS commission_settings ( id INT UNSIGNED AUTO_
✔ [13/36] CREATE TABLE IF NOT EXISTS referral_settings ( id INT UNSIGNED AUTO_IN
✔ [14/36] CREATE TABLE IF NOT EXISTS referrals ( id BIGINT UNSIGNED AUTO_INCREME
✔ [15/36] CREATE TABLE IF NOT EXISTS transactions ( id BIGINT UNSIGNED AUTO_INCR
✔ [16/36] CREATE TABLE IF NOT EXISTS recharge_transactions ( id BIGINT UNSIGNED 
✔ [17/36] CREATE TABLE IF NOT EXISTS bbps_transactions ( id BIGINT UNSIGNED AUTO
✔ [18/36] CREATE TABLE IF NOT EXISTS payments ( id BIGINT UNSIGNED AUTO_INCREMEN
✔ [19/36] CREATE TABLE IF NOT EXISTS commissions ( id BIGINT UNSIGNED AUTO_INCRE
✔ [20/36] CREATE TABLE IF NOT EXISTS referral_discounts ( id BIGINT UNSIGNED AUT
✔ [21/36] CREATE TABLE IF NOT EXISTS refunds ( id BIGINT UNSIGNED AUTO_INCREMENT
✔ [22/36] CREATE TABLE IF NOT EXISTS gift_cards ( id INT UNSIGNED AUTO_INCREMENT
✔ [23/36] CREATE TABLE IF NOT EXISTS notifications ( id BIGINT UNSIGNED AUTO_INC
✔ [24/36] CREATE TABLE IF NOT EXISTS banners ( id INT UNSIGNED AUTO_INCREMENT PR
✔ [25/36] CREATE TABLE IF NOT EXISTS support_tickets ( id BIGINT UNSIGNED AUTO_I
✔ [26/36] CREATE TABLE IF NOT EXISTS support_messages ( id BIGINT UNSIGNED AUTO_
✔ [27/36] CREATE TABLE IF NOT EXISTS api_settings ( id INT UNSIGNED AUTO_INCREME
✔ [28/36] CREATE TABLE IF NOT EXISTS api_logs ( id BIGINT UNSIGNED AUTO_INCREMEN
✔ [29/36] CREATE TABLE IF NOT EXISTS app_settings ( id INT UNSIGNED AUTO_INCREME
✔ [30/36] CREATE TABLE IF NOT EXISTS domain_configurations ( id INT UNSIGNED AUT
✔ [31/36] SET FOREIGN_KEY_CHECKS = 1
✔ [32/36] INSERT INTO referral_settings (is_enabled, reward_per_referral, min_tr
✔ [33/36] INSERT INTO domain_configurations (api_base_url, api_version, maintena
✘ [34/36] INSERT INTO app_settings (setting_key, setting_value, setting_type, de
     ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'site_name' for key 'setting_key'
✘ [35/36] INSERT INTO service_categories (name, slug, type, sort_order, status) 
     ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'mobile-prepaid' for key 'slug'
✘ [36/36] INSERT INTO admin_users (username, email, password_hash, full_name, ro
     ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'samir' for key 'username'

----------------------------------------
DONE. 33 succeeded, 3 failed.

Tables now in database: 28

=====================
✅ SUCCESS — admin_users table exists and 'samir' admin account is ready.

Login now at: https://rezopay.in/admin/login.php
Username: samir
Password: Rezo@200069!Wb

⚠ IMPORTANT: Delete install.php, database/final_install.sql,
database/create_admin.sql and database/create_admin.php right now.
=====================