Sha256: f862544046e89ab55982e79b1ba5cb1ef2fd60a75478714b22681d35550b746f

Contents?: true

Size: 512 Bytes

Versions: 17

Compression:

Stored size: 512 Bytes

Contents

class CreateInkwellComments < ActiveRecord::Migration
  def change
    create_table :inkwell_comments do |t|
      t.integer "#{::Inkwell::Engine::config.user_table.to_s.singularize}_id"
      t.text :body
      t.integer :parent_id
      t.integer "#{::Inkwell::Engine::config.post_table.to_s.singularize}_id"
      t.text :upper_comments_tree
      t.text     :users_ids_who_favorite_it
      t.text     :users_ids_who_comment_it
      t.text     :users_ids_who_reblog_it

      t.timestamps
    end
  end
end

Version data entries

17 entries across 12 versions & 1 rubygems

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