Created
June 18, 2010 12:14
-
-
Save metaskills/443568 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb | |
index f3fd37c..4e95cac 100644 | |
--- a/activerecord/test/schema/schema.rb | |
+++ b/activerecord/test/schema/schema.rb | |
@@ -335,7 +335,7 @@ ActiveRecord::Schema.define do | |
t.decimal :decimal_number_with_default, :precision => 3, :scale => 2, :default => 2.78 | |
t.float :temperature | |
# Oracle supports precision up to 38 | |
- if current_adapter?(:OracleAdapter) | |
+ if current_adapter?(:OracleAdapter,:SQLServerAdapter) | |
t.decimal :atoms_in_universe, :precision => 38, :scale => 0 | |
else | |
t.decimal :atoms_in_universe, :precision => 55, :scale => 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment