Linux premium180.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
LiteSpeed
: 162.0.209.168 | : 216.73.216.187
Cant Read [ /etc/named.conf ]
8.3.30
nortrmdp
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
var /
softaculous /
eventsch /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
php53
[ DIR ]
drwxr-xr-x
php56
[ DIR ]
drwxr-xr-x
php71
[ DIR ]
drwxr-xr-x
php81
[ DIR ]
drwxr-xr-x
php82
[ DIR ]
drwxr-xr-x
.env
1.15
KB
-rw-r--r--
edit.php
4.41
KB
-rw-r--r--
edit.xml
447
B
-rw-r--r--
eventsch.sql
28.05
KB
-rw-r--r--
eventsch.zip
240.58
MB
-rw-r--r--
extend.php
9.07
KB
-rw-r--r--
fileindex.php
310
B
-rw-r--r--
import.php
3.3
KB
-rw-r--r--
info.xml
4.35
KB
-rw-r--r--
install.js
921
B
-rw-r--r--
install.php
6.25
KB
-rw-r--r--
install.xml
747
B
-rw-r--r--
md5
2.45
KB
-rw-r--r--
notes.txt
564
B
-rw-r--r--
update_pass.php
562
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : eventsch.sql
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 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 utf8 */; -- -- Database: `eventsch1052` -- -- -------------------------------------------------------- -- -- Table structure for table `blog_posts` -- CREATE TABLE `blog_posts` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `content` text COLLATE utf8mb4_unicode_ci NOT NULL, `excerpt` text COLLATE utf8mb4_unicode_ci, `tags` json DEFAULT NULL, `published_at` timestamp NULL DEFAULT NULL, `meta_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `meta_description` text COLLATE utf8mb4_unicode_ci, `featured_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `author_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Event Schedule Team', `is_published` tinyint(1) NOT NULL DEFAULT '0', `view_count` int(11) NOT NULL DEFAULT '0', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `blog_posts_slug_unique` (`slug`), KEY `blog_posts_published_at_is_published_index` (`published_at`,`is_published`), KEY `blog_posts_slug_index` (`slug`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `cache` -- CREATE TABLE `cache` ( `key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `value` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, `expiration` int(11) NOT NULL, PRIMARY KEY (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `cache_locks` -- CREATE TABLE `cache_locks` ( `key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `owner` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `expiration` int(11) NOT NULL, PRIMARY KEY (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `events` -- CREATE TABLE `events` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `user_id` bigint(20) unsigned NOT NULL, `venue_id_bak` bigint(20) unsigned DEFAULT NULL, `published_at` datetime DEFAULT NULL, `is_accepted` tinyint(1) DEFAULT NULL, `starts_at` datetime DEFAULT NULL, `duration` float DEFAULT NULL, `description` text COLLATE utf8mb4_unicode_ci, `description_html` text COLLATE utf8mb4_unicode_ci, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `days_of_week` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `recurring_end_type` enum('never','on_date','after_events') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'never', `recurring_end_value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `event_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `flyer_image_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `event_password` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `tickets_enabled` tinyint(1) NOT NULL DEFAULT '0', `ticket_currency_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'USD', `ticket_notes` text COLLATE utf8mb4_unicode_ci, `terms_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `total_tickets_mode` enum('individual','combined') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'individual', `payment_method` enum('cash','stripe','invoiceninja','payment_url') COLLATE utf8mb4_unicode_ci DEFAULT 'cash', `payment_instructions` text COLLATE utf8mb4_unicode_ci, `payment_instructions_html` text COLLATE utf8mb4_unicode_ci, `expire_unpaid_tickets` int(11) NOT NULL DEFAULT '0', `ticket_notes_html` text COLLATE utf8mb4_unicode_ci, `creator_role_id` bigint(20) unsigned DEFAULT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `registration_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `name_en` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description_en` text COLLATE utf8mb4_unicode_ci, `description_html_en` text COLLATE utf8mb4_unicode_ci, `category_id` int(10) unsigned DEFAULT NULL, `custom_fields` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), KEY `events_user_id_foreign` (`user_id`), KEY `events_creator_role_id_foreign` (`creator_role_id`), KEY `events_slug_index` (`slug`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `event_role` -- CREATE TABLE `event_role` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `event_id` bigint(20) unsigned NOT NULL, `role_id` bigint(20) unsigned NOT NULL, `is_accepted` tinyint(1) DEFAULT NULL, `name_translated` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description_translated` text COLLATE utf8mb4_unicode_ci, `description_html_translated` text COLLATE utf8mb4_unicode_ci, `google_event_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `group_id` bigint(20) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `event_role_role_id_event_id_unique` (`role_id`,`event_id`), KEY `event_role_event_id_foreign` (`event_id`), KEY `event_role_group_id_foreign` (`group_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `failed_jobs` -- CREATE TABLE `failed_jobs` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `connection` text COLLATE utf8mb4_unicode_ci NOT NULL, `queue` text COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `groups` -- CREATE TABLE `groups` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `name_en` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `role_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `groups_slug_role_id_unique` (`slug`,`role_id`), KEY `groups_role_id_foreign` (`role_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `jobs` -- CREATE TABLE `jobs` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `queue` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `attempts` tinyint(3) unsigned NOT NULL, `reserved_at` int(10) unsigned DEFAULT NULL, `available_at` int(10) unsigned NOT NULL, `created_at` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `jobs_queue_index` (`queue`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `job_batches` -- CREATE TABLE `job_batches` ( `id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `total_jobs` int(11) NOT NULL, `pending_jobs` int(11) NOT NULL, `failed_jobs` int(11) NOT NULL, `failed_job_ids` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `options` mediumtext COLLATE utf8mb4_unicode_ci, `cancelled_at` int(11) DEFAULT NULL, `created_at` int(11) NOT NULL, `finished_at` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `migrations` -- CREATE TABLE `migrations` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=45 ; -- -- Dumping data for table `migrations` -- INSERT INTO `migrations` VALUES (1, '0001_01_01_000000_create_users_table', 1), (2, '0001_01_01_000001_create_cache_table', 1), (3, '0001_01_01_000002_create_jobs_table', 1), (4, '2024_07_13_184927_setup_database', 1), (5, '2024_08_18_154754_add_schedule_column', 1), (6, '2024_08_23_110631_add_availability', 1), (7, '2024_08_25_141207_add_show_email_address', 1), (8, '2024_09_04_095216_add_curator_to_type_enum', 1), (9, '2024_09_10_080929_add_is_subscribed', 1), (10, '2024_09_17_111106_add_is_open', 1), (11, '2024_09_23_123138_add_is_curated', 1), (12, '2024_09_24_091734_change_event_roles', 1), (13, '2024_10_08_072109_add_online_events', 1), (14, '2024_11_06_151458_adjust_role_types', 1), (15, '2024_12_18_142217_add_solid_background', 1), (16, '2024_12_30_132215_add_tickets', 1), (17, '2025_01_05_113546_add_stripe', 1), (18, '2025_01_15_000000_add_creator_role_id_to_events', 1), (19, '2025_01_25_212106_add_quantity', 1), (20, '2025_02_28_130335_adjust_default_accept_requests', 1), (21, '2025_03_06_091949_add_registration_url', 1), (22, '2025_03_09_094853_add_translation_columns', 1), (23, '2025_03_09_222322_change_translation_column_types', 1), (24, '2025_04_01_000000_add_api_key_to_users', 1), (25, '2025_04_08_111332_change_schedule_to_talent', 1), (26, '2025_06_05_083530_add_groups', 1), (27, '2025_06_24_075408_add_payment_url_to_users_table', 1), (28, '2025_06_25_121433_add_is_subscribed_to_users_table', 1), (29, '2025_06_26_052317_create_blog_posts_table', 1), (30, '2025_07_03_073217_move_venue_to_event_role', 1), (31, '2025_07_18_074512_add_import_config_to_roles_table', 1), (32, '2025_08_01_151424_rename_is_open_to_require_approval', 1), (33, '2025_08_03_123713_add_total_tickets_mode_to_events_table', 1), (34, '2025_09_01_122943_add_custom_domain', 1), (35, '2025_09_10_100922_add_google_calendar_fields_to_events_table', 1), (36, '2025_09_20_184706_move_google_event_id_to_event_roles_table', 1), (37, '2025_12_09_111532_add_recurring_end_fields_to_events_table', 1), (38, '2026_01_12_115220_add_custom_css_to_roles_table', 1), (39, '2026_01_16_083847_fix_nis_currency_code_to_ils', 1), (40, '2026_01_20_000000_create_page_views_table', 1), (41, '2026_01_20_163241_add_terms_url_to_events_table', 1), (42, '2026_01_20_200000_add_custom_fields', 1), (43, '2026_01_20_210000_add_description_html_to_tickets', 1), (44, '2026_07_01_000000_move_group_id_to_event_role', 1); -- -------------------------------------------------------- -- -- Table structure for table `page_views` -- CREATE TABLE `page_views` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `role_id` bigint(20) unsigned NOT NULL, `event_id` bigint(20) unsigned DEFAULT NULL, `viewed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `ip_hash` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `user_agent` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `device_type` enum('desktop','mobile','tablet','unknown') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'unknown', PRIMARY KEY (`id`), KEY `page_views_role_id_viewed_at_index` (`role_id`,`viewed_at`), KEY `page_views_event_id_viewed_at_index` (`event_id`,`viewed_at`), KEY `page_views_viewed_at_index` (`viewed_at`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `parsed_event_urls` -- CREATE TABLE `parsed_event_urls` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `role_id` bigint(20) unsigned NOT NULL, `url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `parsed_event_urls_url_unique` (`url`), KEY `parsed_event_urls_role_id_foreign` (`role_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `password_reset_tokens` -- CREATE TABLE `password_reset_tokens` ( `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `roles` -- CREATE TABLE `roles` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `is_unlisted` tinyint(1) NOT NULL DEFAULT '0', `use_24_hour_time` tinyint(1) NOT NULL DEFAULT '0', `user_id` bigint(20) unsigned DEFAULT NULL, `subdomain` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `type` enum('venue','curator','talent') COLLATE utf8mb4_unicode_ci NOT NULL, `background` enum('gradient','solid','image') COLLATE utf8mb4_unicode_ci NOT NULL, `accent_color` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#007bff', `background_colors` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `background_rotation` int(11) NOT NULL DEFAULT '150', `font_color` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#ffffff', `font_family` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Roboto', `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `website` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `city` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `state` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `postal_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `country_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `formatted_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `google_place_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `geo_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `geo_lat` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `geo_lon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `timezone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `language_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en', `description` text COLLATE utf8mb4_unicode_ci, `description_html` text COLLATE utf8mb4_unicode_ci, `social_links` text COLLATE utf8mb4_unicode_ci, `payment_links` text COLLATE utf8mb4_unicode_ci, `youtube_links` text COLLATE utf8mb4_unicode_ci, `profile_image_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `background_image_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `show_email` tinyint(1) NOT NULL DEFAULT '0', `plan_expires` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `is_subscribed` tinyint(1) NOT NULL DEFAULT '1', `require_approval` tinyint(1) NOT NULL DEFAULT '1', `accept_requests` tinyint(1) NOT NULL DEFAULT '1', `is_deleted` tinyint(1) NOT NULL DEFAULT '0', `header_image_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `background_color` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `background_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `header_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `default_tickets` text COLLATE utf8mb4_unicode_ci, `plan_term` enum('month','year') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'year', `plan_type` enum('free','pro','enterprise') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'free', `phone_verified_at` timestamp NULL DEFAULT NULL, `name_en` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description_en` text COLLATE utf8mb4_unicode_ci, `description_html_en` text COLLATE utf8mb4_unicode_ci, `address1_en` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address2_en` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `city_en` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `state_en` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `import_config` text COLLATE utf8mb4_unicode_ci, `email_settings` text COLLATE utf8mb4_unicode_ci, `custom_domain` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `event_layout` enum('calendar','list','grid') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'calendar', `google_calendar_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `google_webhook_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `google_webhook_resource_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `google_webhook_expires_at` timestamp NULL DEFAULT NULL, `sync_direction` enum('to','from','both') COLLATE utf8mb4_unicode_ci DEFAULT NULL, `request_terms` text COLLATE utf8mb4_unicode_ci, `request_terms_en` text COLLATE utf8mb4_unicode_ci, `last_notified_request_count` int(11) DEFAULT '0', `custom_css` text COLLATE utf8mb4_unicode_ci, `custom_fields` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), UNIQUE KEY `roles_subdomain_unique` (`subdomain`), KEY `roles_user_id_foreign` (`user_id`), KEY `roles_type_index` (`type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `role_user` -- CREATE TABLE `role_user` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `user_id` bigint(20) unsigned NOT NULL, `role_id` bigint(20) unsigned NOT NULL, `level` enum('owner','admin','follower') COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `dates_unavailable` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), UNIQUE KEY `role_user_user_id_role_id_unique` (`user_id`,`role_id`), KEY `role_user_role_id_foreign` (`role_id`), KEY `role_user_level_index` (`level`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `sales` -- CREATE TABLE `sales` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `event_id` bigint(20) unsigned NOT NULL, `user_id` bigint(20) unsigned DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `secret` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `transaction_reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `status` enum('unpaid','paid','cancelled','refunded','expired') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'unpaid', `event_date` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `subdomain` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `payment_method` enum('cash','stripe','invoiceninja','payment_url') COLLATE utf8mb4_unicode_ci DEFAULT 'cash', `is_deleted` tinyint(1) NOT NULL DEFAULT '0', `payment_amount` decimal(13,3) NOT NULL DEFAULT '0.000', `custom_value1` text COLLATE utf8mb4_unicode_ci, `custom_value2` text COLLATE utf8mb4_unicode_ci, `custom_value3` text COLLATE utf8mb4_unicode_ci, `custom_value4` text COLLATE utf8mb4_unicode_ci, `custom_value5` text COLLATE utf8mb4_unicode_ci, `custom_value6` text COLLATE utf8mb4_unicode_ci, `custom_value7` text COLLATE utf8mb4_unicode_ci, `custom_value8` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), KEY `sales_event_id_foreign` (`event_id`), KEY `sales_user_id_foreign` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `sale_tickets` -- CREATE TABLE `sale_tickets` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `sale_id` bigint(20) unsigned NOT NULL, `ticket_id` bigint(20) unsigned NOT NULL, `seats` text COLLATE utf8mb4_unicode_ci NOT NULL, `quantity` int(11) NOT NULL DEFAULT '0', `custom_value1` text COLLATE utf8mb4_unicode_ci, `custom_value2` text COLLATE utf8mb4_unicode_ci, `custom_value3` text COLLATE utf8mb4_unicode_ci, `custom_value4` text COLLATE utf8mb4_unicode_ci, `custom_value5` text COLLATE utf8mb4_unicode_ci, `custom_value6` text COLLATE utf8mb4_unicode_ci, `custom_value7` text COLLATE utf8mb4_unicode_ci, `custom_value8` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), KEY `sale_tickets_sale_id_foreign` (`sale_id`), KEY `sale_tickets_ticket_id_foreign` (`ticket_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `sessions` -- CREATE TABLE `sessions` ( `id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `user_id` bigint(20) unsigned DEFAULT NULL, `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `user_agent` text COLLATE utf8mb4_unicode_ci, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `last_activity` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `sessions_user_id_index` (`user_id`), KEY `sessions_last_activity_index` (`last_activity`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `tickets` -- CREATE TABLE `tickets` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `event_id` bigint(20) unsigned NOT NULL, `type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `quantity` int(11) DEFAULT NULL, `price` decimal(13,3) DEFAULT NULL, `description` text COLLATE utf8mb4_unicode_ci, `description_html` text COLLATE utf8mb4_unicode_ci, `is_deleted` tinyint(1) NOT NULL DEFAULT '0', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `sold` text COLLATE utf8mb4_unicode_ci, `custom_fields` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), KEY `tickets_event_id_foreign` (`event_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `timezone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `language_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en', `profile_image_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `stripe_account_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `stripe_company_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `stripe_completed_at` timestamp NULL DEFAULT NULL, `invoiceninja_api_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `invoiceninja_api_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `invoiceninja_company_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `invoiceninja_webhook_secret` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `api_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `payment_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `payment_secret` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `is_subscribed` tinyint(1) NOT NULL DEFAULT '1', `google_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `google_token` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `google_refresh_token` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `google_token_expires_at` timestamp NULL DEFAULT NULL, `facebook_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `facebook_token` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `facebook_token_expires_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `users_email_unique` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=2 ; -- -- Dumping data for table `users` -- INSERT INTO `users` VALUES (1, '[[admin_username]]', '[[admin_email]]', '[[regtime]]', '[[admin_pass]]', 'Asia/Kolkata', 'en', NULL, '', '[[regtime]]', '[[regtime]]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -- -- Constraints for dumped tables -- -- -- Constraints for table `events` -- ALTER TABLE `events` ADD CONSTRAINT `events_creator_role_id_foreign` FOREIGN KEY (`creator_role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `events_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `event_role` -- ALTER TABLE `event_role` ADD CONSTRAINT `event_role_event_id_foreign` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `event_role_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE SET NULL, ADD CONSTRAINT `event_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE; -- -- Constraints for table `groups` -- ALTER TABLE `groups` ADD CONSTRAINT `groups_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE; -- -- Constraints for table `page_views` -- ALTER TABLE `page_views` ADD CONSTRAINT `page_views_event_id_foreign` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `page_views_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE; -- -- Constraints for table `parsed_event_urls` -- ALTER TABLE `parsed_event_urls` ADD CONSTRAINT `parsed_event_urls_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE; -- -- Constraints for table `roles` -- ALTER TABLE `roles` ADD CONSTRAINT `roles_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `role_user` -- ALTER TABLE `role_user` ADD CONSTRAINT `role_user_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `role_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `sales` -- ALTER TABLE `sales` ADD CONSTRAINT `sales_event_id_foreign` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `sales_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `sale_tickets` -- ALTER TABLE `sale_tickets` ADD CONSTRAINT `sale_tickets_sale_id_foreign` FOREIGN KEY (`sale_id`) REFERENCES `sales` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `sale_tickets_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE; -- -- Constraints for table `tickets` -- ALTER TABLE `tickets` ADD CONSTRAINT `tickets_event_id_foreign` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`) ON DELETE CASCADE; /*!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 */;
Close