( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/tmpr/../tmpr/../tmpr/../tmpr/../Connections/categoriesandlangapp.sql
-- --------------------------------------------------------
-- Host:                         127.0.0.1
-- Server version:               5.7.24 - MySQL Community Server (GPL)
-- Server OS:                    Win32
-- HeidiSQL Version:             10.1.0.5464
-- --------------------------------------------------------

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;

-- Dumping structure for table thebrand.h_categories
CREATE TABLE IF NOT EXISTS `h_categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `slug` varchar(255) DEFAULT NULL,
  `parent_id` int(11) DEFAULT '0',
  `parent_tree` varchar(255) DEFAULT NULL,
  `title_meta_tag` varchar(255) DEFAULT NULL,
  `description` varchar(500) DEFAULT NULL,
  `keywords` varchar(500) DEFAULT NULL,
  `category_order` mediumint(9) DEFAULT '0',
  `featured_order` mediumint(9) DEFAULT '1',
  `homepage_order` mediumint(9) DEFAULT '1',
  `visibility` tinyint(1) DEFAULT '1',
  `is_featured` tinyint(1) DEFAULT '0',
  `show_products_on_index` tinyint(1) DEFAULT '0',
  `show_subcategory_products` tinyint(1) DEFAULT '0',
  `storage` varchar(20) DEFAULT 'local',
  `image` varchar(255) DEFAULT NULL,
  `show_image_on_navigation` tinyint(1) DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_parent_id` (`parent_id`),
  KEY `idx_visibility` (`visibility`),
  KEY `idx_is_featured` (`is_featured`),
  KEY `idx_show_products_on_index` (`show_products_on_index`),
  KEY `idx_category_order` (`category_order`),
  KEY `idx_featured_order` (`featured_order`)
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8;

-- Dumping data for table thebrand.h_categories: ~29 rows (approximately)
/*!40000 ALTER TABLE `h_categories` DISABLE KEYS */;
INSERT INTO `h_categories` (`id`, `slug`, `parent_id`, `parent_tree`, `title_meta_tag`, `description`, `keywords`, `category_order`, `featured_order`, `homepage_order`, `visibility`, `is_featured`, `show_products_on_index`, `show_subcategory_products`, `storage`, `image`, `show_image_on_navigation`, `created_at`) VALUES
	(10, 'social-media-10', 0, '', '', '', '', 1, 1, 1, 1, 0, 0, 0, 'local', 'uploads/category/category_62a4e4bf0b1c08-74321384-10713335.jpg', 1, '2021-08-16 12:22:12'),
	(11, 'social-story-templates', 10, '10', '', '', '', 2, 6, 2, 1, 0, 1, 0, 'local', '', 0, '2021-08-16 12:22:13'),
	(12, 'social-media-post-templates', 10, '10', '', '', '', 3, 2, 3, 1, 0, 1, 1, 'local', '', 0, '2021-08-16 12:22:14'),
	(13, 'social-media-banner-templates', 10, '10', '', '', '', 4, 3, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:14'),
	(14, 'pinterest-pin-graphic-templates', 10, '10', '', '', '', 5, 4, 1, 1, 0, 1, 0, 'local', '', 0, '2021-08-16 12:22:15'),
	(15, 'youtube-graphic-templates', 10, '10', '', '', '5', 1, 1, 1, 1, 0, 1, 0, 'local', 'uploads/category/category_62a4e63a112a82-79776319-29255722.jpg', 1, '2021-08-16 12:22:15'),
	(16, 'branding-16', 0, '', '', '', '', 3, 1, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:16'),
	(18, 'letterhead-resume-templates', 16, '16', '', '', '', 2, 2, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:17'),
	(19, 'newsletter-templates', 16, '16', '', '', '', 3, 3, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:17'),
	(20, 'media-kit-templates', 16, '16', '', '', '', 4, 4, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:17'),
	(21, 'live-streaming-branding-templates', 16, '16', '', '', '5', 1, 0, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:18'),
	(22, 'Marketing-22', 0, '', '', '', '', 3, 1, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:19'),
	(23, 'flyer-templates', 22, '22', '', '', '', 3, 1, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:19'),
	(24, 'brochure-templates', 22, '22', '', '', '', 4, 2, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:20'),
	(25, 'poster-templates', 22, '22', '', '', '', 2, 0, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:20'),
	(26, 'presentation-templates', 22, '22', '', '', '', 5, 3, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:21'),
	(27, 'postcard-templates', 22, '22', '', '', '4', 1, 0, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:21'),
	(28, 'Advertising-28', 0, '', '', '', '', 3, 1, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:21'),
	(29, 'facebook-ad-templates', 28, '28', '', '', '', 2, 1, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:22'),
	(30, 'google-ad-templates', 28, '28', '', '', '', 3, 2, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:22'),
	(31, 'instagram-ad-templates', 28, '28', '', '', '', 4, 3, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:23'),
	(32, 'instagram-ad-templates-32', 28, '28', '', '', '', 5, 4, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:23'),
	(33, 'digital-display-templates', 28, '28', '', '', '5', 1, 0, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:22:24'),
	(40, 'More', 0, '', '', '', '', 5, 6, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:35:19'),
	(41, 'food-menu-templates', 40, '40', '', '', '', 1, 1, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:35:19'),
	(42, 'resume-templates-42', 40, '40', '', '', '', 2, 2, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:35:20'),
	(43, 'invitation-templates-43', 40, '40', '', '', '', 3, 3, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:35:20'),
	(44, 'planner-templates', 40, '40', '', '', '', 4, 4, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:35:21'),
	(45, 'infographics-templates', 40, '40', '', '', '', 5, 5, 1, 1, 0, 0, 0, 'local', '', 0, '2021-08-16 12:35:22');
/*!40000 ALTER TABLE `h_categories` ENABLE KEYS */;

-- Dumping structure for table thebrand.h_categories_lang
CREATE TABLE IF NOT EXISTS `h_categories_lang` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `category_id` int(11) DEFAULT NULL,
  `lang_id` tinyint(4) DEFAULT '1',
  `name` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_category_id` (`category_id`),
  KEY `idx_lang_id` (`lang_id`)
) ENGINE=InnoDB AUTO_INCREMENT=108 DEFAULT CHARSET=utf8;

-- Dumping data for table thebrand.h_categories_lang: ~29 rows (approximately)
/*!40000 ALTER TABLE `h_categories_lang` DISABLE KEYS */;
INSERT INTO `h_categories_lang` (`id`, `category_id`, `lang_id`, `name`) VALUES
	(76, 10, 1, 'Social Media'),
	(77, 11, 1, 'Stories'),
	(78, 12, 1, 'Social Posts'),
	(79, 13, 1, 'Covers Banners'),
	(80, 14, 1, 'Pinterest Pins'),
	(81, 15, 1, 'YouTube Graphics'),
	(82, 16, 1, 'Branding'),
	(84, 18, 1, 'Letterheads'),
	(85, 19, 1, 'Newsletters'),
	(86, 20, 1, 'Media Kits'),
	(87, 21, 1, 'Live Streaming'),
	(88, 22, 1, 'Marketing'),
	(89, 23, 1, 'Flyers'),
	(90, 24, 1, 'Brochures'),
	(91, 25, 1, 'Posters'),
	(92, 26, 1, 'Presentations'),
	(93, 27, 1, 'Postcards'),
	(94, 28, 1, 'Advertising'),
	(95, 29, 1, 'Facebook Ads'),
	(96, 30, 1, 'Google Ads'),
	(97, 31, 1, 'Instagram Ads'),
	(98, 32, 1, 'Story Ads'),
	(99, 33, 1, 'Digital Displays'),
	(102, 40, 1, 'More'),
	(103, 41, 1, 'Food Menus'),
	(104, 42, 1, 'Resumes'),
	(105, 43, 1, 'Invitations'),
	(106, 44, 1, 'Planners'),
	(107, 45, 1, 'Infographics');
/*!40000 ALTER TABLE `h_categories_lang` ENABLE KEYS */;

/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;