-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Oct 22, 2026 at 05:43 PM
-- Server version: 10.4.32-MariaDB
-- PHP Version: 8.2.12

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

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

--
-- Table structure for table `activity_log`
--

CREATE TABLE `activity_log` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `log_name` varchar(255) DEFAULT NULL,
  `description` text NOT NULL,
  `subject_type` varchar(255) DEFAULT NULL,
  `event` varchar(255) DEFAULT NULL,
  `subject_id` char(36) DEFAULT NULL,
  `causer_type` varchar(255) DEFAULT NULL,
  `causer_id` char(36) DEFAULT NULL,
  `properties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`properties`)),
  `batch_uuid` char(36) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `connection` text NOT NULL,
  `queue` text NOT NULL,
  `payload` longtext NOT NULL,
  `exception` longtext NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `media`
--

CREATE TABLE `media` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` char(36) NOT NULL,
  `uuid` char(36) DEFAULT NULL,
  `collection_name` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `file_name` varchar(255) NOT NULL,
  `mime_type` varchar(255) DEFAULT NULL,
  `disk` varchar(255) NOT NULL,
  `conversions_disk` varchar(255) DEFAULT NULL,
  `size` bigint(20) UNSIGNED NOT NULL,
  `manipulations` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`manipulations`)),
  `custom_properties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`custom_properties`)),
  `generated_conversions` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`generated_conversions`)),
  `responsive_images` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`responsive_images`)),
  `order_column` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `media`
--

INSERT INTO `media` (`id`, `model_type`, `model_id`, `uuid`, `collection_name`, `name`, `file_name`, `mime_type`, `disk`, `conversions_disk`, `size`, `manipulations`, `custom_properties`, `generated_conversions`, `responsive_images`, `order_column`, `created_at`, `updated_at`) VALUES
(3, 'App\\Models\\SeoMeta', 'a30a8014-4187-4ba7-9dfe-4d1ef49de665', 'ae7569db-5245-41b2-a5af-d53c597e43b9', 'og_image', 'yYiUYdv6i5lvSrC0pnnVUxDfuY3k9l-metaMTIwMC02MzAtZm9ybWF0ZS1pbWFnZS5wbmc=-', '1200-630-formate-image.png', 'image/png', 'public', 'public', 16558, '[]', '[]', '{\"og_optimized\":true}', '[]', 3, '2026-10-22 02:21:23', '2026-10-22 02:21:24'),
(4, 'App\\Models\\Post', 'a30af0a8-8844-4c38-b714-6cae875c794c', '9e0871a5-5ba4-4201-a58b-ad1e8d09b978', 'featured_image', '1BcCtm5HNH4MMEJ1xCrjmc8a065msn-metaZHJpc2h5YW0tMy1ib3gtb2ZmaWNlLTNyZC1ib2xseXdvb2QtZmlsbS1vZi0yMDI2LXRvLXJlY29yZC0yNTAtY3JvcmUtcm9pLTAwMS5qcGc=-', 'drishyam-3-box-office-3rd-bollywood-film-of-2026-to-record-250-crore-roi-001.jpg', 'image/jpeg', 'public', 'public', 70584, '[]', '[]', '{\"thumbnail\":true,\"optimized\":true}', '[]', 1, '2026-10-22 07:27:06', '2026-10-22 07:27:08');

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

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(11, '2014_10_12_000000_create_users_table', 1),
(12, '2014_10_12_100000_create_password_reset_tokens_table', 1),
(13, '2019_08_19_000000_create_failed_jobs_table', 1),
(14, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(15, '2026_10_20_090341_create_permission_tables', 1),
(16, '2026_10_20_090454_create_media_table', 2),
(17, '2026_10_20_090559_create_activity_log_table', 2),
(18, '2026_10_20_090600_add_event_column_to_activity_log_table', 2),
(19, '2026_10_20_090601_add_batch_uuid_column_to_activity_log_table', 2),
(20, '2026_10_20_090700_create_settings_table', 2),
(21, '2026_10_21_182100_create_seo_metas_table', 3),
(22, '2026_10_22_142400_create_posts_table', 4);

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

--
-- Table structure for table `model_has_permissions`
--

CREATE TABLE `model_has_permissions` (
  `permission_id` char(36) NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` char(36) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `model_has_roles`
