Logo
Explore Help
Sign In
MetuFSS
/
metu.life
2
1
Fork
You've already forked metu.life
0
Code Issues Pull Requests Releases Wiki Activity
2577 Commits
1 Branch
0 Tags
134 MiB
Tree: 9d3fc1281d
metu.life/db/migrate/20170425131920_add_media_at...

6 lines
136 B
Raw Normal View History Unescape Escape

Add media dimensions (#2448) * Fixes #1985 - add migration AddMediaAttachmentMeta, which add meta field to media_attachments - before saving attachment, set file meta if needed - add meta in api * add spec * align the “size” format for image and video * fix code climate * fixes media_attachment_spec.rb
8 years ago
class AddMediaAttachmentMeta < ActiveRecord::Migration[5.0]
def change
add_column :media_attachments, :file_meta, :json
end
end
Powered by Gitea Version: 1.17.3 Page: 725ms Template : 29ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website