Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake app:update should update active_storage #33419

Merged
merged 1 commit into from
Jan 16, 2019

Commits on Jan 16, 2019

  1. Add foreign key to active_storage_attachments for blob_id via new m…

    …igration
    
    We need this in order to be able to add this migration for users that
    use ActiveStorage during update their apps from Rails 5.2 to Rails 6.0.
    
    Related to rails#33405
    
    `rake app:update` should update active_storage
    
    `rake app:update` should execute `rake active_storage:update`
    if it is used in the app that is being updated.
    It will add new active_storage's migrations to users' apps during update Rails.
    
    Context rails#33405 (comment)
    
    Also, see a related discussion in the Campfire:
    https://3.basecamp.com/3076981/buckets/24956/chats/12416418@1236713081
    bogdanvlviv committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    2bad3f4 View commit details
    Browse the repository at this point in the history