--

CREATE TABLE `model_has_roles` (
  `role_id` char(36) NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` char(36) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `model_has_roles`
--

INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`) VALUES
('a3086479-89a6-4d76-99a5-3ef9a8294ef7', 'App\\Models\\User', 'a306b16f-f2b7-4d04-bbfb-f00d8e5064c9'),
('a30867c8-5287-456d-8e01-9f7c9d707465', 'App\\Models\\User', 'a3088fbc-2775-44e4-84de-80588c469ed7');

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

--
-- Table structure for table `password_reset_tokens`
--

CREATE TABLE `password_reset_tokens` (
  `email` varchar(255) NOT NULL,
  `token` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` char(36) NOT NULL,
  `name` varchar(255) NOT NULL,
  `guard_name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `permissions`
--

INSERT INTO `permissions` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
('a3086812-91db-4f32-b3d3-82d1ab7bd7fe', 'manage-dashboard', 'web', '2026-10-21 01:13:31', '2026-10-21 01:13:31'),
('a3086834-c3f0-4e22-986c-e004ec631e43', 'user-delete', 'web', '2026-10-21 01:13:53', '2026-10-21 01:13:53'),
('a3086841-9054-4637-b108-51e94cf8d2b1', 'user-edit', 'web', '2026-10-21 01:14:01', '2026-10-21 01:14:01'),
('a308684d-5adf-4429-b34c-50f92dc4a6e7', 'user-create', 'web', '2026-10-21 01:14:09', '2026-10-21 01:14:09'),
('a3086853-df58-4d98-b9a8-af23842b0a3a', 'user-view', 'web', '2026-10-21 01:14:13', '2026-10-21 01:14:13'),
('a308e927-5306-4fe5-835f-dab9f1ce138f', 'roles-delete', 'web', '2026-10-21 07:14:27', '2026-10-21 07:14:27'),
('a308e932-430e-47e2-a58b-17172c8cf295', 'roles-edit', 'web', '2026-10-21 07:14:34', '2026-10-21 07:14:34'),
('a308e938-627e-4805-9067-6f97187f3612', 'roles-create', 'web', '2026-10-21 07:14:38', '2026-10-21 07:14:38'),
('a308e940-c27f-4341-b677-504d943f4492', 'roles-view', 'web', '2026-10-21 07:14:44', '2026-10-21 07:14:44'),
('a308e94d-cdf6-4f1b-9b56-6c7ef1583056', 'permission-delete', 'web', '2026-10-21 07:14:52', '2026-10-21 07:14:52'),
('a308e954-7dcd-47ab-8c23-5b9cd07d717d', 'permission-edit', 'web', '2026-10-21 07:14:56', '2026-10-21 07:14:56'),
('a308e95a-433f-4b63-a13b-980322ca1881', 'permission-create', 'web', '2026-10-21 07:15:00', '2026-10-21 07:15:00'),
('a308e966-2cf3-428e-85ee-7aa9854e663f', 'permission-view', 'web', '2026-10-21 07:15:08', '2026-10-21 07:15:08'),
('a308ebd4-281b-4dce-bfcc-226ce09128c6', 'manage-profile', 'web', '2026-10-21 07:21:56', '2026-10-21 07:21:56');

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

--
-- Table structure for table `personal_access_tokens`
--

CREATE TABLE `personal_access_tokens` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tokenable_type` varchar(255) NOT NULL,
  `tokenable_id` char(36) NOT NULL,
  `name` varchar(255) NOT NULL,
  `token` varchar(64) NOT NULL,
  `abilities` text DEFAULT NULL,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `posts`
--

CREATE TABLE `posts` (
  `id` char(36) NOT NULL,
  `team_id` char(36) DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `excerpt` text DEFAULT NULL,
  `content` longtext DEFAULT NULL,
  `status` enum('draft','published','schedule','archived') NOT NULL DEFAULT 'draft',
  `published_at` timestamp NULL DEFAULT NULL,
  `is_featured` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `posts`
--

INSERT INTO `posts` (`id`, `team_id`, `title`, `slug`, `excerpt`, `content`, `status`, `published_at`, `is_featured`, `created_at`, `updated_at`, `deleted_at`) VALUES
('a30af0a8-8844-4c38-b714-6cae875c794c', NULL, 'Drishyam 3 Box Office Collection Day 20: Ajay Devgn Starrer Becomes 3rd Bollywood Film Of 2026 To Enjoy 250 Crore ROI', 'drishyam-3-box-office-collection-day-20-ajay-devgn-starrer-becomes-3rd-bollywood-film-of-2026-to-enjoy-250-crore-roi', 'Ajay Devgn-led Drishyam 3 is still minting moolah at the Indian box office, reaching the 360 crore net mark in 20 days.', '<p>Drishyam 3 Box Office: 3rd Bollywood Film Of 2026 To Record 250 Crore ROI ( Photo Credit – Star Studio18 )</p><p>With no major competition from Bollywood films, Ajay Devgn’s Drishyam 3 continues to have a</p><p>smooth</p><p> ride at the Indian box office. Although the 400 crore net milestone is out of reach, the film is now set to surpass Border 2 (<strong>362.76 crore</strong>) to become Bollywood’s 2nd highest-grossing film of 2026. But before that happens, it has already reached the <strong>250 crore</strong> mark in return on investment (ROI). Keep reading for a detailed collection report of day 20!</p><p></p><p><strong>How much did Drishyam 3 earn at the Indian box office in 20 days?</strong></p><p>The <a target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-indigo-600 dark:text-indigo-400 underline font-semibold hover:text-indigo-700\" href=\"https://www.koimoi.com/box-office/hits-flops/bollywood-box-office-collection-verdicts/\">Bollywood</a> crime thriller scored <strong>2.65 crore</strong> on its third Wednesday, day 20. Compared to Monday, day 18’s <strong>3.4 crore</strong>, it displayed a decent hold. Overall, it has amassed <strong>360.15 crore</strong> net at the Indian box office, which equals <strong>425 crore</strong> gross. With Udta Teer and other films releasing in theaters, the number of shows for the Ajay Devgn starrer will be reduced significantly. But still, it is on track to hit the 375 crore net mark.</p><p><br><strong>Here’s the week-wise collection breakdown in India (net):</strong></p><ul><li><p>Week 1 – <strong>243.5 crore</strong></p></li><li><p>Week 2 – <strong>90 crore</strong></p></li><li><p>Day 15 – <strong>3.1 crore</strong></p></li><li><p>Day 16 – <strong>5 crore</strong></p></li><li><p>Day 17 – <strong>6.25 crore</strong></p></li><li><p>Day 18 – <strong>3.4 crore</strong></p></li><li><p>Day 19 – <strong>6.25 crore</strong></p></li><li><p>Day 20 – <strong>2.65 crore</strong></p></li></ul><p><br><strong>Drishyam 3 reaches 250 crore ROI</strong></p><p>Made on a budget of <strong>110 crore</strong>, <a target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-indigo-600 dark:text-indigo-400 underline font-semibold hover:text-indigo-700\" href=\"https://www.koimoi.com/box-office/drishyam-3-box-office-collection-day-18-hits-1-5-crore-footfalls-inches-closer-to-beating-border-2/\">Drishyam 3</a> has earned 360.15 crore net so far. So, in 20 days, it has recorded an ROI of <strong>250.15 crore</strong>. Calculated further, it equals <strong>227.41%</strong> returns. As per Koimoi’s parameters, it has</p><p>secured</p><p> a super duper hit verdict.</p><p></p><p>With an ROI of 250.15 crore, Drishyam 3 has become Bollywood’s third film of 2026 to do so after Dhurandhar 2 and Hanuman Ansh. For those who don’t know, <a target=\"_blank\" rel=\"noopener noreferrer\" class=\"text-indigo-600 dark:text-indigo-400 underline font-semibold hover:text-indigo-700\" href=\"https://www.koimoi.com/box-office/box-office-with-dhurandhar-2-bollywood-surpasses-tollywood-in-number-of-1000-crore-worldwide-grossers/\">Dhurandhar 2</a> enjoyed an ROI of a whopping <strong>961.32 crore</strong>, while Hanuman Ansh scored an ROI of <strong>339.23 crore</strong>.</p><p><strong>Box office summary:</strong></p><ul><li><p>Budget – <strong>110 crore</strong></p></li><li><p>India net collection – <strong>360.15 crore</strong></p></li><li><p>ROI – <strong>250.15 crore</strong></p></li><li><p>ROI% – <strong>227.41%</strong></p></li><li><p>Verdict – <strong>Super duper hit</strong></p></li></ul><p><br></p>', 'draft', '2026-10-22 07:19:00', 1, '2026-10-22 07:27:05', '2026-10-22 07:27:05', NULL);

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

--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `id` char(36) NOT NULL,
  `team_id` char(36) DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `guard_name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` (`id`, `team_id`, `name`, `guard_name`, `created_at`, `updated_at`, `deleted_at`) VALUES
('a3086479-89a6-4d76-99a5-3ef9a8294ef7', NULL, 'super_admin', 'web', '2026-10-21 01:03:27', '2026-10-21 01:03:27', NULL),
('a30867c8-5287-456d-8e01-9f7c9d707465', NULL, 'admin', 'web', '2026-10-21 01:12:42', '2026-10-21 01:12:42', NULL);

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

--
-- Table structure for table `role_has_permissions`
--

CREATE TABLE `role_has_permissions` (
  `permission_id` char(36) NOT NULL,
  `role_id` char(36) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `role_has_permissions`
--

INSERT INTO `role_has_permissions` (`permission_id`, `role_id`) VALUES
('a3086812-91db-4f32-b3d3-82d1ab7bd7fe', 'a30867c8-5287-456d-8e01-9f7c9d707465'),
('a3086834-c3f0-4e22-986c-e004ec631e43', 'a30867c8-5287-456d-8e01-9f7c9d707465'),
('a3086841-9054-4637-b108-51e94cf8d2b1', 'a30867c8-5287-456d-8e01-9f7c9d707465'),
('a308684d-5adf-4429-b34c-50f92dc4a6e7', 'a30867c8-5287-456d-8e01-9f7c9d707465'),
('a3086853-df58-4d98-b9a8-af23842b0a3a', 'a30867c8-5287-456d-8e01-9f7c9d707465');

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

--
-- Table structure for table `seo_metas`
--

CREATE TABLE `seo_metas` (
  `id` char(36) NOT NULL,
  `team_id` char(36) DEFAULT NULL,
  `route_name` varchar(255) DEFAULT NULL,
  `url_path` varchar(255) DEFAULT NULL,
  `seoable_type` varchar(255) DEFAULT NULL,
  `seoable_id` char(36) DEFAULT NULL,
  `meta_title` varchar(255) NOT NULL,
  `meta_description` text DEFAULT NULL,
  `meta_keywords` text DEFAULT NULL,
  `og_title` varchar(255) DEFAULT NULL,
  `og_description` text DEFAULT NULL,
  `canonical_url` varchar(255) DEFAULT NULL,
  `robots` varchar(255) NOT NULL DEFAULT 'index, follow',
  `schema_markup` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`schema_markup`)),
  `sitemap_priority` decimal(2,1) NOT NULL DEFAULT 0.8,
  `sitemap_changefreq` varchar(20) NOT NULL DEFAULT 'weekly',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `seo_metas`
--

INSERT INTO `seo_metas` (`id`, `team_id`, `route_name`, `url_path`, `seoable_type`, `seoable_id`, `meta_title`, `meta_description`, `meta_keywords`, `og_title`, `og_description`, `canonical_url`, `robots`, `schema_markup`, `sitemap_priority`, `sitemap_changefreq`, `created_at`, `updated_at`, `deleted_at`) VALUES
('a30a8014-4187-4ba7-9dfe-4d1ef49de665', NULL, 'home', '/', NULL, NULL, 'The Powerhouse of Indian Cinema & Original Web Series', 'Welcome to BU Studio – Official home of Indian blockbusters, theatrical cinema, and groundbreaking original series. Explore our slate, upcoming releases and press news.', 'bu studio, indian cinema, bollywood movies, web series, hindi films, upcoming releases, film production house', 'Official Cinema Production & Distribution House', 'Experience cinematic excellence with BU Studio. Discover blockbuster theatrical releases, original web series, and exclusive press updates.', NULL, 'index, follow', NULL, 0.8, 'weekly', '2026-10-22 02:12:18', '2026-10-22 02:12:18', NULL),
('a30af0ad-b980-4311-8aef-691e948b7937', NULL, NULL, NULL, 'App\\Models\\Post', 'a30af0a8-8844-4c38-b714-6cae875c794c', 'Ajay Devgn Starrer Becomes 3rd Bollywood Film Of 2026', 'Ajay Devgn-led Drishyam 3 is still minting moolah at the Indian box office, reaching the 360 crore net mark in 20 days.\n', 'Ajay Devgn, Drishyam 3 Box Office Collection, Bollywood Film, ', NULL, NULL, 'http://127.0.0.1:8000/blog/drishyam-3-box-office-collection-day-20-ajay-devgn-starrer-becomes-3rd-bollywood-film-of-2026-to-enjoy-250-crore-roi', 'index, follow', NULL, 0.8, 'weekly', '2026-10-22 07:27:09', '2026-10-22 07:27:09', NULL);

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

--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` char(36) NOT NULL,
  `team_id` char(36) DEFAULT NULL,
  `group` varchar(50) NOT NULL DEFAULT 'general',
  `key` varchar(255) NOT NULL,
  `value` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `team_id`, `group`, `key`, `value`, `created_at`, `updated_at`, `deleted_at`) VALUES
