Sha256: 1923d34ea442f86058942b1bacb8b034254dfcc1e23ca69412d16aa320cbcf78

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

# This migration comes from inkwell (originally 20130202130020)
class AddCommunityIdsToPost < ActiveRecord::Migration
  def change
    if ::Inkwell::Engine::config.community_table
      add_column ::Inkwell::Engine::config.post_table, :communities_ids, :text, :default => '[]'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inkwell-1.0.4 test/dummy/db/migrate/20130207112455_add_community_ids_to_post.inkwell.rb