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 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