Skip to content

Instantly share code, notes, and snippets.

@YesThatAllen
Created September 19, 2015 21:12
Show Gist options
  • Save YesThatAllen/5d750f7ffeedc07d46fd to your computer and use it in GitHub Desktop.
Save YesThatAllen/5d750f7ffeedc07d46fd to your computer and use it in GitHub Desktop.
Creates a table for WP Store Locator https://wordpress.org/plugins/wp-store-locator/
# ************************************************************
# Sequel Pro SQL dump
# Version 4096
#
# http://www.sequelpro.com/
#
# ************************************************************
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
# Dump of table wp_wpsl_stores
# ------------------------------------------------------------
CREATE TABLE `wp_wpsl_stores` (
`wpsl_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`store` varchar(255) DEFAULT NULL,
`address` varchar(255) DEFAULT NULL,
`address2` varchar(255) DEFAULT NULL,
`city` varchar(255) DEFAULT NULL,
`state` varchar(255) DEFAULT NULL,
`zip` varchar(100) DEFAULT NULL,
`country` varchar(255) DEFAULT NULL,
`country_iso` tinytext NOT NULL,
`lat` float(10,6) NOT NULL,
`lng` float(10,6) NOT NULL,
`description` text,
`phone` varchar(100) DEFAULT NULL,
`fax` varchar(100) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`hours` varchar(255) DEFAULT NULL,
`thumb_id` bigint(20) unsigned NOT NULL,
`active` tinyint(1) DEFAULT '1',
PRIMARY KEY (`wpsl_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
@Skatox
Copy link

Skatox commented Dec 3, 2015

Thanks for sharing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment