1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

9 commits

Author SHA1 Message Date
bogdanvlviv
2bad3f46cd
Add foreign key to active_storage_attachments for blob_id via new migration
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 #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 https://github.com/rails/rails/pull/33405#discussion_r204239399

Also, see a related discussion in the Campfire:
https://3.basecamp.com/3076981/buckets/24956/chats/12416418@1236713081
2019-01-16 13:13:23 +00:00
utilum
39192e39ad Hide Active Storage migration installation task (#33007)
Resolves #33006
2018-05-28 18:09:38 +02:00
Hirofumi Wakasugi
66a22dee1c Invoke app-prefixed active storage task when in engine 2017-12-13 22:05:17 +09:00
Koichi ITO
7698500b6e Change namespace of Active Storage rake task 2017-08-16 19:20:22 +09:00
Koichi ITO
d02844f249 Use frozen string literal in Active Storage 2017-08-12 21:43:42 +09:00
Dino Maric
a3f7407e7c Isolate ActiveStorage namespaces (#30095)
* Isolate ActiveStorage namespaces

* Rename migrations task

[Rafael Mendonça França + Dino Maric]
2017-08-10 14:02:29 -04:00
Dino Maric
4b72bee47b ActiveStorage:Add migrations per rails engine conventions (#30111)
* Add migrations per rails engine conventions

* Fix failing tests
2017-08-08 09:47:38 -05:00
David Heinemeier Hansson
bb69b3e047 Directory and config installation now done by app_generator 2017-07-31 16:12:39 -05:00
Rafael Mendonça França
9330d01ada Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58'
git-subtree-dir: activestorage
git-subtree-mainline: 0d58e7e478
git-subtree-split: 3f4a7218a4
2017-07-31 15:21:22 -04:00