Skip to content
Browse files

Minor whitespace fixes

  • Loading branch information...
1 parent 9f2be41 commit 9735517dfb13160b9fdd3da9a2bedc667b283d0b @dkubb dkubb committed Jun 17, 2011
Showing with 6 additions and 6 deletions.
  1. +5 −5 lib/dm-migrations/adapters/dm-sqlserver-adapter.rb
  2. +1 −1 lib/dm-migrations/sql/table_modifier.rb
View
10 lib/dm-migrations/adapters/dm-sqlserver-adapter.rb
@@ -163,11 +163,11 @@ def type_map
scale = Property::Decimal::DEFAULT_SCALE
@type_map ||= super.merge(
- DateTime => { :primitive => 'DATETIME' },
- Date => { :primitive => 'SMALLDATETIME' },
- Time => { :primitive => 'SMALLDATETIME' },
- TrueClass => { :primitive => 'BIT', },
- Property::Text => { :primitive => 'NVARCHAR', :length => 'max' }
+ DateTime => { :primitive => 'DATETIME' },
+ Date => { :primitive => 'SMALLDATETIME' },
+ Time => { :primitive => 'SMALLDATETIME' },
+ TrueClass => { :primitive => 'BIT', },
+ Property::Text => { :primitive => 'NVARCHAR', :length => 'max' }
).freeze
end
end
View
2 lib/dm-migrations/sql/table_modifier.rb
@@ -51,7 +51,7 @@ def quoted_table_name
end
def to_sql
- @statements.join ";"
+ @statements.join(';')
end
end
end

0 comments on commit 9735517

Please sign in to comment.
Something went wrong with that request. Please try again.