chore: Move to prettier standard double quotes (#1309)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
// @flow
|
||||
import { DataTypes, sequelize } from '../sequelize';
|
||||
import { DataTypes, sequelize } from "../sequelize";
|
||||
|
||||
const Integration = sequelize.define('integration', {
|
||||
const Integration = sequelize.define("integration", {
|
||||
id: {
|
||||
type: DataTypes.UUID,
|
||||
defaultValue: DataTypes.UUIDV4,
|
||||
@ -15,20 +15,20 @@ const Integration = sequelize.define('integration', {
|
||||
|
||||
Integration.associate = models => {
|
||||
Integration.belongsTo(models.User, {
|
||||
as: 'user',
|
||||
foreignKey: 'userId',
|
||||
as: "user",
|
||||
foreignKey: "userId",
|
||||
});
|
||||
Integration.belongsTo(models.Team, {
|
||||
as: 'team',
|
||||
foreignKey: 'teamId',
|
||||
as: "team",
|
||||
foreignKey: "teamId",
|
||||
});
|
||||
Integration.belongsTo(models.Collection, {
|
||||
as: 'collection',
|
||||
foreignKey: 'collectionId',
|
||||
as: "collection",
|
||||
foreignKey: "collectionId",
|
||||
});
|
||||
Integration.belongsTo(models.Authentication, {
|
||||
as: 'authentication',
|
||||
foreignKey: 'authenticationId',
|
||||
as: "authentication",
|
||||
foreignKey: "authenticationId",
|
||||
});
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user