Front/Back: add entry settings modal
This commit is contained in:
1 parent
8724a96b81
commit
625ec3367e
15 files changed
+334
-57
No files matched your search
@@ -5,14 +5,14 @@ const Entry = sequelize.define("entry",
|
||||
{
|
||||
id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
|
||||
|
||||
title: { type: DataTypes.STRING(100) },
|
||||
title: { type: DataTypes.STRING(500) },
|
||||
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) },
|
||||
storyline: { type: DataTypes.STRING(2000) },
|
||||
storyline: { type: DataTypes.STRING(3000) },
|
||||
country: { type: DataTypes.STRING(30) },
|
||||
|
||||
certification: { type: DataTypes.INTEGER },
|
||||
@@ -23,6 +23,9 @@ const Entry = sequelize.define("entry",
|
||||
watchlist: { type: DataTypes.BOOLEAN, defaultValue: false },
|
||||
favorit: { type: DataTypes.BOOLEAN, defaultValue: false },
|
||||
hidden: { type: DataTypes.BOOLEAN, defaultValue: false },
|
||||
showInCalendar: { type: DataTypes.BOOLEAN, defaultValue: true, field: 'show_in_calendar' },
|
||||
autoSync: { type: DataTypes.BOOLEAN, defaultValue: true, field: 'auto_sync' },
|
||||
|
||||
note: { type: DataTypes.STRING(2000) },
|
||||
|
||||
is_tvseries: { type: DataTypes.BOOLEAN, field: 'is_tvseries' },
|
||||
|
||||
Reference in new issue
Block a user