-- phpMyAdmin SQL Dump
-- version 4.9.7
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: May 15, 2022 at 07:25 AM
-- Server version: 5.7.23-23
-- PHP Version: 7.3.32

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `dailygwo_interest`
--

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

--
-- Table structure for table `tbl_admin`
--

CREATE TABLE `tbl_admin` (
  `id` int(11) NOT NULL,
  `username` varchar(100) NOT NULL,
  `password` varchar(100) NOT NULL,
  `email` varchar(200) NOT NULL,
  `image` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbl_admin`
--

INSERT INTO `tbl_admin` (`id`, `username`, `password`, `email`, `image`) VALUES
(1, 'admin', 'admin', 'admin@gmail.com', 'profile.png');

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

--
-- Table structure for table `tbl_settings`
--

CREATE TABLE `tbl_settings` (
  `id` int(11) NOT NULL,
  `from_email` varchar(255) NOT NULL,
  `onesignal_app_id` text NOT NULL,
  `onesignal_rest_key` text NOT NULL,
  `app_name` varchar(255) NOT NULL,
  `app_logo` varchar(255) NOT NULL,
  `app_email` varchar(255) NOT NULL,
  `app_version` varchar(255) NOT NULL,
  `app_author` varchar(255) NOT NULL,
  `app_contact` varchar(255) NOT NULL,
  `app_website` varchar(255) NOT NULL,
  `app_description` text NOT NULL,
  `razorpay_key` varchar(255) NOT NULL,
  `app_privacy_policy` text NOT NULL,
  `api_cat_order_by` varchar(255) NOT NULL,
  `api_cat_post_order_by` varchar(255) NOT NULL,
  `publisher_id` varchar(255) NOT NULL,
  `interstital_ad` varchar(255) NOT NULL,
  `interstital_ad_id` varchar(255) NOT NULL,
  `interstital_ad_click` varchar(255) NOT NULL,
  `banner_ad` varchar(255) NOT NULL,
  `banner_ad_id` varchar(255) NOT NULL,
  `rewarded_video_ads` varchar(255) NOT NULL,
  `rewarded_video_ads_id` varchar(255) NOT NULL,
  `code` varchar(255) NOT NULL,
  `manual` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbl_settings`
--

INSERT INTO `tbl_settings` (`id`, `from_email`, `onesignal_app_id`, `onesignal_rest_key`, `app_name`, `app_logo`, `app_email`, `app_version`, `app_author`, `app_contact`, `app_website`, `app_description`, `razorpay_key`, `app_privacy_policy`, `api_cat_order_by`, `api_cat_post_order_by`, `publisher_id`, `interstital_ad`, `interstital_ad_id`, `interstital_ad_click`, `banner_ad`, `banner_ad_id`, `rewarded_video_ads`, `rewarded_video_ads_id`, `code`, `manual`) VALUES
(1, 'info@dailyinterest.in', 'bb8bbdfc-9ac7-44b6-a1eb-9633477ed5fc', 'YTM4ZmRmYTMtN2E0MS00YTdjLThlY2QtMWMxYThiODc0YTFh', 'not implemented', '20220510_110251.jpg', 'not implemented', '1.0', '1966116cb693deb2d1fc81051a116691', 'not implemented', 'app', 'not implemented', 'not implemented', '<p>not required</p>\r\n', 'level_name', 'ASC', 'pub-9456493320432553', 'true', 'ca-app-pub-3940256099942544/1033173712', '5', 'true', 'ca-app-pub-3940256099942544/6300978111', 'true', 'ca-app-pub-3940256099942544/5224354917', '1966116cb693deb2d1fc81051a116691', '5');

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

--
-- Table structure for table `tbl_spinner`
--

CREATE TABLE `tbl_spinner` (
  `block_id` int(5) NOT NULL,
  `block_points` varchar(5) NOT NULL,
  `block_bg` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbl_spinner`
--

INSERT INTO `tbl_spinner` (`block_id`, `block_points`, `block_bg`) VALUES
(1, '30', '024452'),
(2, '20', '0DABE9'),
(3, '50', 'E0E92D'),
(4, '40', 'E94C1E'),
(5, '10', 'E91E06'),
(6, '60', 'E91E63'),
(7, '70', '4345E9');

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

--
-- Table structure for table `tbl_transaction`
--

CREATE TABLE `tbl_transaction` (
  `id` int(11) NOT NULL,
  `uid` int(11) NOT NULL,
  `name` varchar(255) CHARACTER SET utf8 NOT NULL,
  `amount` int(11) NOT NULL,
  `orderid` int(11) NOT NULL,
  `txnid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_transaction`
--

INSERT INTO `tbl_transaction` (`id`, `uid`, `name`, `amount`, `orderid`, `txnid`) VALUES
(1, 2, 'Toufik Zaman', 2000, 0, 0);

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

--
-- Table structure for table `tbl_users`
--

CREATE TABLE `tbl_users` (
  `id` int(10) NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `password` text NOT NULL,
  `phone` varchar(50) NOT NULL,
  `deposit` varchar(255) CHARACTER SET utf8 NOT NULL,
  `withdraw` varchar(255) CHARACTER SET utf8 NOT NULL,
  `user_pro_image` varchar(255) NOT NULL DEFAULT '00/00/0000',
  `referby` varchar(255) NOT NULL,
  `refercode` varchar(255) NOT NULL,
  `status` int(1) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_users`
--

INSERT INTO `tbl_users` (`id`, `name`, `email`, `password`, `phone`, `deposit`, `withdraw`, `user_pro_image`, `referby`, `refercode`, `status`) VALUES
(3, 'rana', 'rana@gmail.com', '123456', '1234567890', '100', '0.51', '14/05/2022', '', '1eb044', 1),
(4, 'adnn', 'ffgh@gg.com', '123456', '3214568079', '50', '100', '15/05/2022', '', '1eb044', 1),
(5, 'Toufik Zaman', 'toufik@gmail.com', '123456', '8906368056', '0', '0', '00/00/0000', '', '46e4e5', 1),
(6, 'Gautam Kumar', 'realme2proindia20@gmail.com', 'asdfghjk', '1234567890', '80', '0.18', '15/05/2022', '', '25078c', 1),
(7, 'Gopal', 'realme2852106@gmail.com', 'zxcvbnzx', '08529637412', '0', '0', '15/05/2022', '', '25078c', 1),
(8, 'Govinda', 'realme22106@gmail.com', '12345678', '7857069446', '100', '0', '15/05/2022', '', '666238', 1);

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

--
-- Table structure for table `tbl_user_levels`
--

CREATE TABLE `tbl_user_levels` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `user_name` varchar(255) CHARACTER SET utf8 NOT NULL,
  `phone` text CHARACTER SET utf8 NOT NULL,
  `amount` varchar(255) CHARACTER SET utf8 NOT NULL,
  `status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_user_levels`
--

INSERT INTO `tbl_user_levels` (`id`, `user_id`, `user_name`, `phone`, `amount`, `status`) VALUES
(1, 6, 'Gotam', '2147483647', '350', 0),
(2, 6, 'Gotam', '2147483647', '350', 0),
(3, 6, 'Gautam Kumar', '0', '10', 0),
(4, 6, 'Gautam Kumar', '0', '10', 0),
(5, 6, 'Gautam Kumar', '0', '10', 0),
(6, 7, 'Gopal', '0', '10', 0),
(7, 7, 'Gopal', '0', '10', 0),
(8, 7, 'Gopal', '0', '10', 0),
(9, 8, 'Govinda', 'principle,6299352720, , ', '10', 0),
(10, 4, 'adnn', 'interest,1234657675, , ', '50', 0),
(11, 8, 'Govinda', 'principle,6299352720, , ', '10', 0);

--
-- Indexes for dumped tables
--

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

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

--
-- Indexes for table `tbl_spinner`
--
ALTER TABLE `tbl_spinner`
  ADD PRIMARY KEY (`block_id`);

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

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

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

--
-- AUTO_INCREMENT for table `tbl_spinner`
--
ALTER TABLE `tbl_spinner`
  MODIFY `block_id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

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

--
-- AUTO_INCREMENT for table `tbl_users`
--
ALTER TABLE `tbl_users`
  MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

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