-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jun 03, 2024 at 10:09 AM
-- Server version: 10.4.28-MariaDB
-- PHP Version: 8.2.4

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: `test`
--

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

--
-- Table structure for table `reply`
--

CREATE TABLE `reply` (
  `reply_id` int(11) NOT NULL,
  `comment_id` int(11) NOT NULL,
  `post_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `username_reply` varchar(255) NOT NULL,
  `reply_text` text NOT NULL,
  `reply_date` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `reply`
--

INSERT INTO `reply` (`reply_id`, `comment_id`, `post_id`, `user_id`, `username_reply`, `reply_text`, `reply_date`) VALUES
(1, 1, 8, 11, 'Luka20', 'This is reply 1', '2024-05-27 16:19:03'),
(2, 1, 8, 11, 'Luka20', 'This is reply 2 to comment 1', '2024-05-27 16:20:17'),
(3, 1, 8, 11, 'Luka20', 'This is reply 3 to comment 1', '2024-05-27 16:23:48'),
(4, 1, 8, 11, 'Luka20', 'This is reply 4 to comment 1', '2024-05-27 16:24:19'),
(5, 1, 8, 11, 'Luka20', 'This is reply 5 to comment 1', '2024-05-27 16:26:51'),
(6, 1, 8, 15, 'faustine22', 'That is not trure Luka', '2024-05-27 18:34:10'),
(7, 3, 6, 11, 'Luka20', 'This is a reply to comment 1', '2024-05-27 18:37:58'),
(8, 4, 6, 11, 'Luka20', 'This is a reply to comment 2', '2024-05-27 18:38:15'),
(9, 5, 16, 11, 'Luka20', 'This is reply 1', '2024-05-28 05:19:16');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `reply`
--
ALTER TABLE `reply`
  ADD PRIMARY KEY (`reply_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `reply`
--
ALTER TABLE `reply`
  MODIFY `reply_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
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 */;
