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
@@ -1,24 +1,25 @@
|
||||
const { DataTypes } = require('sequelize');
|
||||
const sequelize = require('../config/database');
|
||||
const { DataTypes } = require("sequelize");
|
||||
const sequelize = require("../config/database");
|
||||
|
||||
|
||||
const EntryRating = sequelize.define("entryRating",
|
||||
const EntryRating = sequelize.define(
|
||||
"entryRating",
|
||||
{
|
||||
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
|
||||
entry_id: {
|
||||
type: DataTypes.INTEGER,
|
||||
references: {
|
||||
model: 'Entries',
|
||||
key: 'id'
|
||||
}
|
||||
model: "Entries",
|
||||
key: "id",
|
||||
},
|
||||
},
|
||||
user_rating: { type: DataTypes.FLOAT },
|
||||
tmdb_rating: { type: DataTypes.FLOAT },
|
||||
imdb_rating: { type: DataTypes.FLOAT },
|
||||
rotten_tomatoes_rating: { type: DataTypes.FLOAT },
|
||||
}, {
|
||||
timestamps: false,
|
||||
}
|
||||
},
|
||||
{
|
||||
timestamps: false,
|
||||
},
|
||||
);
|
||||
|
||||
module.exports = EntryRating;
|
||||
module.exports = EntryRating;
|
||||
Reference in new issue
Block a user