Sha256: 5412a2bdc6c2a9a56958abacdae7ebe8aafd1d290dd596059f70b36f616d3886

Contents?: true

Size: 385 Bytes

Versions: 17

Compression:

Stored size: 385 Bytes

Contents

class AddColumnsToPosts < ActiveRecord::Migration
  def change
    add_column ::Inkwell::Engine::config.post_table, :users_ids_who_favorite_it, :text, :default => '[]'
    add_column ::Inkwell::Engine::config.post_table, :users_ids_who_comment_it, :text, :default => '[]'
    add_column ::Inkwell::Engine::config.post_table, :users_ids_who_reblog_it, :text, :default => '[]'
  end
end

Version data entries

17 entries across 12 versions & 1 rubygems

Version Path
inkwell-2.0.0 db/migrate/20121202140816_add_columns_to_posts.rb
inkwell-1.5.2 db/migrate/20121202140816_add_columns_to_posts.rb
inkwell-1.5.1 db/migrate/20121202140816_add_columns_to_posts.rb
inkwell-1.4.1 db/migrate/20121202140816_add_columns_to_posts.rb
inkwell-1.2.0 db/migrate/20121202140816_add_columns_to_posts.rb
inkwell-1.1.7 db/migrate/20121202140816_add_columns_to_posts.rb
inkwell-1.1.1 db/migrate/20121202140816_add_columns_to_posts.rb
inkwell-1.0.5 db/migrate/20121202140816_add_columns_to_posts.rb
inkwell-1.0.4 test/dummy_without_community/db/migrate/20130120124011_add_columns_to_posts.rb
inkwell-1.0.4 db/migrate/20121202140816_add_columns_to_posts.rb
inkwell-0.1.1 db/migrate/20121202140816_add_columns_to_posts.rb
inkwell-0.1.1 test/dummy_without_community/db/migrate/20130120124011_add_columns_to_posts.rb
inkwell-0.1.1 test/dummy/db/migrate/20130120124011_add_columns_to_posts.rb
inkwell-0.0.3 test/dummy/db/migrate/20130120124011_add_columns_to_posts.rb
inkwell-0.0.3 db/migrate/20121202140816_add_columns_to_posts.rb
inkwell-0.0.1 db/migrate/20121202140816_add_columns_to_posts.rb
inkwell-0.0.1 test/dummy/db/migrate/20130120124011_add_columns_to_posts.rb