Login   Register  
PHP Classes
elePHPant
Icontem

File: example/DBStructure.sql

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Hussam Abd El Razek El Kurd  >  Query Build Exec  >  example/DBStructure.sql  >  Download  
File: example/DBStructure.sql
Role: Auxiliary data
Content type: text/plain
Description: Data base tables
Class: Query Build Exec
Build and execute MySQL queries from bean objects
Author: By
Last change:
Date: 4 years ago
Size: 2,071 bytes
 

Contents

Class file image Download
-- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version	5.0.45-community-nt-log


/*!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_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!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' */;


--
-- Create schema hkurd_db
--

CREATE DATABASE IF NOT EXISTS hkurd_db;
USE hkurd_db;

--
-- Definition of table `hkurd_city`
--

DROP TABLE IF EXISTS `hkurd_city`;
CREATE TABLE `hkurd_city` (
  `city_id` int(10) unsigned NOT NULL auto_increment,
  `city_name` varchar(45) NOT NULL,
  `city_country_id` int(10) unsigned NOT NULL,
  `city_add_date` datetime NOT NULL,
  `city_desc` text,
  PRIMARY KEY  (`city_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `hkurd_city`
--

/*!40000 ALTER TABLE `hkurd_city` DISABLE KEYS */;
/*!40000 ALTER TABLE `hkurd_city` ENABLE KEYS */;


--
-- Definition of table `hkurd_country`
--

DROP TABLE IF EXISTS `hkurd_country`;
CREATE TABLE `hkurd_country` (
  `country_id` int(10) unsigned NOT NULL auto_increment,
  `country_name` varchar(45) NOT NULL,
  `country_desc` text,
  PRIMARY KEY  (`country_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `hkurd_country`
--

/*!40000 ALTER TABLE `hkurd_country` DISABLE KEYS */;
/*!40000 ALTER TABLE `hkurd_country` ENABLE KEYS */;




/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_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 */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;