-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Nov 04, 2024 at 08:46 AM
-- Server version: 5.7.44-cll-lve
-- PHP Version: 8.1.30

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

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

--
-- Table structure for table `event_post`
--

CREATE TABLE `event_post` (
  `postId` int(11) NOT NULL,
  `postImage` text NOT NULL,
  `tournamentName` varchar(200) NOT NULL,
  `subTitle` text NOT NULL,
  `adderss` varchar(100) NOT NULL,
  `area` varchar(100) NOT NULL,
  `cityId` int(11) NOT NULL,
  `categoryId` int(11) NOT NULL,
  `entryFees` varchar(20) NOT NULL,
  `priceType` varchar(20) NOT NULL,
  `eventDate` date DEFAULT NULL,
  `bookingEndDate` date DEFAULT NULL,
  `document` text NOT NULL,
  `venderId` int(11) NOT NULL,
  `companyName` varchar(100) NOT NULL,
  `cantactPersonName` varchar(100) NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT '0',
  `createdAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `event_post`
--

INSERT INTO `event_post` (`postId`, `postImage`, `tournamentName`, `subTitle`, `adderss`, `area`, `cityId`, `categoryId`, `entryFees`, `priceType`, `eventDate`, `bookingEndDate`, `document`, `venderId`, `companyName`, `cantactPersonName`, `status`, `createdAt`, `updatedAt`) VALUES
(2, 'upload/vendor/eventPost/2_drimg.jpg', 'Cricket', 'Cricket', 'Periya Kolam,Keeranur', 'Gandhi Nagar', 2, 2, '1000', 'Trophy', '2022-11-30', '2022-11-29', 'upload/vendor/document/2_lkj.jpg', 12, 'ARC Tech Solution', 'Black Panther', 0, '2022-11-26 14:20:15', '2022-11-28 09:33:39'),
(3, 'upload/vendor/eventPost/3_drimg.jpg', 'Event Cricket 2022', 'Event Cricket 2022', 'kolathur', 'kolathur', 3, 2, '1000', 'Trophy', '2022-11-30', '2022-11-29', 'upload/vendor/document/3_tm8.jpg', 12, 'ARC Tech Solution', 'Black Panther', 1, '2022-11-27 03:46:43', '2022-11-27 04:36:12'),
(4, 'upload/vendor/eventPost/4_WhatsApp Image 2022-09-28 at 3.27.15 PM.jpeg', 'Event T', 'Event T', 'perambur', 'kolathur', 3, 3, '1500', 'trophy', '2022-12-01', '2022-11-30', 'upload/vendor/document/4_WhatsApp Image 2022-09-17 at 6.30.19 PM.jpeg', 12, 'ARC Tech Solution', 'Black Panther', 2, '2022-11-27 04:33:12', '2022-11-28 09:12:47'),
(5, 'upload/vendor/eventPost/5_WhatsApp Image 2022-09-28 at 3.27.15 PM.jpeg', 'Event T', 'Event T', 'perambur', 'kolathur', 3, 3, '1500', 'trophy', '2022-12-01', '2022-11-28', 'upload/vendor/document/5_WhatsApp Image 2022-09-17 at 6.30.19 PM.jpeg', 12, 'ARC Tech Solution', 'Black Panther', 1, '2022-11-27 04:35:52', '2022-11-28 09:30:33');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `event_post`
--
ALTER TABLE `event_post`
  ADD PRIMARY KEY (`postId`);

--
-- AUTO_INCREMENT for dumped tables
--

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