Guest User

Untitled

a guest
Aug 25th, 2017
2,750
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. CREATE TABLE `history` (
  2. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  3. `user_id` int(10) unsigned NOT NULL,
  4. `time_sent` int(10) unsigned NOT NULL,
  5. `duration` int(10) unsigned NOT NULL,
  6. `command` text NOT NULL,
  7. `max_bots` int(11) DEFAULT '-1',
  8. PRIMARY KEY (`id`),
  9. KEY `user_id` (`user_id`)
  10. );
  11.  
  12. CREATE TABLE `users` (
  13. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  14. `username` varchar(32) NOT NULL,
  15. `password` varchar(32) NOT NULL,
  16. `duration_limit` int(10) unsigned DEFAULT NULL,
  17. `cooldown` int(10) unsigned NOT NULL,
  18. `wrc` int(10) unsigned DEFAULT NULL,
  19. `last_paid` int(10) unsigned NOT NULL,
  20. `max_bots` int(11) DEFAULT '-1',
  21. `admin` int(10) unsigned DEFAULT '0',
  22. `intvl` int(10) unsigned DEFAULT '30',
  23. `api_key` text,
  24. PRIMARY KEY (`id`),
  25. KEY `username` (`username`)
  26. );
  27.  
  28. CREATE TABLE `whitelist` (
  29. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  30. `prefix` varchar(16) DEFAULT NULL,
  31. `netmask` tinyint(3) unsigned DEFAULT NULL,
  32. PRIMARY KEY (`id`),
  33. KEY `prefix` (`prefix`)
  34. );
Add Comment
Please, Sign In to add comment