script.sql 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. CREATE DATABASE IF NOT EXISTS `springbootdb` /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci */;
  2. USE `springbootdb`;
  3. -- MySQL dump 10.13 Distrib 5.7.12, for osx10.9 (x86_64)
  4. --
  5. -- Host: 127.0.0.1 Database: springbootdb
  6. -- ------------------------------------------------------
  7. -- Server version 5.7.15
  8. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  9. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  10. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  11. /*!40101 SET NAMES utf8 */;
  12. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  13. /*!40103 SET TIME_ZONE='+00:00' */;
  14. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  15. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  16. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  17. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  18. --
  19. -- Table structure for table `product`
  20. --
  21. DROP TABLE IF EXISTS `product`;
  22. /*!40101 SET @saved_cs_client = @@character_set_client */;
  23. /*!40101 SET character_set_client = utf8 */;
  24. CREATE TABLE `product` (
  25. `id` int(11) NOT NULL AUTO_INCREMENT,
  26. `version` varchar(512) CHARACTER SET utf8 DEFAULT NULL,
  27. `name` varchar(512) CHARACTER SET utf8 DEFAULT NULL,
  28. `price` int(11) DEFAULT NULL,
  29. `product_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  30. PRIMARY KEY (`id`)
  31. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  32. /*!40101 SET character_set_client = @saved_cs_client */;
  33. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  34. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  35. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  36. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  37. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  38. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  39. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  40. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  41. -- Dump completed on 2016-11-06 20:27:53