Fixed first run of "rake migrate" on PostgreSQL by not expecting a return value on the id #1640

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-07-07 08:48:59 +00:00
parent 5a9a93d28f
commit bd832a221b
2 changed files with 6 additions and 1 deletions

@ -1,3 +1,8 @@
*SVN*
* Fixed first run of "rake migrate" on PostgreSQL by not expecting a return value on the id #1640
*1.11.0* (5th July, 2005)
* Fixed that Yaml error message in fixtures hid the real error #1623 [Nicholas Seckar]

@ -361,7 +361,7 @@ def add_limit_offset!(sql, options)
def initialize_schema_information
begin
execute "CREATE TABLE schema_info (version #{type_to_sql(:integer)})"
insert "INSERT INTO schema_info (version) VALUES(0)"
execute "INSERT INTO schema_info (version) VALUES(0)"
rescue ActiveRecord::StatementInvalid
# Schema has been intialized
end