-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Dec 09, 2025 at 03:23 PM
-- Server version: 10.6.24-MariaDB
-- PHP Version: 8.4.14

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `easepayn_sql`
--

-- --------------------------------------------------------

--
-- Table structure for table `cashback_settings`
--

CREATE TABLE `cashback_settings` (
  `id` int(11) NOT NULL,
  `service_type` enum('Airtime','Data') NOT NULL,
  `cashback_percentage` decimal(10,8) NOT NULL DEFAULT 0.00000000,
  `status` enum('On','Off') NOT NULL DEFAULT 'On',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `cashback_settings`
--

INSERT INTO `cashback_settings` (`id`, `service_type`, `cashback_percentage`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Airtime', 0.00012000, 'On', '2025-10-18 14:02:47', '2025-10-18 14:02:47');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `cashback_settings`
--
ALTER TABLE `cashback_settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_service_type` (`service_type`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `cashback_settings`
--
ALTER TABLE `cashback_settings`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
