Sha256: bcc20211f687132a28760c6981f19540638c66b1f1f9771adea4fd1672fd05cd

Contents?: true

Size: 305 Bytes

Versions: 11

Compression:

Stored size: 305 Bytes

Contents

# encoding: UTF-8
class AddApiIdsToResponseSetsAndResponses < ActiveRecord::Migration
  def self.up
    add_column :response_sets, :api_id, :string
    add_column :responses, :api_id, :string
  end

  def self.down
    remove_column :response_sets, :api_id
    remove_column :responses, :api_id
  end
end

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
upgrade_surveyor-1.4.2 lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb
affectiva-surveyor-1.5.0.pre.disco.2 lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb
hssc_surveyor-1.4.3.pre lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb
hssc_surveyor-1.4.2.pre lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb
hssc_surveyor-1.4.1.pre lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb
surveyor-1.4.0 lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb
surveyor-1.3.0 lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb
surveyor-1.2.0 lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb
surveyor-1.1.0 lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb
surveyor-1.0.1 lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb
surveyor-1.0.0 lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb