-- https://www.phpmyadmin.net/
--

START TRANSACTION;



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

--
-- Table structure for table `notify_me`
--

CREATE TABLE `notify_me` (
  `id` int NOT NULL,
  `name` varchar(100) NOT NULL,
  `email` varchar(100) NOT NULL,
  `product_name` varchar(100) NOT NULL,
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `notify_me`
--

INSERT INTO `notify_me` (`id`, `name`, `email`, `product_name`, `created_at`) VALUES
(1, 'Vaibhav', 'info@diginspire.co', '', '2025-09-14 07:14:27'),
(2, 'Vaibhav', '8221841086', '', '2025-09-14 07:16:04'),
(3, 'Dr. Ansh Singh', '7303652333', '', '2025-09-14 13:43:36'),
(4, 'Vaibhav', '8221841086', '', '2025-09-14 19:04:03'),
(5, 'Vaibhav', '8221841086', '', '2025-09-14 19:05:06'),
(6, 'Mayank Kashyap', '7523963768', '', '2025-09-14 22:39:34'),
(7, 'Akash Adhikari', '9511640908', '', '2025-09-15 04:00:25'),
(8, 'Shaista ', '8010904817', '', '2025-09-15 05:01:01'),
(9, 'Dr.Vijay Pratap ', '9454775650', '', '2025-09-15 06:06:40'),
(10, 'Aakshat ', '9996474009', '', '2025-09-15 12:25:21'),
(11, 'Gaurav', '8369640574', '', '2025-09-15 16:55:59'),
(12, 'Lbrt lrm ', '8248797463', '', '2025-09-16 05:53:07'),
(13, 'Monu kumar ', '9508336104', '', '2025-09-16 08:56:48'),
(14, 'Amit Kumar ', '9294980980', '', '2025-09-16 09:35:27'),
(15, '', '', '', '2025-09-17 06:25:43'),
(16, 'Anzal', '9796802882', '', '2025-09-17 09:55:47');

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

--
-- Table structure for table `preorders`
--

CREATE TABLE `preorders` (
  `id` int NOT NULL,
  `full_name` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(20) DEFAULT NULL,
  `address` text,
  `pincode` varchar(20) DEFAULT NULL,
  `product` varchar(255) DEFAULT NULL,
  `amount` decimal(10,2) DEFAULT NULL,
  `extra_fields` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP
) ;

--
-- Dumping data for table `preorders`
--

INSERT INTO `preorders` (`id`, `full_name`, `email`, `phone`, `address`, `pincode`, `product`, `amount`, `extra_fields`, `created_at`) VALUES
(1, 'Vaibhav Rathee', 'vaibhavrathee2005@gmail.com', '8221841086', 'Rohtak', '124001', 'Apple Watch Series 11 (GPS + Cellular) (46mm)', 2000.00, '{\"caseband\":\"Rose Gold Aluminium Case + Light Blush Sport Band\",\"bandsize\":\"S\\/M\"}', '2025-09-11 11:46:22'),
(2, 'VAIBHAV RATHEE', 'vaibhavrathee@5ginfotech.com', '8221841086', 'Khidwali', '124303', 'Apple Watch SE 3 Sport Band', 2000.00, '{\"gps\":\"GPS + Cellular\",\"watchsize\":\"40mm\",\"caseband\":\"Midnight Aluminium Case with Midnight Sport Band\",\"bandsize\":\"M\\/L\"}', '2025-09-11 15:51:22'),
(3, 'VAIBHAV RATHEE', 'vaibhavrathee@5ginfotech.com', '8221841086', 'Khidwali', '124303', 'Apple Watch SE 3 Sport Band', 2000.00, '{\"gps\":\"GPS\",\"watchsize\":\"44mm\",\"caseband\":\"Midnight Aluminium Case with Midnight Sport Band\",\"bandsize\":\"M\\/L\"}', '2025-09-11 15:52:02'),
(4, 'VAIBHAV RATHEE', 'vaibhavrathee@5ginfotech.com', '8221841086', 'Khidwali', '124303', 'Apple Watch Series 11 (GPS + Cellular) (46mm)', 2000.00, '{\"caseband\":\"Slate Titanium Case + Black Sport Band\",\"bandsize\":\"M\\/L\"}', '2025-09-11 15:52:22'),
(5, 'VAIBHAV RATHEE', 'vaibhavrathee@5ginfotech.com', '8221841086', 'Khidwali', '124303', 'Apple Watch Series 11 (GPS + Cellular) (42mm)', 2000.00, '{\"caseband\":\"Silver Aluminium Case + Purple Fog Sport Band - S\\/M\"}', '2025-09-11 15:52:52'),
(6, 'VAIBHAV RATHEE', 'vaibhavrathee@5ginfotech.com', '8221841086', 'Khidwali', '124303', 'Apple Watch Series 11 (GPS + Cellular) (42mm)', 2000.00, '{\"caseband\":\"Silver Aluminium Case + Purple Fog Sport Band - S\\/M\"}', '2025-09-11 15:52:56'),
(7, 'Gill', 'gill@gmail.com', '8437860070', 'Bhjj', '160071', 'Apple Watch Ultra 3 (Black Titanium Case) (GPS + Cellular) (49mm)', 2000.00, '{\"band\":\"Black Alpine Loop - Large\"}', '2025-09-11 15:55:17'),
(8, 'Test', 'testing@gmail.com', '1234657890', 'As bhjnaisjan', '122086', 'AirPods Pro 3', 2000.00, '[]', '2025-09-11 16:00:15'),
(9, 'Fshs', 'gzhzhx@gmail.com', '6622336655', '80/2 Kishan gurunank mohalla behind hotel sobhraj ganj ajmer ', '305001', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Silver\",\"storage\":\"256GB\"}', '2025-09-12 15:43:00'),
(10, 'Shubham Kumar ', 'shubham805160@gmail.com', '8051602836', 'Gali 12 Mandawali', '110092', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Cosmic Orange\",\"storage\":\"256GB\"}', '2025-09-12 16:20:33'),
(11, 'RAKIB KHAN', 'rakibkhan35390@gmail.com', '7667531445', 'Loha kachi jama masjid', '733208', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Silver\",\"storage\":\"256GB\"}', '2025-09-12 18:25:03'),
(12, 'Ashiq', 'ashiqahmed111@gmail.com', '9906825656', 'Chamelian road Filmistan ', '110006', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Cosmic Orange\",\"storage\":\"256GB\"}', '2025-09-12 18:26:48'),
(13, 'Ashiq', 'ashiqahmed111@gmail.com', '9906825656', 'Chamelian road Filmistan ', '110006', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Cosmic Orange\",\"storage\":\"256GB\"}', '2025-09-12 18:27:50'),
(14, 'Ashiq', 'ashiqahmed111@gmail.com', '9906825656', 'Chamelian road Filmistan ', '110006', 'Apple Watch Ultra 3 (Black Titanium Case) (GPS + Cellular) (49mm)', 2000.00, '[]', '2025-09-12 18:31:45'),
(15, 'Ashiq', 'ashiqahmed111@gmail.com', '9906825656', 'Chamelian road Filmistan ', '110006', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Cosmic Orange\",\"storage\":\"256GB\"}', '2025-09-12 18:32:02'),
(16, 'Gourav Garg', 'garggourav2@gmail.com', '9729062336', 'Shiva fashion hub,railway road', '136118', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Cosmic Orange\",\"storage\":\"256GB\"}', '2025-09-12 20:40:56'),
(17, 'Sourabh', 'lovingaansh33@gmail.com', '9991255916', 'Baduragarh b2 railway road', '110001', 'iPhone 17', 2000.00, '{\"color\":\"Lavender\",\"storage\":\"256GB\"}', '2025-09-13 05:51:38'),
(18, 'Gopi', 'gopuv@gmail.com', '9884096785', 'Velachery ', '600042', 'iPhone 17', 2000.00, '{\"color\":\"Sage\",\"storage\":\"256GB\"}', '2025-09-13 06:14:05'),
(19, 'Ronaldo Sapam', 'ronaldosapam@gmail.com', '09612344741', 'Sega Road, Thouda Bhavok Leikai Near Huiyen Lanpao Press, Imphal 795001, Manipur, India', '795001', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Silver\",\"storage\":\"512GB\"}', '2025-09-13 06:21:13'),
(20, 'Arman', 'Tradingwithnoman@gmail.com', '9389313194', '194b subhash nagar post office road ', '248002', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Silver\",\"storage\":\"256GB\"}', '2025-09-13 07:05:26'),
(21, 'Ayush Gupta', 'guptaayush6122@gmail.com', '9971277418', '9A Vishwakarma Park , Laxmi Nagar , Delhi 110092', '110092', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Cosmic Orange\",\"storage\":\"256GB\"}', '2025-09-13 08:00:07'),
(22, 'Manoj Kumar', 'm01@99email.org', '9523080481', '18B, 3rd Floor, Shahpur Jat DDA Flat', '110049', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Cosmic Orange\",\"storage\":\"256GB\"}', '2025-09-13 08:53:53'),
(23, 'Manoj Kumar', 'm01@99email.org', '9523080481', '18B, 3rd Floor, Shahpur Jat DDA Flat', '110049', 'Apple Watch Ultra 3 (Black Titanium Case) (GPS + Cellular) (49mm)', 2000.00, '[]', '2025-09-13 08:54:42'),
(24, 'Manoj Kumar', '01@99email.org', '9523080481', '18B, 3rd Floor, Shahpur Jat DDA Flat', '110049', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Cosmic Orange\",\"storage\":\"256GB\"}', '2025-09-13 08:56:00'),
(25, 'Mohammad adeeb', 'adeeb.khan3755@gmail.com', '9650373755', 'Shop no 310 main road fatehpuri masjid Chandni chowk', '110006', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Cosmic Orange\",\"storage\":\"256GB\"}', '2025-09-13 09:26:30'),
(26, 'Karam singh Kang', 'karamkang1954@mailcomb', '9855772248', 'Sec125 Sunny Height near jalyu tower Deshu majra road ', '140301', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Deep Blue\",\"storage\":\"256GB\"}', '2025-09-13 10:49:40'),
(27, 'Gopinath R', 'ramamurthygopinath@gmail.com', '9884183826', 'L/371,16th cross street,Thiruvalluvar nagar,Thiruvanmiyur,Chennai-600041', '600041', 'AirPods Pro 3', 2000.00, '[]', '2025-09-13 13:01:59'),
(28, 'GAURANG JOSHI', 'gaurangjoshi2004@gmail.com', '9045431699', 'J 401 Shivalik Nagar', '249403', 'iPhone 17', 2000.00, '{\"color\":\"White\",\"storage\":\"256GB\"}', '2025-09-13 16:06:28'),
(29, 'Joga Ram', 'ramjoga511@gmail.com', '9602824018', 'Jalore ', '307801', 'iPhone 17', 2000.00, '{\"color\":\"Black\",\"storage\":\"256GB\"}', '2025-09-13 16:18:10'),
(30, 'Sanyam banoni', 'sanyambanoni1@gmail.com', '8475928252', 'near shankar math', '249193', 'iPhone 17', 2000.00, '{\"color\":\"Black\",\"storage\":\"256GB\"}', '2025-09-14 07:15:57'),
(31, 'Sudhir Yadav', 'sudhiryadav0128@gmail.com', '09599688189', 'B-25, Gali no-4,mandawali Unchepar fazalpur', '110092', 'Apple Watch SE 3 Sport Band', 2000.00, '{\"gps\":\"GPS + Cellular\",\"watchsize\":\"40mm\",\"caseband\":\"Starlight Aluminium Case with Starlight Sport Band\",\"bandsize\":\"S\\/M\"}', '2025-09-14 09:41:53'),
(32, 'MANISH KUMAR SHARMA', 'manishkrsharma1994@gmail.com', '08285521383', 'Gali No 6A/299', '110080', 'iPhone 17', 2000.00, '{\"color\":\"White\",\"storage\":\"256GB\"}', '2025-09-14 13:31:19'),
(33, 'Ankur Jain', 'akr.jain@gmail.com', '09818830028', 'D-375, Anand vihar, Delhi-92', '110092', 'iPhone 17', 2000.00, '{\"color\":\"Black\",\"storage\":\"256GB\"}', '2025-09-14 15:21:52'),
(34, 'Kalpesh bhandarkar', 'kalpbhanx@gmail.com', '9099933770', 'C1204, sharanam Antilia, near shrinand city,opp Doon school, newmaninagar, ramol', '382449', 'iPhone 17', 2000.00, '{\"color\":\"Black\",\"storage\":\"256GB\"}', '2025-09-14 16:04:59'),
(35, 'R B Chaudhary', 'ramesh72826@gmail.com', '9426897879', '75 K, Bhalasara', '695521', 'iPhone 17', 2000.00, '{\"color\":\"Lavender\",\"storage\":\"256GB\"}', '2025-09-14 16:16:39'),
(36, 'zahoor Sheikh', 'zahoor779@gmail.com', '9469794253', 'Doru Shahbad', '192211', 'AirPods Pro 3', 2000.00, '[]', '2025-09-15 04:43:18'),
(37, 'Mustafa ', 'mohdmusataqimkureshi@gmail.com', '9711210121', '55 chtta lal miya Daryaganj ', '110002', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Deep Blue\",\"storage\":\"512GB\"}', '2025-09-15 07:44:26'),
(38, 'Manish ', 'llike5175@gmail.com', '7906749647', 'Omkareshwar Enclave Near Bharat Singh chowk Nathuwawala ', '248008', 'iPhone 17', 2000.00, '{\"color\":\"Mist Blue\",\"storage\":\"256GB\"}', '2025-09-15 15:21:40'),
(39, 'Ranjita Sharma', 'sharmaranjita79@gmail.com', '09958540981', 'Plot no.102, Swastik Apartment, 2nd Floor, A-1 Block, Birla Farm, Chhatarpur extn.', '110074', 'iPhone 17 Pro', 2000.00, '{\"color\":\"Silver\",\"storage\":\"256GB\"}', '2025-09-15 16:27:46'),
(40, 'Aman Kumar Meena', 'adtiyakmr@icloud.com', '9983576101', 'Room No 1114, Jaldhara Hostel, CATC, Prayagraj', '211012', 'iPhone 17', 2000.00, '{\"color\":\"Sage\",\"storage\":\"256GB\"}', '2025-09-15 17:47:56'),
(41, 'Kalpana Verma', 'kalahetu@gmail.com', '09599493515', '101 MEENA Apartment Madhu Vihar Road IP Extension Patpurgunj Delhi 110092', '110092', 'iPhone 17', 2000.00, '{\"color\":\"Black\",\"storage\":\"256GB\"}', '2025-09-16 04:24:09'),
(42, 'SANDEEP SINGH', 'sandeeppanwar824@gmail.com', '09520002932', 'karokhi', '246469', 'iPhone 17', 2000.00, '{\"color\":\"Mist Blue\",\"storage\":\"256GB\"}', '2025-09-16 06:29:23'),
(43, 'BPCL A/C AJAY KUMAR NAIK (#84731)', 'ajay.naik2010@gmail.com', '9656187416', 'BPCL TOWNSHIP,FLAT NO-8B, MANAGEMENT TOWER, VANDIPETTA, THIRUVANIYOOR ', '682312', 'iPhone 17', 2000.00, '{\"color\":\"Black\",\"storage\":\"256GB\"}', '2025-09-16 09:20:12'),
(44, 'Bhawya', 'bhawya@gmail.com', '7042538383', 'khkjhhjn', '110051', 'iPhone 17', 2000.00, '{\"color\":\"White\",\"storage\":\"256GB\"}', '2025-09-16 09:34:35'),
(45, 'Bhawya', 'bhawya@gmail.com', '7042538383', 'khkjhhjn', '110051', 'iPhone 17', 2000.00, '{\"color\":\"Mist Blue\",\"storage\":\"256GB\"}', '2025-09-16 09:37:22'),
(46, 'Vaibhav', 'test@gmail.com', '123456790', 'B-85, Block-B, Sector-36, Suncity, Rohtak124001', '124001', 'iPhone 17', 2000.00, '{\"color\":\"White\",\"storage\":\"512GB\"}', '2025-09-16 10:24:01');

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

--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `id` int NOT NULL,
  `name` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `products`
--

INSERT INTO `products` (`id`, `name`) VALUES
(7, 'Apple Watch Ultra 3 (Black Titanium Case) (GPS + Cellular) (49mm)'),
(8, 'Apple Watch Ultra 3 (Natural Titanium Case)'),
(9, 'AirPods Pro 3'),
(10, 'Apple Watch Series 11 (GPS)'),
(11, 'Apple Watch Series 11 (GPS + Cellular) (42mm)'),
(12, 'Apple Watch Series 11 (GPS + Cellular) (46mm)'),
(13, 'Apple Watch SE 3 Sport Band'),
(14, 'iPhone 17'),
(15, 'iPhone 17 Pro'),
(20, 'Test123');

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

--
-- Table structure for table `product_fields`
--

CREATE TABLE `product_fields` (
  `id` int NOT NULL,
  `product_id` int NOT NULL,
  `field_name` varchar(255) NOT NULL,
  `field_label` varchar(255) NOT NULL,
  `field_options` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `product_fields`
--

INSERT INTO `product_fields` (`id`, `product_id`, `field_name`, `field_label`, `field_options`) VALUES
(19, 7, 'band', 'Band', 'Black Ocean Band, Black Alpine Loop - Small, Black Alpine Loop - Medium, Black Alpine Loop - Large, Black/Charcoal Trail Loop - S/M, Black/Charcoal Trail Loop - M/L, Black Titanium Milanese Loop - Small, Black Titanium Milanese Loop - Medium, Black Titanium Milanese Loop - Large'),
(20, 8, 'gps', 'GPS Type', 'GPS + Cellular'),
(21, 8, 'watchsize', 'Watch Size', '49 mm'),
(22, 8, 'band', 'Band', 'Anchor Blue Ocean Band, Light Blue Alpine Loop - Small, Light Blue Alpine Loop - Medium, Light Blue Alpine Loop - Large, Blue/Bright Blue Trail Loop - S/M, Blue/Bright Blue Trail Loop - M/L, Natural Titanium Milanese Loop - Small, Natural Titanium Milanese Loop - Medium, Natural Titanium Milanese Loop - Large'),
(23, 10, 'watchsize', 'Watch Size', '42mm, 46mm'),
(25, 10, 'Case & Band', 'caseband', 'Jet Black Aluminium Case with Black Sport Band, Silver Aluminium Case with Purple Fog Sport Band, Rose Gold Aluminium Case with Light Blush Sport Band, Space Grey Aluminium Case with Black Sport Band'),
(26, 10, 'bandsize', 'Band Size', 'M/L, S/M'),
(28, 11, 'caseband', 'Case & Band', 'Jet Black Aluminium Case + Black Sport Band - S/M, Jet Black Aluminium Case + Black Sport Band - M/L, Space Grey Aluminium Case + Black Sport Band - S/M, Space Grey Aluminium Case + Black Sport Band - M/L, Rose Gold Aluminium Case + Light Blush Sport Band - S/M, Rose Gold Aluminium Case + Light Blush Sport Band - M/L, Silver Aluminium Case + Purple Fog Sport Band - S/M, Silver Aluminium Case + Purple Fog Sport Band - M/L, Natural Titanium Case + Stone Grey Sport Band - S/M, Natural Titanium Case + Stone Grey Sport Band - M/L, Natural Titanium Case + Natural Milanese Loop, Slate Titanium Case + Black Sport Band - S/M, Slate Titanium Case + Black Sport Band - M/L, Slate Titanium Case + Slate Milanese Loop, Gold Titanium Case + Light Blush Sport Band - S/M, Gold Titanium Case + Light Blush Sport Band - M/L, Gold Titanium Case + Gold Milanese Loop'),
(29, 12, 'caseband', 'Case & Band', 'Jet Black Aluminium Case + Black Sport Band, Space Grey Aluminium Case + Black Sport Band, Rose Gold Aluminium Case + Light Blush Sport Band, Silver Aluminium Case + Purple Fog Sport Band, Natural Titanium Case + Stone Grey Sport Band, Natural Titanium Case + Natural Milanese Loop, Slate Titanium Case + Black Sport Band, Slate Titanium Case + Slate Milanese Loop, Gold Titanium Case + Light Blush Sport Band, Gold Titanium Case + Gold Milanese Loop'),
(30, 12, 'bandsize', 'Band Size', 'S/M, M/L'),
(31, 13, 'gps', 'GPS Type', 'GPS + Cellular, GPS'),
(32, 13, 'watchsize', 'Watch Size', '40mm, 44mm'),
(33, 13, 'caseband', 'Case & Band', 'Starlight Aluminium Case with Starlight Sport Band, Midnight Aluminium Case with Midnight Sport Band'),
(35, 13, 'bandsize', 'Band Size', 'S/M, M/L'),
(36, 14, 'color', 'Color', 'Black, White, Mist Blue, Lavender, Sage'),
(37, 14, 'storage', 'Storage', '256GB, 512GB'),
(38, 15, 'color', 'Color', 'Silver, Cosmic Orange, Deep Blue'),
(39, 15, 'storage', 'Storage', '256GB, 512GB, 1TB'),
(49, 20, 'Nxmnd', 'Ndndn', '1,2');

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

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

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

--
-- Indexes for table `product_fields`
--
ALTER TABLE `product_fields`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_id` (`product_id`);

--
-- AUTO_INCREMENT for table `notify_me`
--
ALTER TABLE `notify_me`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `preorders`
--
ALTER TABLE `preorders`
  MODIFY `id` int NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

--
-- AUTO_INCREMENT for table `product_fields`
--
ALTER TABLE `product_fields`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `product_fields`
--
ALTER TABLE `product_fields`
  ADD CONSTRAINT `product_fields_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`);
COMMIT;

