Adjusted
This commit is contained in:
@@ -59,7 +59,7 @@ const Asset = sequelize.define("Asset", {
|
||||
},
|
||||
|
||||
// ─── Polymorphic ownership ────────────────────────────────────────────────
|
||||
owner_type: { type: DataTypes.STRING(100) }, // e.g. "Course", "Channel", "Post", "User"
|
||||
owner_type: { type: DataTypes.STRING(100) }, // avatar, document, video, image
|
||||
owner_id: { type: DataTypes.BIGINT },
|
||||
|
||||
// ─── Who did what ─────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user