image_attachment_editables

ImageAttachment 모델 editable 데이터

스냅포스트 임시 편집 데이터

Column name Type Index Description
id bigint(20) unsigned auto_increment Primary Key
attachable_id bigint(20) unsigned Index ImageAttachment가 연관된 모델 id
ImageAttachment morphTo() relation key
attachable_type varchar(255) utf8mb4_unicode_ci Index ImageAttachment가 연관된 모델 type
ImageAttachment morphTo() relation key
tag varchar(255) nullable utf8mb4_unicode_ci Index ImageAttachment의 임의 분류를 위한 값
mime_type varchar(255) nullable utf8mb4_unicode_ci ImageAttachment 파일의 mime type
file_size int(10) unsigned nullable ImageAttachment 파일의 크기 (용량)
width int(10) unsigned nullable ImageAttachment 파일의 크기 (이미지 가로 폭)
height int(10) unsigned nullable ImageAttachment 파일의 크기 (이미지 세로 폭)
storage_path varchar(255) nullable utf8mb4_unicode_ci ImageAttachment 파일의 디렉토리 경로
archived varchar(255) nullable utf8mb4_unicode_ci ImageAttachment 원본 이미지 파일명
optimized varchar(255) nullable utf8mb4_unicode_ci ImageAttachment 이미지 최적화 처리된 파일명 (원본 이미지와 동일한 크기)
high_quality varchar(255) nullable utf8mb4_unicode_ci ImageAttachment 이미지 최적화 처리후 high quality 기준으로 리사이징된 파일명
low_quality varchar(255) nullable utf8mb4_unicode_ci ImageAttachment 이미지 최적화 처리후 low quality 기준으로 리사이징된 파일명
processed tinyint(1) default 0 ImageAttachment 이미지 최적화 처리 여부
created_at timestamp nullable
updated_at timestamp nullable