Sha256: 31a2ed5f3da717acbb631e6bc6c39a15910ea8bc9c45fe87a55030e092fa0a41

Contents?: true

Size: 259 Bytes

Versions: 6

Compression:

Stored size: 259 Bytes

Contents

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
green_flag-0.4.0 db/migrate/20150218035805_add_version_number_to_green_flag_features.rb
green_flag-0.3.0 db/migrate/20150218035805_add_version_number_to_green_flag_features.rb
green_flag-0.2.0 db/migrate/20150218035805_add_version_number_to_green_flag_features.rb
green_flag-0.1.2 db/migrate/20150218035805_add_version_number_to_green_flag_features.rb
green_flag-0.1.1 db/migrate/20150218035805_add_version_number_to_green_flag_features.rb
green_flag-0.1.0 db/migrate/20150218035805_add_version_number_to_green_flag_features.rb