-
Notifications
You must be signed in to change notification settings - Fork 2
/
db_structure.sql
50 lines (40 loc) · 1.29 KB
/
db_structure.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
-- phpMyAdmin SQL Dump
-- version 3.3.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jul 15, 2011 at 07:22 AM
-- Server version: 5.1.56
-- PHP Version: 5.2.9
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: `crictwit_peyar`
--
-- --------------------------------------------------------
--
-- Table structure for table `names`
--
CREATE TABLE IF NOT EXISTS `names` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` char(100) NOT NULL DEFAULT '',
`meaning` varchar(255) DEFAULT '',
`gender` enum('boy','girl') DEFAULT NULL,
`source` char(30) NOT NULL DEFAULT '',
`prefix` varchar(4) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`,`gender`),
KEY `prefix` (`prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=47212 ;
-- --------------------------------------------------------
--
-- Table structure for table `name_contents`
--
CREATE TABLE IF NOT EXISTS `name_contents` (
`name_id` int(11) NOT NULL,
`contents` longtext CHARACTER SET utf8,
PRIMARY KEY (`name_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;