rename h2 and postgreSQL table t_ds_fav to t_ds_fav_task (#13333)

This commit is contained in:
Tq 2023-01-04 14:59:47 +08:00 committed by GitHub
parent f83b08ac01
commit 4d29460959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View File

@ -1997,10 +1997,10 @@ INSERT INTO `t_ds_cluster`
VALUES (100, 0, 'ds_null_k8s', '{"k8s":"ds_null_k8s"}', 'test', 1, '2021-03-03 11:31:24.0', '2021-03-03 11:31:24.0');
--
-- Table structure for t_ds_fav
-- Table structure for t_ds_fav_task
--
DROP TABLE IF EXISTS t_ds_fav CASCADE;
CREATE TABLE t_ds_fav
DROP TABLE IF EXISTS t_ds_fav_task CASCADE;
CREATE TABLE t_ds_fav_task
(
id bigint(20) NOT NULL AUTO_INCREMENT,
task_name varchar(64) NOT NULL,

View File

@ -1953,11 +1953,11 @@ CREATE TABLE t_ds_cluster(
);
--
-- Table structure for t_ds_fav
-- Table structure for t_ds_fav_task
--
DROP TABLE IF EXISTS t_ds_fav;
CREATE TABLE t_ds_fav
DROP TABLE IF EXISTS t_ds_fav_task;
CREATE TABLE t_ds_fav_task
(
id serial NOT NULL,
task_name varchar(64) NOT NULL,

View File

@ -14,3 +14,4 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
ALTER TABLE t_ds_fav RENAME TO t_ds_fav_task;