defmodule BlueSky.Repo.Migrations.RemoveForeignKeyConstraint do
  use Ecto.Migration

  def change do
    alter table(:guesses) do
      remove :question_id

      add :question_id, :integer
    end
  end
end

Add migration to get rid of foreign key constraints
Add migration to get rid of foreign key constraints

Rumel/bluesky,Rumel/bluesky,Rumel/bluesky