-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Aug 26, 2025 at 10:53 AM
-- Server version: 10.11.13-MariaDB
-- PHP Version: 8.3.22

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: `devionic_starplug`
--

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

--
-- Table structure for table `admin`
--

CREATE TABLE `admin` (
  `id` int(11) NOT NULL,
  `email` varchar(255) NOT NULL,
  `username` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `admin`
--

INSERT INTO `admin` (`id`, `email`, `username`, `password`) VALUES
(1, 'admin@mail.com', 'admin', '123456');

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

--
-- Table structure for table `celebrities`
--

CREATE TABLE `celebrities` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `category` varchar(50) NOT NULL,
  `specialties` varchar(255) NOT NULL,
  `image` varchar(255) DEFAULT NULL,
  `meetup_fee` decimal(10,2) NOT NULL,
  `event_fee` decimal(10,2) NOT NULL,
  `rating` decimal(3,1) NOT NULL,
  `happy_fans` int(11) NOT NULL,
  `events_done` int(11) NOT NULL,
  `response_rate` decimal(5,1) NOT NULL,
  `about` text DEFAULT NULL,
  `languages` varchar(255) NOT NULL,
  `response_time` varchar(100) NOT NULL,
  `regular_fee` decimal(10,2) NOT NULL,
  `vvip_fee` decimal(10,2) NOT NULL,
  `gold_fee` decimal(10,2) NOT NULL,
  `vip_royal_fee` decimal(10,2) NOT NULL,
  `personal_meetup_fee` decimal(10,2) NOT NULL,
  `event_booking_fee` decimal(10,2) NOT NULL,
  `gallery_images` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`gallery_images`)),
  `created_at` timestamp NULL DEFAULT current_timestamp()
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `celebrities`
--

INSERT INTO `celebrities` (`id`, `name`, `category`, `specialties`, `image`, `meetup_fee`, `event_fee`, `rating`, `happy_fans`, `events_done`, `response_rate`, `about`, `languages`, `response_time`, `regular_fee`, `vvip_fee`, `gold_fee`, `vip_royal_fee`, `personal_meetup_fee`, `event_booking_fee`, `gallery_images`, `created_at`) VALUES
(1, 'Stephen Amellll', 'Actor', 'Actor', '6863b58348a0b.jpg', 0.00, 0.00, 2.5, 200, 1000, 12.0, 'Stephen Adam Amell is a Canadian actor. He came to prominence for playing the lead role of Oliver Queen on the CW superhero series Arrow, based on DC Comics. Amell also appeared in subsequent Arrowverse franchise media, along with reprising his role in various video games', 'English', '12', 125.00, 300.00, 300.00, 500.00, 125.00, 500.00, NULL, '2025-07-01 10:16:35'),
(2, 'Pedro Pascal', 'Actor', 'Actor', '6863b6692fbdc.jpg', 0.00, 0.00, 2.5, 100, 300, 90.0, 'Pedro Pascal, born JosÃ© Pedro Balmaceda Pascal on April 2, 1975, is a Chilean-born American actor known for his roles in Narcos, Game of Thrones, The Mandalorian, and The Last of Us. He was raised in the United States after his family fled Chile due to political persecution.', 'English', '25mins', 50.00, 70.00, 100.00, 150.00, 300.00, 500.00, NULL, '2025-07-01 10:20:25');

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

--
-- Table structure for table `payments`
--

