aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-09-09 08:34:51 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-09-09 08:34:51 +0000
commite5cc729b18c13bb523732d775c8deaa58bbbe390 (patch)
treee60c4a6295a2a41fc5862d9081f80825b93c00bf /activerecord
parent0439769324ef889e5e353caacb92a025a8ce2629 (diff)
downloadrails-e5cc729b18c13bb523732d775c8deaa58bbbe390.tar.gz
rails-e5cc729b18c13bb523732d775c8deaa58bbbe390.tar.bz2
rails-e5cc729b18c13bb523732d775c8deaa58bbbe390.zip
Make the test_find_all_by_one_attribute and test_find_all_by_one_attribute_with_options tests not fail in SQL Server #2128 [Tom Ward]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/fixtures/db_definitions/sqlserver.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/db_definitions/sqlserver.sql b/activerecord/test/fixtures/db_definitions/sqlserver.sql
index 76ec7aabf3..e43b7db1c6 100644
--- a/activerecord/test/fixtures/db_definitions/sqlserver.sql
+++ b/activerecord/test/fixtures/db_definitions/sqlserver.sql
@@ -22,7 +22,7 @@ CREATE TABLE topics (
written_on datetime default NULL,
bonus_time datetime default NULL,
last_read datetime default NULL,
- content text,
+ content varchar(255) default NULL,
approved tinyint default 1,
replies_count int default 0,
parent_id int default NULL,