refactor: remove extra S in column names

This commit is contained in:
karishmas6
2024-10-17 19:23:28 +05:30
parent 0a946cdcbe
commit 3102fb8e5b

View File

@@ -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<RobotAttributes, RobotCreationAttributes> 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,
},