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,34 +1,30 @@
|
||||
const { DataTypes } = require('sequelize');
|
||||
const sequelize = require('../config/database');
|
||||
const { DataTypes } = require("sequelize");
|
||||
const sequelize = require("../config/database");
|
||||
|
||||
const EpisodeSeen = sequelize.define("episodeSeen", {
|
||||
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
|
||||
|
||||
const EpisodeSeen = sequelize.define("episodeSeen",
|
||||
{
|
||||
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
|
||||
|
||||
entry_id: {
|
||||
type: DataTypes.INTEGER,
|
||||
references: {
|
||||
model: 'Entries',
|
||||
key: 'id'
|
||||
}
|
||||
entry_id: {
|
||||
type: DataTypes.INTEGER,
|
||||
references: {
|
||||
model: "Entries",
|
||||
key: "id",
|
||||
},
|
||||
episode_id: {
|
||||
type: DataTypes.INTEGER,
|
||||
references: {
|
||||
model: 'Episodes',
|
||||
key: 'id'
|
||||
}
|
||||
},
|
||||
episode_id: {
|
||||
type: DataTypes.INTEGER,
|
||||
references: {
|
||||
model: "Episodes",
|
||||
key: "id",
|
||||
},
|
||||
},
|
||||
|
||||
date_seen: { type: DataTypes.DATE },
|
||||
seen_with: { type: DataTypes.STRING(50) },
|
||||
accuracy: {
|
||||
type: DataTypes.ENUM('EXACT', 'ESTIMATED', 'UNKNOWN'),
|
||||
defaultValue: 'EXACT',
|
||||
},
|
||||
|
||||
}
|
||||
);
|
||||
date_seen: { type: DataTypes.DATE },
|
||||
seen_with: { type: DataTypes.STRING(50) },
|
||||
accuracy: {
|
||||
type: DataTypes.ENUM("EXACT", "ESTIMATED", "UNKNOWN"),
|
||||
defaultValue: "EXACT",
|
||||
},
|
||||
});
|
||||
|
||||
module.exports = EpisodeSeen;
|
||||
Reference in new issue
Block a user