Permalink
Browse files

And call it the right thing

  • Loading branch information...
1 parent 84c00f6 commit 878cdd13ace1de7af52853dd511822a39a7a4fc2 Paul Sadauskas committed Sep 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 dm-migrations/lib/sql/table_creator.rb
@@ -39,7 +39,7 @@ def build_type(type_class)
schema[:serial?] ||= schema[:serial]
schema[:nullable?] ||= schema[:nullable]
if type_class.is_a?(String)
- schema[:type] = type_class
+ schema[:primitive] = type_class
else
schema = @adapter.class.type_map[type_class].merge(schema)
end

0 comments on commit 878cdd1

Please sign in to comment.