You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have another connector ti Postgre and when I run rails db:migrate I have an error
root@b78c379556d4:/app# rails db:migrate:client
/usr/local/lib/ruby/2.7.0/net/protocol.rb:66: warning: already initialized constant Net::ProtocRetryError
/usr/local/bundle/gems/net-protocol-0.2.2/lib/net/protocol.rb:68: warning: previous definition of ProtocRetryError was here
/usr/local/lib/ruby/2.7.0/net/protocol.rb:206: warning: already initialized constant Net::BufferedIO::BUFSIZE
/usr/local/bundle/gems/net-protocol-0.2.2/lib/net/protocol.rb:214: warning: previous definition of BUFSIZE was here
/usr/local/lib/ruby/2.7.0/net/protocol.rb:503: warning: already initialized constant Net::NetPrivate::Socket
/usr/local/bundle/gems/net-protocol-0.2.2/lib/net/protocol.rb:541: warning: previous definition of Socket was here
== 20240730100805 CreateBankReject: migrating =================================
-- create_table(:bank_rejects)
rails aborted!
StandardError: An error has occurred, this and all later migrations canceled:
undefined method `puts_log' for #<ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition:0x000055cb47fcd920>
/app/db/migrate/20240730100805_create_bank_reject.rb:3:in `change'
Caused by:
NoMethodError: undefined method `puts_log' for #<ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition:0x000055cb47fcd920>
/app/db/migrate/20240730100805_create_bank_reject.rb:3:in `change'
Tasks: TOP => db:migrate:client
(See full trace by running task with --trace)
root@b78c379556d4:/app#
The text was updated successfully, but these errors were encountered:
I have another connector ti Postgre and when I run rails db:migrate I have an error
The text was updated successfully, but these errors were encountered: