Sha256: e861885aea029f5bda533625da53015fd8020bb6a719ffe98f89c8e35ee7d5e5

Contents?: true

Size: 198 Bytes

Versions: 1

Compression:

Stored size: 198 Bytes

Contents

class AddApiIdToQuestionGroups < ActiveRecord::Migration
  def self.up
    add_column :question_groups, :api_id, :string
  end

  def self.down
    remove_column :question_groups, :api_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
surveyor-0.22.0 lib/generators/surveyor/templates/db/migrate/add_api_id_to_question_groups.rb