Sha256: f904a11263574314333e30e4c631824d6b8717c53c32e3ee8efaff043db68458

Contents?: true

Size: 245 Bytes

Versions: 8

Compression:

Stored size: 245 Bytes

Contents

class AddCommunityIdsToPost < ActiveRecord::Migration
  def change
    if ::Inkwell::Engine::config.respond_to?('community_table')
      add_column ::Inkwell::Engine::config.post_table, :communities_ids, :text, :default => '[]'
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
inkwell-2.0.0 db/migrate/20130202130020_add_community_ids_to_post.rb
inkwell-1.5.2 db/migrate/20130202130020_add_community_ids_to_post.rb
inkwell-1.5.1 db/migrate/20130202130020_add_community_ids_to_post.rb
inkwell-1.4.1 db/migrate/20130202130020_add_community_ids_to_post.rb
inkwell-1.2.0 db/migrate/20130202130020_add_community_ids_to_post.rb
inkwell-1.1.7 db/migrate/20130202130020_add_community_ids_to_post.rb
inkwell-1.1.1 db/migrate/20130202130020_add_community_ids_to_post.rb
inkwell-1.0.5 db/migrate/20130202130020_add_community_ids_to_post.rb