text: -- phpMyAdmin SQL Dump
  -- version 5.0.2
  -- https://www.phpmyadmin.net/
  --
  -- Host: localhost
  -- Generation Time: Feb 10, 2021 at 06:23 PM
  -- Server version: 10.4.14-MariaDB
  -- PHP Version: 7.4.10
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  START TRANSACTION;
  SET time_zone = "+00:00";
  
  
  /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  /*!40101 SET NAMES utf8mb4 */;
  
  --
  -- Database: `votetest`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `invitations`
  --
  
  CREATE TABLE `invitations` (
    `id` int(11) NOT NULL,
    `uniqueId` varchar(50) NOT NULL,
    `userdata` varchar(130) NOT NULL,
    `timestamp` int(11) NOT NULL,
    `invkey` varchar(20) NOT NULL,
    `votationID` int(11) NOT NULL,
    `uselimit` int(11) NOT NULL DEFAULT 1
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `votation`
  --
  
  CREATE TABLE `votation` (
    `id` int(11) NOT NULL,
    `name` varchar(50) NOT NULL,
    `structure` varchar(2000) NOT NULL,
    `active` tinyint(1) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `voters`
  --
  
  CREATE TABLE `voters` (
    `rID` int(11) NOT NULL,
    `voterID` varchar(24) DEFAULT NULL,
    `voterdata` varchar(200) NOT NULL,
    `timestamp` int(11) NOT NULL,
    `invitationID` int(11) NOT NULL,
    `loginKEY` varchar(15) DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `invitations`
  --
  ALTER TABLE `invitations`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `votation`
  --
  ALTER TABLE `votation`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `voters`
  --
  ALTER TABLE `voters`
    ADD PRIMARY KEY (`rID`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `invitations`
  --
  ALTER TABLE `invitations`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `votation`
  --
  ALTER TABLE `votation`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `voters`
  --
  ALTER TABLE `voters`
    MODIFY `rID` int(11) NOT NULL AUTO_INCREMENT;
  COMMIT;
  
  /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  