diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-04-26 23:29:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-26 23:29:08 +0200 |
commit | c3ca3801f2b8a44db09b83da2e64130eb2c41ef1 (patch) | |
tree | e73ca016feb38abe9ce7d259e572964ddb86f8d4 /app/models/media_attachment.rb | |
parent | 2744f61696df70e722cd6ade9564ad4f0f8f34d6 (diff) |
Add separate cache directory for non-local uploads (#12821)
Diffstat (limited to 'app/models/media_attachment.rb')
-rw-r--r-- | app/models/media_attachment.rb | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index f45e2c9f7..75ce9fc4f 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -3,23 +3,24 @@ # # Table name: media_attachments # -# id :bigint(8) not null, primary key -# status_id :bigint(8) -# file_file_name :string -# file_content_type :string -# file_file_size :integer -# file_updated_at :datetime -# remote_url :string default(""), not null -# created_at :datetime not null -# updated_at :datetime not null -# shortcode :string -# type :integer default("image"), not null -# file_meta :json -# account_id :bigint(8) -# description :text -# scheduled_status_id :bigint(8) -# blurhash :string -# processing :integer +# id :bigint(8) not null, primary key +# status_id :bigint(8) +# file_file_name :string +# file_content_type :string +# file_file_size :integer +# file_updated_at :datetime +# remote_url :string default(""), not null +# created_at :datetime not null +# updated_at :datetime not null +# shortcode :string +# type :integer default("image"), not null +# file_meta :json +# account_id :bigint(8) +# description :text +# scheduled_status_id :bigint(8) +# blurhash :string +# processing :integer +# file_storage_schema_version :integer # class MediaAttachment < ApplicationRecord |