corrected the wrong subject :)

On Sun, Sep 16, 2012 at 12:22 PM, Gurpreet Bhatia <
[email protected]> 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
>



-- 

Gurpreet Bhatia,
If u feel like doin some work.......,
sit down n......
.....wait until that feeling goes away.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to