Login   Register  
PHP Classes
elePHPant
Icontem

File: testdb.sql

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Junaid Hassan  >  PHP MVC  >  testdb.sql  >  Download  
File: testdb.sql
Role: Auxiliary data
Content type: text/plain
Description: SQL Test script
Class: PHP MVC
MVC framework that loads XML configuration files
Author: By
Last change:
Date: 1 year ago
Size: 2,010 bytes
 

Contents

Class file image Download
-- phpMyAdmin SQL Dump
-- version 3.4.10.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Apr 20, 2013 at 10:23 AM
-- Server version: 5.5.20
-- PHP Version: 5.3.10

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!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: `test`
--
CREATE DATABASE `test` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `test`;

-- --------------------------------------------------------

--
-- Table structure for table `cat`
--

CREATE TABLE IF NOT EXISTS `cat` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(500) NOT NULL,
  `parent` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ;

--
-- Dumping data for table `cat`
--

INSERT INTO `cat` (`id`, `name`, `parent`) VALUES
(1, 'cat1', 0),
(2, 'cat2', 0),
(3, 'cat3', 0),
(4, 'cat4', 0),
(5, 'cat11', 1),
(6, 'cat12', 1),
(7, 'cat13', 1),
(8, 'cat14', 1),
(9, 'cat21', 2),
(10, 'cat22', 2),
(11, 'cat31', 3),
(12, 'cat211', 9),
(13, 'cat212', 9),
(14, 'cat2111', 12);

-- --------------------------------------------------------

--
-- Table structure for table `tb1`
--

CREATE TABLE IF NOT EXISTS `tb1` (
  `key` int(11) NOT NULL AUTO_INCREMENT,
  `col1` varchar(50) DEFAULT NULL,
  `col2` varchar(50) DEFAULT NULL,
  `col3` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`key`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `tb1`
--

INSERT INTO `tb1` (`key`, `col1`, `col2`, `col3`) VALUES
(1, 'val11', 'val12', 'val13'),
(2, 'val21', 'val22', 'val23'),
(3, 'val31', 'val32', 'val33');

/*!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 */;