Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added SQL schema and data for us states

  • Loading branch information...
commit de819144b932947a40c92b3b8642438b773578cf 1 parent a12b384
@ollierattue ollierattue authored
Showing with 34 additions and 0 deletions.
  1. +33 −0 schema/us_states.sql
  2. +1 −0  web/application/config/database_tables.php
View
33 schema/us_states.sql
@@ -0,0 +1,33 @@
+-- phpMyAdmin SQL Dump
+-- version 2.11.8.1
+-- http://www.phpmyadmin.net
+--
+-- Host: 127.0.0.1
+-- Generation Time: Nov 07, 2011 at 06:58 PM
+-- Server version: 5.0.51
+-- PHP Version: 5.2.5
+
+SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
+
+
+/*!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 */;
+
+--
+-- Database: `moviesparx_app`
+--
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `us_states`
+--
+
+DROP TABLE IF EXISTS `us_states`;
+CREATE TABLE IF NOT EXISTS `us_states` (
+ `state_code` char(2) NOT NULL,
+ `state_name` varchar(250) NOT NULL,
+ PRIMARY KEY (`state_code`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
View
1  web/application/config/database_tables.php
@@ -17,6 +17,7 @@
$config['ci_sessions'] = 'ci_sessions';
$config['countries'] = 'countries';
+$config['us_states'] = 'us_states';
// SimpleLoginSecure
Please sign in to comment.
Something went wrong with that request. Please try again.