feat: include googhle_sheet_id
This commit is contained in:
@@ -11,6 +11,7 @@ interface UserAttributes {
|
||||
proxy_username?: string | null;
|
||||
proxy_password?: string | null;
|
||||
google_sheets_email?: string | null;
|
||||
google_sheet_id?: string | null;
|
||||
google_access_token?: string | null;
|
||||
google_refresh_token?: string | null;
|
||||
}
|
||||
@@ -27,6 +28,7 @@ class User extends Model<UserAttributes, UserCreationAttributes> implements User
|
||||
public proxy_username!: string | null;
|
||||
public proxy_password!: string | null;
|
||||
public google_sheets_email!: string | null;
|
||||
public google_sheet_id?: string | null;
|
||||
public google_access_token!: string | null;
|
||||
public google_refresh_token!: string | null;
|
||||
}
|
||||
@@ -82,6 +84,10 @@ User.init(
|
||||
type: DataTypes.STRING,
|
||||
allowNull: true,
|
||||
},
|
||||
google_sheet_id: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: true,
|
||||
},
|
||||
google_access_token: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: true,
|
||||
|
||||
Reference in New Issue
Block a user