Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrayIterator committed Jul 14, 2024
1 parent 69b9340 commit 909ee6f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions Entities/Attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,24 @@
columns: ['path', 'storage_type']
)]
#[Index(
columns: ['id', 'site_id'],
name: 'index_id_site_id'
name: 'index_id_site_id',
columns: ['id', 'site_id']
)]
#[Index(
columns: ['storage_type', 'mime_type'],
name: 'index_storage_type_mime_type'
name: 'index_storage_type_mime_type',
columns: ['storage_type', 'mime_type']
)]
#[Index(
columns: ['user_id'],
name: 'relation_attachments_user_id_admins_id'
name: 'relation_attachments_user_id_admins_id',
columns: ['user_id']
)]
#[Index(
columns: ['site_id'],
name: 'relation_attachments_site_id_sites_id'
name: 'relation_attachments_site_id_sites_id',
columns: ['site_id']
)]
#[Index(
columns: ['name', 'file_name', 'status', 'mime_type', 'storage_type', 'site_id'],
name: 'index_name_file_name_status_mime_type_storage_type_site_id'
name: 'index_name_file_name_status_mime_type_storage_type_site_id',
columns: ['name', 'file_name', 'status', 'mime_type', 'storage_type', 'site_id']
)]
#[HasLifecycleCallbacks]
class Attachment extends AbstractAttachment
Expand Down
20 changes: 10 additions & 10 deletions Entities/UserAttachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,24 @@
columns: ['path', 'storage_type']
)]
#[Index(
columns: ['id', 'site_id'],
name: 'index_id_site_id'
name: 'index_id_site_id',
columns: ['id', 'site_id']
)]
#[Index(
columns: ['storage_type', 'mime_type'],
name: 'index_storage_type_mime_type'
name: 'index_storage_type_mime_type',
columns: ['storage_type', 'mime_type']
)]
#[Index(
columns: ['user_id'],
name: 'relation_user_attachments_user_id_users_id'
name: 'relation_user_attachments_user_id_users_id',
columns: ['user_id']
)]
#[Index(
columns: ['site_id'],
name: 'relation_user_attachments_site_id_sites_id'
name: 'relation_user_attachments_site_id_sites_id',
columns: ['site_id']
)]
#[Index(
columns: ['name', 'file_name', 'status', 'mime_type', 'storage_type', 'site_id'],
name: 'index_name_file_name_status_mime_type_storage_type_site_id'
name: 'index_name_file_name_status_mime_type_storage_type_site_id',
columns: ['name', 'file_name', 'status', 'mime_type', 'storage_type', 'site_id']
)]
#[HasLifecycleCallbacks]
class UserAttachment extends AbstractAttachment
Expand Down

0 comments on commit 909ee6f

Please sign in to comment.