91 lines
2.5 KiB
SQL
91 lines
2.5 KiB
SQL
-- phpMyAdmin SQL Dump
|
|
-- version 2.8.0.3-Debian-1
|
|
-- http://www.phpmyadmin.net
|
|
--
|
|
-- Host: localhost
|
|
-- Erstellungszeit: 11. Juni 2006 um 16:15
|
|
-- Server Version: 5.0.22
|
|
-- PHP-Version: 4.4.2-1+b1
|
|
--
|
|
-- Datenbank: `ndb`
|
|
--
|
|
CREATE DATABASE `ndb` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
|
|
USE `ndb`;
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Tabellenstruktur für Tabelle `Adressen`
|
|
--
|
|
|
|
CREATE TABLE `Adressen` (
|
|
`adresse_id` int(11) NOT NULL auto_increment,
|
|
`mensch_id` mediumint(11) unsigned NOT NULL default '0',
|
|
`Strasse` tinyblob,
|
|
`Hausnummer` tinyblob,
|
|
`Zusatz` tinyblob,
|
|
`PLZ` int(11) default '0',
|
|
`Ort` tinyblob,
|
|
`Land` tinyblob,
|
|
`Notiz` tinyblob,
|
|
PRIMARY KEY (`adresse_id`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=78 ;
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Tabellenstruktur für Tabelle `Menschen`
|
|
--
|
|
|
|
CREATE TABLE `Menschen` (
|
|
`mensch_id` mediumint(11) unsigned NOT NULL auto_increment,
|
|
`Vorname` varchar(25) default NULL,
|
|
`Name` varchar(25) default NULL,
|
|
`Geburt` date default NULL,
|
|
PRIMARY KEY (`mensch_id`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=150 ;
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Tabellenstruktur für Tabelle `Notizen`
|
|
--
|
|
|
|
CREATE TABLE `Notizen` (
|
|
`notiz_id` int(11) NOT NULL auto_increment,
|
|
`mensch_id` int(11) NOT NULL default '0',
|
|
`Notiz` text NOT NULL,
|
|
PRIMARY KEY (`notiz_id`),
|
|
KEY `mensch_id` (`mensch_id`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=57 ;
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Tabellenstruktur für Tabelle `Telefon`
|
|
--
|
|
|
|
CREATE TABLE `Telefon` (
|
|
`telefon_id` int(11) NOT NULL auto_increment,
|
|
`mensch_id` mediumint(8) unsigned NOT NULL default '0',
|
|
`Nummer` bigint(20) unsigned NOT NULL default '0',
|
|
`Vorwahl` int(10) unsigned NOT NULL default '0',
|
|
`IntVorwahl` int(10) unsigned NOT NULL default '0',
|
|
`Notiz` tinytext NOT NULL,
|
|
PRIMARY KEY (`telefon_id`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=278 ;
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Tabellenstruktur für Tabelle `eMail`
|
|
--
|
|
|
|
CREATE TABLE `eMail` (
|
|
`email_id` int(11) NOT NULL auto_increment,
|
|
`mensch_id` mediumint(8) unsigned NOT NULL default '0',
|
|
`Nutzer` varchar(30) NOT NULL default '',
|
|
`Domain` varchar(30) NOT NULL default '',
|
|
`Notiz` tinytext NOT NULL,
|
|
PRIMARY KEY (`email_id`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=32 ;
|