feat: google_sheets_name column

This commit is contained in:
karishmas6
2024-10-17 19:22:14 +05:30
parent c91cb28716
commit 0a946cdcbe
2 changed files with 7 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ interface RobotAttributes {
recording_meta: RobotMeta;
recording: RobotWorkflow;
google_sheets_email?: string | null;
google_sheets_name?: string | null;
google_sheet_id?: string | null;
google_access_token?: string | null;
google_refresh_token?: string | null;
@@ -32,6 +33,7 @@ class Robot extends Model<RobotAttributes, RobotCreationAttributes> implements R
public recording_meta!: RobotMeta;
public recording!: RobotWorkflow;
public google_sheets_email!: string | null;
public google_sheets_name?: string | null;
public google_sheet_id?: string | null;
public google_access_token!: string | null;
public google_refresh_token!: string | null;
@@ -56,6 +58,10 @@ Robot.init(
type: DataTypes.STRING,
allowNull: true,
},
google_sheets_name: {
type: DataTypes.STRING,
allowNull: true,
},
google_sheet_id: {
type: DataTypes.STRING,
allowNull: true,