Skip to content

Commit

Permalink
SQLite2Adapter doesn't exist
Browse files Browse the repository at this point in the history
Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
spastorino authored and josevalim committed Jun 9, 2010
1 parent 0919c0d commit cfacae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/migration_test.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ def test_add_table_with_decimals
# This one is fun. The 'value_of_e' field is defined as 'DECIMAL' with # This one is fun. The 'value_of_e' field is defined as 'DECIMAL' with
# precision/scale explicitly left out. By the SQL standard, numbers # precision/scale explicitly left out. By the SQL standard, numbers
# assigned to this field should be truncated but that's seldom respected. # assigned to this field should be truncated but that's seldom respected.
if current_adapter?(:PostgreSQLAdapter, :SQLite2Adapter) if current_adapter?(:PostgreSQLAdapter)
# - PostgreSQL changes the SQL spec on columns declared simply as # - PostgreSQL changes the SQL spec on columns declared simply as
# "decimal" to something more useful: instead of being given a scale # "decimal" to something more useful: instead of being given a scale
# of 0, they take on the compile-time limit for precision and scale, # of 0, they take on the compile-time limit for precision and scale,
Expand Down

0 comments on commit cfacae1

Please sign in to comment.