   `username` varchar(20) DEFAULT NULL,
   `password` char(60) NOT NULL,
   `uploaderstatus` int(11) NOT NULL DEFAULT '0',
-  `tempkey` varchar(120) NOT NULL
+  `tempkey` varchar(120) NOT NULL,
+  `invitecode` varchar(100) DEFAULT '0'
 ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
 
 -- --------------------------------------------------------

/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `OpenTorrentSite`
--

-- --------------------------------------------------------

  ADD KEY `userid` (`userid`);

--
-- Indexes for table `invitations`
--
ALTER TABLE `invitations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `torrents`
--
ALTER TABLE `torrents`
