15 lines
733 B
SQL
15 lines
733 B
SQL
CREATE TABLE IF NOT EXISTS `mod_hexagamecloud_product_mappings` (
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT,
|
|
`whmcs_product_id` int unsigned NOT NULL,
|
|
`whmcs_product_name` varchar(128) NOT NULL DEFAULT '',
|
|
`plan_slug` varchar(64) NOT NULL,
|
|
`default_edition` varchar(16) NOT NULL DEFAULT 'JAVA',
|
|
`default_software` varchar(32) NOT NULL DEFAULT 'VANILLA',
|
|
`default_version` varchar(16) NOT NULL DEFAULT '1.21.1',
|
|
`is_active` tinyint(1) NOT NULL DEFAULT 1,
|
|
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `whmcs_product_id` (`whmcs_product_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|