        assert xml.include?(%(<bonus-time type="datetime">#{bonus_time_in_current_timezone}</bonus-time>))
      end
    end
+Index: test/fixtures/db_definitions/db2.sql
+===================================================================
+--- test/fixtures/db_definitions/db2.sql	(revision 1)
++++ test/fixtures/db_definitions/db2.sql	(working copy)
+@@ -152,7 +152,7 @@
+ CREATE TABLE computers (
+   id INT GENERATED BY DEFAULT AS IDENTITY (START WITH 10000),
+   developer INT NOT NULL,
+-  extendedWarranty INT NOT NULL
++  "extendedWarranty" INT NOT NULL
+ );
+ 
+ CREATE TABLE posts (
 Index: test/fixtures/db_definitions/mysql.sql
 ===================================================================
 --- test/fixtures/db_definitions/mysql.sql	(revision 1)

   `first_name` VARCHAR(40) NOT NULL,
   `lock_version` INTEGER NOT NULL DEFAULT 0
 ) TYPE=InnoDB;
Index: test/migration_test.rb
===================================================================
--- test/migration_test.rb	(revision 1)

       assert xml.include?(%(<last-read type="date">2004-04-15</last-read>))
     end
-    # Oracle and DB2 don't have true boolean or time-only fields
+    # Following databases don't have a true boolean type
+    unless current_adapter?(:OracleAdapter) || current_adapter?(:DB2Adapter) ||
+           current_adapter?(:ODBCAdapter) && 
+           [:ingres,:virtuoso,:oracle,:mysql,:db2].include?(ActiveRecord::Base.connection.dbmsName)
+      assert xml.include?(%(<approved type="boolean">false</approved>)), "Approved should be a boolean"
+    end
+    # Oracle and DB2 don't have a true time-only field
