Your reply message has not been sent.
Your post was successful
On Thursday, 12 July 2012 at 7:52 AM, Mike Moore wrote:Supporting views in schema.rb and migrations is almost impossible to do though, we'd have to dump the exact SQL that's in use or support arbitrary SQL round tripping. If we were going to dump the sql straight from the db that we'd have a poor-man's version of the :sql schema_format we have already. If we build a round-trip capable SQL parser we're clinically insane and should be institutionalised.
> Agreed. Using AR to access views is very useful. I would love it if schema.rb was view aware though.
I don't really see what more we need to support, can't you just use :sql for the schema_format and you get all the functionality you want, and more?
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.