ricardochimal/taps

import errors on database usage

lawwantsin opened this issue · 0 comments

Hey, doing a heroku db:pull will error with the following.

/Library/Ruby/Gems/1.8/gems/sequel-3.20.0/lib/sequel/adapters/mysql.rb:200:in query': Mysql::Error: Duplicate entry '36739' for key 'PRIMARY' (Sequel::DatabaseError) from /Library/Ruby/Gems/1.8/gems/sequel-3.20.0/lib/sequel/adapters/mysql.rb:200:in_execute'
from /Library/Ruby/Gems/1.8/gems/sequel-3.20.0/lib/sequel/database/logging.rb:28:in log_yield' from /Library/Ruby/Gems/1.8/gems/sequel-3.20.0/lib/sequel/adapters/mysql.rb:200:in_execute'
from /Library/Ruby/Gems/1.8/gems/sequel-3.20.0/lib/sequel/adapters/mysql.rb:184:in `execute'

when the localhost server does a select against the database during import.

said another way i reload locahost and it performs a select against the development database. during a taps import, this action will cause taps to error.

thank you.