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

START TRANSACTION;



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

--
-- Table structure for table `order`
--

CREATE TABLE `order` (
  `id` int NOT NULL,
  `user_id` int NOT NULL,
  `plan_id` int NOT NULL,
  `order_id` varchar(100) COLLATE utf8mb4_general_ci NOT NULL,
  `payment_via` int NOT NULL COMMENT '1 = QR/UPI , 2 = Payment Gateway',
  `status` int NOT NULL DEFAULT '1' COMMENT '1 = pending,\r\n\r\n2 =  accepted,\r\n3 = not accepted  ',
  `place_time` varchar(50) COLLATE utf8mb4_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `order`
--

INSERT INTO `order` (`id`, `user_id`, `plan_id`, `order_id`, `payment_via`, `status`, `place_time`) VALUES
(2, 2, 1, '64d1d168a185b9120927', 2, 2, '08/08/2023 10:56:08 AM'),
(3, 3, 4, '64d1eb4a5b12e1595046219', 1, 2, '08/08/2023 12:44:24 PM'),
(4, 3, 3, '64d1ebfc47e2b406363496', 1, 2, '08/08/2023 12:47:25 PM'),
(5, 2, 3, '64d235339d664666472146', 2, 1, '08/08/2023 06:01:48 PM'),
(6, 2, 3, '64d327734850d713687895', 1, 2, '09/08/2023 11:13:45 AM'),
(7, 2, 5, '64d475f84c62f52657580', 1, 1, '10/08/2023 11:00:50 AM'),
(8, 2, 5, '64d4761ce9251751434831', 2, 1, '10/08/2023 11:01:21 AM'),
(9, 4, 1, '64d4cc00c15421446885344', 1, 1, '10/08/2023 05:07:36 PM'),
(10, 4, 3, '64d4cc0c8b2d7374901708', 1, 1, '10/08/2023 05:07:48 PM'),
(11, 4, 4, '64d4cc13a3d591226694637', 2, 1, '10/08/2023 05:07:55 PM');

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

--
-- Table structure for table `plan`
--

CREATE TABLE `plan` (
  `id` int NOT NULL,
  `name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL,
  `amount` int NOT NULL,
  `frequency` int NOT NULL,
  `duration` varchar(50) COLLATE utf8mb4_general_ci NOT NULL,
  `features` text COLLATE utf8mb4_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `plan`
--

INSERT INTO `plan` (`id`, `name`, `amount`, `frequency`, `duration`, `features`) VALUES
(1, 'Website', 20000, 1, 'month', 'Web development, also known as website development, refers to the tasks associated with creating, building, and maintaining websites and web applications that run online on a browser. '),
(3, 'App Development', 9000, 1, 'year', 'Mobile application development is the process of creating software applications that run on a mobile device, and a typical mobile application utilizes a network connection to work with remote computing resources.'),
(4, 'SEO', 10000, 4, 'month', 'The better visibility your pages have in search results, the more likely you are to be found and clicked on. Ultimately, the goal of search engine optimization is to help attract website visitors who will become customers, clients or an audience that keeps coming back.');

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

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

--
-- AUTO_INCREMENT for table `order`
--
ALTER TABLE `order`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `plan`
--
ALTER TABLE `plan`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
COMMIT;

