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

START TRANSACTION;



--
-- Database: `chatbot`
--

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

--
-- Table structure for table `messages`
--

CREATE TABLE `messages` (
  `message_id` int(11) NOT NULL,
  `fromUser` varchar(100) NOT NULL,
  `toUser` varchar(100) NOT NULL,
  `message` varchar(500) NOT NULL,
  `msg_class` int(11) NOT NULL,
  `rd_status` int(5) NOT NULL,
  `time` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `supportoptions`
--

CREATE TABLE `supportoptions` (
  `opt_id` int(11) NOT NULL,
  `opt_name` varchar(65) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `supportoptions`
--

INSERT INTO `supportoptions` (`opt_id`, `opt_name`) VALUES
(1, 'Support for existing services'),
(2, 'Technical Support'),
(3, 'Suggestions to improve current website'),
(4, 'Unlock new features');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `messages`
--
ALTER TABLE `messages`
  ADD PRIMARY KEY (`message_id`);

--
-- Indexes for table `supportoptions`
--
ALTER TABLE `supportoptions`
  ADD PRIMARY KEY (`opt_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `messages`
--
ALTER TABLE `messages`
  MODIFY `message_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `supportoptions`
--
ALTER TABLE `supportoptions`
  MODIFY `opt_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
COMMIT;

