Changeset 40 for branches/2/sql/full.sql


Ignore:
Timestamp:
Jan 24, 2009, 5:55:02 PM (16 years ago)
Author:
george
Message:
  • Upraveno: Změna kódování znaků souborů na UTF-8.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2/sql/full.sql

    r37 r40  
    11-- phpMyAdmin SQL Dump
    2 -- version 2.9.1.1
     2-- version 2.10.2
    33-- http://www.phpmyadmin.net
    44--
    5 -- Host: localhost
    6 -- Generation Time: Oct 13, 2008 at 07:51 PM
    7 -- Server version: 5.0.67
    8 -- PHP Version: 5.2.0
     5-- Počítač: localhost
     6-- Vygenerováno: Čtvrtek 08. května 2008, 19:59
     7-- Verze MySQL: 5.0.45
     8-- Verze PHP: 5.2.4
     9
     10SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
     11
    912--
    10 -- Database: `wowpreklad`
     13-- Databáze: `wowpreklad`
    1114--
    1215
     
    1417
    1518--
    16 -- Table structure for table `language`
     19-- Struktura tabulky `Language`
    1720--
    1821
    19 CREATE TABLE `language` (
     22CREATE TABLE `Language` (
    2023  `Id` int(11) NOT NULL auto_increment,
    2124  `Name` varchar(64) collate utf8_czech_ci NOT NULL,
     
    2629
    2730--
    28 -- Table structure for table `permission`
     31-- Struktura tabulky `Permission`
    2932--
    3033
    31 CREATE TABLE `permission` (
     34CREATE TABLE `Permission` (
    3235  `Id` int(11) NOT NULL auto_increment,
    3336  `Title` varchar(64) collate utf8_czech_ci NOT NULL,
     
    3841
    3942--
    40 -- Table structure for table `text`
     43-- Struktura tabulky `Text`
    4144--
    4245
    43 CREATE TABLE `text` (
     46CREATE TABLE `Text` (
    4447  `Id` int(11) NOT NULL auto_increment,
    4548  `TranslationGroup` int(11) NOT NULL,
     
    5356
    5457--
    55 -- Table structure for table `textgroup`
     58-- Struktura tabulky `TextGroup`
    5659--
    5760
    58 CREATE TABLE `textgroup` (
     61CREATE TABLE `TextGroup` (
    5962  `Id` int(11) NOT NULL auto_increment,
    6063  `Group` int(11) NOT NULL,
     
    7174
    7275--
    73 -- Table structure for table `translation`
     76-- Struktura tabulky `Translation`
    7477--
    7578
    76 CREATE TABLE `translation` (
     79CREATE TABLE `Translation` (
    7780  `Id` int(11) NOT NULL auto_increment,
    7881  `Group` int(11) NOT NULL,
     
    8588
    8689--
    87 -- Table structure for table `translationgroup`
     90-- Struktura tabulky `TranslationGroup`
    8891--
    8992
    90 CREATE TABLE `translationgroup` (
     93CREATE TABLE `TranslationGroup` (
    9194  `Id` int(11) NOT NULL auto_increment,
    9295  `Name` varchar(64) collate utf8_czech_ci NOT NULL,
     
    99102
    100103--
    101 -- Table structure for table `user`
     104-- Struktura tabulky `User`
    102105--
    103106
    104 CREATE TABLE `user` (
     107CREATE TABLE `User` (
    105108  `Id` int(11) NOT NULL auto_increment,
    106109  `Name` varchar(64) collate utf8_czech_ci NOT NULL,
     
    108111  `Email` varchar(128) collate utf8_czech_ci NOT NULL,
    109112  `Permission` int(11) NOT NULL,
    110   `LastIpAddress` varchar(255) collate utf8_czech_ci NOT NULL,
     113  `LastIpAddress` varchar(16) collate utf8_czech_ci NOT NULL,
    111114  `LastLoginTime` datetime NOT NULL,
    112115  `TranslationLanguage` int(11) NOT NULL,
    113116  `FullName` varchar(128) collate utf8_czech_ci NOT NULL,
    114117  PRIMARY KEY  (`Id`)
    115 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=4 ;
     118) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=2 ;
    116119
    117120-- --------------------------------------------------------
    118121
    119122--
    120 -- Table structure for table `useronline`
     123-- Struktura tabulky `UserOnline`
    121124--
    122125
    123 CREATE TABLE `useronline` (
     126CREATE TABLE `UserOnline` (
    124127  `User` int(11) NOT NULL,
    125128  `Time` datetime NOT NULL,
    126129  `SessionId` varchar(255) collate utf8_czech_ci NOT NULL,
    127   `IpAddress` varchar(255) collate utf8_czech_ci NOT NULL,
    128   UNIQUE KEY `SessionId` (`SessionId`)
     130  `IpAddress` varchar(16) collate utf8_czech_ci NOT NULL,
     131  PRIMARY KEY  (`User`)
    129132) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
    130133
     
    132135
    133136--
    134 -- Table structure for table `vote`
     137-- Struktura tabulky `Vote`
    135138--
    136139
    137 CREATE TABLE `vote` (
     140CREATE TABLE `Vote` (
    138141  `TranslationGroup` int(11) NOT NULL,
    139142  `User` int(11) NOT NULL,
Note: See TracChangeset for help on using the changeset viewer.