| /* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You 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. |
| */ |
| |
| DROP TABLE IF EXISTS `linkis_cg_engine_conn_plugin_bml_resources`; |
| CREATE TABLE `linkis_cg_engine_conn_plugin_bml_resources` ( |
| `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'Primary key', |
| `engine_conn_type` varchar(100) NOT NULL COMMENT 'Engine type', |
| `version` varchar(100) COMMENT 'version', |
| `file_name` varchar(255) COMMENT 'file name', |
| `file_size` bigint(20) DEFAULT 0 NOT NULL COMMENT 'file size', |
| `last_modified` bigint(20) COMMENT 'File update time', |
| `bml_resource_id` varchar(100) NOT NULL COMMENT 'Owning system', |
| `bml_resource_version` varchar(200) NOT NULL COMMENT 'Resource owner', |
| `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'created time', |
| `last_update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'updated time', |
| PRIMARY KEY (`id`) |
| ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; |