Hi there I pulled down the latest vets-api and got the error
StandardError: An error has occurred, all later migrations canceled: (StandardError)
PG::UniqueViolation: ERROR: could not create unique index "index_flipper_features_on_key"
I found this thread and tried to follow the suggestions and did
rails db:drop rails db:schema:load and then a rails db:migrate ... But it didnt fix anything. Then I tried rails db:reset and bundle install and bundle exec rails db:migrate... now im seeing this error
INFO -- ddtrace: [ddtrace] DATADOG CONFIGURATION - CORE - {"date":"2024-07-08T18:30:52Z","os_name":"arm64-apple-darwin23","version":"1.23.2","lang":"ruby","lang_version":"3.2.4","env":null,"service":"rails","dd_version":null,"debug":false,"tags":null,"runtime_metrics_enabled":false,"vm":"ruby-3.2.4","health_metrics_enabled":false,"profiling_enabled":false}
DEPRECATION WARNING: Using preview_path= option is deprecated and will be removed in Rails 7.2. Please use preview_paths= instead. (called from <top (required)> at /Users/peri.mclaren/Documents/repos/vets-api/config/environment.rb:7)
And when I try foreman start -m all=1,clamd=0,freshclam=0 I get this...
ERROR: Procfile does not exist.
Anyone free to help?
Submitted By: peri.mclaren Topic: Environments Team: Tier 1 Suppport
Hi there I pulled down the latest vets-api and got the error StandardError: An error has occurred, all later migrations canceled: (StandardError) PG::UniqueViolation: ERROR: could not create unique index "index_flipper_features_on_key" I found this thread and tried to follow the suggestions and did rails db:drop rails db:schema:load and then a rails db:migrate ... But it didnt fix anything. Then I tried rails db:reset and bundle install and bundle exec rails db:migrate... now im seeing this error INFO -- ddtrace: [ddtrace] DATADOG CONFIGURATION - CORE - {"date":"2024-07-08T18:30:52Z","os_name":"arm64-apple-darwin23","version":"1.23.2","lang":"ruby","lang_version":"3.2.4","env":null,"service":"rails","dd_version":null,"debug":false,"tags":null,"runtime_metrics_enabled":false,"vm":"ruby-3.2.4","health_metrics_enabled":false,"profiling_enabled":false} DEPRECATION WARNING: Using preview_path= option is deprecated and will be removed in Rails 7.2. Please use preview_paths= instead. (called from <top (required)> at /Users/peri.mclaren/Documents/repos/vets-api/config/environment.rb:7) And when I try foreman start -m all=1,clamd=0,freshclam=0 I get this... ERROR: Procfile does not exist. Anyone free to help?