Skip to content

Instantly share code, notes, and snippets.

@zs1621
Created January 14, 2014 06:50
Show Gist options
  • Save zs1621/8414201 to your computer and use it in GitHub Desktop.
Save zs1621/8414201 to your computer and use it in GitHub Desktop.
创建实验index1表-mysql地理搜索
CREATE TABLE `index1` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`lat` DECIMAL(9, 6) NOT NULL,
`lng` DECIMAL(9, 6) NOT NULL,
`ctime` DECIMAL(13, 3) NOT NULL,
`user` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
desc `index1`;# check the table index1 u create
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment