Changeset [fe7e1146f9e99763ee35494ee9f502b9eb394039] by peter

August 30th, 2011 @ 09:35 PM

Added backtick characters surrounding the table name in 'create database' and 'drop database' statements in MySQL.
This allows for table names that have special characters such as hyphens, or are reserved words.
See:
http://dev.mysql.com/doc/refman/5.1/en/identifiers.html
https://github.com/guilhermechapiewski/simple-db-migrate/commit/fe7...

Committed by peter

  • M simple_db_migrate/mysql.py
  • M tests/mysql_test.py
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

simple-db-migrate is a database migration tool inpired on Rails migrations. For more info check the project website: http://guilhermechapiewski.github.com/simple-db-migrate/