class AddGithubIdToLabels < ActiveRecord::Migration[5.1]
  def change
    add_column :labels, :github_id, :integer
  end
end

class AddGithubIdToLabels < ActiveRecord::Migration[5.1]
  def change
    add_column :labels, :github_id, :integer
    Label.delete_all # delete previous invalid labels
  end
end

Delete old, invalid labels during the migration to fix them
Delete old, invalid labels during the migration to fix them
