subject_2021-05-10.sql 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # ************************************************************
  2. # Sequel Pro SQL dump
  3. # Version 4541
  4. #
  5. # http://www.sequelpro.com/
  6. # https://github.com/sequelpro/sequelpro
  7. #
  8. # Host: 127.0.0.1 (MySQL 5.5.5-10.6.0-MariaDB-1:10.6.0+maria~focal)
  9. # Database: shishuo
  10. # Generation Time: 2021-05-10 06:13:22 +0000
  11. # ************************************************************
  12. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  13. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  14. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  15. /*!40101 SET NAMES utf8 */;
  16. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  17. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  18. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  19. # Dump of table subjects
  20. # ------------------------------------------------------------
  21. DROP TABLE IF EXISTS `subjects`;
  22. CREATE TABLE `subjects` (
  23. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  24. `name` varchar(10) NOT NULL COMMENT '学科名称',
  25. PRIMARY KEY (`id`)
  26. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  27. LOCK TABLES `subject` WRITE;
  28. /*!40000 ALTER TABLE `subject` DISABLE KEYS */;
  29. INSERT INTO `subjects` (`id`, `name`)
  30. VALUES
  31. (1,'语文'),
  32. (2,'数学'),
  33. (3,'英语'),
  34. (4,'物理'),
  35. (5,'化学'),
  36. (6,'生物'),
  37. (7,'历史'),
  38. (8,'地理'),
  39. (9,'政治');
  40. /*!40000 ALTER TABLE `subject` ENABLE KEYS */;
  41. UNLOCK TABLES;
  42. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  43. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  44. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  45. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  46. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  47. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;