-- MySQL dump 10.13  Distrib 5.7.12, for osx10.9 (x86_64)
--
-- Host: localhost    Database: sys
-- ------------------------------------------------------
-- Server version	5.7.16

/*!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 `Praise`
--

DROP TABLE IF EXISTS `Praise`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Praise` (
  `id` bigint(15) NOT NULL COMMENT '唯一标识',
  `userIdList` json NOT NULL COMMENT '用户id列表',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='如果对Moment写安全要求高，可以将Moment内praiserUserIdList分离到Praise表中，作为userIdList。\n权限注解也改下：\n@MethodAccess(\n		PUT = {OWNER, ADMIN}\n		)\nclass Moment {\n       …\n}\n\n@MethodAccess(\n		PUT = {LOGIN, CONTACT, CIRCLE, OWNER, ADMIN}\n		)\n class Praise {\n       …\n }\n';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `Praise`
--

LOCK TABLES `Praise` WRITE;
/*!40000 ALTER TABLE `Praise` DISABLE KEYS */;
INSERT INTO `Praise` VALUES (12,'[38710, 82003, 70793, 93793, 82006, 82044, 82040, 82055, 82002, 90814, 82001]'),(15,'[82055, 82001, 82002]'),(32,'[38710, 82001, 82002]'),(58,'[38710, 82003, 82005, 93793, 82006, 82044, 82001]'),(170,'[82044, 82002, 82001]'),(235,'[]'),(301,'[38710, 93793, 82003, 82005, 82040, 82055, 82002, 82001]'),(371,'[90814, 82002, 93793, 82003, 82005, 82006, 82040, 82001]'),(470,'[]'),(511,'[70793, 93793, 82001]'),(543,'[]'),(551,'[]'),(594,'[38710, 82002]'),(595,'[70793, 82002, 82001]'),(704,'[82003, 82002, 82001]'),(1491200468898,'[]'),(1491277116776,'[38710, 82001]'),(1493835799335,'[82001, 82002]');
/*!40000 ALTER TABLE `Praise` 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-10-29 18:20:02
