uploads: add upload_media_assets.page_url.

This is needed for multi-file uploads. We need to know both the image
url and the page url to set the post's source correctly when converting
an upload media asset into a post.
This commit is contained in:
evazion
2022-02-11 02:48:20 -06:00
parent c2ed5c2841
commit 44ca178d7a
3 changed files with 10 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
class AddPageUrlToUploadMediaAssets < ActiveRecord::Migration[7.0]
def change
add_column :upload_media_assets, :page_url, :string, null: true
end
end