Normalize to double quotes across all files with Prettier
This commit is contained in:
1 parent
73bff72cec
commit
a5659cf4c8
190 files changed
+9523
-8859
No files matched your search
+20
-18
@@ -1,26 +1,28 @@
|
||||
const { DataTypes } = require('sequelize');
|
||||
const sequelize = require('../config/database');
|
||||
const { DataTypes } = require("sequelize");
|
||||
const sequelize = require("../config/database");
|
||||
|
||||
const Credit = sequelize.define("credits",
|
||||
{
|
||||
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
|
||||
const Credit = sequelize.define("credits", {
|
||||
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
|
||||
|
||||
tmdb_credit_id: { type: DataTypes.STRING(100) },
|
||||
tmdb_credit_id: { type: DataTypes.STRING(100) },
|
||||
|
||||
adult: { type: DataTypes.BOOLEAN, defaultValue: false },
|
||||
profile_path: { type: DataTypes.STRING(200), field: 'profile_path' },
|
||||
adult: { type: DataTypes.BOOLEAN, defaultValue: false },
|
||||
profile_path: { type: DataTypes.STRING(200), field: "profile_path" },
|
||||
|
||||
character: { type: DataTypes.STRING(500) },
|
||||
order: { type: DataTypes.INTEGER },
|
||||
episode_count: { type: DataTypes.INTEGER, defaultValue: null },
|
||||
character: { type: DataTypes.STRING(500) },
|
||||
order: { type: DataTypes.INTEGER },
|
||||
episode_count: { type: DataTypes.INTEGER, defaultValue: null },
|
||||
|
||||
cast_type: { type: DataTypes.ENUM('cast', 'crew'), field: 'cast_type', defaultValue: 'cast' },
|
||||
department: { type: DataTypes.STRING(100) },
|
||||
job: { type: DataTypes.STRING(500) },
|
||||
cast_type: {
|
||||
type: DataTypes.ENUM("cast", "crew"),
|
||||
field: "cast_type",
|
||||
defaultValue: "cast",
|
||||
},
|
||||
department: { type: DataTypes.STRING(100) },
|
||||
job: { type: DataTypes.STRING(500) },
|
||||
|
||||
entry_id: { type: DataTypes.INTEGER, field: 'entry_id' },
|
||||
people_id: { type: DataTypes.INTEGER, field: 'people_id' },
|
||||
}
|
||||
);
|
||||
entry_id: { type: DataTypes.INTEGER, field: "entry_id" },
|
||||
people_id: { type: DataTypes.INTEGER, field: "people_id" },
|
||||
});
|
||||
|
||||
module.exports = Credit;
|
||||
Reference in new issue
Block a user