('a3087b2b-4efc-47d0-91f6-e6cf8cf0be35', NULL, 'general', 'site_name', 'BU STUDIO', '2026-10-21 02:06:55', '2026-10-21 02:06:55', NULL),
('a3087b2b-d7a9-48b4-849d-39fb404bc845', NULL, 'general', 'site_tagline', 'Creative & Digital Agency', '2026-10-21 02:06:55', '2026-10-21 02:06:55', NULL),
('a3087b2b-dc41-4139-8a22-2efb9a325f4c', NULL, 'general', 'contact_email', 'admin@bustudio.com', '2026-10-21 02:06:55', '2026-10-21 02:06:55', NULL),
('a3087b2b-dda7-473d-99d1-ab0d67184ba2', NULL, 'general', 'site_logo', NULL, '2026-10-21 02:06:55', '2026-10-21 02:06:55', NULL),
('a3087b2b-df59-47f4-acce-663948af0941', NULL, 'general', 'site_favicon', NULL, '2026-10-21 02:06:55', '2026-10-21 02:06:55', NULL),
('a3087b2b-e10d-4a91-be38-8d20568a2576', NULL, 'appearance', 'primary_color', '#D41B2D', '2026-10-21 02:06:55', '2026-10-21 02:06:55', NULL),
('a3087b2b-e27b-4989-a26b-18b5fa38dd2d', NULL, 'appearance', 'default_theme', 'light', '2026-10-21 02:06:55', '2026-10-21 02:06:55', NULL),
('a3087b2b-e40e-4298-b15a-611c59a8d3cf', NULL, 'email', 'mail_protocol', 'smtp', '2026-10-21 02:06:55', '2026-10-21 02:06:55', NULL),
('a3087b2b-e6f3-4818-ba5e-197cdf62c4c1', NULL, 'email', 'mail_host', 'smtp.gmail.com', '2026-10-21 02:06:55', '2026-10-21 02:06:55', NULL),
('a3087b2b-e8b9-4595-b9e4-ed459570812a', NULL, 'email', 'mail_port', '587', '2026-10-21 02:06:55', '2026-10-21 02:06:55', NULL),
('a3087b2b-ea1e-4f58-87d8-cb66fffdee3a', NULL, 'email', 'mail_username', 'mehul.greatideas@gmail.com', '2026-10-21 02:06:55', '2026-10-21 02:06:55', NULL),
('a3087b2b-ed12-4f7d-8244-0f25747b8c04', NULL, 'email', 'mail_password', 'drpn amva ueij rdrf', '2026-10-21 02:06:55', '2026-10-21 02:19:35', NULL),
('a3087b2b-ef8e-47f1-b923-93ac19cbd6d0', NULL, 'email', 'mail_from_address', 'mehul.greatideas@gmail.com', '2026-10-21 02:06:55', '2026-10-21 02:06:55', NULL);

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

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

