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

START TRANSACTION;



--
-- Database: `diginspire_chat`
--

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

--
-- Table structure for table `chat`
--

CREATE TABLE `chat` (
  `id` int NOT NULL,
  `sender_id` int NOT NULL,
  `receiver_id` int NOT NULL,
  `message` text NOT NULL,
  `attachment_name` text NOT NULL,
  `file_ext` text NOT NULL,
  `mime_type` text NOT NULL,
  `message_date_time` text NOT NULL,
  `ip_address` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `chat`
--

INSERT INTO `chat` (`id`, `sender_id`, `receiver_id`, `message`, `attachment_name`, `file_ext`, `mime_type`, `message_date_time`, `ip_address`) VALUES
(30, 184, 197, 'hi jon please send my project file report', '', '', '', '2018-06-13 17:28:40', '::1'),
(31, 197, 184, 'ok', '', '', '', '2018-06-13 17:28:45', '::1'),
(32, 197, 184, 'wait..', '', '', '', '2018-06-13 17:28:47', '::1'),
(33, 197, 184, 'NULL', 'Proejct_report_presenation.pptx', '.pptx', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', '2018-06-13 17:29:11', '::1'),
(34, 184, 197, 'ok thanks', '', '', '', '2018-06-13 17:30:21', '::1'),
(35, 197, 184, 'open the file', '', '', '', '2018-06-13 17:30:34', '::1'),
(36, 184, 197, 'please send images', '', '', '', '2018-06-13 17:31:22', '::1'),
(37, 197, 184, 'ok', '', '', '', '2018-06-13 17:31:27', '::1'),
(38, 197, 184, 'wait bro..', '', '', '', '2018-06-13 17:31:33', '::1'),
(39, 197, 184, 'NULL', '21_preview.png', '.png', 'image/png', '2018-06-13 17:31:43', '::1'),
(40, 197, 184, 'you got it', '', '', '', '2018-06-13 17:32:05', '::1'),
(41, 184, 197, 'yes', '', '', '', '2018-06-13 17:32:10', '::1'),
(42, 184, 197, 'thanks', '', '', '', '2018-06-13 17:32:16', '::1'),
(43, 184, 197, 'some pdf file send', '', '', '', '2018-06-13 17:32:33', '::1'),
(44, 197, 184, 'NULL', 'Invoice.pdf', '.pdf', 'application/pdf', '2018-06-13 17:33:03', '::1');

--
-- Indexes for dumped tables
--

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `chat`
--
ALTER TABLE `chat`
  MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=45;
COMMIT;

