Permalink
Browse files

Add spec and update CHANGELOG for schema_dumper bigint unsigned fix

  • Loading branch information...
1 parent d511b1a commit 90dfd5aa05f192d44dfbf6d29dac56f28942efd2 @jeremyevans committed Feb 14, 2011
Showing with 5 additions and 2 deletions.
  1. +3 −1 CHANGELOG
  2. +2 −1 spec/extensions/schema_dumper_spec.rb
View
@@ -1,8 +1,10 @@
=== HEAD
+* Recognize bigint unsigned as a Bignum type in the schema dumper (gamespy-tech)
+
* Add Dataset#calc_found_rows for MySQL datasets (macks)
-* Add association_autoreloading plugin for clearing association cache when foreign key values change (jfirebaugh, jeremyevans)
+* Add association_autoreloading plugin for clearing association cache when foreign key value changes (jfirebaugh, jeremyevans)
* Fix join_table on MySQL ignoring the block (jfirebaugh)
@@ -291,7 +291,7 @@
["double precision", "timestamp with time zone", "timestamp without time zone",
"time with time zone", "time without time zone", "character varying(20)"] +
%w"nvarchar ntext smalldatetime smallmoney binary varbinary nchar" +
- ["timestamp(6) without time zone", "timestamp(6) with time zone", "int(12) unsigned"]
+ ["timestamp(6) without time zone", "timestamp(6) with time zone", "int(12) unsigned", 'bigint unsigned']
@d.meta_def(:schema) do |t, *o|
i = 0
types.map{|x| [:"c#{i+=1}", {:db_type=>x, :allow_null=>true}]}
@@ -362,6 +362,7 @@
DateTime :c62, :size=>6
DateTime :c63, :size=>6
Integer :c64
+ Bignum :c65
end
END_MIG
@d.dump_table_schema(:x).should == table.chomp

0 comments on commit 90dfd5a

Please sign in to comment.