Sha256: 8ab43299fd25095446dd9fd4252f7d1e1c6da300320722ebb01e16eeb8ab75b8

Contents?: true

Size: 490 Bytes

Versions: 1

Compression:

Stored size: 490 Bytes

Contents

class CreateComments < ActiveRecord::Migration
  def change
    create_table :comments do |t|
      t.integer  "user_id"
      t.text "body"
      t.integer "parent_comment_id"
      t.integer "topmost_obj_id"
      t.text "upper_comments_tree"
      t.text "users_ids_who_favorite_it", :default => "[]"
      t.text "users_ids_who_comment_it", :default => "[]"
      t.text "users_ids_who_reblog_it", :default => "[]"
      t.string "topmost_obj_type"
      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inkwell_timelines-1.0.0 test/dummy/db/migrate/20130422112350_create_comments.rb