text: -- MySQL dump 10.13  Distrib 5.7.18, for Linux (x86_64)
  --
  -- Host: localhost    Database: walle
  -- ------------------------------------------------------
  -- Server version	5.6.35
  
  /*!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 utf8 */;
  /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  /*!40103 SET TIME_ZONE='+00:00' */;
  /*!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 */;
  
  --
  -- Table structure for table `task`
  --
  
  DROP TABLE IF EXISTS `task`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `task` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `user_id` int(21) unsigned NOT NULL COMMENT '用户id',
    `project_id` int(21) NOT NULL DEFAULT '0' COMMENT '项目id',
    `action` smallint(1) NOT NULL DEFAULT '0' COMMENT '0全新上线，2回滚',
    `status` smallint(1) NOT NULL DEFAULT '0' COMMENT '状态0：新建提交，1审核通过，2审核拒绝，3上线完成，4上线失败',
    `title` varchar(100) DEFAULT '' COMMENT '上线的软链号',
    `link_id` varchar(20) DEFAULT '' COMMENT '上线的软链号',
    `ex_link_id` varchar(20) DEFAULT '' COMMENT '上一次上线的软链号',
    `commit_id` varchar(100) DEFAULT '' COMMENT 'git commit id',
    `branch` varchar(100) DEFAULT 'master' COMMENT '选择上线的分支',
    `file_transmission_mode` smallint(3) NOT NULL DEFAULT '1' COMMENT '上线文件模式: 1.全量所有文件 2.指定文件列表',
    `file_list` text COMMENT '文件列表，svn上线方式可能会产生',
    `enable_rollback` int(1) NOT NULL DEFAULT '1' COMMENT '能否回滚此版本:0no 1yes',
    `created_at` datetime DEFAULT NULL COMMENT '创建时间',
    `updated_at` datetime DEFAULT NULL COMMENT '修改时间',
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `task`
  --
  
  LOCK TABLES `task` WRITE;
  /*!40000 ALTER TABLE `task` DISABLE KEYS */;
  /*!40000 ALTER TABLE `task` ENABLE KEYS */;
  UNLOCK TABLES;
  /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  
  /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  /*!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 */;
  /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  
  -- Dump completed on 2017-06-25 23:41:33
  