Skip to content

Instantly share code, notes, and snippets.

@andreiashu
Last active September 9, 2017 09:53
Show Gist options
  • Save andreiashu/72e4e60d565bcafb491e85eff3d1b2d3 to your computer and use it in GitHub Desktop.
Save andreiashu/72e4e60d565bcafb491e85eff3d1b2d3 to your computer and use it in GitHub Desktop.
GDN DATA SQL TABLE SCHEMA
CREATE TABLE `datapoints` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`lineid` varchar(255) DEFAULT NULL,
`geolocation` point DEFAULT NULL,
`price` float NOT NULL,
`currency` varchar(20) NOT NULL DEFAULT '',
`locname` text DEFAULT NULL,
`time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment