Sha256: 5d57d03c277b8047add51dc6fd7fea874d53a3d9edd59c74e4a0b4c81a07a565

Contents?: true

Size: 396 Bytes

Versions: 10

Compression:

Stored size: 396 Bytes

Contents

ActiveRecord::Schema.define do
  create_table :favorites, force: true do |t|
    t.integer  :tweet_id
    t.integer  :user_id
    t.timestamps
  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
  end
  add_index :tweets, :in_reply_to_tweet_id
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
activerecord-precount-0.5.1 test/schema/schema.rb
activerecord-precount-0.5.0 test/schema/schema.rb
activerecord-precount-0.4.3 test/schema/schema.rb
activerecord-precount-0.4.2 test/schema/schema.rb
activerecord-precount-0.4.1 test/schema/schema.rb
activerecord-precount-0.4.0 test/schema/schema.rb
activerecord-count_loader-0.3.3 test/schema/schema.rb
activerecord-count_loader-0.3.2 test/schema/schema.rb
activerecord-count_loader-0.3.1 test/schema/schema.rb
activerecord-count_loader-0.3.0 test/schema/schema.rb