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

START TRANSACTION;



--
-- Database: `dnblovea_daramad`
--

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

--
-- Table structure for table `force_channels`
--

CREATE TABLE `force_channels` (
  `id` int NOT NULL,
  `channel_username` varchar(255) NOT NULL,
  `channel_name` text NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `force_channels`
--

INSERT INTO `force_channels` (`id`, `channel_username`, `channel_name`, `created_at`) VALUES
(3, 'ozvingnotic', 'اخبار عضوینگ | Ozving News', '2026-03-13 16:07:50'),
(4, 'safity1', 'safity ✌️', '2026-03-13 16:13:05');

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

--
-- Table structure for table `forward_all`
--

CREATE TABLE `forward_all` (
  `id` int NOT NULL,
  `from_id` bigint NOT NULL,
  `message_id` bigint NOT NULL,
  `user_id` bigint NOT NULL,
  `status` int NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `referrals`
--

CREATE TABLE `referrals` (
  `id` int NOT NULL,
  `referrer_id` int DEFAULT NULL,
  `referee_id` int DEFAULT NULL,
  `is_verified` tinyint(1) DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `referrals`
--

INSERT INTO `referrals` (`id`, `referrer_id`, `referee_id`, `is_verified`, `created_at`) VALUES
(1, 0, 1284000539, 1, '2026-03-13 14:15:02'),
(2, 0, 1356816307, 1, '2026-03-13 14:45:38'),
(3, 0, 263600047, 0, '2026-03-13 16:23:27'),
(4, 1284000539, 505202320, 1, '2026-03-13 16:31:10'),
(5, 1284000539, 800874838, 1, '2026-03-13 16:31:39'),
(6, 1284000539, 1824560239, 0, '2026-03-13 16:33:37'),
(7, 1284000539, 2105578980, 0, '2026-03-13 16:34:38');

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

--
-- Table structure for table `send_all`
--

CREATE TABLE `send_all` (
  `id` int NOT NULL,
  `user_id` bigint NOT NULL,
  `text` text NOT NULL,
  `status` int NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

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

CREATE TABLE `users` (
  `id` int NOT NULL,
  `chat_id` bigint NOT NULL,
  `balance` int NOT NULL DEFAULT '0',
  `step` varchar(255) NOT NULL DEFAULT 'home',
  `is_banned` tinyint NOT NULL DEFAULT '0',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

INSERT INTO `users` (`id`, `chat_id`, `balance`, `step`, `is_banned`, `created_at`) VALUES
(1, 1284000539, 2000, 'home', 0, '2026-03-13 17:45:02'),
(2, 1356816307, 0, 'home', 0, '2026-03-13 18:15:38'),
(3, 263600047, 0, 'home', 0, '2026-03-13 19:53:27'),
(4, 505202320, 0, 'home', 0, '2026-03-13 20:01:10'),
(5, 800874838, 0, 'home', 0, '2026-03-13 20:01:39'),
(6, 1824560239, 0, 'home', 0, '2026-03-13 20:03:37'),
(7, 2105578980, 0, 'home', 0, '2026-03-13 20:04:38');

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

--
-- Table structure for table `withdrawal_requests`
--

CREATE TABLE `withdrawal_requests` (
  `id` int NOT NULL,
  `chat_id` bigint NOT NULL,
  `amount` int DEFAULT NULL,
  `card` varchar(255) DEFAULT NULL,
  `track_id` int DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Indexes for dumped tables
--

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

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

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

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `force_channels`
--
ALTER TABLE `force_channels`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

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

--
-- AUTO_INCREMENT for table `referrals`
--
ALTER TABLE `referrals`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

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

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

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

