codemancers / rapidfire

Making dynamic surveys should be easy!
https://rapidfire.fly.dev/
MIT License
319 stars 141 forks source link

Rails 5.1: Index Creation fails #101

Closed drernie closed 6 years ago

drernie commented 7 years ago

I kept getting errors on 'db:migrate' like:

-- add_index(:rapidfire_questions, :survey_id)
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

Index name 'index_rapidfire_questions_on_survey_id' on table 'rapidfire_questions' already exists

I ended up commenting out all the add_index lines.

iffyuva commented 7 years ago

Thanks for the report @drernie We will look into this.

drernie commented 7 years ago

Thanks. FYI, I've also submitted a PR with all my changes for 5.1, in case it helps.

On Thu, May 18, 2017 at 10:32 PM, Yuva notifications@github.com wrote:

Thanks for the report @drernie https://github.com/drernie We will look into this.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/code-mancers/rapidfire/issues/101#issuecomment-302612761, or mute the thread https://github.com/notifications/unsubscribe-auth/AABNT-QRL7pxr4ADEkORGw5PgX32Ggnuks5r7SltgaJpZM4NeyyK .

akshaysasidrn commented 6 years ago

This issue has been resolved #104 & #118.