Sha256: 696d2428424bc1ac1f25addb1d57f87f694615ae4395b9d452dc8cd3a09b1aa0

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

ActiveRecord::Schema.define do
  create_table :favorites, force: true do |t|
    t.integer  :tweet_id
    t.integer  :user_id
    t.timestamps null: false
  end
  add_index :favorites, :tweet_id

  create_table :tweets, force: true do |t|
    t.integer  :in_reply_to_tweet_id
    t.integer  :user_id
    t.integer  :favorites_count_cache
    t.timestamps null: false
  end
  add_index :tweets, :in_reply_to_tweet_id
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-precount-0.6.0 test/schema/schema.rb