refactor: remove extra S in column names
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user