123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- CREATE TABLE `shop_list2` (
- `id` int NOT NULL AUTO_INCREMENT,
- `unique_id` VARCHAR(20),
- `name` VARCHAR(100),
- `lon` DOUBLE,
- `lat` DOUBLE,
- `city` VARCHAR(10),
- `area` VARCHAR(10),
- `rating` DOUBLE,
- `user_ratings_total` DOUBLE,
- `category` VARCHAR(20),
- `price_level` VARCHAR(10),
- `addr` VARCHAR(100),
- `tel` VARCHAR(20),
-
- `services` JSON ,
- `products` JSON ,
- `choices` JSON ,
- `facilities` JSON ,
- `groups` JSON ,
- `plans` JSON ,
- `payments` JSON ,
- `safeties` JSON ,
- `specials` JSON ,
- `barrierlevels` JSON ,
- `items` JSON ,
- `open_now` VARCHAR(10),
- `periods` JSON,
- `weekday_text` JSON,
-
- `reviews` JSON,
- `shop_photo` JSON,
- `menu_photo` JSON,
- `google_url` text,
- `item_url` text,
- `keyword` VARCHAR(20),
- `crawler_date` char(20) NOT NULL,
- PRIMARY KEY (`id`),
- UNIQUE KEY (`unique_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `shop_item_list` (
- `id` int NOT NULL AUTO_INCREMENT,
- `name` VARCHAR(100),
- `lon` DOUBLE,
- `lat` DOUBLE,
- `keyword` VARCHAR(20),
- `item_url` VARCHAR(200),
- `crawler_date` char(20) NOT NULL,
- PRIMARY KEY (`id`),
- UNIQUE KEY (`item_url`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `error_list2` (
- `id` int NOT NULL AUTO_INCREMENT,
- `name` VARCHAR(100),
- `lon` DOUBLE,
- `lat` DOUBLE,
- `keyword` VARCHAR(20),
- `item_url` VARCHAR(200),
- `crawler_date` char(20) NOT NULL,
- PRIMARY KEY (`id`),
- UNIQUE KEY (`item_url`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `shop_time_list` (
- `id` int NOT NULL AUTO_INCREMENT,
- `google_url` VARCHAR(200),
- `open_now` VARCHAR(20),
- `day` int,
- `open` VARCHAR(20),
- `close` VARCHAR(20),
- `crawler_date` char(20) NOT NULL,
- PRIMARY KEY (`id`),
- UNIQUE KEY (`google_url`,`day`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `shop_reviews_list` (
- `id` VARCHAR(30),
- `google_url` VARCHAR(200),
- `author_name` VARCHAR(20),
- `profile_photo_url` VARCHAR(200),
- `rating` int,
- `text` VARCHAR(500),
- `created_at` VARCHAR(20),
- `crawler_date` char(20) NOT NULL,
- UNIQUE KEY (`id`,`google_url`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- CREATE TABLE `shop_reviews_photo_list` (
- `id` VARCHAR(30),
- `google_url` VARCHAR(200),
- `path` VARCHAR(200),
- `crawler_date` char(20) NOT NULL,
- PRIMARY KEY (`id`),
- UNIQUE KEY (`id`,`google_url`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|