3 pointsby suralinda day ago1 comment
  • Etherytea day 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?
    • suralinda day 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.