refactor(attachments): remove is_public field from Attachment model and migration
This commit is contained in:
@@ -14,7 +14,6 @@ use Illuminate\Database\Eloquent\Relations\MorphTo;
|
||||
'filename',
|
||||
'type',
|
||||
'mime_type',
|
||||
'is_public',
|
||||
'extension',
|
||||
'size',
|
||||
])]
|
||||
@@ -28,7 +27,6 @@ class Attachment extends Model
|
||||
{
|
||||
return [
|
||||
'attachable_id' => 'integer',
|
||||
'is_public' => 'boolean',
|
||||
'size' => 'integer',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user