Newer
Older
monitord / sample-config / .svn / text-base / monitord_mysql_tables.sql.svn-base
  1. DROP TABLE IF EXISTS `monitord_fms`;
  2. CREATE TABLE `monitord_fms` (
  3. `id` int(11) NOT NULL auto_increment,
  4. `uhrzeit` datetime NOT NULL,
  5. `status` smallint(2) unsigned default NULL,
  6. `kennung` varchar(9) collate latin1_german1_ci NOT NULL,
  7. `richtung` char(10) collate latin1_german1_ci NOT NULL,
  8. `text` varchar(255) collate latin1_german1_ci NOT NULL,
  9. `tki` char(1) collate latin1_german1_ci NOT NULL default '',
  10. `quelle` varchar(2) collate latin1_german1_ci NOT NULL,
  11. PRIMARY KEY (`id`)
  12. ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=latin1 COLLATE=latin1_german1_ci;
  13.  
  14. DROP TABLE IF EXISTS `monitord_pocsag`;
  15. CREATE TABLE `monitord_pocsag` (
  16. `id` int(10) unsigned NOT NULL auto_increment,
  17. `uhrzeit` datetime NOT NULL,
  18. `kennung` varchar(45) collate latin1_german1_ci NOT NULL,
  19. `sub` varchar(45) collate latin1_german1_ci NOT NULL,
  20. `text` varchar(500) collate latin1_german1_ci NOT NULL,
  21. `quelle` tinyint(2) unsigned NOT NULL,
  22. PRIMARY KEY (`id`)
  23. ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=latin1 COLLATE=latin1_german1_ci;
  24.  
  25. DROP TABLE IF EXISTS `monitord_zvei`;
  26. CREATE TABLE `monitord_zvei` (
  27. `id` int(11) NOT NULL auto_increment,
  28. `uhrzeit` datetime NOT NULL,
  29. `kennung` varchar(5) collate latin1_german1_ci NOT NULL,
  30. `typ` char(1) collate latin1_german1_ci NOT NULL,
  31. `text` varchar(80) collate latin1_german1_ci NOT NULL,
  32. `quelle` varchar(2) collate latin1_german1_ci NOT NULL,
  33. PRIMARY KEY (`id`)
  34. ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=latin1 COLLATE=latin1_german1_ci;