CREATE TABLE `payments` (
  `id` int(11) NOT NULL,
  `celebrity_id` int(11) NOT NULL,
  `userid` varchar(255) NOT NULL,
  `fan_card_id` int(11) NOT NULL,
  `type` varchar(255) DEFAULT NULL,
  `amount` decimal(10,2) NOT NULL,
  `payment_method` enum('bank_transfer','crypto','gift_card') NOT NULL,
  `status` enum('Pending','Completed','Failed','Verified') DEFAULT 'Pending',
  `crypto_currency` varchar(10) DEFAULT NULL,
  `crypto_wallet` varchar(255) DEFAULT NULL,
  `crypto_amount` decimal(18,8) DEFAULT NULL,
  `gift_card_type` varchar(50) DEFAULT NULL,
  `gift_card_amount` decimal(10,2) DEFAULT NULL,
  `payment_proof` varchar(255) DEFAULT NULL,
  `gift_card_images` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `meetup_date` varchar(255) DEFAULT NULL,
  `meetup_time` varchar(255) DEFAULT NULL,
  `location` varchar(255) DEFAULT NULL,
  `purpose` varchar(255) DEFAULT NULL,
  `transaction_hash` varchar(255) DEFAULT NULL,
  `special_requests` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `event_name` varchar(255) DEFAULT NULL,
  `event_date` varchar(255) DEFAULT NULL,
  `event_time` varchar(255) DEFAULT NULL,
  `number_of_people` varchar(255) DEFAULT NULL,
  `duration_hours` varchar(255) DEFAULT NULL,
  `details` varchar(255) DEFAULT NULL,
  `Event` varchar(255) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `payments`
--

INSERT INTO `payments` (`id`, `celebrity_id`, `userid`, `fan_card_id`, `type`, `amount`, `payment_method`, `status`, `crypto_currency`, `crypto_wallet`, `crypto_amount`, `gift_card_type`, `gift_card_amount`, `payment_proof`, `gift_card_images`, `meetup_date`, `meetup_time`, `location`, `purpose`, `transaction_hash`, `special_requests`, `created_at`, `updated_at`, `event_name`, `event_date`, `event_time`, `number_of_people`, `duration_hours`, `details`, `Event`) VALUES
(7, 2, '18', 1, 'Fan Card Purchase', 50.00, 'bank_transfer', 'Completed', NULL, NULL, NULL, NULL, NULL, 'bank_686cf4ebcfa5e.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2025-07-08 10:37:31', '2025-07-08 10:41:15', NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5, 1, '18', 5, 'Event', 50.00, 'bank_transfer', 'Pending', NULL, NULL, NULL, NULL, NULL, 'bank_686c42410c69a.png', NULL, '2025-07-09', '13:12', 'sdfsfs', 'autograph', NULL, 'sdfsdf', '2025-07-07 21:55:13', '2025-07-08 11:42:08', NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(6, 2, '18', 6, 'Meetup', 500.00, 'crypto', 'Pending', 'BTC', NULL, 0.00461685, NULL, NULL, 'crypto_686ce14fa5f16.png', NULL, NULL, NULL, 'sfsfsfsf', NULL, '1231231323123', 'sdfsdfssdf', '2025-07-08 09:13:51', '2025-07-08 11:42:12', 'birthday', '2025-07-22', '23:42', '1', '6', 'sdfsdfsdf', NULL),
(8, 2, '18', 2, 'Fan Card Purchase', 70.00, 'crypto', 'Pending', 'BTC', 'btccccccccccccccccccccccccccccccv', 0.00064409, NULL, NULL, 'crypto_686d101140968.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2025-07-08 12:33:21', '2025-07-08 12:33:21', NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(9, 6, '18', 0, 'Event', 500.00, 'crypto', 'Pending', 'BTC', NULL, 0.00459850, NULL, NULL, 'crypto_686d127942e0e.png', NULL, NULL, NULL, 'sdfsdf', NULL, 'ddaasasda', 'sdfsfsf', '2025-07-08 12:43:37', '2025-07-08 12:48:15', 'new', '2025-07-30', '12:02', '1', '6', 'sdfsfsdfsf', NULL),
(10, 1, '18', 0, 'Event', 500.00, 'bank_transfer', 'Pending', NULL, NULL, NULL, NULL, NULL, 'bank_686d1378185e9.png', NULL, NULL, NULL, 'sdfsdf', NULL, NULL, 'sdfsfsf', '2025-07-08 12:47:52', '2025-07-08 12:49:48', 'new', '2025-07-30', '12:02', '1', '6', 'sdfsfsdfsf', NULL),
(11, 1, '18', 0, 'Event', 500.00, 'gift_card', 'Pending', NULL, NULL, NULL, 'visa', 100.00, NULL, '[\"giftcard_686d140540bad_0.png\"]', NULL, NULL, 'sdfsdf', NULL, NULL, 'sdfsfsf', '2025-07-08 12:50:13', '2025-07-08 12:50:13', 'new', '2025-07-30', '12:02', '1', '6', 'sdfsfsdfsf', NULL),
(12, 1, '18', 0, 'Meetup', 125.00, 'crypto', 'Completed', 'ETH', NULL, 0.04843628, NULL, NULL, 'crypto_686d147301817.png', NULL, '2025-07-16', '13:31', 'dfdsfsf', 'photo', 'sdfsfsf', 'sdfsdfsdf', '2025-07-08 12:52:03', '2025-07-08 16:44:18', NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(13, 2, '18', 1, 'Fan Card Purchase', 50.00, 'crypto', 'Completed', 'ETH', 'ETHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 0.01936678, NULL, NULL, 'crypto_686d14e26aa59.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2025-07-08 12:53:54', '2025-07-08 16:42:50', NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(14, 2, '18', 1, 'Fan Card Purchase', 50.00, 'crypto', 'Completed', 'BTC', 'btccccccccccccccccccccccccccccccv', 0.00042344, NULL, NULL, 'crypto_6870f07f971f2.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2025-07-11 11:07:43', '2025-07-11 11:15:19', NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(15, 2, '18', 0, 'Event', 500.00, 'bank_transfer', 'Pending', NULL, NULL, NULL, NULL, NULL, 'bank_6870f19d60cf1.png', NULL, NULL, NULL, 'khjh', NULL, NULL, 'jjkbk', '2025-07-11 11:12:29', '2025-07-11 11:12:29', 'hkhjk', '2025-07-29', '04:06', '1', '6', 'hkhj', NULL),
(16, 2, '26', 1, 'Fan Card Purchase', 50.00, 'bank_transfer', 'Pending', NULL, NULL, NULL, NULL, NULL, 'bank_68ad7c0a7e51e.jpg', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2025-08-26 09:19:07', '2025-08-26 09:19:07', NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(17, 1, '26', 2, 'Fan Card Purchase', 300.00, 'crypto', 'Pending', 'USDT', 'USDTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 300.00000000, NULL, NULL, 'crypto_68ad7db967b4f.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2025-08-26 09:26:17', '2025-08-26 09:26:17', NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(18, 1, '26', 3, 'Fan Card Purchase', 300.00, 'gift_card', 'Pending', NULL, NULL, NULL, 'itunes', 100.00, NULL, 'gift_68ad810e4f01b.jpg', NULL, NULL, NULL, NULL, NULL, NULL, '2025-08-26 09:40:30', '2025-08-26 09:40:30', NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(19, 1, '26', 0, 'Meetup', 125.00, 'bank_transfer', 'Completed', NULL, NULL, NULL, NULL, NULL, 'bank_68ad81949c73d.jpg', NULL, '2025-09-02', '13:21', 'fsdfsfsdfsdf', 'autograph', NULL, 'sdfsfsdfsdf', '2025-08-26 09:42:44', '2025-08-26 09:48:35', NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(20, 1, '26', 0, 'Meetup', 125.00, 'gift_card', 'Pending', NULL, NULL, NULL, 'mastercard', 12.00, NULL, '[\"giftcard_68ad81f257436_0.jpg\"]', '2025-08-27', '23:42', 'sfdff', 'photo', NULL, 'dxfsdfsd', '2025-08-26 09:44:18', '2025-08-26 09:44:18', NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(21, 1, '26', 0, 'Event', 500.00, 'gift_card', 'Pending', NULL, NULL, NULL, 'mastercard', 12.00, NULL, '[\"giftcard_68ad829de0395_0.jpg\"]', NULL, NULL, 'sdfsdfs', NULL, NULL, 'dxfsdfsf', '2025-08-26 09:47:09', '2025-08-26 09:47:09', 'sdfsfsdfsf', '2025-09-30', '23:42', '1', '6', 'sdfsdf', NULL);

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

--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` int(11) NOT NULL,
  `sitename` varchar(100) NOT NULL,
  `sitemail` varchar(255) NOT NULL,
  `siteurl` varchar(255) NOT NULL,
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `sitename`, `sitemail`, `siteurl`, `updated_at`) VALUES
(1, 'starplug', 'support@aosquaretech.com.ng', 'https://devionicsolutions.com.ng/starplug/', '2025-07-08 21:19:28');

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

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` int(11) NOT NULL,
  `name` varchar(50) NOT NULL,
  `email` varchar(100) NOT NULL,
  `password` varchar(255) NOT NULL,
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `name`, `email`, `password`, `created_at`) VALUES
(18, 'mike smith', 'user@mail.com', '123456', '2025-07-06 21:20:52'),
(19, 'Adams Jorg William', 'raziboy11', '', '2025-07-22 09:35:56'),
(20, 'Jason mamoa', 'Kenny2$#', '', '2025-07-24 17:09:25'),
(21, 'Jason mamoa', 'Jason12##', '', '2025-07-24 17:11:34'),
(22, 'Njoku Godstime', 'debby4real', '', '2025-08-01 14:03:15'),
(23, 'Jason James', 'OG@2020', '', '2025-08-08 14:18:04'),
(24, 'OGTOOLSW', 'OG12345', '', '2025-08-08 14:21:28'),
(26, 'mike smith', 'kate@gmail.com', '12345678', '2025-08-26 10:14:15');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `celebrities`
--
ALTER TABLE `celebrities`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `payments`
--
ALTER TABLE `payments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `email` (`email`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `admin`
--
ALTER TABLE `admin`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

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

--
-- AUTO_INCREMENT for table `payments`
--
ALTER TABLE `payments`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;
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 */;
