-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Apr 16, 2026 at 03:23 PM
-- Server version: 10.6.23-MariaDB-cll-lve
-- PHP Version: 8.4.14

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

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

--
-- Table structure for table `users_divisions`
--

CREATE TABLE `users_divisions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `division_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users_divisions`
--

INSERT INTO `users_divisions` (`id`, `user_id`, `division_id`, `created_at`, `updated_at`) VALUES
(1, 2, 35, '2026-04-15 12:08:14', '2026-04-15 12:08:14'),
(2, 3, 35, '2026-04-15 12:08:14', '2026-04-15 12:08:14'),
(3, 4, 35, '2026-04-15 12:08:14', '2026-04-15 12:08:14'),
(4, 5, 35, '2026-04-15 12:08:14', '2026-04-15 12:08:14'),
(5, 6, 35, '2026-04-15 12:08:14', '2026-04-15 12:08:14'),
(6, 13, 35, '2026-04-15 12:23:57', '2026-04-15 12:23:57'),
(7, 14, 30, '2026-04-15 12:38:13', '2026-04-15 12:38:13'),
(9, 16, 35, '2026-04-15 12:49:31', '2026-04-15 12:49:31'),
(15, 20, 34, '2026-04-15 13:10:12', '2026-04-15 13:10:12'),
(23, 26, 31, '2026-04-15 13:39:38', '2026-04-15 13:39:38'),
(25, 28, 31, '2026-04-15 13:48:41', '2026-04-15 13:48:41'),
(26, 23, 33, '2026-04-15 14:00:07', '2026-04-15 14:00:07'),
(33, 19, 35, '2026-04-15 15:49:35', '2026-04-15 15:49:35'),
(34, 17, 36, '2026-04-15 15:53:43', '2026-04-15 15:53:43'),
(35, 17, 30, '2026-04-15 15:53:43', '2026-04-15 15:53:43'),
(36, 29, 34, '2026-04-15 15:54:32', '2026-04-15 15:54:32'),
(37, 29, 35, '2026-04-15 15:54:32', '2026-04-15 15:54:32'),
(38, 29, 31, '2026-04-15 15:54:32', '2026-04-15 15:54:32'),
(39, 29, 33, '2026-04-15 15:54:32', '2026-04-15 15:54:32'),
(40, 29, 36, '2026-04-15 15:54:32', '2026-04-15 15:54:32'),
(41, 29, 30, '2026-04-15 15:54:32', '2026-04-15 15:54:32'),
(44, 21, 34, '2026-04-15 16:07:36', '2026-04-15 16:07:36'),
(47, 31, 31, '2026-04-15 16:18:43', '2026-04-15 16:18:43'),
(48, 32, 35, '2026-04-15 16:21:56', '2026-04-15 16:21:56'),
(49, 24, 33, '2026-04-15 16:24:46', '2026-04-15 16:24:46'),
(51, 33, 34, '2026-04-15 16:35:23', '2026-04-15 16:35:23'),
(52, 30, 34, '2026-04-15 16:36:08', '2026-04-15 16:36:08'),
(53, 34, 31, '2026-04-15 16:46:20', '2026-04-15 16:46:20'),
(54, 25, 33, '2026-04-15 16:49:38', '2026-04-15 16:49:38'),
(55, 35, 33, '2026-04-15 16:55:26', '2026-04-15 16:55:26'),
(58, 37, 35, '2026-04-15 17:04:26', '2026-04-15 17:04:26'),
(59, 15, 35, '2026-04-15 17:06:56', '2026-04-15 17:06:56'),
(60, 38, 30, '2026-04-15 17:11:18', '2026-04-15 17:11:18'),
(61, 39, 34, '2026-04-15 17:15:27', '2026-04-15 17:15:27'),
(62, 40, 33, '2026-04-15 17:19:30', '2026-04-15 17:19:30'),
(63, 41, 31, '2026-04-15 17:24:32', '2026-04-15 17:24:32'),
(64, 22, 34, '2026-04-15 17:27:38', '2026-04-15 17:27:38'),
(65, 27, 31, '2026-04-15 17:30:04', '2026-04-15 17:30:04'),
(66, 36, 30, '2026-04-16 11:05:26', '2026-04-16 11:05:26'),
(67, 18, 30, '2026-04-16 11:07:23', '2026-04-16 11:07:23');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `users_divisions`
--
ALTER TABLE `users_divisions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `users_divisions_user_id_division_id_unique` (`user_id`,`division_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `users_divisions`
--
ALTER TABLE `users_divisions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=68;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `users_divisions`
--
ALTER TABLE `users_divisions`
  ADD CONSTRAINT `users_divisions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE 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 */;
