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, },