-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `braintoken`
--

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

--
-- Table structure for table `assignments`
--

CREATE TABLE `assignments` (
  `id` int(255) NOT NULL,
  `assignmentName` varchar(2000) NOT NULL,
  `classId` varchar(200) NOT NULL,
  `question1` varchar(2000) DEFAULT NULL,
  `question2` varchar(2000) DEFAULT NULL,
  `question3` varchar(2000) DEFAULT NULL,
  `q1a` varchar(2000) DEFAULT NULL,
  `q1b` varchar(2000) DEFAULT NULL,
  `q1c` varchar(2000) DEFAULT NULL,
  `q1d` varchar(2000) DEFAULT NULL,
  `q2a` varchar(2000) DEFAULT NULL,
  `q2b` varchar(2000) DEFAULT NULL,
  `q2c` varchar(2000) DEFAULT NULL,
  `q2d` varchar(2000) DEFAULT NULL,
  `q3a` varchar(2000) DEFAULT NULL,
  `q3b` varchar(2000) DEFAULT NULL,
  `q3c` varchar(2000) DEFAULT NULL,
  `q3d` varchar(2000) DEFAULT NULL,
  `q1Answer` varchar(2000) NOT NULL,
  `q2Answer` varchar(2000) NOT NULL,
  `q3Answer` varchar(2000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `assignments`
--

INSERT INTO `assignments` (`id`, `assignmentName`, `classId`, `question1`, `question2`, `question3`, `q1a`, `q1b`, `q1c`, `q1d`, `q2a`, `q2b`, `q2c`, `q2d`, `q3a`, `q3b`, `q3c`, `q3d`, `q1Answer`, `q2Answer`, `q3Answer`) VALUES
(15, 'Wednesday January 19th', 'higgy84601', 'What is lossy compression?', 'What is lossless compression?', 'What is a fully connected network?', 'Information is lost when data is compressed', 'Information is not lost when data is compressed', '', '', 'Information is lost when data is compressed', 'Information is not lost when data is compressed', '', '', 'Where all computers are connected to each other', 'Where the outer ring of computers are the only ones connected', '', '', 'a', 'b', 'a'),
(16, 'Friday February 18th', 'higgy84601', 'Question 1', 'Question 2', 'Question 2', 'q1', 'q2', '', '', 'q1', 'q2', '', '', 'q1', 'q2', '', '', 'a', 'a', 'a');

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

--
-- Table structure for table `braintoken`
--

CREATE TABLE `braintoken` (
  `id` int(11) NOT NULL,
  `tokenSupply` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `braintoken`
--

INSERT INTO `braintoken` (`id`, `tokenSupply`) VALUES
(1, '99400');

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

--
-- Table structure for table `studentsubmissions`
--

CREATE TABLE `studentsubmissions` (
  `id` int(255) NOT NULL,
  `name` varchar(2000) NOT NULL,
  `grade` int(3) DEFAULT NULL,
  `q1` varchar(1) DEFAULT NULL,
  `q2` varchar(1) DEFAULT NULL,
  `q3` varchar(1) DEFAULT NULL,
  `assignmentName` varchar(2000) NOT NULL,
  `classId` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `studentsubmissions`
--

INSERT INTO `studentsubmissions` (`id`, `name`, `grade`, `q1`, `q2`, `q3`, `assignmentName`, `classId`) VALUES
(32, 'davidt', 100, 'a', 'b', 'a', 'Wednesday January 19th', 'higgy84601'),
(33, 'bradenpotter', 100, 'a', 'b', 'a', 'Wednesday January 19th', 'higgy84601'),
(34, 'JustinW', 100, 'a', 'b', 'a', 'Wednesday January 19th', 'higgy84601'),
(35, 'MichaelS', 100, 'a', 'b', 'a', 'Wednesday January 19th', 'higgy84601'),
(36, 'MacyWilson1', 100, 'a', 'b', 'a', 'Wednesday January 19th', 'higgy84601'),
(37, 'davidt', 100, 'a', 'a', 'a', 'Friday February 18th', 'higgy84601');

--
-- Indexes for dumped tables
--

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `assignments`
--
ALTER TABLE `assignments`
  MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `braintoken`
--
ALTER TABLE `braintoken`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `studentsubmissions`
--
ALTER TABLE `studentsubmissions`
  MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38;
COMMIT;

