Sha256: 616db31a786fca2666298f6ed7109988c2a4b3f097a5bb441e7a72893f169528

Contents?: true

Size: 227 Bytes

Versions: 11

Compression:

Stored size: 227 Bytes

Contents

# encoding: UTF-8
class AddVersionToSurveys < ActiveRecord::Migration
  def self.up
    add_column :surveys, :survey_version, :integer, :default => 0
  end

  def self.down
    remove_column :surveys, :survey_version
  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_version_to_surveys.rb
affectiva-surveyor-1.5.0.pre.disco.2 lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb
hssc_surveyor-1.4.3.pre lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb
hssc_surveyor-1.4.2.pre lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb
hssc_surveyor-1.4.1.pre lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb
surveyor-1.4.0 lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb
surveyor-1.3.0 lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb
surveyor-1.2.0 lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb
surveyor-1.1.0 lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb
surveyor-1.0.1 lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb
surveyor-1.0.0 lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb