-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jun 03, 2024 at 10:11 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`
--

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

--
-- Structure for view `post_dispute_details`
--

CREATE VIEW `post_dispute_details`  AS SELECT `pd`.`username_dispute` AS `username_dispute`, `pd`.`dispute_text` AS `dispute_text`, `pd`.`user_id` AS `user_id`, `pd`.`post_id` AS `post_id`, `pd`.`dispute_date` AS `dispute_date` FROM ((`post_disputes` `pd` join `posts` `p` on(`pd`.`post_id` = `p`.`post_id` and `pd`.`user_id` = `p`.`user_id`)) join `users` `u` on(`pd`.`user_id` = `u`.`user_id`)) ;

--
-- VIEW `post_dispute_details`
-- Data: None
--

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 */;
