Sha256: cb08e42de20d9da959b0d5c28f9a7e0396a140970a5bac6c4d4f064d14e3a463

Contents?: true

Size: 196 Bytes

Versions: 10

Compression:

Stored size: 196 Bytes

Contents

class TrackEmailed < ActiveRecord::Migration
  def self.up
    add_column :posts, :emailed_count, :integer, :default => 0
  end

  def self.down
    remove_column :posts, :emailed_count
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
community_engine-3.2.0 db/migrate/035_track_emailed.rb
community_engine-3.0.0 db/migrate/035_track_emailed.rb
community_engine-2.3.2 db/migrate/035_track_emailed.rb
community_engine-2.3.1 db/migrate/035_track_emailed.rb
community_engine-2.3.0 db/migrate/035_track_emailed.rb
community_engine-2.1.0 db/migrate/035_track_emailed.rb
community_engine-2.0.0 db/migrate/035_track_emailed.rb
community_engine-2.0.0.beta3 db/migrate/035_track_emailed.rb
community_engine-2.0.0.beta2 db/migrate/035_track_emailed.rb
community_engine-2.0.0.beta1 db/migrate/035_track_emailed.rb