Add configuration for warranty and payment options, update email templates, and implement marketing file migration
- Created STEP3.txt for business rules and payment configurations. - Modified listPartner function parameter order in functions.php. - Updated invoice email template to reflect new contact details. - Revised PDF invoice template to include updated contact information. - Added user session checks in index.php for improved security. - Introduced marketing_migrate.php to migrate existing marketing files to the database. - Increased max-height of content blocks in admin.css for better UI.
This commit is contained in:
@@ -238,6 +238,7 @@ if (isset($criterias['sn']) && $criterias['sn'] != ''){
|
|||||||
$available_upgrades = 0;
|
$available_upgrades = 0;
|
||||||
$has_priced_options = false;
|
$has_priced_options = false;
|
||||||
$has_latest_version_different = false;
|
$has_latest_version_different = false;
|
||||||
|
$version_details = []; // Track version details for downgrade prevention
|
||||||
|
|
||||||
if (debug) {
|
if (debug) {
|
||||||
$debug['version_checks'] = [];
|
$debug['version_checks'] = [];
|
||||||
@@ -342,6 +343,12 @@ if (isset($criterias['sn']) && $criterias['sn'] != ''){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Store version details for downgrade prevention check (after license application)
|
||||||
|
$version_details[] = [
|
||||||
|
'show_version' => true,
|
||||||
|
'final_price' => $final_price
|
||||||
|
];
|
||||||
|
|
||||||
// Check for priced options
|
// Check for priced options
|
||||||
if ($final_price > 0) {
|
if ($final_price > 0) {
|
||||||
$has_priced_options = true;
|
$has_priced_options = true;
|
||||||
@@ -364,6 +371,48 @@ if (isset($criterias['sn']) && $criterias['sn'] != ''){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//PREVENT DOWNGRADE FROM PAID VERSION TO FREE VERSION (if config enabled)
|
||||||
|
if (defined('PREVENT_PAID_VERSION_DOWNGRADE') && PREVENT_PAID_VERSION_DOWNGRADE && $current_sw_version) {
|
||||||
|
// Check if user is currently on a paid version (check if there was a paid upgrade path TO current version)
|
||||||
|
$sql = 'SELECT COUNT(*) as paid_to_current
|
||||||
|
FROM products_software_upgrade_paths pup
|
||||||
|
JOIN products_software_versions to_ver ON pup.to_version_id = to_ver.rowID
|
||||||
|
WHERE LOWER(TRIM(LEADING "0" FROM to_ver.version)) = ?
|
||||||
|
AND pup.price > 0
|
||||||
|
AND pup.is_active = 1';
|
||||||
|
$stmt = $pdo->prepare($sql);
|
||||||
|
$stmt->execute([$current_sw_version]);
|
||||||
|
$paid_check = $stmt->fetch(PDO::FETCH_ASSOC);
|
||||||
|
$is_current_paid_version = ($paid_check['paid_to_current'] > 0);
|
||||||
|
|
||||||
|
if (debug) {
|
||||||
|
$debug['downgrade_prevention'] = [
|
||||||
|
'enabled' => true,
|
||||||
|
'current_version' => $current_sw_version,
|
||||||
|
'is_current_paid_version' => $is_current_paid_version
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
// If current version is paid, recalculate available_upgrades excluding free versions
|
||||||
|
if ($is_current_paid_version) {
|
||||||
|
$available_upgrades_before = $available_upgrades;
|
||||||
|
$available_upgrades = 0;
|
||||||
|
|
||||||
|
// Recount only paid upgrades (exclude free versions)
|
||||||
|
foreach ($version_details as $detail) {
|
||||||
|
if ($detail['show_version'] && floatval($detail['final_price']) > 0) {
|
||||||
|
$available_upgrades++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (debug) {
|
||||||
|
$debug['downgrade_prevention']['available_upgrades_before'] = $available_upgrades_before;
|
||||||
|
$debug['downgrade_prevention']['available_upgrades_after'] = $available_upgrades;
|
||||||
|
$debug['downgrade_prevention']['message'] = 'Excluded free versions to prevent downgrade from paid version';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Simple logic: if any upgrades are available to show, return "yes"
|
// Simple logic: if any upgrades are available to show, return "yes"
|
||||||
if ($available_upgrades > 0) {
|
if ($available_upgrades > 0) {
|
||||||
$software_available = "yes";
|
$software_available = "yes";
|
||||||
|
|||||||
@@ -441,6 +441,46 @@ if (isset($criterias['sn']) && $criterias['sn'] != ''){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//PREVENT DOWNGRADE FROM PAID VERSION TO FREE VERSION (if config enabled)
|
||||||
|
if (defined('PREVENT_PAID_VERSION_DOWNGRADE') && PREVENT_PAID_VERSION_DOWNGRADE && $current_sw_version) {
|
||||||
|
// Check if user is currently on a paid version (check if there was a paid upgrade path TO current version)
|
||||||
|
$sql = 'SELECT COUNT(*) as paid_to_current
|
||||||
|
FROM products_software_upgrade_paths pup
|
||||||
|
JOIN products_software_versions to_ver ON pup.to_version_id = to_ver.rowID
|
||||||
|
WHERE LOWER(TRIM(LEADING "0" FROM to_ver.version)) = ?
|
||||||
|
AND pup.price > 0
|
||||||
|
AND pup.is_active = 1';
|
||||||
|
$stmt = $pdo->prepare($sql);
|
||||||
|
$stmt->execute([$current_sw_version]);
|
||||||
|
$paid_check = $stmt->fetch(PDO::FETCH_ASSOC);
|
||||||
|
$is_current_paid_version = ($paid_check['paid_to_current'] > 0);
|
||||||
|
|
||||||
|
if (debug) {
|
||||||
|
$debug['downgrade_prevention'] = [
|
||||||
|
'enabled' => true,
|
||||||
|
'current_version' => $current_sw_version,
|
||||||
|
'is_current_paid_version' => $is_current_paid_version
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
// If current version is paid, remove all free versions from the output (except current)
|
||||||
|
if ($is_current_paid_version) {
|
||||||
|
$output = array_filter($output, function($option) {
|
||||||
|
$price = floatval($option['price']);
|
||||||
|
$is_current = $option['is_current'];
|
||||||
|
// Keep if it's the current version OR if it's a paid version
|
||||||
|
return $is_current || $price > 0;
|
||||||
|
});
|
||||||
|
// Re-index array after filtering
|
||||||
|
$output = array_values($output);
|
||||||
|
|
||||||
|
if (debug) {
|
||||||
|
$debug['downgrade_prevention']['filtered_count'] = count($output);
|
||||||
|
$debug['downgrade_prevention']['message'] = 'Removed free versions to prevent downgrade from paid version';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//GENERATE DOWNLOAD TOKENS FOR EACH OPTION
|
//GENERATE DOWNLOAD TOKENS FOR EACH OPTION
|
||||||
foreach ($output as &$option) {
|
foreach ($output as &$option) {
|
||||||
// Generate time-based download token
|
// Generate time-based download token
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ if (isset($post_content['batch_update']) && isset($post_content['user_id']) && i
|
|||||||
if ($existing){
|
if ($existing){
|
||||||
//Reactivate existing assignment
|
//Reactivate existing assignment
|
||||||
$stmt = $pdo->prepare('UPDATE user_role_assignments SET is_active = 1, assigned_by = ?, assigned_at = ?, updatedby = ?, updated = ? WHERE rowID = ?');
|
$stmt = $pdo->prepare('UPDATE user_role_assignments SET is_active = 1, assigned_by = ?, assigned_at = ?, updatedby = ?, updated = ? WHERE rowID = ?');
|
||||||
$stmt->execute([$username, $date, $username, $date, $$username]);
|
$stmt->execute([$username, $date, $username, $date, $existing['rowID']]);
|
||||||
} else {
|
} else {
|
||||||
//Create new assignment
|
//Create new assignment
|
||||||
$stmt = $pdo->prepare('INSERT INTO user_role_assignments (user_id, role_id, is_active, assigned_by, assigned_at, created, createdby) VALUES (?, ?, 1, ?, ?, ?, ?)');
|
$stmt = $pdo->prepare('INSERT INTO user_role_assignments (user_id, role_id, is_active, assigned_by, assigned_at, created, createdby) VALUES (?, ?, 1, ?, ?, ?, ?)');
|
||||||
|
|||||||
532
assets/database/STEP 1.sql
Normal file
532
assets/database/STEP 1.sql
Normal file
@@ -0,0 +1,532 @@
|
|||||||
|
-- ============================================================================
|
||||||
|
-- ACCURATE MIGRATION SCRIPT: Based on DBeaver Comparison
|
||||||
|
-- ============================================================================
|
||||||
|
-- Source: VELITI_Test (Dev)
|
||||||
|
-- Target: TSSProduct (Production)
|
||||||
|
-- Based on: DBeaver comparison with TSSProduct_test
|
||||||
|
-- Date: 2026-01-30
|
||||||
|
--
|
||||||
|
-- CRITICAL: BACKUP YOUR PRODUCTION DATABASE BEFORE RUNNING THIS SCRIPT!
|
||||||
|
-- ============================================================================
|
||||||
|
|
||||||
|
SET FOREIGN_KEY_CHECKS=0;
|
||||||
|
SET SQL_MODE='NO_AUTO_VALUE_ON_ZERO';
|
||||||
|
|
||||||
|
-- ============================================================================
|
||||||
|
-- SECTION 1: ALTER EXISTING TABLES
|
||||||
|
-- ============================================================================
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: contracts
|
||||||
|
-- Change: start_date from NULL to NOT NULL
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
ALTER TABLE `contracts`
|
||||||
|
MODIFY COLUMN `start_date` date NOT NULL;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: equipment
|
||||||
|
-- Changes: Add 2 new columns + indexes
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
ALTER TABLE `equipment`
|
||||||
|
ADD COLUMN `order_send_date` date DEFAULT NULL COMMENT 'Date when order was sent' AFTER `warranty_date`,
|
||||||
|
ADD COLUMN `sw_version_license` varchar(36) DEFAULT NULL COMMENT 'Software license key reference' AFTER `sw_version_latest`,
|
||||||
|
ADD INDEX `idx_sw_version_license` (`sw_version_license`),
|
||||||
|
ADD INDEX `idx_sw_version` (`sw_version`);
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: partner
|
||||||
|
-- Changes: Add 8 new columns
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
ALTER TABLE `partner`
|
||||||
|
ADD COLUMN `is_dealer` tinyint(1) NOT NULL DEFAULT 0 AFTER `status`,
|
||||||
|
ADD COLUMN `name` varchar(512) DEFAULT NULL AFTER `is_dealer`,
|
||||||
|
ADD COLUMN `address` varchar(255) DEFAULT NULL AFTER `name`,
|
||||||
|
ADD COLUMN `city` varchar(100) DEFAULT NULL AFTER `address`,
|
||||||
|
ADD COLUMN `postalcode` varchar(20) DEFAULT NULL AFTER `city`,
|
||||||
|
ADD COLUMN `country` varchar(255) DEFAULT NULL AFTER `postalcode`,
|
||||||
|
ADD COLUMN `email` varchar(255) DEFAULT NULL AFTER `country`,
|
||||||
|
ADD COLUMN `phone` varchar(50) DEFAULT NULL AFTER `email`;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: products
|
||||||
|
-- Changes: Add 4 new columns + 2 indexes
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
ALTER TABLE `products`
|
||||||
|
ADD COLUMN `quantity` int(11) DEFAULT NULL AFTER `price`,
|
||||||
|
ADD COLUMN `configurable` int(11) DEFAULT NULL AFTER `quantity`,
|
||||||
|
ADD COLUMN `url_slug` varchar(255) NOT NULL DEFAULT '' AFTER `configurable`,
|
||||||
|
ADD COLUMN `product_media` int(11) DEFAULT NULL AFTER `url_slug`,
|
||||||
|
ADD INDEX `idx_url_slug` (`url_slug`),
|
||||||
|
ADD INDEX `idx_configurable` (`configurable`);
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: products_versions
|
||||||
|
-- Changes: Add 1 column, remove 1 column
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
ALTER TABLE `products_versions`
|
||||||
|
ADD COLUMN `config` text DEFAULT NULL AFTER `version`,
|
||||||
|
DROP COLUMN `software`;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: transactions
|
||||||
|
-- Changes: Add 1 new column
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
ALTER TABLE `transactions`
|
||||||
|
ADD COLUMN `vat_number` varchar(255) DEFAULT NULL AFTER `accounthierarchy`;
|
||||||
|
|
||||||
|
-- ============================================================================
|
||||||
|
-- SECTION 2: CREATE NEW TABLES (16 tables)
|
||||||
|
-- ============================================================================
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: access_elements
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `access_elements` (
|
||||||
|
`rowID` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`access_name` varchar(100) NOT NULL,
|
||||||
|
`access_path` varchar(255) NOT NULL,
|
||||||
|
`description` text DEFAULT NULL,
|
||||||
|
`is_active` tinyint(1) NOT NULL DEFAULT 1,
|
||||||
|
`created` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(255) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(255) DEFAULT NULL,
|
||||||
|
`access_group` varchar(100) NOT NULL,
|
||||||
|
PRIMARY KEY (`rowID`),
|
||||||
|
UNIQUE KEY `unique_access_path` (`access_path`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=265 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: dealers
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `dealers` (
|
||||||
|
`rowID` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`status` int(11) NOT NULL,
|
||||||
|
`name` varchar(512) DEFAULT NULL,
|
||||||
|
`usp1` varchar(512) DEFAULT NULL,
|
||||||
|
`usp2` varchar(512) DEFAULT NULL,
|
||||||
|
`usp3` varchar(512) DEFAULT NULL,
|
||||||
|
`short_description` text NOT NULL,
|
||||||
|
`long_description` blob NOT NULL,
|
||||||
|
`address` varchar(512) NOT NULL,
|
||||||
|
`postalcode` varchar(256) NOT NULL,
|
||||||
|
`city` varchar(512) NOT NULL,
|
||||||
|
`state` varchar(256) NOT NULL,
|
||||||
|
`country` varchar(512) NOT NULL,
|
||||||
|
`opening_hours` varchar(256) NOT NULL,
|
||||||
|
`lat` decimal(10,8) NOT NULL,
|
||||||
|
`lng` decimal(11,8) NOT NULL,
|
||||||
|
`url` varchar(512) NOT NULL,
|
||||||
|
`rating_overall` varchar(256) NOT NULL,
|
||||||
|
`rating_website` varchar(256) NOT NULL,
|
||||||
|
`garden_center` int(11) NOT NULL,
|
||||||
|
`brand_type` int(11) NOT NULL,
|
||||||
|
`showroom_size` int(11) NOT NULL,
|
||||||
|
`locations` int(11) NOT NULL,
|
||||||
|
`focus_offering` int(11) NOT NULL,
|
||||||
|
`dealer_type` int(11) NOT NULL,
|
||||||
|
`dealer_slug` varchar(256) NOT NULL,
|
||||||
|
`dealer_media` int(11) DEFAULT NULL,
|
||||||
|
`created` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(255) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(255) DEFAULT NULL,
|
||||||
|
`accounthierarchy` varchar(1024) DEFAULT NULL,
|
||||||
|
`email` varchar(512) DEFAULT NULL,
|
||||||
|
`phone` varchar(50) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`rowID`),
|
||||||
|
UNIQUE KEY `dealer_slug` (`dealer_slug`),
|
||||||
|
KEY `idx_status` (`status`),
|
||||||
|
KEY `idx_location` (`lat`,`lng`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: dealers_media
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `dealers_media` (
|
||||||
|
`rowID` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`dealer_id` int(11) NOT NULL,
|
||||||
|
`media_id` int(11) NOT NULL,
|
||||||
|
`position` int(11) NOT NULL,
|
||||||
|
`created` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(255) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`rowID`),
|
||||||
|
KEY `idx_dealer` (`dealer_id`),
|
||||||
|
KEY `idx_media` (`media_id`),
|
||||||
|
KEY `idx_position` (`position`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: download_tokens
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `download_tokens` (
|
||||||
|
`rowID` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`token` varchar(64) NOT NULL,
|
||||||
|
`software_version_id` int(11) NOT NULL,
|
||||||
|
`user_id` varchar(255) DEFAULT NULL,
|
||||||
|
`equipment_id` int(11) DEFAULT NULL,
|
||||||
|
`expires_at` datetime NOT NULL,
|
||||||
|
`is_used` tinyint(1) DEFAULT 0,
|
||||||
|
`used_at` timestamp NULL DEFAULT NULL,
|
||||||
|
`ip_address` varchar(45) DEFAULT NULL,
|
||||||
|
`user_agent` text DEFAULT NULL,
|
||||||
|
`created` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
PRIMARY KEY (`rowID`),
|
||||||
|
UNIQUE KEY `token` (`token`),
|
||||||
|
KEY `idx_software_version` (`software_version_id`),
|
||||||
|
KEY `idx_expires` (`expires_at`),
|
||||||
|
KEY `idx_used` (`is_used`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: marketing_tags
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `marketing_tags` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`tag_name` varchar(100) NOT NULL,
|
||||||
|
`created` timestamp NOT NULL DEFAULT current_timestamp(),
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `tag_name` (`tag_name`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: marketing_folders
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `marketing_folders` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`folder_name` varchar(255) NOT NULL,
|
||||||
|
`parent_id` int(11) DEFAULT NULL,
|
||||||
|
`description` text DEFAULT NULL,
|
||||||
|
`created` timestamp NOT NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(100) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(100) DEFAULT NULL,
|
||||||
|
`accounthierarchy` text DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `parent_id` (`parent_id`),
|
||||||
|
KEY `accounthierarchy_idx` (`accounthierarchy`(100)),
|
||||||
|
CONSTRAINT `fk_marketing_folders_parent` FOREIGN KEY (`parent_id`) REFERENCES `marketing_folders` (`id`) ON DELETE CASCADE
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: marketing_files
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `marketing_files` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`title` varchar(255) NOT NULL,
|
||||||
|
`original_filename` varchar(255) NOT NULL,
|
||||||
|
`file_path` varchar(500) NOT NULL,
|
||||||
|
`thumbnail_path` varchar(500) DEFAULT NULL,
|
||||||
|
`file_type` varchar(10) NOT NULL,
|
||||||
|
`file_size` bigint(20) NOT NULL DEFAULT 0,
|
||||||
|
`folder_id` int(11) DEFAULT NULL,
|
||||||
|
`tags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tags`)),
|
||||||
|
`created` timestamp NOT NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(100) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(100) DEFAULT NULL,
|
||||||
|
`accounthierarchy` text DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `folder_id` (`folder_id`),
|
||||||
|
KEY `file_type` (`file_type`),
|
||||||
|
KEY `accounthierarchy_idx` (`accounthierarchy`(100)),
|
||||||
|
KEY `created_idx` (`created`),
|
||||||
|
CONSTRAINT `fk_marketing_files_folder` FOREIGN KEY (`folder_id`) REFERENCES `marketing_folders` (`id`) ON DELETE SET NULL
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: marketing_file_tags
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `marketing_file_tags` (
|
||||||
|
`file_id` int(11) NOT NULL,
|
||||||
|
`tag_id` int(11) NOT NULL,
|
||||||
|
PRIMARY KEY (`file_id`,`tag_id`),
|
||||||
|
KEY `file_id` (`file_id`),
|
||||||
|
KEY `tag_id` (`tag_id`),
|
||||||
|
CONSTRAINT `fk_marketing_file_tags_file` FOREIGN KEY (`file_id`) REFERENCES `marketing_files` (`id`) ON DELETE CASCADE,
|
||||||
|
CONSTRAINT `fk_marketing_file_tags_tag` FOREIGN KEY (`tag_id`) REFERENCES `marketing_tags` (`id`) ON DELETE CASCADE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: products_software_versions
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `products_software_versions` (
|
||||||
|
`rowID` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`name` varchar(255) NOT NULL,
|
||||||
|
`version` varchar(50) NOT NULL,
|
||||||
|
`description` text DEFAULT NULL,
|
||||||
|
`mandatory` int(11) DEFAULT NULL,
|
||||||
|
`latest` int(11) DEFAULT NULL,
|
||||||
|
`hw_version` varchar(255) DEFAULT NULL,
|
||||||
|
`file_path` varchar(500) DEFAULT NULL,
|
||||||
|
`status` int(11) NOT NULL DEFAULT 0,
|
||||||
|
`accounthierarchy` varchar(1024) DEFAULT NULL,
|
||||||
|
`created` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(255) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`rowID`),
|
||||||
|
KEY `idx_accounthierarchy` (`accounthierarchy`(255))
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=10000010 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: products_software_assignment
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `products_software_assignment` (
|
||||||
|
`rowID` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`product_id` int(11) NOT NULL,
|
||||||
|
`software_version_id` int(11) NOT NULL,
|
||||||
|
`assignment_type` int(11) DEFAULT 1,
|
||||||
|
`is_default` tinyint(1) DEFAULT 0,
|
||||||
|
`status` int(11) DEFAULT 1,
|
||||||
|
`accounthierarchy` varchar(1024) DEFAULT NULL,
|
||||||
|
`created` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(255) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`rowID`),
|
||||||
|
KEY `idx_product_software` (`product_id`,`software_version_id`),
|
||||||
|
KEY `idx_default` (`is_default`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: products_software_licenses
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `products_software_licenses` (
|
||||||
|
`rowID` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`version_id` int(11) NOT NULL,
|
||||||
|
`license_type` int(11) NOT NULL DEFAULT 0,
|
||||||
|
`license_key` varchar(36) NOT NULL,
|
||||||
|
`status` int(11) NOT NULL DEFAULT 0,
|
||||||
|
`starts_at` datetime DEFAULT NULL,
|
||||||
|
`expires_at` datetime DEFAULT NULL,
|
||||||
|
`transaction_id` varchar(36) DEFAULT NULL,
|
||||||
|
`accounthierarchy` varchar(1024) DEFAULT NULL,
|
||||||
|
`created` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(255) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`rowID`),
|
||||||
|
UNIQUE KEY `unique_license_key` (`license_key`),
|
||||||
|
KEY `idx_version_id` (`version_id`),
|
||||||
|
KEY `idx_status` (`status`),
|
||||||
|
KEY `idx_accounthierarchy` (`accounthierarchy`(255)),
|
||||||
|
CONSTRAINT `fk_user_license_version` FOREIGN KEY (`version_id`) REFERENCES `products_software_versions` (`rowID`) ON DELETE CASCADE
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: products_software_upgrade_paths
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `products_software_upgrade_paths` (
|
||||||
|
`rowID` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`from_version_id` int(11) NOT NULL,
|
||||||
|
`to_version_id` int(11) NOT NULL,
|
||||||
|
`upgrade_type` enum('direct','path') NOT NULL DEFAULT 'direct',
|
||||||
|
`price` decimal(10,2) DEFAULT NULL,
|
||||||
|
`currency` varchar(3) DEFAULT 'USD',
|
||||||
|
`description` text DEFAULT NULL,
|
||||||
|
`is_active` tinyint(1) NOT NULL DEFAULT 1,
|
||||||
|
`accounthierarchy` varchar(1024) DEFAULT NULL,
|
||||||
|
`created` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(255) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`rowID`),
|
||||||
|
UNIQUE KEY `unique_upgrade_path` (`from_version_id`,`to_version_id`),
|
||||||
|
KEY `idx_from_version` (`from_version_id`),
|
||||||
|
KEY `idx_to_version` (`to_version_id`),
|
||||||
|
KEY `idx_upgrade_type` (`upgrade_type`),
|
||||||
|
KEY `idx_is_active` (`is_active`),
|
||||||
|
KEY `idx_accounthierarchy` (`accounthierarchy`(255)),
|
||||||
|
CONSTRAINT `fk_upgrade_from_version` FOREIGN KEY (`from_version_id`) REFERENCES `products_software_versions` (`rowID`) ON DELETE CASCADE,
|
||||||
|
CONSTRAINT `fk_upgrade_to_version` FOREIGN KEY (`to_version_id`) REFERENCES `products_software_versions` (`rowID`) ON DELETE CASCADE
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: user_roles
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `user_roles` (
|
||||||
|
`rowID` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`name` varchar(100) NOT NULL,
|
||||||
|
`description` text DEFAULT NULL,
|
||||||
|
`is_active` tinyint(1) NOT NULL DEFAULT 1,
|
||||||
|
`created` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(255) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(255) DEFAULT NULL,
|
||||||
|
`is_system` tinyint(1) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`rowID`),
|
||||||
|
UNIQUE KEY `unique_role_name` (`name`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: role_access_permissions
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `role_access_permissions` (
|
||||||
|
`rowID` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`role_id` int(11) NOT NULL,
|
||||||
|
`access_id` int(11) NOT NULL,
|
||||||
|
`can_create` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
|
`can_read` tinyint(1) NOT NULL DEFAULT 1,
|
||||||
|
`can_update` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
|
`can_delete` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
|
`created` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(255) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`rowID`),
|
||||||
|
UNIQUE KEY `unique_role_view` (`role_id`,`access_id`),
|
||||||
|
KEY `access_id` (`access_id`),
|
||||||
|
CONSTRAINT `role_view_permissions_ibfk_1` FOREIGN KEY (`role_id`) REFERENCES `user_roles` (`rowID`) ON DELETE CASCADE,
|
||||||
|
CONSTRAINT `role_view_permissions_ibfk_2` FOREIGN KEY (`access_id`) REFERENCES `access_elements` (`rowID`) ON DELETE CASCADE
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=1071 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: user_role_assignments
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `user_role_assignments` (
|
||||||
|
`rowID` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`user_id` int(11) NOT NULL,
|
||||||
|
`role_id` int(11) NOT NULL,
|
||||||
|
`is_active` tinyint(1) NOT NULL DEFAULT 1,
|
||||||
|
`assigned_by` varchar(255) DEFAULT NULL,
|
||||||
|
`assigned_at` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
`expires_at` timestamp NULL DEFAULT NULL,
|
||||||
|
`created` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(255) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`rowID`),
|
||||||
|
UNIQUE KEY `unique_user_role_active` (`user_id`,`role_id`,`is_active`),
|
||||||
|
KEY `role_id` (`role_id`),
|
||||||
|
CONSTRAINT `user_role_assignments_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||||||
|
CONSTRAINT `user_role_assignments_ibfk_2` FOREIGN KEY (`role_id`) REFERENCES `user_roles` (`rowID`) ON DELETE CASCADE
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=326 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
-- Table: download_logs (requires download_tokens, users, products_software_versions)
|
||||||
|
-- ----------------------------------------------------------------------------
|
||||||
|
CREATE TABLE `download_logs` (
|
||||||
|
`rowID` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`user_id` int(11) NOT NULL,
|
||||||
|
`version_id` int(11) NOT NULL,
|
||||||
|
`token_id` int(11) DEFAULT NULL,
|
||||||
|
`downloaded_at` datetime NOT NULL,
|
||||||
|
`ip_address` varchar(45) DEFAULT NULL,
|
||||||
|
`user_agent` text DEFAULT NULL,
|
||||||
|
`file_size` bigint(20) DEFAULT NULL,
|
||||||
|
`download_time_seconds` int(11) DEFAULT NULL,
|
||||||
|
`status` enum('success','failed','partial') NOT NULL DEFAULT 'success',
|
||||||
|
`error_message` text DEFAULT NULL,
|
||||||
|
`accounthierarchy` varchar(1024) DEFAULT NULL,
|
||||||
|
`created` timestamp NULL DEFAULT current_timestamp(),
|
||||||
|
`createdby` varchar(255) DEFAULT NULL,
|
||||||
|
`updated` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
|
`updatedby` varchar(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`rowID`),
|
||||||
|
KEY `idx_user_id` (`user_id`),
|
||||||
|
KEY `idx_version_id` (`version_id`),
|
||||||
|
KEY `idx_token_id` (`token_id`),
|
||||||
|
KEY `idx_downloaded_at` (`downloaded_at`),
|
||||||
|
KEY `idx_status` (`status`),
|
||||||
|
KEY `idx_accounthierarchy` (`accounthierarchy`(255)),
|
||||||
|
CONSTRAINT `fk_download_log_token` FOREIGN KEY (`token_id`) REFERENCES `download_tokens` (`rowID`) ON DELETE SET NULL,
|
||||||
|
CONSTRAINT `fk_download_log_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
|
||||||
|
CONSTRAINT `fk_download_log_version` FOREIGN KEY (`version_id`) REFERENCES `products_software_versions` (`rowID`) ON DELETE CASCADE
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=168 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
-- ============================================================================
|
||||||
|
-- SECTION 3: CREATE STORED PROCEDURE (if not exists)
|
||||||
|
-- Note: DEFINER removed - will use current user permissions
|
||||||
|
-- ============================================================================
|
||||||
|
|
||||||
|
DELIMITER $$
|
||||||
|
|
||||||
|
DROP PROCEDURE IF EXISTS `extract_git_commit`$$
|
||||||
|
|
||||||
|
CREATE PROCEDURE `extract_git_commit`(
|
||||||
|
IN input_string TEXT,
|
||||||
|
OUT commit_hash VARCHAR(40)
|
||||||
|
)
|
||||||
|
BEGIN
|
||||||
|
DECLARE start_pos INT;
|
||||||
|
DECLARE end_pos INT;
|
||||||
|
|
||||||
|
SET start_pos = LOCATE('commit ', input_string);
|
||||||
|
|
||||||
|
IF start_pos > 0 THEN
|
||||||
|
SET start_pos = start_pos + 7;
|
||||||
|
SET end_pos = LOCATE(' ', input_string, start_pos);
|
||||||
|
|
||||||
|
IF end_pos = 0 THEN
|
||||||
|
SET end_pos = LENGTH(input_string) + 1;
|
||||||
|
END IF;
|
||||||
|
|
||||||
|
SET commit_hash = SUBSTRING(input_string, start_pos, end_pos - start_pos);
|
||||||
|
ELSE
|
||||||
|
SET commit_hash = NULL;
|
||||||
|
END IF;
|
||||||
|
END$$
|
||||||
|
|
||||||
|
DELIMITER ;
|
||||||
|
|
||||||
|
-- ============================================================================
|
||||||
|
-- SECTION 4: VERIFICATION
|
||||||
|
-- ============================================================================
|
||||||
|
|
||||||
|
-- Verify new tables
|
||||||
|
SELECT 'NEW TABLES CREATED:' as Status;
|
||||||
|
SELECT TABLE_NAME
|
||||||
|
FROM information_schema.TABLES
|
||||||
|
WHERE TABLE_SCHEMA = DATABASE()
|
||||||
|
AND TABLE_NAME IN (
|
||||||
|
'access_elements', 'dealers', 'dealers_media', 'download_tokens',
|
||||||
|
'download_logs', 'marketing_tags', 'marketing_folders', 'marketing_files',
|
||||||
|
'marketing_file_tags', 'products_software_versions', 'products_software_assignment',
|
||||||
|
'products_software_licenses', 'products_software_upgrade_paths',
|
||||||
|
'user_roles', 'role_access_permissions', 'user_role_assignments'
|
||||||
|
)
|
||||||
|
ORDER BY TABLE_NAME;
|
||||||
|
|
||||||
|
-- Verify altered tables
|
||||||
|
SELECT 'ALTERED TABLES - NEW COLUMNS:' as Status;
|
||||||
|
SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE
|
||||||
|
FROM information_schema.COLUMNS
|
||||||
|
WHERE TABLE_SCHEMA = DATABASE()
|
||||||
|
AND (
|
||||||
|
(TABLE_NAME = 'equipment' AND COLUMN_NAME IN ('order_send_date', 'sw_version_license'))
|
||||||
|
OR (TABLE_NAME = 'partner' AND COLUMN_NAME IN ('is_dealer', 'name', 'address', 'city', 'postalcode', 'country', 'email', 'phone'))
|
||||||
|
OR (TABLE_NAME = 'products' AND COLUMN_NAME IN ('quantity', 'configurable', 'url_slug', 'product_media'))
|
||||||
|
OR (TABLE_NAME = 'products_versions' AND COLUMN_NAME = 'config')
|
||||||
|
OR (TABLE_NAME = 'transactions' AND COLUMN_NAME = 'vat_number')
|
||||||
|
)
|
||||||
|
ORDER BY TABLE_NAME, COLUMN_NAME;
|
||||||
|
|
||||||
|
SET FOREIGN_KEY_CHECKS=1;
|
||||||
|
|
||||||
|
-- ============================================================================
|
||||||
|
-- MIGRATION COMPLETE
|
||||||
|
-- ============================================================================
|
||||||
|
SELECT '========================================' as Status;
|
||||||
|
SELECT 'MIGRATION COMPLETED SUCCESSFULLY!' as Status;
|
||||||
|
SELECT '========================================' as Status;
|
||||||
|
SELECT CONCAT('Total tables in database: ', COUNT(*)) as Status
|
||||||
|
FROM information_schema.TABLES
|
||||||
|
WHERE TABLE_SCHEMA = DATABASE();
|
||||||
|
|
||||||
|
-- ============================================================================
|
||||||
|
-- POST-MIGRATION CHECKLIST
|
||||||
|
-- ============================================================================
|
||||||
|
-- [ ] Verify all 16 new tables exist
|
||||||
|
-- [ ] Verify contracts.start_date is NOT NULL
|
||||||
|
-- [ ] Verify equipment has order_send_date, sw_version_license + indexes
|
||||||
|
-- [ ] Verify partner has 8 new columns
|
||||||
|
-- [ ] Verify products has 4 new columns + 2 indexes
|
||||||
|
-- [ ] Verify products_versions has config column (software removed)
|
||||||
|
-- [ ] Verify transactions has vat_number column
|
||||||
|
-- [ ] Test application functionality
|
||||||
|
-- [ ] Monitor for errors
|
||||||
|
-- [ ] Keep backup for at least 7 days
|
||||||
|
-- ============================================================================
|
||||||
923
assets/database/STEP 2.sql
Normal file
923
assets/database/STEP 2.sql
Normal file
@@ -0,0 +1,923 @@
|
|||||||
|
SET FOREIGN_KEY_CHECKS=0;
|
||||||
|
-- Clear existing data
|
||||||
|
TRUNCATE TABLE `role_access_permissions`;
|
||||||
|
TRUNCATE TABLE `user_roles`;
|
||||||
|
TRUNCATE TABLE `access_elements`;
|
||||||
|
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Access Element','access_element','Auto-scanned: access_element',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Access Element Manage','access_element_manage','Auto-scanned: access_element_manage',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Access Elements','access_elements','Auto-scanned: access_elements',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Account','account','Auto-scanned: account',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Account Manage','account_manage','Auto-scanned: account_manage',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Accounts','accounts','Auto-scanned: accounts',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Api','api','Auto-scanned: api',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Buildtool','buildtool','Auto-scanned: buildtool',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Cartest','cartest','Auto-scanned: cartest',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Cartest Manage','cartest_manage','Auto-scanned: cartest_manage',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Cartests','cartests','Auto-scanned: cartests',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Catalog','catalog','Auto-scanned: catalog',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Categories','categories','Auto-scanned: categories',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Category','category','Auto-scanned: category',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Communication','communication','Auto-scanned: communication',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Communication Send','communication_send','Auto-scanned: communication_send',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Communications','communications','Auto-scanned: communications',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Contract','contract','Auto-scanned: contract',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Contract Manage','contract_manage','Auto-scanned: contract_manage',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Contracts','contracts','Auto-scanned: contracts',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Cronjob','cronjob','Auto-scanned: cronjob',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Dashboard','dashboard','Auto-scanned: dashboard',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Dealer','dealer','Auto-scanned: dealer',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Dealer Manage','dealer_manage','Auto-scanned: dealer_manage',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Dealers','dealers','Auto-scanned: dealers',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Discount','discount','Auto-scanned: discount',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Discounts','discounts','Auto-scanned: discounts',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Equipment','equipment','Auto-scanned: equipment',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Equipment Data','equipment_data','Auto-scanned: equipment_data',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Equipment Manage','equipment_manage','Auto-scanned: equipment_manage',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Equipments','equipments','Auto-scanned: equipments',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Equipments Mass Update','equipments_mass_update','Auto-scanned: equipments_mass_update',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Factuur','factuur','Auto-scanned: factuur',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Firmwaretool','firmwaretool','Auto-scanned: firmwaretool',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Histories','histories','Auto-scanned: histories',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('History','history','Auto-scanned: history',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('History Manage','history_manage','Auto-scanned: history_manage',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Initialize','initialize','Auto-scanned: initialize',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Language','language','Auto-scanned: language',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Licenses','licenses','Auto-scanned: licenses',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Logfile','logfile','Auto-scanned: logfile',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Maintenance','maintenance','Auto-scanned: maintenance',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Marketing','marketing','Auto-scanned: marketing',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Marketing Migrate','marketing_migrate','Auto-scanned: marketing_migrate',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Media','media','Auto-scanned: media',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Media Manage','media_manage','Auto-scanned: media_manage',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Media Scanner','media_scanner','Auto-scanned: media_scanner',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Order','order','Auto-scanned: order',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Orders','orders','Auto-scanned: orders',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Partner','partner','Auto-scanned: partner',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Partners','partners','Auto-scanned: partners',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Pricelists','pricelists','Auto-scanned: pricelists',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Pricelists Manage','pricelists_manage','Auto-scanned: pricelists_manage',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Product','product','Auto-scanned: product',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Product Manage','product_manage','Auto-scanned: product_manage',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Products','products','Auto-scanned: products',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Products Attributes','products_attributes','Auto-scanned: products_attributes',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Products Attributes Manage','products_attributes_manage','Auto-scanned: products_attributes_manage',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Products Configurations','products_configurations','Auto-scanned: products_configurations',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views'),
|
||||||
|
('Products Software','products_software','Auto-scanned: products_software',1,'2026-01-18 18:49:49','0','2026-01-18 18:49:49',NULL,'Views');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Products Software Assignments','products_software_assignments','Auto-scanned: products_software_assignments',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Products Software Upgrade Paths Manage','products_software_upgrade_paths_manage','Auto-scanned: products_software_upgrade_paths_manage',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Products Software Version','products_software_version','Auto-scanned: products_software_version',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Products Software Version Manage','products_software_version_manage','Auto-scanned: products_software_version_manage',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Products Software Versions','products_software_versions','Auto-scanned: products_software_versions',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Products Versions','products_versions','Auto-scanned: products_versions',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Profile','profile','Auto-scanned: profile',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Profiles','profiles','Auto-scanned: profiles',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Register','register','Auto-scanned: register',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Render Service Report','render_service_report','Auto-scanned: render_service_report',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Report Build','report_build','Auto-scanned: report_build',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Report Builder','report_builder','Auto-scanned: report_builder',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Report Contracts Billing','report_contracts_billing','Auto-scanned: report_contracts_billing',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Report Healthindex','report_healthindex','Auto-scanned: report_healthindex',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Report Usage','report_usage','Auto-scanned: report_usage',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Reset','reset','Auto-scanned: reset',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Rma','rma','Auto-scanned: rma',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Rma Manage','rma_manage','Auto-scanned: rma_manage',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Rmas','rmas','Auto-scanned: rmas',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Security','security','Auto-scanned: security',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Servicereport','servicereport','Auto-scanned: servicereport',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Servicereports','servicereports','Auto-scanned: servicereports',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Settings','settings','Auto-scanned: settings',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Shipping','shipping','Auto-scanned: shipping',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Shipping Manage','shipping_manage','Auto-scanned: shipping_manage',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Softwaretool','softwaretool','Auto-scanned: softwaretool',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Tax','tax','Auto-scanned: tax',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Taxes','taxes','Auto-scanned: taxes',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Translation Manage','translation_manage','Auto-scanned: translation_manage',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Translations','translations','Auto-scanned: translations',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Unscribe','unscribe','Auto-scanned: unscribe',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Uploader','uploader','Auto-scanned: uploader',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('User','user','Auto-scanned: user',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('User Role','user_role','Auto-scanned: user_role',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('User Role Manage','user_role_manage','Auto-scanned: user_role_manage',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('User Roles','user_roles','Auto-scanned: user_roles',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Users','users','Auto-scanned: users',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Webhook Mollie','webhook_mollie','Auto-scanned: webhook_mollie',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Webhook Paypal','webhook_paypal','Auto-scanned: webhook_paypal',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'Views'),
|
||||||
|
('Application','application','Auto-scanned: application',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Appointment','appointment','Auto-scanned: appointment',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Billing','billing','Auto-scanned: billing',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Changelog','changelog','Auto-scanned: changelog',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Dealers Media','dealers_media','Auto-scanned: dealers_media',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Equipment Healthindex','equipment_healthindex','Auto-scanned: equipment_healthindex',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Equipment History','equipment_history','Auto-scanned: equipment_history',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Generate Download Token','generate_download_token','Auto-scanned: generate_download_token',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Identity','identity','Auto-scanned: identity',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Identity Dealers','identity_dealers','Auto-scanned: identity_dealers',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Invoice','invoice','Auto-scanned: invoice',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Marketing Files','marketing_files','Auto-scanned: marketing_files',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Marketing Folders','marketing_folders','Auto-scanned: marketing_folders',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Marketing Tags','marketing_tags','Auto-scanned: marketing_tags',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Payment','payment','Auto-scanned: payment',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Pricelists Items','pricelists_items','Auto-scanned: pricelists_items',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Products Attributes Items','products_attributes_items','Auto-scanned: products_attributes_items',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Products Categories','products_categories','Auto-scanned: products_categories',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Products Media','products_media','Auto-scanned: products_media',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Products Software Assignment','products_software_assignment','Auto-scanned: products_software_assignment',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Products Software Licenses','products_software_licenses','Auto-scanned: products_software_licenses',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Products Software Upgrade Paths','products_software_upgrade_paths','Auto-scanned: products_software_upgrade_paths',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Rma History','rma_history','Auto-scanned: rma_history',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Role Access Permissions','role_access_permissions','Auto-scanned: role_access_permissions',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Service','service','Auto-scanned: service',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Software Available','software_available','Auto-scanned: software_available',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Software Download','software_download','Auto-scanned: software_download',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Software Update','software_update','Auto-scanned: software_update',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Transactions','transactions','Auto-scanned: transactions',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Transactions Items','transactions_items','Auto-scanned: transactions_items',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Translations Details','translations_details','Auto-scanned: translations_details',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('User Credentials','user_credentials','Auto-scanned: user_credentials',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('User Role Assignments','user_role_assignments','Auto-scanned: user_role_assignments',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Vin','vin','Auto-scanned: vin',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Checkout','checkout','Auto-scanned: checkout',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Com Log','com_log','Auto-scanned: com_log',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Debug','debug','Auto-scanned: debug',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Mailer','mailer','Auto-scanned: mailer',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Marketing Delete','marketing_delete','Auto-scanned: marketing_delete',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Marketing Update','marketing_update','Auto-scanned: marketing_update',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Marketing Upload','marketing_upload','Auto-scanned: marketing_upload',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API');
|
||||||
|
INSERT INTO access_elements (access_name,access_path,description,is_active,created,createdby,updated,updatedby,access_group) VALUES
|
||||||
|
('Media Upload','media_upload','Auto-scanned: media_upload',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Placeorder','placeorder','Auto-scanned: placeorder',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Shopping Cart','shopping_cart','Auto-scanned: shopping_cart',1,'2026-01-18 18:49:50','0','2026-01-18 18:49:50',NULL,'API'),
|
||||||
|
('Equipment_manage edit','equipment_manage_edit','Special permission which allows special equipment data updates',1,'2026-01-30 10:38:33','veliti_admin','2026-01-30 10:38:33',NULL,'Admin'),
|
||||||
|
('Dev','dev','Auto-scanned: dev',1,'2026-01-30 10:54:09','veliti_admin','2026-01-30 10:54:09',NULL,'Views'),
|
||||||
|
('Test','test','Auto-scanned: test',1,'2026-01-30 10:54:10','veliti_admin','2026-01-30 10:54:10',NULL,'Views'),
|
||||||
|
('User Permissions','user_permissions','Auto-scanned: user_permissions',1,'2026-01-30 10:54:11','veliti_admin','2026-01-30 10:54:11',NULL,'API');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,1,1,1,1,1,'2026-01-19 11:11:19','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,2,1,1,1,1,'2026-01-19 11:11:19','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,3,1,1,1,1,'2026-01-19 11:11:19','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,4,1,1,1,1,'2026-01-19 11:11:19','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,5,1,1,1,1,'2026-01-19 11:11:19','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,6,1,1,1,1,'2026-01-19 11:11:19','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,7,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,100,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,101,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,102,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:52','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,8,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,9,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,10,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,11,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,12,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:52','veliti_admin'),
|
||||||
|
(19,13,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,14,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,103,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,134,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,135,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,15,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,16,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,17,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,18,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,19,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,20,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,21,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,22,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,23,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,24,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,25,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,104,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,136,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,26,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,27,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,28,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,29,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,105,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,106,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,30,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,31,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,32,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,33,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,34,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,107,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,35,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,36,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,37,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,108,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,109,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,38,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,110,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,39,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,40,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,41,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,137,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,42,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,43,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,138,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,111,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,112,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,44,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,113,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,139,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,140,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,45,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,46,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,47,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,141,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,48,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,49,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,50,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,51,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,114,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,142,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,52,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,115,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,53,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,54,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,55,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,56,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,57,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,116,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,58,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,117,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,59,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,118,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,60,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,119,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,61,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,120,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,121,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,62,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,63,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,64,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,65,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,66,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,67,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,69,1,1,1,1,'2026-01-19 11:11:20','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,70,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:53','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,71,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,72,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,73,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,74,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,75,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,76,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,77,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,122,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,78,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:53','veliti_admin'),
|
||||||
|
(19,79,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:53','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,123,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,80,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,124,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,81,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,82,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,83,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,84,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,85,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,143,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,125,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,126,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,127,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,86,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,87,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,88,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,128,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,129,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,89,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,90,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,130,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,91,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,92,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,93,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,131,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,94,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,132,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,95,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,96,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,97,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,133,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(19,98,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(19,99,1,1,1,1,'2026-01-19 11:11:21','0','2026-01-30 08:55:54','veliti_admin'),
|
||||||
|
(21,36,0,0,1,0,'2026-01-21 14:19:00','0','2026-01-21 14:33:38','0'),
|
||||||
|
(21,114,0,0,1,0,'2026-01-21 14:19:00','0','2026-01-21 14:33:38','0'),
|
||||||
|
(21,125,0,1,0,0,'2026-01-21 14:19:00','0','2026-01-21 14:33:38','0'),
|
||||||
|
(21,126,0,1,0,0,'2026-01-21 14:19:00','0','2026-01-21 14:33:38','0'),
|
||||||
|
(21,127,0,1,0,0,'2026-01-21 14:19:00','0','2026-01-21 14:33:38','0'),
|
||||||
|
(21,86,0,1,0,0,'2026-01-21 14:19:00','0','2026-01-21 14:33:38','0'),
|
||||||
|
(20,100,1,1,1,0,'2026-01-22 13:48:40','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,22,0,1,0,0,'2026-01-22 13:48:40','0','2026-01-23 11:22:54','0');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(20,28,1,1,1,0,'2026-01-22 13:48:40','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,29,0,1,0,0,'2026-01-22 13:48:40','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,31,0,1,0,0,'2026-01-22 13:48:40','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,35,0,1,0,0,'2026-01-22 13:48:40','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,36,0,1,0,0,'2026-01-22 13:48:40','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,67,0,1,1,0,'2026-01-22 13:48:40','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,81,0,1,0,0,'2026-01-22 13:48:41','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,82,0,1,0,0,'2026-01-22 13:48:41','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,43,0,1,0,0,'2026-01-22 13:57:12','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,111,0,1,0,0,'2026-01-22 13:57:12','0','2026-01-23 11:22:54','0');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(20,112,0,1,0,0,'2026-01-22 13:57:12','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,113,0,1,0,0,'2026-01-22 13:57:12','0','2026-01-23 11:22:54','0'),
|
||||||
|
(29,100,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,22,0,1,0,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,28,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,31,0,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,35,0,1,0,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,36,0,1,0,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,37,0,1,0,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,43,0,1,0,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:03','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(29,50,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,51,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,67,0,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,81,0,1,0,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,82,0,1,0,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:04','veliti_admin'),
|
||||||
|
(29,93,0,1,0,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:04','veliti_admin'),
|
||||||
|
(29,97,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-30 10:39:04','veliti_admin'),
|
||||||
|
(32,100,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,18,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,20,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(32,31,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,30,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,34,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,110,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,114,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,60,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,66,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,128,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,129,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,97,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-26 16:28:12','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(20,37,0,1,0,0,'2026-01-22 15:32:48',NULL,'2026-01-23 11:22:54','0'),
|
||||||
|
(20,50,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-23 11:22:54','0'),
|
||||||
|
(20,51,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-23 11:22:54','0'),
|
||||||
|
(20,93,0,1,0,0,'2026-01-22 15:32:48',NULL,'2026-01-23 11:22:54','0'),
|
||||||
|
(20,97,1,1,1,0,'2026-01-22 15:32:48',NULL,'2026-01-23 11:22:54','0'),
|
||||||
|
(20,125,0,1,0,0,'2026-01-22 15:54:23','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,126,0,1,0,0,'2026-01-22 15:54:23','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,127,0,1,0,0,'2026-01-22 15:54:23','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,86,0,1,0,0,'2026-01-22 15:54:23','0','2026-01-23 11:22:54','0'),
|
||||||
|
(20,70,0,1,0,0,'2026-01-22 20:13:43','0','2026-01-23 11:22:54','0');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(20,124,0,1,0,0,'2026-01-23 11:22:54','0','2026-01-23 11:22:54',NULL),
|
||||||
|
(29,29,0,1,0,0,'2026-01-25 12:51:49','0','2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,111,0,1,0,0,'2026-01-25 12:51:49','0','2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,112,0,1,0,0,'2026-01-25 12:51:49','0','2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,113,0,1,0,0,'2026-01-25 12:51:49','0','2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,70,0,1,0,0,'2026-01-25 12:51:49','0','2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,124,0,1,0,0,'2026-01-25 12:51:49','0','2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(29,125,0,1,0,0,'2026-01-25 12:51:50','0','2026-01-30 10:39:04','veliti_admin'),
|
||||||
|
(29,126,0,1,0,0,'2026-01-25 12:51:50','0','2026-01-30 10:39:04','veliti_admin'),
|
||||||
|
(29,127,0,1,0,0,'2026-01-25 12:51:50','0','2026-01-30 10:39:04','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(29,86,0,1,0,0,'2026-01-25 12:51:50','0','2026-01-30 10:39:04','veliti_admin'),
|
||||||
|
(29,32,1,1,1,0,'2026-01-25 12:52:37','0','2026-01-30 10:39:03','veliti_admin'),
|
||||||
|
(32,106,1,1,1,0,'2026-01-26 16:28:03','veliti_admin','2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,36,1,1,1,0,'2026-01-26 16:28:03','veliti_admin','2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(32,37,1,1,1,0,'2026-01-26 16:28:03','veliti_admin','2026-01-26 16:28:12','veliti_admin'),
|
||||||
|
(35,4,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,5,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,6,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,100,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,8,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(35,9,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,10,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,11,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,103,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,135,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,18,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,19,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,20,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,21,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,22,0,1,0,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(35,136,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,28,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,29,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,105,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,106,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,30,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,31,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,32,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(35,33,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,107,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(35,35,1,1,0,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,36,1,1,0,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,37,1,1,0,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,110,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,40,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,43,1,1,1,1,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,138,1,1,1,1,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,111,1,1,1,1,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,112,1,1,1,1,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,113,1,1,1,1,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(35,139,1,1,1,1,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,140,1,1,1,1,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,48,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,49,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,50,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,51,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,114,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,54,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,55,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,56,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(35,118,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,119,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,61,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,120,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,121,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,62,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,63,1,1,1,0,'2026-01-29 16:50:16','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,64,1,1,1,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,65,1,1,1,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,67,0,1,1,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(35,70,0,1,0,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,73,0,1,0,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,74,0,1,0,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,76,0,1,0,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,124,0,1,0,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,81,0,1,0,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,82,0,1,0,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,125,0,1,0,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,126,0,1,0,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,127,0,1,0,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin');
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(35,86,0,1,0,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,128,1,1,1,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,129,1,1,1,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,93,1,1,1,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,97,1,1,1,0,'2026-01-29 16:50:17','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(35,132,1,1,1,1,'2026-01-29 20:18:02','veliti_admin','2026-01-30 13:37:02','veliti_admin'),
|
||||||
|
(29,144,0,1,1,0,'2026-01-30 10:39:03','veliti_admin','2026-01-30 10:39:03',NULL),
|
||||||
|
(35,144,1,1,1,0,'2026-01-30 10:55:05','veliti_admin','2026-01-30 13:37:01','veliti_admin'),
|
||||||
|
(36,15,1,1,1,1,'2026-01-30 13:29:45','veliti_admin','2026-01-30 13:29:45',NULL),
|
||||||
|
(36,16,1,1,1,1,'2026-01-30 13:29:45','veliti_admin','2026-01-30 13:29:45',NULL);
|
||||||
|
INSERT INTO role_access_permissions (role_id,access_id,can_create,can_read,can_update,can_delete,created,createdby,updated,updatedby) VALUES
|
||||||
|
(36,17,1,1,1,1,'2026-01-30 13:29:45','veliti_admin','2026-01-30 13:29:45',NULL),
|
||||||
|
(35,102,1,1,1,0,'2026-01-30 13:37:01','veliti_admin','2026-01-30 13:37:01',NULL);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Austria',20.00),
|
||||||
|
('Belgium',21.00),
|
||||||
|
('Bulgaria',20.00),
|
||||||
|
('Croatia',25.00),
|
||||||
|
('Cyprus',19.00),
|
||||||
|
('Czech Republic',21.00),
|
||||||
|
('Denmark',25.00),
|
||||||
|
('Estonia',24.00),
|
||||||
|
('Finland',25.50),
|
||||||
|
('France',20.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Germany',19.00),
|
||||||
|
('Greece',24.00),
|
||||||
|
('Hungary',27.00),
|
||||||
|
('Ireland',23.00),
|
||||||
|
('Italy',22.00),
|
||||||
|
('Latvia',21.00),
|
||||||
|
('Lithuania',21.00),
|
||||||
|
('Luxembourg',16.00),
|
||||||
|
('Malta',18.00),
|
||||||
|
('Netherlands',21.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Poland',23.00),
|
||||||
|
('Portugal',23.00),
|
||||||
|
('Romania',19.00),
|
||||||
|
('Slovakia',23.00),
|
||||||
|
('Slovenia',22.00),
|
||||||
|
('Spain',21.00),
|
||||||
|
('Sweden',25.00),
|
||||||
|
('United Kingdom',20.00),
|
||||||
|
('Switzerland',8.10),
|
||||||
|
('Norway',25.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Iceland',24.00),
|
||||||
|
('Albania',20.00),
|
||||||
|
('Serbia',20.00),
|
||||||
|
('North Macedonia',18.00),
|
||||||
|
('Bosnia and Herzegovina',17.00),
|
||||||
|
('Montenegro',21.00),
|
||||||
|
('Moldova',20.00),
|
||||||
|
('Ukraine',20.00),
|
||||||
|
('Belarus',20.00),
|
||||||
|
('Turkey',20.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Andorra',4.50),
|
||||||
|
('Australia',10.00),
|
||||||
|
('New Zealand',15.00),
|
||||||
|
('Japan',10.00),
|
||||||
|
('China',13.00),
|
||||||
|
('India',18.00),
|
||||||
|
('South Korea',10.00),
|
||||||
|
('Singapore',9.00),
|
||||||
|
('Indonesia',11.00),
|
||||||
|
('Thailand',7.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Vietnam',8.00),
|
||||||
|
('Philippines',12.00),
|
||||||
|
('Malaysia',0.00),
|
||||||
|
('Taiwan',5.00),
|
||||||
|
('Pakistan',18.00),
|
||||||
|
('Bangladesh',15.00),
|
||||||
|
('Sri Lanka',18.00),
|
||||||
|
('Nepal',13.00),
|
||||||
|
('Cambodia',10.00),
|
||||||
|
('Myanmar',5.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Laos',10.00),
|
||||||
|
('Mongolia',10.00),
|
||||||
|
('Kazakhstan',12.00),
|
||||||
|
('Uzbekistan',12.00),
|
||||||
|
('Armenia',20.00),
|
||||||
|
('Georgia',18.00),
|
||||||
|
('Azerbaijan',18.00),
|
||||||
|
('Fiji',9.00),
|
||||||
|
('Papua New Guinea',10.00),
|
||||||
|
('Samoa',15.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Tonga',15.00),
|
||||||
|
('Vanuatu',15.00),
|
||||||
|
('Bhutan',7.00),
|
||||||
|
('Saudi Arabia',15.00),
|
||||||
|
('United Arab Emirates',5.00),
|
||||||
|
('Bahrain',10.00),
|
||||||
|
('Kuwait',0.00),
|
||||||
|
('Oman',5.00),
|
||||||
|
('Qatar',0.00),
|
||||||
|
('Israel',17.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Jordan',16.00),
|
||||||
|
('Lebanon',11.00),
|
||||||
|
('Egypt',14.00),
|
||||||
|
('South Africa',15.00),
|
||||||
|
('Nigeria',7.50),
|
||||||
|
('Kenya',16.00),
|
||||||
|
('Ghana',15.00),
|
||||||
|
('Morocco',20.00),
|
||||||
|
('Tunisia',19.00),
|
||||||
|
('Algeria',19.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Egypt',14.00),
|
||||||
|
('Ethiopia',15.00),
|
||||||
|
('Tanzania',18.00),
|
||||||
|
('Uganda',18.00),
|
||||||
|
('Zimbabwe',15.00),
|
||||||
|
('Zambia',16.00),
|
||||||
|
('Botswana',14.00),
|
||||||
|
('Mauritius',15.00),
|
||||||
|
('Namibia',15.00),
|
||||||
|
('Rwanda',18.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Senegal',18.00),
|
||||||
|
('Ivory Coast',18.00),
|
||||||
|
('Cameroon',19.25),
|
||||||
|
('Angola',14.00),
|
||||||
|
('Mozambique',16.00),
|
||||||
|
('Madagascar',20.00),
|
||||||
|
('Mali',18.00),
|
||||||
|
('Burkina Faso',18.00),
|
||||||
|
('Niger',19.00),
|
||||||
|
('Benin',18.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Togo',18.00),
|
||||||
|
('Guinea',18.00),
|
||||||
|
('Malawi',16.50),
|
||||||
|
('Gabon',18.00),
|
||||||
|
('Mauritania',16.00),
|
||||||
|
('Lesotho',15.00),
|
||||||
|
('Eswatini',15.00),
|
||||||
|
('Liberia',18.00),
|
||||||
|
('Canada',5.00),
|
||||||
|
('United States',10.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Mexico',16.00),
|
||||||
|
('Argentina',21.00),
|
||||||
|
('Brazil',17.00),
|
||||||
|
('Chile',19.00),
|
||||||
|
('Colombia',19.00),
|
||||||
|
('Peru',18.00),
|
||||||
|
('Ecuador',15.00),
|
||||||
|
('Uruguay',22.00),
|
||||||
|
('Paraguay',10.00),
|
||||||
|
('Bolivia',13.00);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Venezuela',16.00),
|
||||||
|
('Costa Rica',13.00),
|
||||||
|
('Panama',7.00),
|
||||||
|
('Guatemala',12.00),
|
||||||
|
('Honduras',15.00),
|
||||||
|
('El Salvador',13.00),
|
||||||
|
('Nicaragua',15.00),
|
||||||
|
('Dominican Republic',18.00),
|
||||||
|
('Jamaica',15.00),
|
||||||
|
('Trinidad and Tobago',12.50);
|
||||||
|
INSERT INTO taxes (country,rate) VALUES
|
||||||
|
('Barbados',17.50),
|
||||||
|
('Bahamas',10.00);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(1,19,0,'veliti_admin','2026-01-20 12:19:43',NULL,'2026-01-19 11:10:03','0','2026-01-22 12:43:52','0'),
|
||||||
|
(1,20,0,'veliti_admin','2026-01-22 12:43:52',NULL,'2026-01-19 11:55:49','0','2026-01-26 16:29:18','veliti_admin'),
|
||||||
|
(114,19,1,NULL,'2026-01-20 14:23:02',NULL,'2026-01-20 14:23:02','902','2026-01-20 14:23:02',NULL),
|
||||||
|
(848,21,1,'veliti_admin','2026-01-21 14:19:13',NULL,'2026-01-21 14:19:13','2147483647','2026-01-29 17:00:24',NULL),
|
||||||
|
(1,21,1,'veliti_admin','2026-01-22 13:52:22',NULL,'2026-01-22 13:52:22','172','2026-01-22 13:52:22',NULL),
|
||||||
|
(91,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(141,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(144,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(277,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(290,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(816,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1002,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1012,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1032,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1036,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1037,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1038,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1041,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1042,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1043,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(1044,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1045,29,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(124,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(129,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(131,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(132,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(134,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(135,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(138,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(145,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(149,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(152,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(153,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(160,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(163,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(167,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(205,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(248,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(275,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(278,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(286,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(291,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(359,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(376,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(389,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(433,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(440,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(499,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(513,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(545,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(550,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(559,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(563,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(580,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(591,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(604,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(605,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(614,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(618,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(626,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(663,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(680,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(690,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(715,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(720,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(724,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(733,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(738,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(742,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(759,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(763,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(778,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(796,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(808,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(822,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(841,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(848,21,0,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-23 12:42:50','0'),
|
||||||
|
(849,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(878,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(880,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(881,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(882,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(884,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(885,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(886,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(888,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(891,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(896,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(898,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(900,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(902,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(904,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(906,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(913,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(916,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(920,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(921,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(923,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(925,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(926,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(927,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(928,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(929,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(937,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(938,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(939,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(940,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(942,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(948,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(949,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(950,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(951,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(953,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(955,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(956,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(957,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(959,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(960,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(964,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(965,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(966,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(967,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(969,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(970,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(971,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(972,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(973,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(974,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(975,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(977,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(979,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(984,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(985,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(986,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(987,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(988,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(991,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1000,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1007,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1008,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(1011,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1014,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1033,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(293,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-23 12:41:08',NULL),
|
||||||
|
(1015,21,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-23 12:41:08',NULL),
|
||||||
|
(25,32,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(103,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(119,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(165,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(992,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(993,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(994,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(995,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(996,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(997,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(998,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1016,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1017,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1018,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1019,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(1020,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1023,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1025,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1026,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1027,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1028,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1029,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1031,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1034,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1035,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(1040,20,1,'migration_script','2026-01-22 15:37:11',NULL,'2026-01-22 15:37:11','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1048,20,1,'veliti_admin','2026-01-22 20:00:26',NULL,'2026-01-22 20:00:26','5','2026-01-22 20:00:26',NULL),
|
||||||
|
(1,29,1,'veliti_admin','2026-01-26 16:29:18',NULL,'2026-01-26 16:29:18','c3d7ce2348bea63022528fc8a8f9e969862ac35f11ba25d7c0','2026-01-26 16:29:18',NULL),
|
||||||
|
(1,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(27,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(49,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(57,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(97,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(100,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(101,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(260,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(299,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(578,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1006,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1010,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1013,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1039,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1046,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1047,35,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(79,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(1024,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1004,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(67,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(86,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(58,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(93,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(819,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(739,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(104,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(95,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(723,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(633,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(71,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(109,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(150,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(409,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(253,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(999,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(82,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(110,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL);
|
||||||
|
INSERT INTO user_role_assignments (user_id,role_id,is_active,assigned_by,assigned_at,expires_at,created,createdby,updated,updatedby) VALUES
|
||||||
|
(181,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(99,20,1,'migration_script','2026-01-29 17:00:24',NULL,'2026-01-29 17:00:24','1','2026-01-29 17:00:24',NULL),
|
||||||
|
(1,35,1,'veliti_admin','2026-01-29 17:01:59',NULL,'2026-01-29 17:01:59','671b537c152778932957b7cb42bae0bdb546e51578669d14bf','2026-01-29 17:01:59',NULL),
|
||||||
|
(1049,20,1,'paul@veliti.nl','2026-01-29 20:24:01',NULL,'2026-01-29 20:24:01','dceaa0977d1b285584616364d291ef189a166fcad45a2d69e4','2026-01-29 20:24:01',NULL),
|
||||||
|
(1049,21,1,'paul@veliti.nl','2026-01-29 20:30:20',NULL,'2026-01-29 20:30:20','dceaa0977d1b285584616364d291ef189a166fcad45a2d69e4','2026-01-29 20:30:20',NULL),
|
||||||
|
(1050,29,1,'veliti_admin','2026-01-30 09:49:18',NULL,'2026-01-30 09:49:18','veliti_admin','2026-01-30 09:49:18',NULL),
|
||||||
|
(1051,35,1,'veliti_admin','2026-01-30 10:52:18',NULL,'2026-01-30 10:52:18','veliti_admin','2026-01-30 10:52:18',NULL);
|
||||||
|
INSERT INTO user_roles (name,description,is_active,created,createdby,updated,updatedby,is_system) VALUES
|
||||||
|
('Administrator','Main administrator',1,'2026-01-18 18:27:53','970','2026-01-30 08:55:52','veliti_admin',1),
|
||||||
|
('Service','Service technician access',1,'2026-01-19 11:55:14','0','2026-01-29 20:19:59','0',0),
|
||||||
|
('Software_tool','Software_tool',1,'2026-01-21 14:16:27','0','2026-01-29 20:19:59','0',0),
|
||||||
|
('Distribution','Distribution partner access',1,'2026-01-22 15:32:47','1','2026-01-30 10:39:03','veliti_admin',0),
|
||||||
|
('Interface','API/Interface access',1,'2026-01-22 15:32:47','1','2026-01-26 16:28:12','veliti_admin',1),
|
||||||
|
('TSS_admin','Administrator TSS',1,'2026-01-29 16:42:30','veliti_admin','2026-01-30 13:37:01','veliti_admin',0),
|
||||||
|
('Communication','Role to show communication records',1,'2026-01-30 13:29:11','veliti_admin','2026-01-30 13:29:45','veliti_admin',1);
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE equipment
|
||||||
|
SET sw_version = CASE
|
||||||
|
-- Look for pattern: underscore + 7 alphanumeric characters + underscore
|
||||||
|
WHEN sw_version REGEXP '_[a-f0-9]{7}_' THEN
|
||||||
|
SUBSTRING(sw_version,
|
||||||
|
LOCATE('_', sw_version, LOCATE('_', sw_version) + 1) + 1,
|
||||||
|
7
|
||||||
|
)
|
||||||
|
-- Look for pattern: underscore + 7 alphanumeric characters at end
|
||||||
|
WHEN sw_version REGEXP '_[a-f0-9]{7}$' THEN
|
||||||
|
RIGHT(sw_version, 7)
|
||||||
|
-- Keep original value if no commit pattern found
|
||||||
|
ELSE sw_version
|
||||||
|
END
|
||||||
|
WHERE sw_version IS NOT NULL
|
||||||
|
AND (sw_version REGEXP '_[a-f0-9]{7}_' OR sw_version REGEXP '_[a-f0-9]{7}$');
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO products_software_versions (rowID, name, version, hw_version, status)
|
||||||
|
VALUES (9999999, 'Any Version (*)', '*', '', 0);
|
||||||
|
|
||||||
|
UPDATE equipment
|
||||||
|
SET warranty_date = DATE_ADD(warranty_date, INTERVAL 1 YEAR)
|
||||||
|
WHERE warranty_date IS NOT NULL;
|
||||||
|
|
||||||
|
|
||||||
|
SET FOREIGN_KEY_CHECKS=1;
|
||||||
26
assets/database/STEP3.txt
Normal file
26
assets/database/STEP3.txt
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
/*Business Rule*/
|
||||||
|
define("WARRANTY_MONTHS", 12);
|
||||||
|
define("WARRANTY_ELIGIBILITY_WINDOW", 3);
|
||||||
|
define("WARRANTY_EXTENDED_MONTH", 24);
|
||||||
|
define("SERVICE_MONTHS", 12);
|
||||||
|
define('PREVENT_PAID_VERSION_DOWNGRADE',false);
|
||||||
|
|
||||||
|
// Enable automatice invoice forward to bookkeeping software
|
||||||
|
define('invoice_bookkeeping',false);
|
||||||
|
// Email of bookkeeping software
|
||||||
|
define('email_bookkeeping','7583fu12@verkoop.exactonline.nl');
|
||||||
|
|
||||||
|
/* Payment options */
|
||||||
|
// Mollie
|
||||||
|
define('mollie_enabled',true);
|
||||||
|
define('mollie_api_key','live_WhsBD8qv3ygR9WVKF3KnCvz9zzNaxh'); //test_jFHqrt9KCSvaBwb4En9ttAM9MTrp9W
|
||||||
|
|
||||||
|
// PayPal
|
||||||
|
define('paypal_enabled',true);
|
||||||
|
define('PAYPAL_URL','https://api-m.paypal.com');
|
||||||
|
define('PAYPAL_WEBHOOK_ID','6SD3463667513681M');
|
||||||
|
define('PAYPAL_WEBHOOK','https://service.totalsafetysolutions.nl/webhook_paypal.php');
|
||||||
|
define('PAYPAL_CLIENT_ID','AfOGVZKbFE3_SR4R2LuLBnrCRXzWsw4dlRopf5QeDdQwcxwe5jhExh5ituim66QsIYulDGG3gcbm655D');
|
||||||
|
define('PAYPAL_CLIENT_SECRET','EEFEH-r5KQblHQ4KM49OQ37_mt-NJnVh5jA5aoOZseJbxi0b5LD07XxP6lanUpc4Xf5lbqWPbi1rGtJ4');
|
||||||
|
|
||||||
|
define('pay_on_delivery_enabled',false);
|
||||||
@@ -2848,7 +2848,7 @@ function serviceReport($history, $request, $country_code)
|
|||||||
//------------------------------------------
|
//------------------------------------------
|
||||||
// LIST PARTNER
|
// LIST PARTNER
|
||||||
//------------------------------------------
|
//------------------------------------------
|
||||||
function listPartner($partnertype, $user_right = null, $input, $required)
|
function listPartner($partnertype, $input, $required, $user_right = null)
|
||||||
{
|
{
|
||||||
include dirname(__FILE__,2).'/settings/settings_redirector.php';
|
include dirname(__FILE__,2).'/settings/settings_redirector.php';
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 64 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 57 KiB |
@@ -23,24 +23,6 @@ $message = '
|
|||||||
<h1 style="font-size: 24px; font-weight: bold; color: #2c5f5d; margin: 0 0 25px 0;">' . htmlspecialchars($lbl_invoice) . '</h1>
|
<h1 style="font-size: 24px; font-weight: bold; color: #2c5f5d; margin: 0 0 25px 0;">' . htmlspecialchars($lbl_invoice) . '</h1>
|
||||||
|
|
||||||
<!-- Company Header -->
|
<!-- Company Header -->
|
||||||
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin-bottom: 25px;">
|
|
||||||
<tr>
|
|
||||||
<td width="50%" style="vertical-align: top; font-size: 13px; line-height: 1.5;">
|
|
||||||
<strong style="color: #2c5f5d; font-size: 14px;">Total Safety Solutions B.V.</strong><br>
|
|
||||||
Laarakkerweg 8<br>
|
|
||||||
5061 JR OISTERWIJK<br>
|
|
||||||
Nederland
|
|
||||||
</td>
|
|
||||||
<td width="50%" style="vertical-align: top; text-align: left;">
|
|
||||||
<strong style="color: #2c5f5d; font-size: 14px;">contact-details</strong><br>
|
|
||||||
Ralf Adams<br>
|
|
||||||
+31 13 8221480<br>
|
|
||||||
ralfadams@totalsafetysolutions.nl
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<!-- Customer -->
|
|
||||||
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin-bottom: 25px;">
|
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin-bottom: 25px;">
|
||||||
<tr>
|
<tr>
|
||||||
<td width="50%" style="vertical-align: top; font-size: 13px; line-height: 1.5;">
|
<td width="50%" style="vertical-align: top; font-size: 13px; line-height: 1.5;">
|
||||||
@@ -50,7 +32,10 @@ $message = '
|
|||||||
'.$invoice_data['customer']['zip'].', '.$invoice_data['customer']['city'].'<br>
|
'.$invoice_data['customer']['zip'].', '.$invoice_data['customer']['city'].'<br>
|
||||||
'.$invoice_data['customer']['country'].'
|
'.$invoice_data['customer']['country'].'
|
||||||
</td>
|
</td>
|
||||||
|
<td width="50%" style="vertical-align: top; text-align: left;">
|
||||||
|
<strong style="color: #2c5f5d; font-size: 14px;">contact-details</strong><br>
|
||||||
|
sales@totalsafetysolutions.nl
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|||||||
@@ -210,21 +210,6 @@ $pdf = '<!DOCTYPE html>
|
|||||||
|
|
||||||
<div class="invoice-title">' . htmlspecialchars($lbl_invoice) . '</div>
|
<div class="invoice-title">' . htmlspecialchars($lbl_invoice) . '</div>
|
||||||
|
|
||||||
<div class="company-header">
|
|
||||||
<div class="company-info">
|
|
||||||
<h3>Total Safety Solutions B.V.</h3>
|
|
||||||
<p>Laarakkerweg 8</p>
|
|
||||||
<p>5061 JR OISTERWIJK</p>
|
|
||||||
<p>Nederland</p>
|
|
||||||
</div>
|
|
||||||
<div class="contact-details">
|
|
||||||
<h3>contact-details</h3>
|
|
||||||
<p>Ralf Adams</p>
|
|
||||||
<p>+31 13 8221480</p>
|
|
||||||
<p>ralfadams@totalsafetysolutions.nl</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="company-header">
|
<div class="company-header">
|
||||||
<div class="company-info">
|
<div class="company-info">
|
||||||
<h3>Customer</h3>
|
<h3>Customer</h3>
|
||||||
@@ -233,6 +218,10 @@ $pdf = '<!DOCTYPE html>
|
|||||||
<p>'.$invoice_data['customer']['zip'].', '.$invoice_data['customer']['city'].'</p>
|
<p>'.$invoice_data['customer']['zip'].', '.$invoice_data['customer']['city'].'</p>
|
||||||
<p>'.$invoice_data['customer']['country'].'</p>
|
<p>'.$invoice_data['customer']['country'].'</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="contact-details">
|
||||||
|
<h3>contact-details</h3>
|
||||||
|
<p>sales@totalsafetysolutions.nl</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="invoice-details">
|
<div class="invoice-details">
|
||||||
|
|||||||
30
index.php
30
index.php
@@ -4,6 +4,21 @@ define('secure_admin_342642', true);
|
|||||||
if (session_status() == PHP_SESSION_NONE) {
|
if (session_status() == PHP_SESSION_NONE) {
|
||||||
session_start();
|
session_start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//=====================================
|
||||||
|
//CHECK USER SESSION
|
||||||
|
//=====================================
|
||||||
|
if (!isset($_SESSION['loggedin'])) {
|
||||||
|
header('location: login.php');
|
||||||
|
die();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($_GET['page']) && $_GET['page'] == 'logout') {
|
||||||
|
session_destroy();
|
||||||
|
header('location: login.php');
|
||||||
|
die();
|
||||||
|
}
|
||||||
|
|
||||||
//=====================================
|
//=====================================
|
||||||
//INCLUDE CONSTANTS
|
//INCLUDE CONSTANTS
|
||||||
//=====================================
|
//=====================================
|
||||||
@@ -98,21 +113,6 @@ $base_url .= $_SERVER['SERVER_PORT'] == 80 || $_SERVER['SERVER_PORT'] == 443 ||
|
|||||||
$base_url .= '/' . ltrim(substr(str_replace('\\', '/', realpath(__DIR__)), strlen($_SERVER['DOCUMENT_ROOT'])), '/');
|
$base_url .= '/' . ltrim(substr(str_replace('\\', '/', realpath(__DIR__)), strlen($_SERVER['DOCUMENT_ROOT'])), '/');
|
||||||
define('base_url', rtrim($base_url, '/') . '/');
|
define('base_url', rtrim($base_url, '/') . '/');
|
||||||
|
|
||||||
|
|
||||||
//=====================================
|
|
||||||
//CHECK USER SESSION
|
|
||||||
//=====================================
|
|
||||||
if (!isset($_SESSION['loggedin'])) {
|
|
||||||
header('location: login.php');
|
|
||||||
die();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isset($_GET['page']) && $_GET['page'] == 'logout') {
|
|
||||||
session_destroy();
|
|
||||||
header('location: login.php');
|
|
||||||
die();
|
|
||||||
}
|
|
||||||
|
|
||||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
// SIMPLE ROUTING SYSTEM
|
// SIMPLE ROUTING SYSTEM
|
||||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
|||||||
171
marketing_migrate.php
Normal file
171
marketing_migrate.php
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?php
|
||||||
|
defined(page_security_key) or exit;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Marketing System Migration
|
||||||
|
* Migrate existing marketing files from directory structure to database
|
||||||
|
*/
|
||||||
|
|
||||||
|
include_once './assets/functions.php';
|
||||||
|
|
||||||
|
$pdo = dbConnect($dbname);
|
||||||
|
|
||||||
|
// Check if marketing tables exist
|
||||||
|
try {
|
||||||
|
$pdo->query("SELECT 1 FROM marketing_files LIMIT 1");
|
||||||
|
} catch (PDOException $e) {
|
||||||
|
echo "Marketing tables not found. Please run marketing_install.php first.<br>";
|
||||||
|
echo "<a href='marketing_install.php'>Install Marketing System</a>";
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get marketing structure from settings
|
||||||
|
$main_marketing_dir = './marketing/';
|
||||||
|
|
||||||
|
if (!file_exists($main_marketing_dir)) {
|
||||||
|
echo "Marketing directory not found at: $main_marketing_dir<br>";
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "<h2>Marketing File Migration</h2>";
|
||||||
|
echo "<p>Migrating existing marketing files to the new system...</p>";
|
||||||
|
|
||||||
|
$migrated_folders = 0;
|
||||||
|
$migrated_files = 0;
|
||||||
|
$errors = [];
|
||||||
|
|
||||||
|
try {
|
||||||
|
// Build partner hierarchy for current user
|
||||||
|
$partner_hierarchy = json_encode(array("salesid" => $partner->salesid, "soldto" => $partner->soldto), JSON_UNESCAPED_UNICODE);
|
||||||
|
|
||||||
|
// Scan marketing directory structure
|
||||||
|
if (isset($marketing_structure) && is_array($marketing_structure)) {
|
||||||
|
foreach ($marketing_structure as $product_group => $folders) {
|
||||||
|
echo "Processing product group: <strong>$product_group</strong><br>";
|
||||||
|
|
||||||
|
// Create product group folder
|
||||||
|
$stmt = $pdo->prepare("INSERT INTO marketing_folders (folder_name, description, createdby, accounthierarchy) VALUES (?, ?, ?, ?)");
|
||||||
|
$stmt->execute([$product_group, "Migrated from legacy structure", $username, $partner_hierarchy]);
|
||||||
|
$group_folder_id = $pdo->lastInsertId();
|
||||||
|
$migrated_folders++;
|
||||||
|
|
||||||
|
foreach ($folders as $folder_name) {
|
||||||
|
$folder_path = $main_marketing_dir . $product_group . '/' . $folder_name;
|
||||||
|
|
||||||
|
if (is_dir($folder_path)) {
|
||||||
|
echo " - Processing folder: $folder_name<br>";
|
||||||
|
|
||||||
|
// Create content folder
|
||||||
|
$stmt = $pdo->prepare("INSERT INTO marketing_folders (folder_name, parent_id, description, createdby, accounthierarchy) VALUES (?, ?, ?, ?, ?)");
|
||||||
|
$stmt->execute([$folder_name, $group_folder_id, "Migrated from legacy structure", $username, $partner_hierarchy]);
|
||||||
|
$content_folder_id = $pdo->lastInsertId();
|
||||||
|
$migrated_folders++;
|
||||||
|
|
||||||
|
// Process files in folder
|
||||||
|
$files = array_diff(scandir($folder_path), array('.', '..', 'Thumb'));
|
||||||
|
|
||||||
|
foreach ($files as $file) {
|
||||||
|
$file_path = $folder_path . '/' . $file;
|
||||||
|
|
||||||
|
if (is_file($file_path) && !is_dir($file_path)) {
|
||||||
|
$file_info = pathinfo($file);
|
||||||
|
$file_ext = strtolower($file_info['extension'] ?? '');
|
||||||
|
|
||||||
|
// Skip system files
|
||||||
|
if (in_array($file_ext, ['ds_store', 'thumbs.db']) || empty($file_ext)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if file type is supported
|
||||||
|
$allowed_types = ['jpg', 'jpeg', 'png', 'gif', 'webp', 'pdf', 'doc', 'docx', 'xls', 'xlsx', 'mp4', 'mov', 'avi'];
|
||||||
|
if (!in_array($file_ext, $allowed_types)) {
|
||||||
|
$errors[] = "Skipped unsupported file type: $file";
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
$file_size = filesize($file_path);
|
||||||
|
$relative_path = str_replace('./', '', $file_path);
|
||||||
|
|
||||||
|
// Check for existing thumbnail
|
||||||
|
$thumbnail_path = null;
|
||||||
|
$thumb_file = $folder_path . '/Thumb/' . $file;
|
||||||
|
if (file_exists($thumb_file)) {
|
||||||
|
$thumbnail_path = str_replace('./', '', $thumb_file);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Generate tags based on product group and folder
|
||||||
|
$tags = [$product_group, $folder_name];
|
||||||
|
if (strpos(strtolower($file), 'brochure') !== false) $tags[] = 'brochure';
|
||||||
|
if (strpos(strtolower($file), 'manual') !== false) $tags[] = 'manual';
|
||||||
|
if (strpos(strtolower($file), 'spec') !== false) $tags[] = 'specifications';
|
||||||
|
|
||||||
|
try {
|
||||||
|
$stmt = $pdo->prepare("
|
||||||
|
INSERT INTO marketing_files
|
||||||
|
(title, original_filename, file_path, thumbnail_path, file_type, file_size, folder_id, tags, createdby, accounthierarchy)
|
||||||
|
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||||
|
");
|
||||||
|
|
||||||
|
$stmt->execute([
|
||||||
|
$file_info['filename'],
|
||||||
|
$file,
|
||||||
|
$relative_path,
|
||||||
|
$thumbnail_path,
|
||||||
|
$file_ext,
|
||||||
|
$file_size,
|
||||||
|
$content_folder_id,
|
||||||
|
json_encode($tags),
|
||||||
|
$username,
|
||||||
|
$partner_hierarchy
|
||||||
|
]);
|
||||||
|
|
||||||
|
$migrated_files++;
|
||||||
|
echo " ✓ $file<br>";
|
||||||
|
|
||||||
|
// Insert tags
|
||||||
|
foreach ($tags as $tag) {
|
||||||
|
$tag = trim($tag);
|
||||||
|
if (!empty($tag)) {
|
||||||
|
// Insert tag if not exists
|
||||||
|
$pdo->prepare("INSERT IGNORE INTO marketing_tags (tag_name) VALUES (?)")->execute([$tag]);
|
||||||
|
|
||||||
|
// Link file to tag
|
||||||
|
$tag_id_stmt = $pdo->prepare("SELECT id FROM marketing_tags WHERE tag_name = ?");
|
||||||
|
$tag_id_stmt->execute([$tag]);
|
||||||
|
$tag_id = $tag_id_stmt->fetchColumn();
|
||||||
|
|
||||||
|
if ($tag_id) {
|
||||||
|
$pdo->prepare("INSERT IGNORE INTO marketing_file_tags (file_id, tag_id) VALUES (?, ?)")
|
||||||
|
->execute([$pdo->lastInsertId(), $tag_id]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch (PDOException $e) {
|
||||||
|
$errors[] = "Error migrating file $file: " . $e->getMessage();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "<br><h3>Migration Summary</h3>";
|
||||||
|
echo "✓ Folders migrated: <strong>$migrated_folders</strong><br>";
|
||||||
|
echo "✓ Files migrated: <strong>$migrated_files</strong><br>";
|
||||||
|
|
||||||
|
if (!empty($errors)) {
|
||||||
|
echo "<br><h4>Errors/Warnings:</h4>";
|
||||||
|
foreach ($errors as $error) {
|
||||||
|
echo "⚠ $error<br>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "<br><strong>Migration completed successfully!</strong><br>";
|
||||||
|
echo "<a href='index.php?page=marketing'>Go to Marketing Page</a>";
|
||||||
|
|
||||||
|
} catch (Exception $e) {
|
||||||
|
echo "Migration error: " . $e->getMessage();
|
||||||
|
}
|
||||||
|
?>
|
||||||
@@ -591,7 +591,7 @@ main .content-block-wrapper .content-block {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
max-height: 300px;
|
max-height: 400px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user