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
+12
-10
@@ -1,22 +1,24 @@
|
||||
const { DataTypes } = require('sequelize');
|
||||
const sequelize = require('../config/database');
|
||||
const { DataTypes } = require("sequelize");
|
||||
const sequelize = require("../config/database");
|
||||
|
||||
const EntryId = sequelize.define("entryId",
|
||||
const EntryId = sequelize.define(
|
||||
"entryId",
|
||||
{
|
||||
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
|
||||
entry_id: {
|
||||
type: DataTypes.INTEGER,
|
||||
references: {
|
||||
model: 'Entries',
|
||||
key: 'id'
|
||||
}
|
||||
model: "Entries",
|
||||
key: "id",
|
||||
},
|
||||
},
|
||||
tmdb_id: { type: DataTypes.STRING(30) },
|
||||
imdb_id: { type: DataTypes.STRING(30) },
|
||||
tvdb_id: { type: DataTypes.STRING(30) },
|
||||
}, {
|
||||
timestamps: false,
|
||||
}
|
||||
},
|
||||
{
|
||||
timestamps: false,
|
||||
},
|
||||
);
|
||||
|
||||
module.exports = EntryId;
|
||||
module.exports = EntryId;
|
||||
Reference in new issue
Block a user