-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 13, 2026 at 04:07 PM
-- Wersja serwera: 10.4.32-MariaDB
-- Wersja PHP: 8.2.12

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

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

--
-- Struktura tabeli dla tabeli `position_level_task_connection`
--

CREATE TABLE `position_level_task_connection` (
  `id` int(11) NOT NULL,
  `level_id` int(11) NOT NULL,
  `task_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `position_level_task_connection`
--

INSERT INTO `position_level_task_connection` (`id`, `level_id`, `task_id`) VALUES
(2, 10, 13),
(3, 19, 13),
(4, 21, 15),
(5, 21, 16),
(6, 21, 19),
(7, 24, 24);

--
-- Indeksy dla zrzutów tabel
--

--
-- Indeksy dla tabeli `position_level_task_connection`
--
ALTER TABLE `position_level_task_connection`
  ADD PRIMARY KEY (`id`),
  ADD KEY `level_id` (`level_id`),
  ADD KEY `position_level_task_connection_ibfk_2` (`task_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `position_level_task_connection`
--
ALTER TABLE `position_level_task_connection`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `position_level_task_connection`
--
ALTER TABLE `position_level_task_connection`
  ADD CONSTRAINT `position_level_task_connection_ibfk_1` FOREIGN KEY (`level_id`) REFERENCES `position_level` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `position_level_task_connection_ibfk_2` FOREIGN KEY (`task_id`) REFERENCES `todo_task` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
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 */;