CREATE TABLE `users` (
  `id` char(36) NOT NULL,
  `profile_id` varchar(12) NOT NULL,
  `team_id` char(36) DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `status` tinyint(1) NOT NULL DEFAULT 1,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) NOT NULL,
  `remember_token` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `users` (`id`, `profile_id`, `team_id`, `name`, `email`, `phone`, `status`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`, `deleted_at`) VALUES
('a306b16f-f2b7-4d04-bbfb-f00d8e5064c9', 'CGECJT7967XA', NULL, 'Mehul Prajapati', 'mehul.greatideas@gmail.com', NULL, 1, NULL, '$2y$12$92ez/LJAGXFSd5Hc446Px.cW/Q3Qu8I68niHjXIZDHYUZ9KBHNYom', NULL, '2026-10-20 04:47:00', '2026-10-21 00:31:17', NULL),
('a3088fbc-2775-44e4-84de-80588c469ed7', 'UAK7EHBOQUOC', NULL, 'Mehul Prajapati', 'mehul@vibrantsofttech.in', NULL, 1, NULL, '$2y$12$lg/GmdTLnflpgbtPotP6C.jsV/ayd0J9sUHOmhlkTPz9M4g6TKdiC', NULL, '2026-10-21 03:04:25', '2026-10-21 03:04:25', NULL);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `activity_log`
--
ALTER TABLE `activity_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `activity_log_subject_type_subject_id_index` (`subject_type`,`subject_id`),
  ADD KEY `activity_log_causer_type_causer_id_index` (`causer_type`,`causer_id`),
  ADD KEY `activity_log_log_name_index` (`log_name`);

--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);

