CREATE TABLE storelocator_locatio location_id int 10 unsigned NOT NULL

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
CREATE TABLE `storelocator_location` (
`location_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`address` text NOT NULL,
`city` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`latitude` decimal(15,10) NOT NULL,
`longitude` decimal(15,10) NOT NULL,
`address_display` text NOT NULL,
`notes` text NOT NULL,
`website_url` varchar(255) NOT NULL,
`phone` varchar(50) NOT NULL,
`product_types` varchar(255) NOT NULL,
`storeimage` varchar(255) NOT NULL,
`storetype` varchar(255) NOT NULL,
`store_id` int(5) unsigned NOT NULL,
`country_location_id` int(11) NOT NULL DEFAULT '0',
`company_store_id` varchar(50) DEFAULT NULL,
`company_warehouse_id` varchar(50) DEFAULT NULL,
`opening_hours_weekday` varchar(20) DEFAULT NULL,
`opening_hours_saturday` varchar(20) DEFAULT NULL,
`opening_hours_sunday` varchar(20) DEFAULT NULL,
`opening_hours_holiday` varchar(20) DEFAULT NULL,
`store_group` varchar(50) DEFAULT NULL,
`store_status` int(5) unsigned NOT NULL DEFAULT '0',
`extra_details` text,
`post_code` varchar(20) DEFAULT NULL COMMENT 'Post Code',
`description` text COMMENT 'Description',
`storeimage_big` varchar(255) DEFAULT NULL COMMENT 'Store image big',
`head_title` text COMMENT 'head_title',
`meta_description` text COMMENT 'meta_description',
`meta_keywords` text COMMENT 'meta_keywords',
`region_id` int(10) unsigned DEFAULT NULL COMMENT 'region_id',
`area` int(10) unsigned DEFAULT NULL COMMENT 'area',
PRIMARY KEY (`location_id`),
KEY `company_store_id` (`company_store_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;