Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

560 B
Raw Blame
DROP TABLE IF EXISTS `region_to_region_group`;

CREATE TABLE `region_to_region_group` (
  `region_to_region_group_id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
  `country_id` INT UNSIGNED NOT NULL,
  `region_id` INT UNSIGNED NOT NULL DEFAULT '0',
  `region_group_id` INT UNSIGNED NOT NULL,
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`region_to_region_group_id`),
  KEY `country_id` (`country_id`),
  KEY `region_id` (`region_id`),
  KEY `region_group_id` (`region_group_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;