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
+24
-26
@@ -1,34 +1,32 @@
|
||||
const { DataTypes } = require('sequelize');
|
||||
const sequelize = require('../config/database');
|
||||
const { DataTypes } = require("sequelize");
|
||||
const sequelize = require("../config/database");
|
||||
|
||||
const Season = sequelize.define("season",
|
||||
{
|
||||
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
|
||||
const Season = sequelize.define("season", {
|
||||
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
|
||||
|
||||
tmdb_id: { type: DataTypes.STRING(30) },
|
||||
imdb_id: { type: DataTypes.STRING(30) },
|
||||
tmdb_id: { type: DataTypes.STRING(30) },
|
||||
imdb_id: { type: DataTypes.STRING(30) },
|
||||
|
||||
entry_id: {
|
||||
type: DataTypes.INTEGER,
|
||||
references: {
|
||||
model: 'Entries',
|
||||
key: 'id'
|
||||
}
|
||||
entry_id: {
|
||||
type: DataTypes.INTEGER,
|
||||
references: {
|
||||
model: "Entries",
|
||||
key: "id",
|
||||
},
|
||||
},
|
||||
|
||||
name: { type: DataTypes.STRING(500) },
|
||||
overview: { type: DataTypes.STRING(3000) },
|
||||
season_number: { type: DataTypes.INTEGER },
|
||||
episode_count: { type: DataTypes.INTEGER },
|
||||
air_date: { type: DataTypes.DATE },
|
||||
name: { type: DataTypes.STRING(500) },
|
||||
overview: { type: DataTypes.STRING(3000) },
|
||||
season_number: { type: DataTypes.INTEGER },
|
||||
episode_count: { type: DataTypes.INTEGER },
|
||||
air_date: { type: DataTypes.DATE },
|
||||
|
||||
user_rating: { type: DataTypes.FLOAT },
|
||||
tmdb_rating: { type: DataTypes.FLOAT },
|
||||
imdb_rating: { type: DataTypes.FLOAT },
|
||||
user_rating: { type: DataTypes.FLOAT },
|
||||
tmdb_rating: { type: DataTypes.FLOAT },
|
||||
imdb_rating: { type: DataTypes.FLOAT },
|
||||
|
||||
poster_path: { type: DataTypes.STRING(200) },
|
||||
banner_path: { type: DataTypes.STRING(200) },
|
||||
}
|
||||
);
|
||||
poster_path: { type: DataTypes.STRING(200) },
|
||||
banner_path: { type: DataTypes.STRING(200) },
|
||||
});
|
||||
|
||||
module.exports = Season;
|
||||
module.exports = Season;
|
||||
Reference in new issue
Block a user