diff --git a/server/odc-migrate/src/main/resources/migrate/web/V_4_3_1_6__init_max_login_record_time.sql b/server/odc-migrate/src/main/resources/migrate/web/V_4_3_1_6__init_max_login_record_time.sql new file mode 100644 index 0000000000..3d060495cc --- /dev/null +++ b/server/odc-migrate/src/main/resources/migrate/web/V_4_3_1_6__init_max_login_record_time.sql @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2024 OceanBase. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +INSERT INTO config_system_configuration(`key`, `value`, `description`) VALUES('odc.security.max-login-record-time-minutes', '0', 'Interval of login records.') ON DUPLICATE KEY UPDATE `id`=`id`;