<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -181,7 +181,7 @@ class Migrations{
         $aPrimary = array(); 
         $aPrimary['column'] = array();
 
-        $sSql = 'CREATE TABLE IF NOT EXISTS `'.$this-&gt;getPrefix().$sTable.'`('.&quot;\n\t&quot;;
+        $sSql = 'CREATE TABLE '.$this-&gt;getPrefix().$sTable.'('.&quot;\n\t&quot;;
         
         //Flag no_id - autogenerate an id field unless it is explicitly stated this is not needed
         if( !in_array( 'no_id', $aFields ) ){
@@ -253,7 +253,7 @@ class Migrations{
             //but there is no such one in the current schema
             if( !array_key_exists( 'id', $aCurrentFields ) ){
                 $aQueries[] = $this-&gt;add_field( $sTable, array( 'id' =&gt; $aIdFormat ) );
-                $aQueries[] = 'ALTER TABLE `'.$this-&gt;getPrefix().$sTable.'` ADD '.$this-&gt;oDb-&gt;buildIndex( array('PRIMARY' =&gt; array( 'column' =&gt; array('id') ) ) );
+                $aQueries[] = 'ALTER TABLE '.$this-&gt;getPrefix().$sTable.' ADD '.$this-&gt;oDb-&gt;buildIndex( array('PRIMARY' =&gt; array( 'column' =&gt; array('id') ) ) );
             }
         }
         //there should be no id - drop it
@@ -342,7 +342,7 @@ class Migrations{
     * Generate SQL for rename table
     */
     function rename_table( $sTable, $sName ){
-        $sSql = 'ALTER TABLE `'.$this-&gt;getPrefix().$sTable.'` RENAME TO `'.$sName.'`;';
+        $sSql = 'ALTER TABLE '.$this-&gt;getPrefix().$sTable.' RENAME TO '.$sName.';';
         return $sSql;
     }
         
@@ -350,7 +350,7 @@ class Migrations{
     * Generate SQL for drop table
     */
     function drop_table($sTable){
-        $sSql = 'DROP TABLE IF EXISTS `'.$this-&gt;getPrefix().$sTable.'`;';
+        $sSql = 'DROP TABLE IF EXISTS '.$this-&gt;getPrefix().$sTable.';';
         return $sSql;
     }
     
@@ -358,7 +358,7 @@ class Migrations{
     * Generate SQL for truncate table
     */
     function truncate_table($sTable){
-        $sSql = 'TRUNCATE `'.$this-&gt;getPrefix().$sTable.'`;';
+        $sSql = 'TRUNCATE '.$this-&gt;getPrefix().$sTable.';';
         return $sSql;
     }
         
@@ -366,7 +366,7 @@ class Migrations{
     * Generate SQL for add field
     */
     function add_field( $sTable, $aField ){
-        $sSql = 'ALTER TABLE `'.$this-&gt;getPrefix().$sTable.'` ADD '.$this-&gt;_buildColumn( key( $aField ), $aField[key($aField)] );
+        $sSql = 'ALTER TABLE '.$this-&gt;getPrefix().$sTable.' ADD '.$this-&gt;_buildColumn( key( $aField ), $aField[key($aField)] );
         $sSql = trim( $sSql, &quot;, \n\t&quot; ).';';
         return $sSql;
     }
@@ -375,7 +375,7 @@ class Migrations{
     * Generate SQL for drop field
     */
     function drop_field( $sTable, $column ){
-        $sSql = 'ALTER TABLE `'.$this-&gt;getPrefix().$sTable.'` DROP `'.$column.'`;';
+        $sSql = 'ALTER TABLE '.$this-&gt;getPrefix().$sTable.' DROP '.$column.';';
         return $sSql;
     }
         
@@ -383,7 +383,7 @@ class Migrations{
     * Generate SQL for alter field
     */
     function alter_field( $sTable, $aField ){
-        $sSql = 'ALTER TABLE `'.$this-&gt;getPrefix().$sTable.'` CHANGE `'.key( $aField ).'` '.$this-&gt;_buildColumn( 
+        $sSql = 'ALTER TABLE '.$this-&gt;getPrefix().$sTable.' CHANGE '.key( $aField ).' '.$this-&gt;_buildColumn( 
                 ( !empty( $aField['name'] ) ? $aField['name'] : key( $aField ) ),
                   $aField[key($aField)] );
         $sSql = trim( $sSql, &quot;, \n\t&quot; );
@@ -396,7 +396,7 @@ class Migrations{
     function add_key( $sTable, $aKey ){
         $sType = key( $aKey );
         $sColumn = $aKey[ $sType ];
-        $sSql = 'ALTER TABLE `'.$this-&gt;getPrefix().$sTable.'` ADD '.$this-&gt;oDb-&gt;buildIndex( array( $sColumn =&gt; array( $sType =&gt; true, 'column' =&gt; $sColumn ) ) );
+        $sSql = 'ALTER TABLE '.$this-&gt;getPrefix().$sTable.' ADD '.$this-&gt;oDb-&gt;buildIndex( array( $sColumn =&gt; array( $sType =&gt; true, 'column' =&gt; $sColumn ) ) );
         return $sSql;
     }
         </diff>
      <filename>migrations/migrations.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b95878bd1c863c66a246aa4331c97c07e8750068</id>
    </parent>
  </parents>
  <author>
    <name>Georgi Momchilov</name>
    <email>georgi@ovalpixels.com</email>
  </author>
  <url>http://github.com/georgious/cakephp-yaml-migrations-and-fixtures/commit/26169d7edf26d323ed549fe2f6da8a14c157884a</url>
  <id>26169d7edf26d323ed549fe2f6da8a14c157884a</id>
  <committed-date>2009-04-26T02:57:17-07:00</committed-date>
  <authored-date>2009-04-26T02:57:17-07:00</authored-date>
  <message>sqlite fix</message>
  <tree>7ac6dddb4fddbcec90f842bd4ef739a38d2182c0</tree>
  <committer>
    <name>Georgi Momchilov</name>
    <email>georgi@ovalpixels.com</email>
  </committer>
</commit>
