-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 30 Bulan Mei 2023 pada 04.45
-- Versi server: 10.4.28-MariaDB
-- Versi PHP: 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: `laravel_cash`
--
-- --------------------------------------------------------
--
-- 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, '2023_04_02_142820_create_cash_statuses_table', 2),
(3, '2023_04_03_024733_create_incoming_cashes_table', 3),
(4, '2023_04_03_031712_xyz_incoming_cash', 4),
(5, '2014_10_12_100000_create_password_reset_tokens_table', 5),
(6, '2019_08_19_000000_create_failed_jobs_table', 5),
(7, '2019_12_14_000001_create_personal_access_tokens_table', 5),
(8, '2023_04_04_072228_create_outgoing_cashes_table', 6),
(9, '2023_04_05_120620_create_jobs_table', 7);
-- --------------------------------------------------------
--
-- Struktur dari tabel `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(155) NOT NULL,
`email` varchar(155) NOT NULL,
`password` varchar(255) NOT NULL,
`photo` varchar(155) DEFAULT NULL,
`level` int(11) 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 `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `password`, `photo`, `level`, `created_at`, `updated_at`) VALUES
(1, 'Arnold', '[email protected]', '$2y$10$K3h.470tfdC7LOBx4HkkA.OgC5isSugJN7TleDJ7M9AvOPFOCWSiG', 'User-230512030649.jpg', 1, NULL, '2023-05-11 19:06:49'),
(6, 'Hakim', '[email protected]', '$2y$10$ljxduhdRpipwQqxHedNNHO15LooUeSvHABXAMxJIjraR7HSjjRMUe', 'User-230512030710.jpg', 2, '2023-04-11 23:21:08', '2023-05-11 19:07:10');
-- --------------------------------------------------------
--
-- Struktur dari tabel `xyz_transactions`
--
CREATE TABLE `xyz_transactions` (
`id` bigint(20) UNSIGNED NOT NULL,
`date` date NOT NULL,
`description` text DEFAULT NULL,
`amount` varchar(155) NOT NULL,
`status` int(11) 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 `xyz_transactions`
--
INSERT INTO `xyz_transactions` (`id`, `date`, `description`, `amount`, `status`, `created_at`, `updated_at`) VALUES
(5, '2023-05-28', 'Balance', '5000000', 1, '2023-05-28 01:32:28', '2023-05-28 01:32:28'),
(6, '2023-05-29', 'Renovasi Kantor', '389000', 2, '2023-05-28 01:33:22', '2023-05-28 01:33:22');
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- Indeks untuk tabel `xyz_transactions`
--
ALTER TABLE `xyz_transactions`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT untuk tabel `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT untuk tabel `xyz_transactions`
--
ALTER TABLE `xyz_transactions`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
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 */;
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]