Sha256: 112c9598f9554121ffed1f212926cae81a9560568079cc045e2cb5fc7a2e2033

Contents?: true

Size: 250 Bytes

Versions: 6

Compression:

Stored size: 250 Bytes

Contents

class AddVersionNumberToGreenFlagRules < ActiveRecord::Migration
  def self.up
    add_column :green_flag_rules, :version_number, :integer, null: false, default: 1
  end

  def self.down
    remove_column :green_flag_rules, :version_number
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
green_flag-0.4.0 db/migrate/20150218035000_add_version_number_to_green_flag_rules.rb
green_flag-0.3.0 db/migrate/20150218035000_add_version_number_to_green_flag_rules.rb
green_flag-0.2.0 db/migrate/20150218035000_add_version_number_to_green_flag_rules.rb
green_flag-0.1.2 db/migrate/20150218035000_add_version_number_to_green_flag_rules.rb
green_flag-0.1.1 db/migrate/20150218035000_add_version_number_to_green_flag_rules.rb
green_flag-0.1.0 db/migrate/20150218035000_add_version_number_to_green_flag_rules.rb