Pretty sure you're in the wrong thread bud.

On Sunday, September 16, 2012 2:52:34 AM UTC-4, Gutso wrote:
>
> Hi Everyone, 
>
> I have one query:
>
> Should we change the database(mySQL) table's engine through migration 
> scripts or not? If not then why?
>
> Following were my proposal:
>
> def forwards(self, orm):
>  
>         # Change engine from MYISAM to INNODB
>         db.execute('alter table abc ENGINE=INNODB;')
>
>     def backwards(self, orm):
>
>        # Revert Engine to MYISAM
>         db.execute('alter table abc ENGINE=MYISAM;')
>
> - gurpreet
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/YbLLdanMN8cJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to