-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcertificates.sql
73 lines (59 loc) · 2.11 KB
/
certificates.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
-- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 13, 2022 at 09:07 AM
-- Server version: 10.4.19-MariaDB
-- PHP Version: 7.4.1
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: `certificate`
--
-- --------------------------------------------------------
--
-- Table structure for table `certificates`
--
CREATE TABLE `certificates` (
`id` int(11) NOT NULL,
`certificate_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`st_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`st_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`course_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`course_result` varchar(255) COLLATE utf8mb4_unicode_ci 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 for table `certificates`
--
INSERT INTO `certificates` (`id`, `certificate_id`, `st_name`, `st_id`, `course_code`, `course_result`, `created_at`, `updated_at`) VALUES
(1, '100100', 'John Doe', '12345', 'CD001', 'PASS', '2022-01-24 09:57:57', '2022-01-24 09:57:57'),
(2, '100101', 'Mary Jane', '124536', 'CD001', 'FAIL', '2022-01-24 19:21:30', '2022-01-24 19:21:30');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `certificates`
--
ALTER TABLE `certificates`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `certificate_id` (`certificate_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `certificates`
--
ALTER TABLE `certificates`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;
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 */;