Sha256: a3cf162b8b90ee405092230093c36642afc481b38285a8a161c9aeedd598afe4
Contents?: true
Size: 709 Bytes
Versions: 5
Compression:
Stored size: 709 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 :notifications, force: true do |t| t.integer :notifiable_id t.string :notifiable_type t.timestamps null: false end add_index :notifications, [:notifiable_id, :notifiable_type] 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 create_table :users, force: true do |t| t.timestamps null: false end end
Version data entries
5 entries across 5 versions & 1 rubygems