DEV Community

loading...

Discussion on: Active Storage meets GraphQL: Direct Uploads

Collapse
rhymes profile image
rhymes • Edited

We didn't migrate the data, only the code; so it was just like replacing mount_uploader with has_attached.

What happens if you don't migrate the data? Do you lose a reference to all the previous images?

Thread Thread
palkan_tula profile image
Vladimir Dementyev Author

We started a new version from scratch in terms of users generated data (like Basecamp 3 after Basecamp 2: some code is shared but not data)
So, we didn't lose anything, 'cause you can't lose nothing)