-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `pedulidiri`
--

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

--
-- Table structure for table `migrations`
--

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

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2022_03_27_073542_create_perjalanans_table', 2);

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

--
-- Table structure for table `perjalanan`
--

CREATE TABLE `perjalanan` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) NOT NULL,
  `tanggal` date NOT NULL,
  `jam` time NOT NULL,
  `tujuan` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `suhu_tubuh` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `provinsi_id` bigint(20) DEFAULT NULL,
  `kota_id` bigint(20) DEFAULT NULL,
  `kecamatan_id` bigint(20) DEFAULT NULL,
  `kelurahan_id` bigint(20) 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 `perjalanan`
--

INSERT INTO `perjalanan` (`id`, `user_id`, `tanggal`, `jam`, `tujuan`, `suhu_tubuh`, `provinsi_id`, `kota_id`, `kecamatan_id`, `kelurahan_id`, `created_at`, `updated_at`) VALUES
(1, 1, '2022-03-07', '03:01:00', 'Jl. Rajawali', '35.6', NULL, NULL, NULL, NULL, '2022-03-27 02:00:11', '2022-03-27 02:00:11'),
(2, 3, '2022-03-21', '22:02:00', 'Jl. Garuda', '35', NULL, NULL, NULL, NULL, '2022-03-27 06:02:26', '2022-03-27 06:02:26'),
(3, 3, '2022-03-08', '20:04:00', 'Jl. Rajawali', '35', NULL, NULL, NULL, NULL, '2022-03-27 06:02:43', '2022-03-27 06:02:43'),
(4, 5, '2022-03-14', '20:10:00', 'Jl. Kebenaran', '37', NULL, NULL, NULL, NULL, '2022-03-27 06:07:24', '2022-03-27 06:07:24');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `perjalanan`
--
ALTER TABLE `perjalanan`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `perjalanan`
--
ALTER TABLE `perjalanan`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
COMMIT;

