uawdijnntqw1x1x1
IP : 3.141.21.106
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
..
/
proc
/
self
/
root
/
var
/
softaculous
/
raphael
/
.
/
..
/
webasyst
/
..
/
easyapmt
/
easyapmt.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: `easyapmt143` -- -- -------------------------------------------------------- -- -- Table structure for table `ea_appointments` -- CREATE TABLE `ea_appointments` ( `id` int(11) NOT NULL AUTO_INCREMENT, `book_datetime` datetime DEFAULT NULL, `start_datetime` datetime DEFAULT NULL, `end_datetime` datetime DEFAULT NULL, `location` text, `notes` text, `hash` text, `is_unavailable` tinyint(4) NOT NULL DEFAULT '0', `id_users_provider` int(11) DEFAULT NULL, `id_users_customer` int(11) DEFAULT NULL, `id_services` int(11) DEFAULT NULL, `id_google_calendar` text, PRIMARY KEY (`id`), KEY `id_users_provider` (`id_users_provider`), KEY `id_users_customer` (`id_users_customer`), KEY `id_services` (`id_services`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `ea_consents` -- CREATE TABLE `ea_consents` ( `id` int(11) NOT NULL AUTO_INCREMENT, `created` timestamp NULL DEFAULT NULL, `modified` timestamp NULL DEFAULT NULL, `first_name` varchar(256) DEFAULT NULL, `last_name` varchar(256) DEFAULT NULL, `email` varchar(512) DEFAULT NULL, `ip` varchar(256) DEFAULT NULL, `type` varchar(256) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `ea_migrations` -- CREATE TABLE `ea_migrations` ( `version` bigint(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `ea_migrations` -- INSERT INTO `ea_migrations` VALUES (21); -- -------------------------------------------------------- -- -- Table structure for table `ea_roles` -- CREATE TABLE `ea_roles` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(256) DEFAULT NULL, `slug` varchar(256) DEFAULT NULL, `is_admin` tinyint(4) DEFAULT NULL, `appointments` int(11) DEFAULT NULL, `customers` int(11) DEFAULT NULL, `services` int(11) DEFAULT NULL, `users` int(11) DEFAULT NULL, `system_settings` int(11) DEFAULT NULL, `user_settings` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; -- -- Dumping data for table `ea_roles` -- INSERT INTO `ea_roles` VALUES (1, 'Administrator', 'admin', 1, 15, 15, 15, 15, 15, 15), (2, 'Provider', 'provider', 0, 15, 15, 0, 0, 0, 15), (3, 'Customer', 'customer', 0, 0, 0, 0, 0, 0, 0), (4, 'Secretary', 'secretary', 0, 15, 15, 0, 0, 0, 15); -- -------------------------------------------------------- -- -- Table structure for table `ea_secretaries_providers` -- CREATE TABLE `ea_secretaries_providers` ( `id_users_secretary` int(11) NOT NULL, `id_users_provider` int(11) NOT NULL, PRIMARY KEY (`id_users_secretary`,`id_users_provider`), KEY `secretaries_users_provider` (`id_users_provider`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `ea_services` -- CREATE TABLE `ea_services` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(256) DEFAULT NULL, `duration` int(11) DEFAULT NULL, `price` decimal(10,2) DEFAULT NULL, `currency` varchar(32) DEFAULT NULL, `description` text, `location` text, `availabilities_type` varchar(32) DEFAULT 'flexible', `attendants_number` int(11) DEFAULT '1', `id_service_categories` int(11) DEFAULT NULL, PRIMARY KEY (`id`), KEY `id_service_categories` (`id_service_categories`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Dumping data for table `ea_services` -- INSERT INTO `ea_services` VALUES (1, 'Service', 30, '0.00', '', NULL, NULL, 'flexible', 1, NULL); -- -------------------------------------------------------- -- -- Table structure for table `ea_services_providers` -- CREATE TABLE `ea_services_providers` ( `id_users` int(11) NOT NULL, `id_services` int(11) NOT NULL, PRIMARY KEY (`id_users`,`id_services`), KEY `services_providers_services` (`id_services`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `ea_services_providers` -- INSERT INTO `ea_services_providers` VALUES (2, 1); -- -------------------------------------------------------- -- -- Table structure for table `ea_service_categories` -- CREATE TABLE `ea_service_categories` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(256) DEFAULT NULL, `description` text, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `ea_settings` -- CREATE TABLE `ea_settings` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(512) DEFAULT NULL, `value` longtext, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=21 ; -- -- Dumping data for table `ea_settings` -- INSERT INTO `ea_settings` VALUES (1, 'company_working_plan', '{"monday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"tuesday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"wednesday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"thursday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"friday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"saturday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"sunday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]}}'), (2, 'book_advance_timeout', '30'), (3, 'google_analytics_code', ''), (4, 'customer_notifications', '1'), (5, 'date_format', 'DMY'), (6, 'require_captcha', '0'), (7, 'time_format', 'regular'), (8, 'display_cookie_notice', '0'), (9, 'cookie_notice_content', 'Cookie notice content.'), (10, 'display_terms_and_conditions', '0'), (11, 'terms_and_conditions_content', 'Terms and conditions content.'), (12, 'display_privacy_policy', '0'), (13, 'privacy_policy_content', 'Privacy policy content.'), (14, 'first_weekday', 'sunday'), (15, 'require_phone_number', '1'), (16, 'api_token', ''), (17, 'display_any_provider', '1'), (18, 'company_name', '[[site_name]]'), (19, 'company_email', '[[admin_email]]'), (20, 'company_link', '[[softurl]]'); -- -------------------------------------------------------- -- -- Table structure for table `ea_users` -- CREATE TABLE `ea_users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `first_name` varchar(256) DEFAULT NULL, `last_name` varchar(512) DEFAULT NULL, `email` varchar(512) DEFAULT NULL, `mobile_number` varchar(128) DEFAULT NULL, `phone_number` varchar(128) DEFAULT NULL, `address` varchar(256) DEFAULT NULL, `city` varchar(256) DEFAULT NULL, `state` varchar(128) DEFAULT NULL, `zip_code` varchar(64) DEFAULT NULL, `notes` text, `timezone` varchar(256) DEFAULT 'UTC', `language` varchar(256) DEFAULT 'english', `id_roles` int(11) DEFAULT NULL, PRIMARY KEY (`id`), KEY `id_roles` (`id_roles`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; -- -- Dumping data for table `ea_users` -- INSERT INTO `ea_users` VALUES (1, '[[admin_fname]]', '[[admin_lname]]', '[[admin_email]]', NULL, '[[store_phone]]', NULL, NULL, NULL, NULL, NULL, 'UTC', 'english', 1), (2, 'Jane', 'Doe', 'jane@example.org', NULL, '+1 (000) 000-0000', NULL, NULL, NULL, NULL, NULL, 'UTC', 'english', 2), (3, 'James', 'Doe', 'james@example.org', NULL, '+1 (000) 000-0000', NULL, NULL, NULL, NULL, NULL, 'UTC', 'english', 3); -- -------------------------------------------------------- -- -- Table structure for table `ea_user_settings` -- CREATE TABLE `ea_user_settings` ( `id_users` int(11) NOT NULL, `username` varchar(256) DEFAULT NULL, `password` varchar(512) DEFAULT NULL, `salt` varchar(512) DEFAULT NULL, `working_plan` text, `working_plan_exceptions` text, `notifications` tinyint(4) DEFAULT NULL, `google_sync` tinyint(4) DEFAULT NULL, `google_token` text, `google_calendar` varchar(128) DEFAULT NULL, `sync_past_days` int(11) DEFAULT '30', `sync_future_days` int(11) DEFAULT '90', `calendar_view` varchar(32) DEFAULT 'default', PRIMARY KEY (`id_users`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `ea_user_settings` -- INSERT INTO `ea_user_settings` VALUES (1, '[[admin_username]]', '[[admin_pass]]', '[[salt]]', NULL, NULL, 1, NULL, NULL, NULL, 30, 90, 'default'), (2, 'janedoe', '69cf8805d2624840c8499323e4f6240975c39905884f1f92e7ed675995cd9c57', '51ac1539c246686989693819e3d086d9c43b505581caedcddf54faf8d8d2285c', '{"monday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"tuesday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"wednesday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"thursday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"friday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"saturday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"sunday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]}}', NULL, 1, 0, NULL, NULL, 30, 90, 'default'); -- -- Constraints for dumped tables -- -- -- Constraints for table `ea_appointments` -- ALTER TABLE `ea_appointments` ADD CONSTRAINT `appointments_services` FOREIGN KEY (`id_services`) REFERENCES `ea_services` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `appointments_users_customer` FOREIGN KEY (`id_users_customer`) REFERENCES `ea_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `appointments_users_provider` FOREIGN KEY (`id_users_provider`) REFERENCES `ea_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `ea_secretaries_providers` -- ALTER TABLE `ea_secretaries_providers` ADD CONSTRAINT `secretaries_users_provider` FOREIGN KEY (`id_users_provider`) REFERENCES `ea_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `secretaries_users_secretary` FOREIGN KEY (`id_users_secretary`) REFERENCES `ea_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `ea_services` -- ALTER TABLE `ea_services` ADD CONSTRAINT `services_service_categories` FOREIGN KEY (`id_service_categories`) REFERENCES `ea_service_categories` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; -- -- Constraints for table `ea_services_providers` -- ALTER TABLE `ea_services_providers` ADD CONSTRAINT `services_providers_services` FOREIGN KEY (`id_services`) REFERENCES `ea_services` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `services_providers_users_provider` FOREIGN KEY (`id_users`) REFERENCES `ea_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `ea_users` -- ALTER TABLE `ea_users` ADD CONSTRAINT `users_roles` FOREIGN KEY (`id_roles`) REFERENCES `ea_roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `ea_user_settings` -- ALTER TABLE `ea_user_settings` ADD CONSTRAINT `user_settings_users` FOREIGN KEY (`id_users`) REFERENCES `ea_users` (`id`) ON DELETE CASCADE ON UPDATE 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 */;
/home/../proc/self/root/var/softaculous/raphael/./../webasyst/../easyapmt/easyapmt.sql