diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-19 16:21:55 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-19 16:21:55 +0000 |
commit | 69cb942d9b72d9a18f8d00c5887f2532bdda0a0f (patch) | |
tree | 309f72ad492f052ed7f8cf57b067bd618f59da60 /activerecord/test/fixtures/db_definitions | |
parent | 88192b9b1be2bd0729073c899df42a789f264993 (diff) | |
download | rails-69cb942d9b72d9a18f8d00c5887f2532bdda0a0f.tar.gz rails-69cb942d9b72d9a18f8d00c5887f2532bdda0a0f.tar.bz2 rails-69cb942d9b72d9a18f8d00c5887f2532bdda0a0f.zip |
Changed the interface on AbstractAdapter to require that adapters return the number of affected rows on delete and update operations. Added that Base.update_all and Base.delete_all return an integer of the number of affected rows #341
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/db_definitions')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/sqlite.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/db_definitions/sqlite.sql b/activerecord/test/fixtures/db_definitions/sqlite.sql index 1e9aed1e1b..9bab9d9a15 100644 --- a/activerecord/test/fixtures/db_definitions/sqlite.sql +++ b/activerecord/test/fixtures/db_definitions/sqlite.sql @@ -33,7 +33,7 @@ CREATE TABLE 'topics' ( CREATE TABLE 'developers' ( 'id' INTEGER PRIMARY KEY NOT NULL, 'name' TEXT DEFAULT NULL, - 'salary' INTEGER 70000 + 'salary' INTEGER DEFAULT 70000 ); CREATE TABLE 'projects' ( |