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:
parent
5a9a93d28f
commit
bd832a221b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user