V1.0.0__initialization.sql 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. --
  2. -- Copyright 2022 Apollo Authors
  3. --
  4. -- Licensed under the Apache License, Version 2.0 (the "License");
  5. -- you may not use this file except in compliance with the License.
  6. -- You may obtain a copy of the License at
  7. --
  8. -- http://www.apache.org/licenses/LICENSE-2.0
  9. --
  10. -- Unless required by applicable law or agreed to in writing, software
  11. -- distributed under the License is distributed on an "AS IS" BASIS,
  12. -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. -- See the License for the specific language governing permissions and
  14. -- limitations under the License.
  15. --
  16. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  17. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  18. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  19. /*!40101 SET NAMES utf8 */;
  20. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  21. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  22. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  23. # Create Database
  24. # ------------------------------------------------------------
  25. CREATE DATABASE IF NOT EXISTS ApolloPortalDB DEFAULT CHARACTER SET = utf8mb4;
  26. Use ApolloPortalDB;
  27. # Dump of table app
  28. # ------------------------------------------------------------
  29. DROP TABLE IF EXISTS `App`;
  30. CREATE TABLE `App` (
  31. `Id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  32. `AppId` varchar(500) NOT NULL DEFAULT 'default' COMMENT 'AppID',
  33. `Name` varchar(500) NOT NULL DEFAULT 'default' COMMENT '应用名',
  34. `OrgId` varchar(32) NOT NULL DEFAULT 'default' COMMENT '部门Id',
  35. `OrgName` varchar(64) NOT NULL DEFAULT 'default' COMMENT '部门名字',
  36. `OwnerName` varchar(500) NOT NULL DEFAULT 'default' COMMENT 'ownerName',
  37. `OwnerEmail` varchar(500) NOT NULL DEFAULT 'default' COMMENT 'ownerEmail',
  38. `IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
  39. `DataChange_CreatedBy` varchar(32) NOT NULL DEFAULT 'default' COMMENT '创建人邮箱前缀',
  40. `DataChange_CreatedTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  41. `DataChange_LastModifiedBy` varchar(32) DEFAULT '' COMMENT '最后修改人邮箱前缀',
  42. `DataChange_LastTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  43. PRIMARY KEY (`Id`),
  44. KEY `AppId` (`AppId`(191)),
  45. KEY `DataChange_LastTime` (`DataChange_LastTime`),
  46. KEY `IX_Name` (`Name`(191))
  47. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='应用表';
  48. # Dump of table appnamespace
  49. # ------------------------------------------------------------
  50. DROP TABLE IF EXISTS `AppNamespace`;
  51. CREATE TABLE `AppNamespace` (
  52. `Id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  53. `Name` varchar(32) NOT NULL DEFAULT '' COMMENT 'namespace名字,注意,需要全局唯一',
  54. `AppId` varchar(32) NOT NULL DEFAULT '' COMMENT 'app id',
  55. `Format` varchar(32) NOT NULL DEFAULT 'properties' COMMENT 'namespace的format类型',
  56. `IsPublic` bit(1) NOT NULL DEFAULT b'0' COMMENT 'namespace是否为公共',
  57. `Comment` varchar(64) NOT NULL DEFAULT '' COMMENT '注释',
  58. `IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
  59. `DataChange_CreatedBy` varchar(32) NOT NULL DEFAULT '' COMMENT '创建人邮箱前缀',
  60. `DataChange_CreatedTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  61. `DataChange_LastModifiedBy` varchar(32) DEFAULT '' COMMENT '最后修改人邮箱前缀',
  62. `DataChange_LastTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  63. PRIMARY KEY (`Id`),
  64. KEY `IX_AppId` (`AppId`),
  65. KEY `Name_AppId` (`Name`,`AppId`),
  66. KEY `DataChange_LastTime` (`DataChange_LastTime`)
  67. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='应用namespace定义';
  68. # Dump of table consumer
  69. # ------------------------------------------------------------
  70. DROP TABLE IF EXISTS `Consumer`;
  71. CREATE TABLE `Consumer` (
  72. `Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  73. `AppId` varchar(500) NOT NULL DEFAULT 'default' COMMENT 'AppID',
  74. `Name` varchar(500) NOT NULL DEFAULT 'default' COMMENT '应用名',
  75. `OrgId` varchar(32) NOT NULL DEFAULT 'default' COMMENT '部门Id',
  76. `OrgName` varchar(64) NOT NULL DEFAULT 'default' COMMENT '部门名字',
  77. `OwnerName` varchar(500) NOT NULL DEFAULT 'default' COMMENT 'ownerName',
  78. `OwnerEmail` varchar(500) NOT NULL DEFAULT 'default' COMMENT 'ownerEmail',
  79. `IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
  80. `DataChange_CreatedBy` varchar(32) NOT NULL DEFAULT 'default' COMMENT '创建人邮箱前缀',
  81. `DataChange_CreatedTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  82. `DataChange_LastModifiedBy` varchar(32) DEFAULT '' COMMENT '最后修改人邮箱前缀',
  83. `DataChange_LastTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  84. PRIMARY KEY (`Id`),
  85. KEY `AppId` (`AppId`(191)),
  86. KEY `DataChange_LastTime` (`DataChange_LastTime`)
  87. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='开放API消费者';
  88. # Dump of table consumeraudit
  89. # ------------------------------------------------------------
  90. DROP TABLE IF EXISTS `ConsumerAudit`;
  91. CREATE TABLE `ConsumerAudit` (
  92. `Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  93. `ConsumerId` int(11) unsigned DEFAULT NULL COMMENT 'Consumer Id',
  94. `Uri` varchar(1024) NOT NULL DEFAULT '' COMMENT '访问的Uri',
  95. `Method` varchar(16) NOT NULL DEFAULT '' COMMENT '访问的Method',
  96. `DataChange_CreatedTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  97. `DataChange_LastTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  98. PRIMARY KEY (`Id`),
  99. KEY `IX_DataChange_LastTime` (`DataChange_LastTime`),
  100. KEY `IX_ConsumerId` (`ConsumerId`)
  101. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='consumer审计表';
  102. # Dump of table consumerrole
  103. # ------------------------------------------------------------
  104. DROP TABLE IF EXISTS `ConsumerRole`;
  105. CREATE TABLE `ConsumerRole` (
  106. `Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  107. `ConsumerId` int(11) unsigned DEFAULT NULL COMMENT 'Consumer Id',
  108. `RoleId` int(10) unsigned DEFAULT NULL COMMENT 'Role Id',
  109. `IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
  110. `DataChange_CreatedBy` varchar(32) DEFAULT '' COMMENT '创建人邮箱前缀',
  111. `DataChange_CreatedTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  112. `DataChange_LastModifiedBy` varchar(32) DEFAULT '' COMMENT '最后修改人邮箱前缀',
  113. `DataChange_LastTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  114. PRIMARY KEY (`Id`),
  115. KEY `IX_DataChange_LastTime` (`DataChange_LastTime`),
  116. KEY `IX_RoleId` (`RoleId`),
  117. KEY `IX_ConsumerId_RoleId` (`ConsumerId`,`RoleId`)
  118. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='consumer和role的绑定表';
  119. # Dump of table consumertoken
  120. # ------------------------------------------------------------
  121. DROP TABLE IF EXISTS `ConsumerToken`;
  122. CREATE TABLE `ConsumerToken` (
  123. `Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  124. `ConsumerId` int(11) unsigned DEFAULT NULL COMMENT 'ConsumerId',
  125. `Token` varchar(128) NOT NULL DEFAULT '' COMMENT 'token',
  126. `Expires` datetime NOT NULL DEFAULT '2099-01-01 00:00:00' COMMENT 'token失效时间',
  127. `IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
  128. `DataChange_CreatedBy` varchar(32) NOT NULL DEFAULT 'default' COMMENT '创建人邮箱前缀',
  129. `DataChange_CreatedTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  130. `DataChange_LastModifiedBy` varchar(32) DEFAULT '' COMMENT '最后修改人邮箱前缀',
  131. `DataChange_LastTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  132. PRIMARY KEY (`Id`),
  133. UNIQUE KEY `IX_Token` (`Token`),
  134. KEY `DataChange_LastTime` (`DataChange_LastTime`)
  135. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='consumer token表';
  136. # Dump of table favorite
  137. # ------------------------------------------------------------
  138. DROP TABLE IF EXISTS `Favorite`;
  139. CREATE TABLE `Favorite` (
  140. `Id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  141. `UserId` varchar(32) NOT NULL DEFAULT 'default' COMMENT '收藏的用户',
  142. `AppId` varchar(500) NOT NULL DEFAULT 'default' COMMENT 'AppID',
  143. `Position` int(32) NOT NULL DEFAULT '10000' COMMENT '收藏顺序',
  144. `IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
  145. `DataChange_CreatedBy` varchar(32) NOT NULL DEFAULT 'default' COMMENT '创建人邮箱前缀',
  146. `DataChange_CreatedTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  147. `DataChange_LastModifiedBy` varchar(32) DEFAULT '' COMMENT '最后修改人邮箱前缀',
  148. `DataChange_LastTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  149. PRIMARY KEY (`Id`),
  150. KEY `AppId` (`AppId`(191)),
  151. KEY `IX_UserId` (`UserId`),
  152. KEY `DataChange_LastTime` (`DataChange_LastTime`)
  153. ) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COMMENT='应用收藏表';
  154. # Dump of table permission
  155. # ------------------------------------------------------------
  156. DROP TABLE IF EXISTS `Permission`;
  157. CREATE TABLE `Permission` (
  158. `Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  159. `PermissionType` varchar(32) NOT NULL DEFAULT '' COMMENT '权限类型',
  160. `TargetId` varchar(256) NOT NULL DEFAULT '' COMMENT '权限对象类型',
  161. `IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
  162. `DataChange_CreatedBy` varchar(32) NOT NULL DEFAULT '' COMMENT '创建人邮箱前缀',
  163. `DataChange_CreatedTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  164. `DataChange_LastModifiedBy` varchar(32) DEFAULT '' COMMENT '最后修改人邮箱前缀',
  165. `DataChange_LastTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  166. PRIMARY KEY (`Id`),
  167. KEY `IX_TargetId_PermissionType` (`TargetId`(191),`PermissionType`),
  168. KEY `IX_DataChange_LastTime` (`DataChange_LastTime`)
  169. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='permission表';
  170. # Dump of table role
  171. # ------------------------------------------------------------
  172. DROP TABLE IF EXISTS `Role`;
  173. CREATE TABLE `Role` (
  174. `Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  175. `RoleName` varchar(256) NOT NULL DEFAULT '' COMMENT 'Role name',
  176. `IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
  177. `DataChange_CreatedBy` varchar(32) NOT NULL DEFAULT 'default' COMMENT '创建人邮箱前缀',
  178. `DataChange_CreatedTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  179. `DataChange_LastModifiedBy` varchar(32) DEFAULT '' COMMENT '最后修改人邮箱前缀',
  180. `DataChange_LastTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  181. PRIMARY KEY (`Id`),
  182. KEY `IX_RoleName` (`RoleName`(191)),
  183. KEY `IX_DataChange_LastTime` (`DataChange_LastTime`)
  184. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色表';
  185. # Dump of table rolepermission
  186. # ------------------------------------------------------------
  187. DROP TABLE IF EXISTS `RolePermission`;
  188. CREATE TABLE `RolePermission` (
  189. `Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  190. `RoleId` int(10) unsigned DEFAULT NULL COMMENT 'Role Id',
  191. `PermissionId` int(10) unsigned DEFAULT NULL COMMENT 'Permission Id',
  192. `IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
  193. `DataChange_CreatedBy` varchar(32) DEFAULT '' COMMENT '创建人邮箱前缀',
  194. `DataChange_CreatedTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  195. `DataChange_LastModifiedBy` varchar(32) DEFAULT '' COMMENT '最后修改人邮箱前缀',
  196. `DataChange_LastTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  197. PRIMARY KEY (`Id`),
  198. KEY `IX_DataChange_LastTime` (`DataChange_LastTime`),
  199. KEY `IX_RoleId` (`RoleId`),
  200. KEY `IX_PermissionId` (`PermissionId`)
  201. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色和权限的绑定表';
  202. # Dump of table serverconfig
  203. # ------------------------------------------------------------
  204. DROP TABLE IF EXISTS `ServerConfig`;
  205. CREATE TABLE `ServerConfig` (
  206. `Id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  207. `Key` varchar(64) NOT NULL DEFAULT 'default' COMMENT '配置项Key',
  208. `Value` varchar(2048) NOT NULL DEFAULT 'default' COMMENT '配置项值',
  209. `Comment` varchar(1024) DEFAULT '' COMMENT '注释',
  210. `IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
  211. `DataChange_CreatedBy` varchar(32) NOT NULL DEFAULT 'default' COMMENT '创建人邮箱前缀',
  212. `DataChange_CreatedTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  213. `DataChange_LastModifiedBy` varchar(32) DEFAULT '' COMMENT '最后修改人邮箱前缀',
  214. `DataChange_LastTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  215. PRIMARY KEY (`Id`),
  216. KEY `IX_Key` (`Key`),
  217. KEY `DataChange_LastTime` (`DataChange_LastTime`)
  218. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='配置服务自身配置';
  219. # Dump of table userrole
  220. # ------------------------------------------------------------
  221. DROP TABLE IF EXISTS `UserRole`;
  222. CREATE TABLE `UserRole` (
  223. `Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  224. `UserId` varchar(128) DEFAULT '' COMMENT '用户身份标识',
  225. `RoleId` int(10) unsigned DEFAULT NULL COMMENT 'Role Id',
  226. `IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
  227. `DataChange_CreatedBy` varchar(32) DEFAULT '' COMMENT '创建人邮箱前缀',
  228. `DataChange_CreatedTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  229. `DataChange_LastModifiedBy` varchar(32) DEFAULT '' COMMENT '最后修改人邮箱前缀',
  230. `DataChange_LastTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
  231. PRIMARY KEY (`Id`),
  232. KEY `IX_DataChange_LastTime` (`DataChange_LastTime`),
  233. KEY `IX_RoleId` (`RoleId`),
  234. KEY `IX_UserId_RoleId` (`UserId`,`RoleId`)
  235. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户和role的绑定表';
  236. # Dump of table Users
  237. # ------------------------------------------------------------
  238. DROP TABLE IF EXISTS `Users`;
  239. CREATE TABLE `Users` (
  240. `Id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  241. `Username` varchar(64) NOT NULL DEFAULT 'default' COMMENT '用户名',
  242. `Password` varchar(64) NOT NULL DEFAULT 'default' COMMENT '密码',
  243. `Email` varchar(64) NOT NULL DEFAULT 'default' COMMENT '邮箱地址',
  244. `Enabled` tinyint(4) DEFAULT NULL COMMENT '是否有效',
  245. PRIMARY KEY (`Id`)
  246. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户表';
  247. # Dump of table Authorities
  248. # ------------------------------------------------------------
  249. DROP TABLE IF EXISTS `Authorities`;
  250. CREATE TABLE `Authorities` (
  251. `Id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  252. `Username` varchar(64) NOT NULL,
  253. `Authority` varchar(50) NOT NULL,
  254. PRIMARY KEY (`Id`)
  255. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  256. # Config
  257. # ------------------------------------------------------------
  258. INSERT INTO `ServerConfig` (`Key`, `Value`, `Comment`)
  259. VALUES
  260. ('apollo.portal.envs', 'dev', '可支持的环境列表'),
  261. ('organizations', '[{\"orgId\":\"TEST1\",\"orgName\":\"样例部门1\"},{\"orgId\":\"TEST2\",\"orgName\":\"样例部门2\"}]', '部门列表'),
  262. ('superAdmin', 'apollo', 'Portal超级管理员'),
  263. ('api.readTimeout', '10000', 'http接口read timeout'),
  264. ('consumer.token.salt', 'someSalt', 'consumer token salt'),
  265. ('admin.createPrivateNamespace.switch', 'true', '是否允许项目管理员创建私有namespace'),
  266. ('configView.memberOnly.envs', 'pro', '只对项目成员显示配置信息的环境列表,多个env以英文逗号分隔');
  267. INSERT INTO `Users` (`Username`, `Password`, `Email`, `Enabled`)
  268. VALUES
  269. ('apollo', '$2a$10$7r20uS.BQ9uBpf3Baj3uQOZvMVvB1RN3PYoKE94gtz2.WAOuiiwXS', 'apollo@acme.com', 1);
  270. INSERT INTO `Authorities` (`Username`, `Authority`) VALUES ('apollo', 'ROLE_user');
  271. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  272. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  273. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  274. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  275. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  276. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;