source: branches/old/sql/12-wow full.sql

Last change on this file was 12, checked in by george, 17 years ago

Přesun dat v sekci finance z PHP kódu do MySQL databáze wow tabulky finance.
Úprava informací o přispívání na stránce financí.
Přidání informace o operačním systému do sekce Server.
Založení složky sql pro ukládání aktualizací sql databáze.

File size: 4.0 KB
Line 
1-- phpMyAdmin SQL Dump
2-- version 2.11.0-beta1
3-- http://www.phpmyadmin.net
4--
5-- Poèítaè: localhost
6
7-- Vygenerováno: Sobota 11. srpna 2007, 01:40
8-- Verze MySQL: 5.0.37
9-- Verze PHP: 5.2.2
10
11SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
12
13--
14-- Databáze: `wow`
15--
16
17-- --------------------------------------------------------
18
19--
20-- Struktura tabulky `finance`
21--
22
23CREATE TABLE IF NOT EXISTS `finance` (
24 `id` int(11) NOT NULL auto_increment,
25 `time` datetime default NULL,
26 `money` int(11) default NULL,
27 `operation` enum('contribution','consumption','buy','internet','sell') collate latin2_czech_cs NOT NULL default 'contribution',
28 `description` varchar(255) collate latin2_czech_cs default NULL,
29 KEY `ID` (`id`)
30) ENGINE=MyISAM DEFAULT CHARSET=latin2 COLLATE=latin2_czech_cs AUTO_INCREMENT=61 ;
31
32-- --------------------------------------------------------
33
34--
35-- Struktura tabulky `gm_news`
36--
37
38CREATE TABLE IF NOT EXISTS `gm_news` (
39 `id` int(11) NOT NULL auto_increment,
40 `time` datetime NOT NULL default '0000-00-00 00:00:00',
41 `text` text character set latin1 NOT NULL,
42 `author` varchar(64) collate latin2_czech_cs NOT NULL default '',
43 PRIMARY KEY (`id`)
44) ENGINE=MyISAM DEFAULT CHARSET=latin2 COLLATE=latin2_czech_cs AUTO_INCREMENT=1398 ;
45
46-- --------------------------------------------------------
47
48--
49-- Struktura tabulky `mangos_restart`
50--
51
52CREATE TABLE IF NOT EXISTS `mangos_restart` (
53 `time` datetime NOT NULL default '0000-00-00 00:00:00',
54 PRIMARY KEY (`time`)
55) ENGINE=MyISAM DEFAULT CHARSET=latin2 COLLATE=latin2_czech_cs;
56
57-- --------------------------------------------------------
58
59--
60-- Struktura tabulky `newgm`
61--
62
63CREATE TABLE IF NOT EXISTS `newgm` (
64 `ID` int(11) NOT NULL,
65 `reply` int(11) NOT NULL default '0',
66 `Nick` text NOT NULL,
67 `GameNick` text NOT NULL,
68 `Icq` text NOT NULL,
69 `Email` text NOT NULL,
70 `OnlineOfDay` text NOT NULL,
71 `OldPlay` text NOT NULL,
72 `MaxLvl` text NOT NULL,
73 `GMCommand` text NOT NULL,
74 `Database` text NOT NULL,
75 `Server` text NOT NULL,
76 `LostLvl` text NOT NULL,
77 `Onixie` text NOT NULL,
78 `Why` text NOT NULL,
79 `GMAnyWhere` text NOT NULL,
80 `Dodatek` text NOT NULL,
81 `Language` text NOT NULL,
82 `Sintaxe` text NOT NULL,
83 `old` int(11) NOT NULL,
84 `Date` datetime NOT NULL,
85 KEY `ID` (`ID`)
86) ENGINE=MyISAM DEFAULT CHARSET=latin1;
87
88-- --------------------------------------------------------
89
90--
91-- Struktura tabulky `user`
92--
93
94CREATE TABLE IF NOT EXISTS `user` (
95 `ID` int(11) NOT NULL,
96 `User` text NOT NULL,
97 `Pass` text NOT NULL,
98 `LastIP` text,
99 `LastLogin` datetime NOT NULL default '0000-00-00 00:00:00',
100 `Email` text NOT NULL,
101 `Ban` int(11) NOT NULL default '0',
102 `Function` text character set latin2 collate latin2_czech_cs NOT NULL,
103 `AccID` int(11) NOT NULL,
104 `ForumID` int(11) NOT NULL,
105 KEY `ID` (`ID`)
106) ENGINE=MyISAM DEFAULT CHARSET=latin1;
107
108-- --------------------------------------------------------
109
110--
111-- Struktura tabulky `users`
112--
113
114CREATE TABLE IF NOT EXISTS `users` (
115 `id` int(11) NOT NULL auto_increment,
116 `username` varchar(32) collate latin2_czech_cs NOT NULL default '',
117 `password` varchar(64) collate latin2_czech_cs NOT NULL default '',
118 `email` varchar(128) collate latin2_czech_cs NOT NULL default '',
119 `fullname` varchar(32) collate latin2_czech_cs NOT NULL default '',
120 `lastlogin` datetime NOT NULL default '0000-00-00 00:00:00',
121 PRIMARY KEY (`id`)
122) ENGINE=MyISAM DEFAULT CHARSET=latin2 COLLATE=latin2_czech_cs AUTO_INCREMENT=3 ;
123
124-- --------------------------------------------------------
125
126--
127-- Struktura tabulky `users_online`
128--
129
130CREATE TABLE IF NOT EXISTS `users_online` (
131 `id` int(11) NOT NULL auto_increment,
132 `user` int(11) NOT NULL default '0',
133 `time` int(11) NOT NULL default '0',
134 `session` varchar(128) collate latin2_czech_cs NOT NULL default '',
135 `ip` varchar(64) collate latin2_czech_cs NOT NULL default '',
136 PRIMARY KEY (`id`)
137) ENGINE=MyISAM DEFAULT CHARSET=latin2 COLLATE=latin2_czech_cs AUTO_INCREMENT=1 ;
Note: See TracBrowser for help on using the repository browser.