Dalexhd

pts_tsbot.sql

Oct 25th, 2017
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.97 KB | None | 0 0
  1. CREATE TABLE `top10connections` (
  2.   `id` int(11) NOT NULL,
  3.   `uid` text NOT NULL,
  4.   `connections` int(11) NOT NULL,
  5.   `nick` text NOT NULL,
  6.   `clid` int(11) NOT NULL
  7. );
  8.  
  9.  
  10. CREATE TABLE `top10connectiontime` (
  11.   `id` int(11) NOT NULL,
  12.   `uid` text NOT NULL,
  13.   `connectiontime` int(11) NOT NULL,
  14.   `nick` text NOT NULL,
  15.   `clid` int(11) NOT NULL
  16. );
  17.  
  18. CREATE TABLE `premium` (
  19.   `id` int(11) NOT NULL,
  20.   `uid` text NOT NULL,
  21.   `endtime` int(11) NOT NULL,
  22.   `nick` varchar(255) NOT NULL DEFAULT 'Brak'
  23. );
  24.  
  25. ALTER TABLE `top10connections`
  26.   ADD PRIMARY KEY (`id`);
  27.  
  28. ALTER TABLE `top10connectiontime`
  29.   ADD PRIMARY KEY (`id`);
  30.  
  31. ALTER TABLE `premium`
  32.   ADD PRIMARY KEY (`id`);
  33.  
  34. ALTER TABLE `top10connections`
  35.   MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
  36.  
  37. ALTER TABLE `top10connectiontime`
  38.   MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
  39.  
  40. ALTER TABLE `premium`
  41.   MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
Advertisement
Add Comment
Please, Sign In to add comment