refactor: remove extra S in column names
This commit is contained in:
@@ -19,8 +19,8 @@ interface RobotAttributes {
|
|||||||
id: string;
|
id: string;
|
||||||
recording_meta: RobotMeta;
|
recording_meta: RobotMeta;
|
||||||
recording: RobotWorkflow;
|
recording: RobotWorkflow;
|
||||||
google_sheets_email?: string | null;
|
google_sheet_email?: string | null;
|
||||||
google_sheets_name?: string | null;
|
google_sheet_name?: string | null;
|
||||||
google_sheet_id?: string | null;
|
google_sheet_id?: string | null;
|
||||||
google_access_token?: string | null;
|
google_access_token?: string | null;
|
||||||
google_refresh_token?: string | null;
|
google_refresh_token?: string | null;
|
||||||
@@ -32,8 +32,8 @@ class Robot extends Model<RobotAttributes, RobotCreationAttributes> implements R
|
|||||||
public id!: string;
|
public id!: string;
|
||||||
public recording_meta!: RobotMeta;
|
public recording_meta!: RobotMeta;
|
||||||
public recording!: RobotWorkflow;
|
public recording!: RobotWorkflow;
|
||||||
public google_sheets_email!: string | null;
|
public google_sheet_email!: string | null;
|
||||||
public google_sheets_name?: string | null;
|
public google_sheet_name?: string | null;
|
||||||
public google_sheet_id?: string | null;
|
public google_sheet_id?: string | null;
|
||||||
public google_access_token!: string | null;
|
public google_access_token!: string | null;
|
||||||
public google_refresh_token!: string | null;
|
public google_refresh_token!: string | null;
|
||||||
@@ -54,11 +54,11 @@ Robot.init(
|
|||||||
type: DataTypes.JSONB,
|
type: DataTypes.JSONB,
|
||||||
allowNull: false,
|
allowNull: false,
|
||||||
},
|
},
|
||||||
google_sheets_email: {
|
google_sheet_email: {
|
||||||
type: DataTypes.STRING,
|
type: DataTypes.STRING,
|
||||||
allowNull: true,
|
allowNull: true,
|
||||||
},
|
},
|
||||||
google_sheets_name: {
|
google_sheet_name: {
|
||||||
type: DataTypes.STRING,
|
type: DataTypes.STRING,
|
||||||
allowNull: true,
|
allowNull: true,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user