Thank you Jeremy

Cheers,
Bang

On Tuesday, March 15, 2016 at 3:24:09 PM UTC+11, Jeremy Evans wrote:
>
> On Monday, March 14, 2016 at 8:59:28 PM UTC-7, Jeremy Evans wrote:
>>
>> Sequel doesn't have an abstraction for renaming views, so you'll have to 
>> use raw SQL.  If you are using PostgreSQL:
>>
>>   DB.run "ALTER VIEW old_view RENAME TO new_view"
>>
>
> I just noticed the title refers to a materialized views, so probably:
>
>   DB.run "ALTER MATERIALIZED VIEW old_name RENAME TO new_name"
>  
> Thanks,
> Jeremy
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to