mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
assets and tier plans revamp
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
@@ -39,6 +39,13 @@ const Asset = sequelize.define("Asset", {
|
||||
thumbnail_url: { type: DataTypes.STRING(512), label: "", order: 0, hidden: true },
|
||||
thumbnail_storage_key: { type: DataTypes.STRING(512), label: "", order: 0, hidden: true },
|
||||
|
||||
// ─── Background remux (.mov/.mkv → faststart .mp4) ───────────────────────
|
||||
// "none" — asset never needed a remux (not video, or already a fast format).
|
||||
// STRING, not ENUM — matches the STRING+CHECK column (see migration
|
||||
// 20270101000076), not a real Postgres enum type.
|
||||
transcode_status: { type: DataTypes.STRING(20), defaultValue: "none", label: "", order: 0, hidden: true },
|
||||
transcode_error: { type: DataTypes.TEXT, label: "", order: 0, hidden: true },
|
||||
|
||||
// ─── Description ──────────────────────────────────────────────────────────
|
||||
description: { type: DataTypes.TEXT, label: "Description", hidden: true },
|
||||
|
||||
|
||||
Reference in New Issue
Block a user