--
-- Indexes for table `media`
--
ALTER TABLE `media`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `media_uuid_unique` (`uuid`),
  ADD KEY `media_model_type_model_id_index` (`model_type`,`model_id`),
  ADD KEY `media_order_column_index` (`order_column`);

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

--
-- Indexes for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  ADD KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Indexes for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  ADD KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Indexes for table `password_reset_tokens`
--
ALTER TABLE `password_reset_tokens`
  ADD PRIMARY KEY (`email`);

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`);

--
-- Indexes for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  ADD KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`);

--
-- Indexes for table `posts`
--
ALTER TABLE `posts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `posts_slug_unique` (`slug`),
  ADD KEY `posts_team_id_index` (`team_id`),
  ADD KEY `posts_status_index` (`status`),
  ADD KEY `posts_published_at_index` (`published_at`),
  ADD KEY `posts_is_featured_index` (`is_featured`);

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_team_id_name_guard_name_unique` (`team_id`,`name`,`guard_name`),
  ADD KEY `roles_team_foreign_key_index` (`team_id`);

--
-- Indexes for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`role_id`),
  ADD KEY `role_has_permissions_role_id_foreign` (`role_id`);

--
-- Indexes for table `seo_metas`
--
ALTER TABLE `seo_metas`
  ADD PRIMARY KEY (`id`),
  ADD KEY `seo_metas_seoable_type_seoable_id_index` (`seoable_type`,`seoable_id`),
  ADD KEY `seo_metas_route_name_url_path_index` (`route_name`,`url_path`),
  ADD KEY `seo_metas_team_id_index` (`team_id`),
  ADD KEY `seo_metas_route_name_index` (`route_name`),
  ADD KEY `seo_metas_url_path_index` (`url_path`);

--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `settings_team_id_key_unique` (`team_id`,`key`),
  ADD KEY `settings_team_id_group_index` (`team_id`,`group`),
  ADD KEY `settings_team_id_index` (`team_id`),
  ADD KEY `settings_group_index` (`group`),
  ADD KEY `settings_key_index` (`key`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `users_profile_id_unique` (`profile_id`),
  ADD UNIQUE KEY `users_email_unique` (`email`),
  ADD KEY `users_team_id_status_index` (`team_id`,`status`),
  ADD KEY `users_team_id_index` (`team_id`),
  ADD KEY `users_name_index` (`name`),
  ADD KEY `users_phone_index` (`phone`),
  ADD KEY `users_status_index` (`status`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `activity_log`
--
ALTER TABLE `activity_log`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `media`
--
ALTER TABLE `media`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;
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 */;
