Skip to content

Commit

Permalink
Upload db baru
Browse files Browse the repository at this point in the history
Penambahan pada db, menambahkan table user
  • Loading branch information
suryamsj committed May 27, 2021
1 parent 8cdc763 commit 58ef134
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 11 deletions.
Binary file modified app/.vs/SIPP/v16/.suo
Binary file not shown.
Binary file modified app/obj/Release/DesignTimeResolveAssemblyReferences.cache
Binary file not shown.
37 changes: 26 additions & 11 deletions database/pengeluaran.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 10, 2021 at 05:04 AM
-- Generation Time: May 27, 2021 at 02:32 PM
-- Server version: 10.4.17-MariaDB
-- PHP Version: 7.4.14

Expand All @@ -23,6 +23,19 @@ SET time_zone = "+00:00";

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

--
-- Table structure for table `admin`
--

CREATE TABLE `admin` (
`id` int(11) NOT NULL,
`nama` varchar(150) NOT NULL,
`username` varchar(15) NOT NULL,
`password` varchar(150) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `barang`
--
Expand All @@ -36,19 +49,15 @@ CREATE TABLE `barang` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `barang`
-- Indexes for dumped tables
--

INSERT INTO `barang` (`id`, `nm_barang`, `jml_barang`, `hg_barang`, `tgl_beli`) VALUES
(1, 'Mie ayam', 2, 20000, '2021-04-10'),
(2, 'Sate ayam', 1, 25000, '2021-04-10'),
(3, 'Seblak', 5, 50000, '2021-04-10'),
(4, 'Mesin air', 1, 3000000, '2021-04-10'),
(5, 'Pulsa', 1, 150000, '2021-04-10');

--
-- Indexes for dumped tables
-- Indexes for table `admin`
--
ALTER TABLE `admin`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `username` (`username`);

--
-- Indexes for table `barang`
Expand All @@ -60,11 +69,17 @@ ALTER TABLE `barang`
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `admin`
--
ALTER TABLE `admin`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `barang`
--
ALTER TABLE `barang`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
Expand Down

0 comments on commit 58ef134

Please sign in to comment.