-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdb_kkp.sql
97 lines (79 loc) · 2.52 KB
/
db_kkp.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
-- phpMyAdmin SQL Dump
-- version 4.8.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 27 Sep 2018 pada 15.19
-- Versi server: 10.1.32-MariaDB
-- Versi PHP: 5.6.36
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `db_kkp`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `file`
--
CREATE TABLE `file` (
`id_file` int(11) NOT NULL,
`username` varchar(15) DEFAULT NULL,
`file_name_source` varchar(255) DEFAULT NULL,
`file_name_finish` varchar(255) DEFAULT NULL,
`file_url` varchar(255) DEFAULT NULL,
`file_size` float DEFAULT NULL,
`password` varchar(16) DEFAULT NULL,
`tgl_upload` timestamp NULL DEFAULT NULL,
`status` enum('1','2') DEFAULT NULL,
`keterangan` varchar(255) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Struktur dari tabel `users`
--
CREATE TABLE `users` (
`username` varchar(15) NOT NULL,
`password` varchar(100) DEFAULT NULL,
`fullname` varchar(50) DEFAULT NULL,
`job_title` varchar(50) DEFAULT NULL,
`join_date` timestamp NULL DEFAULT NULL,
`last_activity` timestamp NULL DEFAULT NULL,
`status` enum('1','2') DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `users`
--
INSERT INTO `users` (`username`, `password`, `fullname`, `job_title`, `join_date`, `last_activity`, `status`) VALUES
('admin', '21232f297a57a5a743894a0e4a801fc3', 'Administrator', 'Project Manager', '2017-04-28 08:48:55', '2017-07-14 09:08:10', '1'),
('sidang', '74e7caf98c6df498fb9a242884317da5', 'sidang', 'penguji', '2017-07-10 04:31:24', '2017-07-10 04:41:23', '2');
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `file`
--
ALTER TABLE `file`
ADD PRIMARY KEY (`id_file`);
--
-- Indeks untuk tabel `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`username`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `file`
--
ALTER TABLE `file`
MODIFY `id_file` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;
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 */;