I have a few views which have joins inside them. When running a migration generate it creates a migration for a table of type view with the fields that are returned from the sql that makes up the view, however there's nothing about the relevant joins. Shouldn't the sql be stored instead for views?

As far as I understand, this means that migrations do not support views?