-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Dec 08, 2019 at 04:30 PM
-- Server version: 10.1.36-MariaDB
-- PHP Version: 7.2.11

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

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

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

CREATE TABLE `admin` (
  `id` int(4) NOT NULL,
  `user_name` varchar(20) NOT NULL,
  `password` varchar(20) NOT NULL,
  `email` varchar(100) NOT NULL,
  `status` enum('A','D') NOT NULL DEFAULT 'D',
  `create_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `modified_date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `admin` (`id`, `user_name`, `password`, `email`, `status`, `create_date`, `modified_date`) VALUES
(1, 'admin', 'admin', 'admin@tigersd.com', 'A', '0000-00-00 00:00:00', '0000-00-00'),
(2, 'test', 'test', 'test@tigersd.com', 'D', '2019-12-08 09:03:46', '0000-00-00');

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

--
-- Table structure for table `myhostings`
--

CREATE TABLE `myhostings` (
  `id` int(4) NOT NULL,
  `domain_name` varchar(100) NOT NULL,
  `email` varchar(200) NOT NULL,
  `plan` varchar(150) NOT NULL,
  `amount` varchar(150) NOT NULL,
  `payment_type` varchar(100) NOT NULL,
  `reference_no` varchar(100) NOT NULL,
  `created_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `modified_by` varchar(100) NOT NULL,
  `modified_on` date NOT NULL,
  `status` enum('A','P','D') NOT NULL DEFAULT 'P'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `myhostings`
--

INSERT INTO `myhostings` (`id`, `domain_name`, `email`, `plan`, `amount`, `payment_type`, `reference_no`, `created_on`, `modified_by`, `modified_on`, `status`) VALUES
(1, 'Test', 'test@demo.com', 'Plan-A 500/year', '1000', 'UPI', '456789123', '2019-12-07 15:08:20', '', '0000-00-00', 'P'),
(2, 'Server', 'tiger@sd.com', 'Plan-A 500/year', '500', 'banktransfer', '98745321', '2019-12-07 16:06:11', '', '0000-00-00', 'P'),
(3, 'bussbuss.com', 'buss@phani.com', 'Plan-A 500/year', '1', 'UPI', '123456789', '2019-12-07 16:45:05', '', '0000-00-00', 'P'),
(4, 'tigersathi.com', 'tigersd@tiger.com', 'Plan-A 500/year', '2000', 'UPI', '1233545454353', '2019-12-08 13:33:55', '', '0000-00-00', 'P');

--
-- Indexes for dumped tables
--

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

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

--
-- AUTO_INCREMENT for dumped tables
--

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

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