-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 04, 2025 at 09:24 AM
-- Server version: 10.4.32-MariaDB
-- PHP Version: 8.0.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: `iqcandy`
--

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

--
-- Table structure for table `db_activities_type`
--

CREATE TABLE `db_activities_type` (
  `id` int(11) NOT NULL,
  `title` varchar(255) NOT NULL,
  `type` varchar(255) DEFAULT NULL,
  `bannerUrl` varchar(255) DEFAULT NULL,
  `thumbnailUrl` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `created_at` datetime(3) NOT NULL DEFAULT current_timestamp(3),
  `updated_at` datetime(3) NOT NULL,
  `created_by` int(11) DEFAULT NULL,
  `index` int(11) DEFAULT NULL,
  `isPublished` tinyint(1) NOT NULL DEFAULT 0,
  `isVisibleTeacher` tinyint(1) NOT NULL DEFAULT 0,
  `status` enum('ACTIVE','INACTIVE') NOT NULL DEFAULT 'ACTIVE',
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `db_activities_type`
--

INSERT INTO `db_activities_type` (`id`, `title`, `type`, `bannerUrl`, `thumbnailUrl`, `description`, `created_at`, `updated_at`, `created_by`, `index`, `isPublished`, `isVisibleTeacher`, `status`, `updated_by`) VALUES
(1, 'Web Links', 'weblink', '/uploads/activity_type/banner/weblink_banner.png', '/uploads/activity_type/banner/addlink_thumb.png', NULL, '2025-07-04 12:54:15.731', '0000-00-00 00:00:00.000', NULL, 1, 0, 0, 'ACTIVE', NULL),
(2, 'Videos', 'video', '/uploads/activity_type/banner/video_banner.png', '/uploads/activity_type/banner/video_thumb.png', NULL, '2025-07-04 12:54:15.731', '0000-00-00 00:00:00.000', NULL, 2, 0, 0, 'ACTIVE', NULL),
(3, 'Documents', 'pdf', '/uploads/activity_type/banner/document_banner.png', '/uploads/activity_type/banner/notes_thumb.png', NULL, '2025-07-04 12:54:15.731', '0000-00-00 00:00:00.000', NULL, 3, 0, 0, 'ACTIVE', NULL),
(4, 'Pre Assessment', 'quiz', '/uploads/activity_type/banner/objective_banner.png', '/uploads/activity_type/banner/notealt_thumb.png', NULL, '2025-07-04 12:54:15.731', '0000-00-00 00:00:00.000', NULL, 4, 0, 0, 'ACTIVE', NULL),
(5, 'Games / Simulation', 'game', '/uploads/activity_type/banner/game_banner.png', '/uploads/activity_type/banner/games_thumb.png', NULL, '2025-07-04 12:54:15.731', '0000-00-00 00:00:00.000', NULL, 5, 0, 0, 'ACTIVE', NULL),
(6, 'Conceptual Videos', 'conceptual_video', '/uploads/activity_type/banner/conceptual_banner.png', '/uploads/activity_type/banner/video_thumb.png', NULL, '2025-07-04 12:54:15.731', '0000-00-00 00:00:00.000', NULL, 6, 0, 0, 'ACTIVE', NULL),
(7, 'Post Assessment', 'quiz', '/uploads/activity_type/banner/objective_banner.png', '/uploads/activity_type/banner/notealt_thumb.png', NULL, '2025-07-04 12:54:15.731', '0000-00-00 00:00:00.000', NULL, 7, 0, 0, 'ACTIVE', NULL),
(8, 'Youtube Videos', 'youtube', '/uploads/activity_type/banner/youtube_banner.png', '/uploads/activity_type/banner/youtube_thumb.png', NULL, '2025-07-04 12:54:15.731', '0000-00-00 00:00:00.000', NULL, 8, 0, 0, 'ACTIVE', NULL),
(9, 'HTML5', 'html', '/uploads/activity_type/banner/html_banner.png', '/uploads/activity_type/banner/notealt_thumb.png', NULL, '2025-07-04 12:54:15.731', '0000-00-00 00:00:00.000', NULL, 9, 0, 0, 'ACTIVE', NULL);

--
-- Indexes for dumped tables
--

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

--
-- AUTO_INCREMENT for dumped tables
--

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