-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathperang_coding.sql
More file actions
35 lines (32 loc) · 1.68 KB
/
perang_coding.sql
File metadata and controls
35 lines (32 loc) · 1.68 KB
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
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 10.4.21-MariaDB - mariadb.org binary distribution
-- Server OS: Win64
-- HeidiSQL Version: 11.3.0.6295
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumping structure for table perang_coding.perang_coding_jawaban
DROP TABLE IF EXISTS `perang_coding_jawaban`;
CREATE TABLE IF NOT EXISTS `perang_coding_jawaban` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL DEFAULT 0,
`nomor_soal` int(11) NOT NULL DEFAULT 0,
`jawaban` text COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`salah_benar` char(25) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timestamp` datetime NOT NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- Dumping structure for table perang_coding.perang_coding_user
DROP TABLE IF EXISTS `perang_coding_user`;
CREATE TABLE IF NOT EXISTS `perang_coding_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'no_name',
`email` varchar(250) COLLATE utf8_unicode_ci DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;