- Timestamp:
- Sep 29, 2008, 2:35:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sql/demo_database.sql
r7 r8 1 1 -- phpMyAdmin SQL Dump 2 -- version 2.11.9 2 -- version 2.11.9.1 3 3 -- http://www.phpmyadmin.net 4 4 -- 5 5 -- Počítač: localhost 6 -- Vygenerováno: Úterý 16. září 2008, 09:166 -- Vygenerováno: Pondělí 29. září 2008, 14:31 7 7 -- Verze MySQL: 5.0.51 8 8 -- Verze PHP: 5.2.6 … … 31 31 `Workgroup` varchar(255) collate utf8_czech_ci NOT NULL, 32 32 `WINS` varchar(255) collate utf8_czech_ci NOT NULL, 33 `HostList` int(11) NOT NULL, 33 34 PRIMARY KEY (`Id`) 34 35 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=5 ; … … 38 39 -- 39 40 40 INSERT INTO `Area` (`Id`, `Name`, `NetworkIPAddress`, `IPAddressMask`, `DNSPrimary`, `DNSSecondary`, `DHCP`, `Domain`, `Workgroup`, `WINS` ) VALUES41 (1, 'Bytovky dolní konec', '192.168.12.0', '255.255.255.0', '192.168.0.22', '46.33.1.2', '192.168.12.1', 'freenet.cz', 'FREENET', '192.168.0.23' ),42 (2, 'Centrum Komořany', '192.168.10.0', '255.255.255.0', '192.168.0.22', '', '192.168.10.1', 'centrum.freenet.cz', 'CENTRUM', '192.168.0.23' ),43 (3, 'Serverovna', '192.168.0.0', '255.255.255.0', '192.168.0.22', '44.55.22.34', '19ě.168.0.1', 'freenet.cz', 'FREENET', '192.168.0.23' ),44 (4, 'Kůlna', '10.198.0.0', '255.255.0.0', '192.168.0.1', '129.168.0.22', '10.198.0.1', 'kulna.freenet.cz', 'KULNA', '192.168.0.23' );41 INSERT INTO `Area` (`Id`, `Name`, `NetworkIPAddress`, `IPAddressMask`, `DNSPrimary`, `DNSSecondary`, `DHCP`, `Domain`, `Workgroup`, `WINS`, `HostList`) VALUES 42 (1, 'Bytovky dolní konec', '192.168.12.0', '255.255.255.0', '192.168.0.22', '46.33.1.2', '192.168.12.1', 'freenet.cz', 'FREENET', '192.168.0.23', 0), 43 (2, 'Centrum Komořany', '192.168.10.0', '255.255.255.0', '192.168.0.22', '', '192.168.10.1', 'centrum.freenet.cz', 'CENTRUM', '192.168.0.23', 0), 44 (3, 'Serverovna', '192.168.0.0', '255.255.255.0', '192.168.0.22', '44.55.22.34', '19ě.168.0.1', 'freenet.cz', 'FREENET', '192.168.0.23', 0), 45 (4, 'Kůlna', '10.198.0.0', '255.255.0.0', '192.168.0.1', '129.168.0.22', '10.198.0.1', 'kulna.freenet.cz', 'KULNA', '192.168.0.23', 0); 45 46 46 47 -- -------------------------------------------------------- … … 139 140 140 141 -- 142 -- Struktura tabulky `History` 143 -- 144 145 CREATE TABLE IF NOT EXISTS `History` ( 146 `Id` int(11) NOT NULL auto_increment, 147 `Author` int(11) NOT NULL, 148 `TimeValidFrom` datetime NOT NULL, 149 `TimeValidTo` datetime NOT NULL, 150 `PermanentId` int(11) NOT NULL, 151 `ListId` int(11) NOT NULL, 152 `TimeCreation` datetime NOT NULL, 153 PRIMARY KEY (`Id`) 154 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 ; 155 156 -- 157 -- Vypisuji data pro tabulku `History` 158 -- 159 160 161 -- -------------------------------------------------------- 162 163 -- 141 164 -- Struktura tabulky `Host` 142 165 -- … … 153 176 `ParentHost` int(11) NOT NULL, 154 177 `Member` int(11) NOT NULL, 178 `Area` int(11) NOT NULL, 155 179 PRIMARY KEY (`Id`) 156 180 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=10 ; … … 160 184 -- 161 185 162 INSERT INTO `Host` (`Id`, `DomainName`, `NetBIOSName`, `LocalIPAddress`, `PublicIPAddress`, `LastOnlineDate`, `Type`, `Interface`, `ParentHost`, `Member` ) VALUES163 (1, 'george', 'GEORGE', '192.168.0.23', '', '0000-00-00', 1, 0, 4, 0 ),164 (2, 'stroj', 'STROJ', '192.168.1.44', '33.66.44.77', '0000-00-00', 5, 0, 0, 0 ),165 (3, 'telefon', 'TELEFON', '192.168.1.45', '', '0000-00-00', 2, 0, 0, 0),166 (4, 'router-inet', 'ROUTER-INET', '192.168.0.2', '77.33.55.12', '0000-00-00', 4, 0, 0, 0),167 (5, 'muhehe', 'MUHEHE', '192.168.0.4', '', '0000-00-00', 1, 0, 0, 0),168 (6, 'jonny', 'JONNY', '192.168.0.6', '', '0000-00-00', 1, 0, 0, 0),169 (7, 'laserovka-samsung', 'LASEROVKA-SAMSUNG', '192.168.12.4', '', '0000-00-00', 6, 0, 0, 0 ),170 (8, 'www', 'WWW', '192.168.0.7', '34.22.1.4', '0000-00-00', 5, 0, 0, 0 ),171 (9, 'peklo', 'PEKLO', '192.168.66.66', '', '0000-00-00', 7, 0, 4, 2 );186 INSERT INTO `Host` (`Id`, `DomainName`, `NetBIOSName`, `LocalIPAddress`, `PublicIPAddress`, `LastOnlineDate`, `Type`, `Interface`, `ParentHost`, `Member`, `Area`) VALUES 187 (1, 'george', 'GEORGE', '192.168.0.23', '', '0000-00-00', 1, 0, 4, 0, 0), 188 (2, 'stroj', 'STROJ', '192.168.1.44', '33.66.44.77', '0000-00-00', 5, 0, 0, 0, 0), 189 (3, 'telefon', 'TELEFON', '192.168.1.45', '', '0000-00-00', 2, 0, 4, 1, 2), 190 (4, 'router-inet', 'ROUTER-INET', '192.168.0.2', '77.33.55.12', '0000-00-00', 4, 0, 1, 1, 4), 191 (5, 'muhehe', 'MUHEHE', '192.168.0.4', '', '0000-00-00', 1, 0, 1, 1, 2), 192 (6, 'jonny', 'JONNY', '192.168.0.6', '', '0000-00-00', 1, 0, 1, 1, 1), 193 (7, 'laserovka-samsung', 'LASEROVKA-SAMSUNG', '192.168.12.4', '', '0000-00-00', 6, 0, 0, 0, 0), 194 (8, 'www', 'WWW', '192.168.0.7', '34.22.1.4', '0000-00-00', 5, 0, 0, 0, 0), 195 (9, 'peklo', 'PEKLO', '192.168.66.66', '', '0000-00-00', 7, 0, 4, 2, 0); 172 196 173 197 -- -------------------------------------------------------- … … 214 238 `HostList` int(11) NOT NULL, 215 239 `Tariff` int(11) NOT NULL, 240 `UserList` int(11) NOT NULL, 241 `ValidFromTime` datetime default NULL, 242 `ValidToTime` datetime default NULL, 216 243 PRIMARY KEY (`Id`) 217 244 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=7 ; … … 221 248 -- 222 249 223 INSERT INTO `Member` (`Id`, `Subject`, `ResponsibleUser`, `MapPositionX`, `MapPositionY`, `FamilyMemberCount`, `MembershipDate`, `MemberState`, `HostList`, `Tariff` ) VALUES224 (1, 2, 1, 123, 567, 3, '0000-00-00', 2, 0, 3 ),225 (2, 3, 6, 123, 123, 2, '0000-00-00', 2, 0, 4 ),226 (3, 7, 8, 0, 0, 0, '0000-00-00', 2, 0, 2 ),227 (4, 8, 11, 0, 0, 0, '0000-00-00', 2, 0, 3 ),228 (5, 10, 1, 32423, 21, 2, '0000-00-00', 1, 0, 3 ),229 (6, 12, 12, 12, 2, 1, '0000-00-00', 3, 0, 1 );250 INSERT INTO `Member` (`Id`, `Subject`, `ResponsibleUser`, `MapPositionX`, `MapPositionY`, `FamilyMemberCount`, `MembershipDate`, `MemberState`, `HostList`, `Tariff`, `UserList`, `ValidFromTime`, `ValidToTime`) VALUES 251 (1, 2, 1, 123, 567, 3, '0000-00-00', 2, 0, 3, 0, '2008-09-01 00:00:00', NULL), 252 (2, 3, 6, 123, 123, 2, '0000-00-00', 2, 0, 4, 0, '2008-09-01 00:00:00', NULL), 253 (3, 7, 8, 0, 0, 0, '0000-00-00', 2, 0, 2, 0, '2008-09-01 00:00:00', NULL), 254 (4, 8, 11, 0, 0, 0, '0000-00-00', 2, 0, 3, 0, '2008-09-01 00:00:00', NULL), 255 (5, 10, 1, 32423, 21, 2, '0000-00-00', 1, 0, 3, 0, '2008-09-01 00:00:00', NULL), 256 (6, 12, 12, 12, 2, 1, '0000-00-00', 3, 0, 1, 0, '2008-09-01 00:00:00', NULL); 230 257 231 258 -- -------------------------------------------------------- … … 312 339 `VisibleInMenu` int(11) NOT NULL default '1', 313 340 PRIMARY KEY (`Id`) 314 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 5;341 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=17 ; 315 342 316 343 -- … … 332 359 (12, 'FinanceTransaction', 'Platební operace', 0, '', 1), 333 360 (13, 'SystemList', 'Definice tabulek', 1, '', 1), 334 (14, 'SystemListItem', 'Definice položek formulářů', 1, '', 0); 361 (14, 'SystemListItem', 'Definice položek formulářů', 1, '', 0), 362 (15, 'UserOnline', 'Přihlášení uživatelé', 1, '', 1), 363 (16, 'History', 'Historie záznamů', 1, '', 0); 335 364 336 365 -- -------------------------------------------------------- … … 354 383 `List` int(11) NOT NULL, 355 384 PRIMARY KEY (`Id`) 356 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 10;385 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=131 ; 357 386 358 387 -- … … 387 416 (25, 'Phone', 'Telefón', '', 'String', '', '', 0, 1, 0, 0, 1), 388 417 (26, 'Notice', 'Poznámka', '', 'String', '', '', 0, 1, 0, 0, 3), 389 (27, 'MemberState', 'Stav připojení :', '', 'MemberState', '', '', 1, 1, 1, 0, 4),418 (27, 'MemberState', 'Stav připojení', '', 'MemberState', '', '', 1, 1, 1, 0, 4), 390 419 (28, 'HostList', 'Registrované zařízení', '', 'PointerOneToMany:Host:Member', '', '', 0, 1, 0, 0, 4), 391 420 (29, 'Name', 'Označení', '', 'String', '', '', 1, 1, 1, 1, 5), … … 414 443 (52, 'PurcheasedFrom', 'Zakoupeno od', '', 'PointerOneToOne:Subject', '', '', 0, 1, 0, 0, 7), 415 444 (53, 'PurcheasedAsset', 'Nakoupené zboží', '', 'PointerOneToMany:Asset:PurcheasedFrom', '', '', 0, 1, 0, 0, 3), 416 (54, ' Subject', 'Subjekt', '', 'PointerOneToOne:Subject', '', '', 0, 1, 0, 0, 1),417 ( 55, 'UserList', 'Seznam uživatelů', '', 'PointerOneToMany:User:Subject', '', '', 0, 1, 0, 0, 3),445 (54, 'Member', 'Člen', '', 'PointerOneToOne:Member', '', '', 0, 1, 0, 0, 1), 446 (113, 'ValidFromTime', 'Platnost od', '', 'Date', '', '', 1, 1, 0, 0, 4), 418 447 (57, 'Price', 'Cena', '', 'Integer', '', '', 1, 1, 1, 0, 8), 419 448 (56, 'Name', 'Označení', '', 'String', '', '', 1, 1, 1, 1, 8), … … 440 469 (78, 'User', 'Registroval', '', 'PointerOneToOne:User', '', '', 0, 1, 0, 0, 10), 441 470 (79, 'Type', 'Typ', '', 'BankAccountType', '', '', 1, 1, 1, 0, 10), 442 (80, 'MemberList', 'Členství', '', 'PointerOneToMany:Member: ResponsibleUser', '', '', 0, 1, 0, 0, 3),471 (80, 'MemberList', 'Členství', '', 'PointerOneToMany:Member:Subject', '', '', 0, 1, 0, 0, 3), 443 472 (81, 'Name', 'Systémové jméno typu', '', 'String', 'Jméno by mělo obsahovat pouze velké a malé písmena. V podsložece types projektu jsou umístěny výkonné soubory pro jednotlivé typy.', 'Name', 1, 1, 1, 1, 11), 444 473 (82, 'ParentType', 'Rodičovský typ', '', 'String', '', '', 1, 1, 1, 0, 11), … … 469 498 (107, 'Editable', 'Editovatelné', '', 'Boolean', 'Určuje zda je možné danou položku ručně editovat nebo zda je měněna automaticky systémem.', '', 1, 1, 0, 0, 14), 470 499 (108, 'VisibleInList', 'Viditelné v seznamu', '', 'Boolean', 'Určuje viditelnost této položky v seznamu', '', 1, 1, 0, 0, 14), 471 (109, 'VisibleInPointer', 'Viditelné v odkazech', '', 'Boolean', 'Určuje viditelnost této položky v názvech odkazů na tuto položku', '', 1, 1, 0, 0, 14); 500 (109, 'VisibleInPointer', 'Viditelné v odkazech', '', 'Boolean', 'Určuje viditelnost této položky v názvech odkazů na tuto položku', '', 1, 1, 0, 0, 14), 501 (110, 'Area', 'Umístění', '', 'PointerOneToOne:Area', 'Vyberte oblast, do které toto zařízení patří.', '', 0, 1, 0, 0, 2), 502 (111, 'HostList', 'Seznam zařízení', '', 'PointerOneToMany:Host:Area', '', '', 0, 1, 0, 0, 5), 503 (112, 'UserList', 'Uživatelů', '', 'PointerOneToMany:User:Member', '', '', 0, 1, 0, 0, 4), 504 (114, 'ValidToTime', 'Platnost do', '', 'Date', '', '', 1, 1, 0, 0, 4), 505 (115, 'User', 'Uživatel', '', 'PointerOneToOne:User', '', '', 1, 0, 1, 1, 15), 506 (116, 'LoginTime', 'Čas přihlášení', '', 'Date', '', '', 0, 0, 0, 0, 15), 507 (117, 'ActivityTime', 'Naposledy aktivní', '', 'Date', '', '', 0, 0, 0, 0, 15), 508 (118, 'SessionId', 'Identifikace spojení', '', 'String', '', '', 0, 0, 0, 0, 15), 509 (119, 'IpAddress', 'IP adresa', '', 'String', '', '', 0, 0, 0, 0, 15), 510 (120, 'HostName', 'Jméno počítače', '', 'String', '', '', 0, 0, 1, 0, 15), 511 (121, 'Locked', 'Zamčeno', '', 'Boolean', '', '', 0, 0, 0, 0, 1), 512 (122, 'RegistrationTime', 'Čas registrace', '', 'Date', '', '', 0, 0, 0, 0, 1), 513 (123, 'LastLoginTime', 'Čas posledního přihlášení', '', 'Date', '', '', 0, 0, 0, 0, 1), 514 (124, 'LastIpAddress', 'Poslední IP adresa', '', 'String', '', '', 0, 0, 0, 0, 1), 515 (125, 'Author', 'Autor', '', 'PointerOneToOne:User', '', '', 1, 0, 0, 0, 16), 516 (126, 'TimeCreation', 'Čas vytvoření', '', 'Date', '', '', 1, 0, 0, 0, 16), 517 (127, 'TimeValidFrom', 'Platnost od', '', 'Date', '', '', 1, 1, 0, 0, 16), 518 (128, 'TimeValidTo', 'Platnost do', '', 'Date', '', '', 1, 1, 0, 0, 16), 519 (129, 'ListId', 'Odkazovaná tabulka', '', 'PointerOneToOne:SystemList', '', '', 1, 1, 0, 0, 16), 520 (130, 'PermanentId', 'Trvalá identifikace', '', 'Integer', '', '', 1, 1, 0, 0, 16); 472 521 473 522 -- -------------------------------------------------------- … … 490 539 PRIMARY KEY (`Id`), 491 540 UNIQUE KEY `Name` (`Name`) 492 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT= 19;541 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=20 ; 493 542 494 543 -- … … 514 563 (16, 'Float', 'Desetinné číslo', '', '', 1, 'FLOAT', 'TypeFloatViewHtml', 'TypeFloatEditHtml', ''), 515 564 (17, 'FinanceTransactionType', 'Typ finanční transakce', 'Enumeration', 'Bankovní převod|Osobní platba', 0, '', '', '', ''), 516 (18, 'Hyperlink', 'Internetový odkaz', '', '', 0, 'VARCHAR(255)', 'TypeHyperlinkViewHtml', 'TypeHyperlinkEditHtml', ''); 565 (18, 'Hyperlink', 'Internetový odkaz', '', '', 0, 'VARCHAR(255)', 'TypeHyperlinkViewHtml', 'TypeHyperlinkEditHtml', ''), 566 (19, 'IPv4Address', 'IP adresa v4', '', '', 0, 'VARCHAR(16)', 'TypeIPv4AddressView', 'TypeIPv4AddressEdit', 'TypeIPv4AddressCheck'); 517 567 518 568 -- -------------------------------------------------------- … … 562 612 `BirthDay` date NOT NULL, 563 613 `Phone` varchar(255) collate utf8_czech_ci NOT NULL, 564 `Subject` int(11) NOT NULL, 614 `Member` int(11) NOT NULL, 615 `RegistrationTime` datetime NOT NULL, 616 `LastLoginTime` datetime NOT NULL, 617 `Locked` tinyint(1) NOT NULL, 618 `LastIpAddress` varchar(255) collate utf8_czech_ci NOT NULL, 565 619 PRIMARY KEY (`Id`) 566 620 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=13 ; … … 570 624 -- 571 625 572 INSERT INTO `User` (`Id`, `UserName`, `Password`, `FirstName`, `SecondName`, `Email`, `ICQ`, `Sex`, `BirthDay`, `Phone`, `Subject`) VALUES 573 (1, '', 'fdsfsdfsd', 'Alfons', 'Much', 'mucha@all.cz', 89, 0, '0000-00-00', '', 7), 574 (2, '', '', 'Petr', 'Hrubý', 'hrubos@nevim.cz', 23, 0, '0000-00-00', '123456789', 0), 575 (4, 'ferda', '123', 'Ferda', 'Mravenec', 'ferda@mraveniste.cz', 1, 0, '0000-00-00', '', 2), 576 (5, '', '', 'Obivan', 'Kenoby', 'kenoby@mail.universe', 233, 0, '0000-00-00', '', 0), 577 (6, '', '', 'Mistr', 'Joda', 'joda@mistr.shadow', 300, 0, '0000-00-00', '', 0), 578 (7, '', '', 'Petr', 'Slovák', 'slovak@zdarma.cz', 34, 0, '0000-00-00', '', 0), 579 (8, '', '', 'Alena', 'Kocourková', 'alena.kocourkova@centrum.cz', 32, 1, '0000-00-00', '223344556', 7), 580 (9, '', '', 'Jonny', 'Hurikán', 'storm@atlas.cz', 16, 0, '0000-00-00', '224556778', 0), 581 (10, '', '', 'Smrťák', 'Krutý', 'smrt@peklo.cz', 111222333, 0, '0000-00-00', '', 5), 582 (11, '', '', 'Karel', 'Nejedlý', 'starosta@obec-milosice.cz', 0, 0, '0000-00-00', '443666333', 8), 583 (12, 'fantomas', 'dsds', 'Fantomas', 'Tajemný', 'fantom@fantom.com', 0, 0, '0000-00-00', '', 12); 626 INSERT INTO `User` (`Id`, `UserName`, `Password`, `FirstName`, `SecondName`, `Email`, `ICQ`, `Sex`, `BirthDay`, `Phone`, `Member`, `RegistrationTime`, `LastLoginTime`, `Locked`, `LastIpAddress`) VALUES 627 (1, '', 'fdsfsdfsd', 'Alfons', 'Much', 'mucha@all.cz', 89, 0, '0000-00-00', '', 7, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 628 (2, '', '', 'Petr', 'Hrubý', 'hrubos@nevim.cz', 23, 0, '0000-00-00', '123456789', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 629 (4, 'ferda', '123', 'Ferda', 'Mravenec', 'ferda@mraveniste.cz', 1, 0, '0000-00-00', '', 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 630 (5, 'obivan', '4217be89cdd8f9dbb59fa5851dd3a0408b9a5a81', 'Obivan', 'Kenoby', 'kenoby@mail.universe', 233, 0, '0000-00-00', '', 6, '0000-00-00 00:00:00', '2008-09-29 12:50:38', 0, ''), 631 (6, '', '', 'Mistr', 'Joda', 'joda@mistr.shadow', 300, 0, '0000-00-00', '', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 632 (7, '', '', 'Petr', 'Slovák', 'slovak@zdarma.cz', 34, 0, '0000-00-00', '', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 633 (8, '', '', 'Alena', 'Kocourková', 'alena.kocourkova@centrum.cz', 32, 1, '0000-00-00', '223344556', 7, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 634 (9, '', '', 'Jonny', 'Hurikán', 'storm@atlas.cz', 16, 0, '0000-00-00', '224556778', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 635 (10, '', '', 'Smrťák', 'Krutý', 'smrt@peklo.cz', 111222333, 0, '0000-00-00', '', 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 636 (11, '', '', 'Karel', 'Nejedlý', 'starosta@obec-milosice.cz', 0, 0, '0000-00-00', '443666333', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 637 (12, 'fantomas', 'dsds', 'Fantomas', 'Tajemný', 'fantom@fantom.com', 0, 0, '0000-00-00', '', 12, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''); 638 639 -- -------------------------------------------------------- 640 641 -- 642 -- Struktura tabulky `UserOnline` 643 -- 644 645 CREATE TABLE IF NOT EXISTS `UserOnline` ( 646 `User` int(11) NOT NULL, 647 `LoginTime` datetime NOT NULL, 648 `ActivityTime` datetime NOT NULL, 649 `SessionId` varchar(255) collate utf8_czech_ci NOT NULL, 650 `IpAddress` varchar(16) collate utf8_czech_ci NOT NULL, 651 `HostName` varchar(255) collate utf8_czech_ci NOT NULL, 652 `Id` int(11) NOT NULL auto_increment, 653 PRIMARY KEY (`Id`), 654 KEY `User` (`User`) 655 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=3 ; 656 657 -- 658 -- Vypisuji data pro tabulku `UserOnline` 659 -- 660 661 INSERT INTO `UserOnline` (`User`, `LoginTime`, `ActivityTime`, `SessionId`, `IpAddress`, `HostName`, `Id`) VALUES 662 (0, '2008-09-29 09:33:17', '2008-09-29 11:07:24', '96bhsqoheu6feqh7rmpa30ak92', '192.168.0.23', 'george-nb.zdechov.net', 1), 663 (5, '2008-09-29 11:07:29', '2008-09-29 14:29:45', 'ectsef5epcsgtcb4mpscq3kk84', '192.168.0.23', 'george-nb.zdechov.net', 2);
Note:
See TracChangeset
for help on using the changeset viewer.