Commit 9e12b4d3 by Phạm Văn Đoan

backup db qua sql/dhtd2019_training_20191216_v1.sql

parent 55d65215
/*
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 */;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment