Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
training-dhtd2019-mysql
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Phạm Văn Đoan
training-dhtd2019-mysql
Commits
9e12b4d3
Commit
9e12b4d3
authored
Dec 16, 2019
by
Phạm Văn Đoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backup db qua sql/dhtd2019_training_20191216_v1.sql
parent
55d65215
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
+47
-0
dhtd2019_training_20191216_v1.sql
data/sql/dhtd2019_training_20191216_v1.sql
+47
-0
No files found.
data/sql/dhtd2019_training_20191216_v1.sql
0 → 100644
View file @
9e12b4d3
/*
SQLyog Ultimate v11.11 (64 bit)
MySQL - 5.5.5-10.1.37-MariaDB : Database - dhtd2019_training
*********************************************************************
*/
/*!40101 SET NAMES utf8 */
;
/*!40101 SET SQL_MODE=''*/
;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */
;
/*!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 */
;
CREATE
DATABASE
/*!32312 IF NOT EXISTS*/
`dhtd2019_training`
/*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci */
;
USE
`dhtd2019_training`
;
/*Table structure for table `tasks` */
DROP
TABLE
IF
EXISTS
`tasks`
;
CREATE
TABLE
`tasks`
(
`id`
bigint
(
20
)
unsigned
NOT
NULL
AUTO_INCREMENT
COMMENT
'ID task'
,
`name`
varchar
(
255
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'Tên công việc'
,
`description`
text
COLLATE
utf8mb4_unicode_ci
COMMENT
'Mô tả nội dung công việc'
,
`priority`
tinyint
(
1
)
DEFAULT
'0'
COMMENT
'Độ ưu tiên: 0-Thấp, 1-Bình thường, 2-Trung bình, 3-Cao, 4-Rất cao'
,
`status`
tinyint
(
1
)
DEFAULT
'0'
COMMENT
'Trạng thái hoàn thành: 0-Chưa hoàn thành, 1-Hoàn thành'
,
`user_id`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'ID người được giao công việc'
,
`created_by`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'ID người tạo task'
,
`created_at`
datetime
DEFAULT
NULL
COMMENT
'Ngày tạo'
,
`updated_at`
datetime
DEFAULT
NULL
COMMENT
'Ngày cập nhật'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
14
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
;
/*Data for the table `tasks` */
LOCK
TABLES
`tasks`
WRITE
;
insert
into
`tasks`
(
`id`
,
`name`
,
`description`
,
`priority`
,
`status`
,
`user_id`
,
`created_by`
,
`created_at`
,
`updated_at`
)
values
(
1
,
'Học tiếng anh'
,
'Học tiếng anh'
,
0
,
0
,
NULL
,
NULL
,
'2019-12-14 22:06:35'
,
'2019-12-14 22:06:37'
),(
2
,
'Học tiếng nhật'
,
'Học tiếng anh'
,
0
,
0
,
NULL
,
NULL
,
'2019-12-14 22:06:35'
,
'2019-12-14 22:06:37'
),(
3
,
'Học tiếng hàn'
,
'Học tiếng anh'
,
0
,
1
,
NULL
,
NULL
,
'2019-12-14 22:06:35'
,
'2019-12-14 22:06:37'
),(
4
,
'Test'
,
'Mô tả test'
,
1
,
0
,
NULL
,
NULL
,
'2019-12-15 09:16:10'
,
'2019-12-15 09:16:10'
),(
5
,
'Test'
,
'Test'
,
2
,
0
,
NULL
,
NULL
,
'2019-12-15 09:19:08'
,
'2019-12-15 09:19:08'
),(
6
,
'test 2'
,
'test 2'
,
0
,
1
,
NULL
,
NULL
,
'2019-12-15 09:19:27'
,
'2019-12-15 09:19:27'
),(
7
,
'1111111111111111'
,
'222222222222222222'
,
0
,
0
,
NULL
,
NULL
,
'2019-12-15 09:19:58'
,
'2019-12-15 09:19:58'
),(
8
,
'Hôm nay, gnhir ở nhà '
,
'Hôm nay, gnhir ở nhà '
,
0
,
0
,
NULL
,
NULL
,
'2019-12-15 09:21:18'
,
'2019-12-15 09:21:18'
),(
9
,
'Ahi'
,
'Ahi'
,
4
,
1
,
NULL
,
NULL
,
'2019-12-15 09:26:15'
,
'2019-12-15 09:26:15'
),(
10
,
'Test'
,
'Test'
,
0
,
1
,
NULL
,
NULL
,
'2019-12-16 08:55:11'
,
'2019-12-16 08:55:11'
),(
11
,
'Test 3'
,
'Test 3'
,
0
,
1
,
NULL
,
NULL
,
'2019-12-16 08:55:11'
,
'2019-12-16 08:55:11'
),(
12
,
'Test 4'
,
'Test 4'
,
0
,
1
,
NULL
,
NULL
,
'2019-12-16 08:55:11'
,
'2019-12-16 08:55:11'
),(
13
,
'Xin chào việt nam'
,
'Xin chào việt nam'
,
-
1
,
0
,
NULL
,
NULL
,
'2019-12-16 15:19:09'
,
'2019-12-16 15:19:09'
);
UNLOCK
TABLES
;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */
;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */
;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */
;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment