3 pointsby suralind3 months ago1 comment
  • Etheryte3 months ago
    The main use case of migrations is that you need to migrate the data in some way as well. The schema is the easy bit. This doesn't really address data in any way as far as I can see?
    • suralind3 months ago
      Author here, good point, i didn't go into data migrations. The counter point is that migration files won't work well for anything but smallest tables. If you have a relatively large table, you likely end up batching updates anyway ta avoid excessive locking.