-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 23 Bulan Mei 2024 pada 15.25
-- Versi server: 10.4.28-MariaDB
-- Versi PHP: 8.2.0

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

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

--
-- Struktur dari tabel `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `connection` text NOT NULL,
  `queue` text NOT NULL,
  `payload` longtext NOT NULL,
  `exception` longtext NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Struktur dari tabel `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_reset_tokens_table', 1),
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(5, '2024_05_09_181009_create_roles_table', 1),
(6, '2024_05_09_181043_create_proyeks_table', 1),
(7, '2024_05_09_181114_create_penerima_proyeks_table', 1),
(8, '2024_05_09_181139_create_task_proyeks_table', 1),
(9, '2024_05_09_181822_add_column_to_users_table', 1),
(10, '2024_05_09_181857_add_column_to_task_proyeks', 1),
(11, '2024_05_15_101454_remove_team_from_proyeks_table', 2),
(12, '2024_05_17_165255_add_foto_profile_users_table', 3);

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

--
-- Struktur dari tabel `password_reset_tokens`
--

CREATE TABLE `password_reset_tokens` (
  `email` varchar(255) NOT NULL,
  `token` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Struktur dari tabel `penerima_proyeks`
--

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

--
-- Dumping data untuk tabel `penerima_proyeks`
--

INSERT INTO `penerima_proyeks` (`id`, `user_id`, `task_proyek_id`, `created_at`, `updated_at`) VALUES
(28, 3, 33, '2024-05-23 06:07:14', '2024-05-23 06:07:14');

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

--
-- Struktur dari tabel `personal_access_tokens`
--

CREATE TABLE `personal_access_tokens` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tokenable_type` varchar(255) NOT NULL,
  `tokenable_id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `token` varchar(64) NOT NULL,
  `abilities` text DEFAULT NULL,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL 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 untuk tabel `personal_access_tokens`
--

INSERT INTO `personal_access_tokens` (`id`, `tokenable_type`, `tokenable_id`, `name`, `token`, `abilities`, `last_used_at`, `expires_at`, `created_at`, `updated_at`) VALUES
(1, 'App\\Models\\User', 2, 'user login', '72ecd4e42f97b2a55eda53bc1bdc44e3e5c2333af9ab294ef597fb6f15fb2483', '[\"*\"]', NULL, NULL, '2024-05-09 12:57:34', '2024-05-09 12:57:34'),
(2, 'App\\Models\\User', 2, 'user login', '0efa6e6ca4067f0b628fc81c2f2668c4a3780df5c09b40ad4937fc28f37d58a2', '[\"*\"]', '2024-05-09 13:01:00', NULL, '2024-05-09 12:58:42', '2024-05-09 13:01:00'),
(5, 'App\\Models\\User', 2, 'user login', 'b579a63ff8c2d02af16e323bbc43466676ac06927f6508771060d751bc60eef4', '[\"*\"]', '2024-05-19 08:05:33', NULL, '2024-05-10 07:45:08', '2024-05-19 08:05:33'),
(6, 'App\\Models\\User', 2, 'user login', 'df9185fcbdc36ce01763ed03b2b7d9d307090ec4869779ebe875871ce5fd7a2a', '[\"*\"]', NULL, NULL, '2024-05-10 11:17:15', '2024-05-10 11:17:15'),
(7, 'App\\Models\\User', 2, 'user login', 'c48131156794ef1f63f4cf5596c66bcef3252df6c2678ae1408a5fb320c356e0', '[\"*\"]', NULL, NULL, '2024-05-10 11:28:22', '2024-05-10 11:28:22'),
(8, 'App\\Models\\User', 2, 'user login', '6697cb6590b32134243852fe4a3740dd136814083e1679a8d3354c064de7cc76', '[\"*\"]', NULL, NULL, '2024-05-10 11:46:11', '2024-05-10 11:46:11'),
(9, 'App\\Models\\User', 3, 'user login', 'd6d8046d6950f6276c86b696e4b6dba764bdde0bf469092633798db1537f61e4', '[\"*\"]', '2024-05-11 08:07:06', NULL, '2024-05-11 08:06:52', '2024-05-11 08:07:06'),
(10, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-15 10:01:23', '2024-05-15 10:01:23'),
(11, 'App\\Models\\User', 2, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-15 11:24:46', NULL, '2024-05-15 11:24:15', '2024-05-15 11:24:46'),
(12, 'App\\Models\\User', 2, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-17 07:36:45', NULL, '2024-05-17 07:26:35', '2024-05-17 07:36:45'),
(13, 'App\\Models\\User', 2, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-17 07:41:27', NULL, '2024-05-17 07:37:39', '2024-05-17 07:41:27'),
(14, 'App\\Models\\User', 2, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-17 07:44:48', NULL, '2024-05-17 07:41:32', '2024-05-17 07:44:48'),
(15, 'App\\Models\\User', 2, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-17 07:45:29', NULL, '2024-05-17 07:44:53', '2024-05-17 07:45:29'),
(16, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-17 08:29:53', NULL, '2024-05-17 07:45:42', '2024-05-17 08:29:53'),
(17, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-18 02:25:13', '2024-05-18 02:25:13'),
(18, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-18 17:20:23', '2024-05-18 17:20:23'),
(19, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-18 18:36:56', '2024-05-18 18:36:56'),
(20, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-18 18:43:45', '2024-05-18 18:43:45'),
(21, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-18 18:50:55', '2024-05-18 18:50:55'),
(22, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 08:03:32', '2024-05-19 08:03:32'),
(23, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 08:21:30', '2024-05-19 08:21:30'),
(24, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 08:41:44', '2024-05-19 08:41:44'),
(25, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 08:43:56', '2024-05-19 08:43:56'),
(26, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 08:47:47', '2024-05-19 08:47:47'),
(27, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 08:52:39', '2024-05-19 08:52:39'),
(28, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 08:55:43', '2024-05-19 08:55:43'),
(29, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 08:58:00', '2024-05-19 08:58:00'),
(30, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 09:00:38', '2024-05-19 09:00:38'),
(31, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 09:22:01', '2024-05-19 09:22:01'),
(32, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 09:24:33', '2024-05-19 09:24:33'),
(33, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-19 10:20:32', NULL, '2024-05-19 09:25:28', '2024-05-19 10:20:32'),
(34, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 09:27:51', '2024-05-19 09:27:51'),
(35, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 09:29:33', '2024-05-19 09:29:33'),
(36, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 09:31:10', '2024-05-19 09:31:10'),
(37, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 09:37:21', '2024-05-19 09:37:21'),
(38, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-19 09:38:55', '2024-05-19 09:38:55'),
(39, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-19 09:40:55', NULL, '2024-05-19 09:40:52', '2024-05-19 09:40:55'),
(40, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-19 09:50:05', NULL, '2024-05-19 09:50:02', '2024-05-19 09:50:05'),
(41, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-19 09:52:46', NULL, '2024-05-19 09:52:42', '2024-05-19 09:52:46'),
(42, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-19 09:55:26', NULL, '2024-05-19 09:55:23', '2024-05-19 09:55:26'),
(43, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-19 09:56:50', NULL, '2024-05-19 09:56:47', '2024-05-19 09:56:50'),
(44, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-19 10:00:16', NULL, '2024-05-19 10:00:07', '2024-05-19 10:00:16'),
(45, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-19 10:04:38', NULL, '2024-05-19 10:04:33', '2024-05-19 10:04:38'),
(46, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-19 10:29:58', NULL, '2024-05-19 10:05:38', '2024-05-19 10:29:58'),
(47, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-19 16:30:34', NULL, '2024-05-19 15:58:04', '2024-05-19 16:30:34'),
(48, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-20 04:58:45', NULL, '2024-05-20 04:58:26', '2024-05-20 04:58:45'),
(49, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-20 05:20:28', NULL, '2024-05-20 05:13:39', '2024-05-20 05:20:28'),
(50, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-22 11:35:58', NULL, '2024-05-20 11:43:22', '2024-05-22 11:35:58'),
(51, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-20 12:28:04', NULL, '2024-05-20 12:20:41', '2024-05-20 12:28:04'),
(52, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-20 13:30:25', '2024-05-20 13:30:25'),
(53, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-20 14:36:46', NULL, '2024-05-20 13:30:26', '2024-05-20 14:36:46'),
(54, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-20 20:41:48', NULL, '2024-05-20 15:29:39', '2024-05-20 20:41:48'),
(55, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-20 22:12:27', NULL, '2024-05-20 20:50:38', '2024-05-20 22:12:27'),
(56, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-21 02:05:54', NULL, '2024-05-21 02:05:19', '2024-05-21 02:05:54'),
(57, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-21 03:58:44', NULL, '2024-05-21 02:38:33', '2024-05-21 03:58:44'),
(58, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-21 15:12:58', NULL, '2024-05-21 09:28:08', '2024-05-21 15:12:58'),
(59, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-21 10:29:05', NULL, '2024-05-21 09:56:52', '2024-05-21 10:29:05'),
(60, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-22 11:27:44', NULL, '2024-05-21 11:04:56', '2024-05-22 11:27:44'),
(61, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-21 19:09:59', NULL, '2024-05-21 15:31:17', '2024-05-21 19:09:59'),
(62, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-22 07:13:33', NULL, '2024-05-22 07:11:21', '2024-05-22 07:13:33'),
(63, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-22 09:24:31', NULL, '2024-05-22 09:20:53', '2024-05-22 09:24:31'),
(64, 'App\\Models\\User', 5, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-22 13:57:03', NULL, '2024-05-22 09:25:48', '2024-05-22 13:57:03'),
(65, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-22 09:52:21', '2024-05-22 09:52:21'),
(66, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', NULL, NULL, '2024-05-22 09:52:28', '2024-05-22 09:52:28'),
(67, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-22 10:25:27', NULL, '2024-05-22 09:52:32', '2024-05-22 10:25:27'),
(68, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-22 12:55:17', NULL, '2024-05-22 11:04:11', '2024-05-22 12:55:17'),
(69, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-22 13:29:40', NULL, '2024-05-22 12:58:19', '2024-05-22 13:29:40'),
(70, 'App\\Models\\User', 12, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-22 14:00:01', NULL, '2024-05-22 13:33:02', '2024-05-22 14:00:01'),
(71, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-22 18:58:13', NULL, '2024-05-22 17:51:55', '2024-05-22 18:58:13'),
(72, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-22 20:15:35', NULL, '2024-05-22 19:43:03', '2024-05-22 20:15:35'),
(73, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-22 22:30:23', NULL, '2024-05-22 21:13:39', '2024-05-22 22:30:23'),
(74, 'App\\Models\\User', 3, 'auth', '[REDACTED]', '[\"*\"]', '2024-05-23 06:10:46', NULL, '2024-05-23 05:56:52', '2024-05-23 06:10:46');

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

--
-- Struktur dari tabel `proyeks`
--

CREATE TABLE `proyeks` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `nama` varchar(255) NOT NULL,
  `detail` longtext NOT NULL,
  `manager` varchar(255) NOT NULL,
  `file` varchar(255) DEFAULT NULL,
  `start` date NOT NULL,
  `finish` date NOT NULL,
  `nilai` int(11) NOT NULL,
  `klien` varchar(225) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `proyeks`
--

INSERT INTO `proyeks` (`id`, `user_id`, `nama`, `detail`, `manager`, `file`, `start`, `finish`, `nilai`, `klien`, `created_at`, `updated_at`) VALUES
(10, 3, 'Webisite', 'asdads', 'asc', NULL, '2024-05-30', '2024-05-31', 70, 'asd', '2024-05-22 11:37:42', '2024-05-23 06:01:20'),
(11, 3, 'asdas', 'asd', 'das', NULL, '2024-05-23', '2024-05-31', 12, 'asd', '2024-05-22 21:16:06', '2024-05-22 21:16:06'),
(12, 3, 'asd', 'asd', 'asd', NULL, '2024-05-23', '2024-05-31', 20, 'asd', '2024-05-23 06:00:14', '2024-05-23 06:00:14');

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

--
-- Struktur dari tabel `roles`
--

CREATE TABLE `roles` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `roles`
--

INSERT INTO `roles` (`id`, `name`, `created_at`, `updated_at`) VALUES
(1, 'direktur', '2024-05-09 11:40:08', '2024-05-09 11:40:08'),
(2, 'admin', '2024-05-09 11:40:16', '2024-05-09 11:40:16'),
(3, 'manager', '2024-05-09 11:40:21', '2024-05-09 11:40:21'),
(4, 'karyawan', '2024-05-09 11:40:26', '2024-05-09 11:40:26');

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

--
-- Struktur dari tabel `task_proyeks`
--

CREATE TABLE `task_proyeks` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `proyek_id` bigint(20) UNSIGNED NOT NULL,
  `tugas` varchar(255) DEFAULT NULL,
  `catatan` longtext DEFAULT NULL,
  `start` date DEFAULT NULL,
  `deadline` date DEFAULT NULL,
  `status` varchar(255) DEFAULT NULL,
  `nilai` int(11) 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 untuk tabel `task_proyeks`
--

INSERT INTO `task_proyeks` (`id`, `proyek_id`, `tugas`, `catatan`, `start`, `deadline`, `status`, `nilai`, `created_at`, `updated_at`) VALUES
(33, 10, 'asd', 'asd', '2024-05-23', '2024-05-30', 'asd', 12, '2024-05-23 06:07:14', '2024-05-23 06:07:14');

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

--
-- Struktur dari tabel `users`
--

CREATE TABLE `users` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `nip` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `username` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `jenis_kelamin` varchar(255) NOT NULL,
  `tanggal_lahir` date NOT NULL,
  `no_telp` varchar(255) NOT NULL,
  `alamat` varchar(255) NOT NULL,
  `remember_token` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `role_id` bigint(20) UNSIGNED DEFAULT NULL,
  `foto_profile` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `users`
--

INSERT INTO `users` (`id`, `name`, `nip`, `email`, `email_verified_at`, `username`, `password`, `jenis_kelamin`, `tanggal_lahir`, `no_telp`, `alamat`, `remember_token`, `created_at`, `updated_at`, `role_id`, `foto_profile`) VALUES
(3, 'daru', '1234567890', 'daru@gmail.com', '2024-05-23 05:59:40', 'daru', '$2y$12$1YV2PLsdwmEsq8qRotv3D.RV6bmYYrty4duisSMSe4bFTv1qrryXK', 'laki-laki', '2024-05-29', '087896754564', 'jakarta bogor ajs', '43', '2024-05-10 08:44:29', '2024-05-23 05:59:40', 1, '1716238421.jpg'),
(5, 'fawaid', '38838383', 'fawaidbengbe@gmail.com', '2024-05-20 20:58:37', 'gagaga', '$2y$12$rq94WXkt8nWHH4zPQ16chexk78DiyqyAxC0t1QSfLT3IKyTZZ8aKu', 'laki laki', '2003-12-12', '071332499295', 'jember', '12', '2024-05-20 13:53:42', '2024-05-20 13:53:42', 4, '1716238421.jpg'),
(11, 'hadi', '1234567890', 'hadi@gmail.com', '2024-05-22 11:35:58', 'hadi', '$2y$12$rqC3Plb.0Xv7/fBOlMlgmu4HBQwIWZh4AeugjMrvVJJFmH0XiAfr.', 'laki-laki', '2003-04-09', '087896754564', 'jakarta bogor', '86', '2024-05-22 11:33:28', '2024-05-22 11:35:58', 4, NULL),
(12, 'Hahaha', '123345', 'fwdac@gmail.com', '2024-05-22 20:31:25', 'fawad', '$2y$10$0dO8M42Nh1WaFwEcgSPjruiN1yebVKp10mIn0d1IUxSOzaW4a4QhG', 'l', '2024-05-23', '08123213123', 'jember', 'asdaasdsdaasdasasdasdasdasd', '2024-05-22 20:33:57', '2024-05-22 20:34:03', 4, NULL),
(14, 'Fawaidac', '123', 'fwdacdh@gmail.com', '2024-05-23 05:58:21', 'asd', '$2y$12$N2sG.3Vb8eBOqSnNZIaeAub3YUoAOx0KxA6GnX2xUISmyZCsw4zOq', 'laki laki', '2024-05-23', '081332443999', 'jember', '57', '2024-05-23 05:58:21', '2024-05-23 05:58:21', 1, NULL);

--
-- Indexes for dumped tables
--

--
-- Indeks untuk tabel `failed_jobs`
--
ALTER TABLE `failed_jobs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);

--
-- Indeks untuk tabel `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `password_reset_tokens`
--
ALTER TABLE `password_reset_tokens`
  ADD PRIMARY KEY (`email`);

--
-- Indeks untuk tabel `penerima_proyeks`
--
ALTER TABLE `penerima_proyeks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `penerima_proyeks_user_id_foreign` (`user_id`),
  ADD KEY `penerima_proyeks_proyek_id_foreign` (`task_proyek_id`);

--
-- Indeks untuk tabel `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  ADD KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`);

--
-- Indeks untuk tabel `proyeks`
--
ALTER TABLE `proyeks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `proyeks_user_id_foreign` (`user_id`);

--
-- Indeks untuk tabel `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_name_unique` (`name`);

--
-- Indeks untuk tabel `task_proyeks`
--
ALTER TABLE `task_proyeks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `task_proyeks_proyek_id_foreign` (`proyek_id`);

--
-- Indeks untuk tabel `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `users_email_unique` (`email`),
  ADD KEY `users_role_id_foreign` (`role_id`);

--
-- AUTO_INCREMENT untuk tabel yang dibuang
--

--
-- AUTO_INCREMENT untuk tabel `failed_jobs`
--
ALTER TABLE `failed_jobs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT untuk tabel `penerima_proyeks`
--
ALTER TABLE `penerima_proyeks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

--
-- AUTO_INCREMENT untuk tabel `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=75;

--
-- AUTO_INCREMENT untuk tabel `proyeks`
--
ALTER TABLE `proyeks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT untuk tabel `roles`
--
ALTER TABLE `roles`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT untuk tabel `task_proyeks`
--
ALTER TABLE `task_proyeks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;

--
-- AUTO_INCREMENT untuk tabel `users`
--
ALTER TABLE `users`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables)
--

--
-- Ketidakleluasaan untuk tabel `penerima_proyeks`
--
ALTER TABLE `penerima_proyeks`
  ADD CONSTRAINT `penerima_proyeks_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `task_proyeks_penerimaproyek_id_foreign` FOREIGN KEY (`task_proyek_id`) REFERENCES `task_proyeks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Ketidakleluasaan untuk tabel `proyeks`
--
ALTER TABLE `proyeks`
  ADD CONSTRAINT `proyeks_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`);

--
-- Ketidakleluasaan untuk tabel `task_proyeks`
--
ALTER TABLE `task_proyeks`
  ADD CONSTRAINT `proyek` FOREIGN KEY (`proyek_id`) REFERENCES `proyeks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Ketidakleluasaan untuk tabel `users`
--
ALTER TABLE `users`
  ADD CONSTRAINT `users_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`);
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 */;
