From 3102fb8e5b4f181dad8468167ff63c2aa60b6a19 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 17 Oct 2024 19:23:28 +0530 Subject: [PATCH] refactor: remove extra S in column names --- server/src/models/Robot.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/src/models/Robot.ts b/server/src/models/Robot.ts index a5baf369..a48b9af1 100644 --- a/server/src/models/Robot.ts +++ b/server/src/models/Robot.ts @@ -19,8 +19,8 @@ interface RobotAttributes { id: string; recording_meta: RobotMeta; recording: RobotWorkflow; - google_sheets_email?: string | null; - google_sheets_name?: string | null; + google_sheet_email?: string | null; + google_sheet_name?: string | null; google_sheet_id?: string | null; google_access_token?: string | null; google_refresh_token?: string | null; @@ -32,8 +32,8 @@ class Robot extends Model implements R public id!: string; public recording_meta!: RobotMeta; public recording!: RobotWorkflow; - public google_sheets_email!: string | null; - public google_sheets_name?: string | null; + public google_sheet_email!: string | null; + public google_sheet_name?: string | null; public google_sheet_id?: string | null; public google_access_token!: string | null; public google_refresh_token!: string | null; @@ -54,11 +54,11 @@ Robot.init( type: DataTypes.JSONB, allowNull: false, }, - google_sheets_email: { + google_sheet_email: { type: DataTypes.STRING, allowNull: true, }, - google_sheets_name: { + google_sheet_name: { type: DataTypes.STRING, allowNull: true, },