1 CREATE TABLE IF NOT EXISTS `source_location` (
2 `id` int(11) NOT NULL AUTO_INCREMENT,
3 `source_id` int(11) DEFAULT NULL,
4 `name` varchar(255) DEFAULT NULL,
5 `latitude` float NOT NULL,
6 `longitude` float NOT NULL,
7 `logo` varchar(255) DEFAULT NULL,
8 `source` varchar(255) DEFAULT NULL,
9 `image` varchar(500) DEFAULT NULL,
10 `image_thumb` varchar(500) DEFAULT NULL,
11 `altitude` int(11) DEFAULT NULL,
12 `type` varchar(255) DEFAULT NULL,
13 `country` varchar(255) DEFAULT NULL,
14 `city` varchar(255) DEFAULT NULL,
15 `last_seen` timestamp NULL DEFAULT NULL,
16 `location_id` int(11) DEFAULT NULL,
17 `description` text DEFAULT NULL,
19 ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;