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

START TRANSACTION;



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

--
-- Table structure for table `subjects`
--

CREATE TABLE `subjects` (
  `id` int(11) NOT NULL,
  `lastname` varchar(255) NOT NULL,
  `firstname` varchar(255) NOT NULL,
  `middlename` varchar(255) DEFAULT NULL,
  `preferred_name` varchar(255) DEFAULT NULL,
  `campus` varchar(255) NOT NULL,
  `campusInitiated` varchar(255) NOT NULL,
  `typeOfPersonStudent` int(11) DEFAULT 0,
  `typeOfPersonEmployee` int(11) DEFAULT 0,
  `typeOfPersonAlumni` int(11) DEFAULT 0,
  `typeOfPersonOther` int(11) DEFAULT 0,
  `comments` text DEFAULT NULL,
  `notifyIfEntryAttempt` int(11) DEFAULT 0,
  `notifyIfEntryAttemptComments` text DEFAULT NULL,
  `added` datetime NOT NULL DEFAULT current_timestamp(),
  `exclusion_end` datetime DEFAULT NULL,
  `picture_path` varchar(512) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;



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

--
-- AUTO_INCREMENT for table `subjects`
--
ALTER TABLE `subjects`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51;
COMMIT;

