random changes
This commit is contained in:
1 parent
5008940c59
commit
d06a21097f
7 files changed
+27
-61
No files matched your search
+11
-11
@@ -6,9 +6,9 @@ const Entry = sequelize.define("entry",
|
||||
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
|
||||
|
||||
title: { type: DataTypes.STRING(100) },
|
||||
original_title: { type: DataTypes.STRING(100) },
|
||||
release_date: { type: DataTypes.DATE },
|
||||
release_status: { type: DataTypes.STRING(50) },
|
||||
original_title: { type: DataTypes.STRING(100), field: 'original_title' },
|
||||
release_date: { type: DataTypes.DATE, field: 'release_date' },
|
||||
release_status: { type: DataTypes.STRING(50), field: 'release_status' },
|
||||
runtime: { type: DataTypes.INTEGER },
|
||||
|
||||
tagline: { type: DataTypes.STRING(200) },
|
||||
@@ -16,23 +16,23 @@ const Entry = sequelize.define("entry",
|
||||
country: { type: DataTypes.STRING(30) },
|
||||
|
||||
certification: { type: DataTypes.INTEGER },
|
||||
network_studio: { type: DataTypes.STRING(40) },
|
||||
collection_id: { type: DataTypes.INTEGER },
|
||||
max_cast: { type: DataTypes.INTEGER, defaultValue: 10 },
|
||||
network_studio: { type: DataTypes.STRING(40), field: 'network_studio' },
|
||||
collection_id: { type: DataTypes.INTEGER, field: 'collection_id' },
|
||||
max_cast: { type: DataTypes.INTEGER, field: 'max_cast', defaultValue: 10 },
|
||||
|
||||
watchlist: { type: DataTypes.BOOLEAN, defaultValue: false },
|
||||
favorit: { type: DataTypes.BOOLEAN, defaultValue: false },
|
||||
hidden: { type: DataTypes.BOOLEAN, defaultValue: false },
|
||||
note: { type: DataTypes.STRING(2000) },
|
||||
|
||||
is_tvseries: { type: DataTypes.BOOLEAN },
|
||||
is_tvseries: { type: DataTypes.BOOLEAN, field: 'is_tvseries' },
|
||||
status: { type: DataTypes.STRING(20) },
|
||||
|
||||
poster_path: { type: DataTypes.STRING(200) },
|
||||
banner_path: { type: DataTypes.STRING(200) },
|
||||
poster_path: { type: DataTypes.STRING(200), field: 'poster_path' },
|
||||
banner_path: { type: DataTypes.STRING(200), field: 'banner_path' },
|
||||
|
||||
date_first_seen: { type: DataTypes.DATEONLY },
|
||||
date_last_seen: { type: DataTypes.DATEONLY },
|
||||
date_first_seen: { type: DataTypes.DATEONLY, field: 'date_first_seen' },
|
||||
date_last_seen: { type: DataTypes.DATEONLY, field: 'date_last_seen' },
|
||||
|
||||
last_fetch: { type: DataTypes.DATEONLY },
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user