|
11 | 11 | #
|
12 | 12 | # It's strongly recommended that you check this file into your version control system.
|
13 | 13 |
|
14 |
| -ActiveRecord::Schema.define(version: 20160712061113) do |
| 14 | +ActiveRecord::Schema.define(version: 20160712061614) do |
15 | 15 |
|
16 | 16 | create_table "articles", force: :cascade do |t|
|
17 | 17 | t.string "title"
|
|
48 | 48 | add_index "favorites", ["article_id"], name: "index_favorites_on_article_id"
|
49 | 49 | add_index "favorites", ["user_id"], name: "index_favorites_on_user_id"
|
50 | 50 |
|
| 51 | + create_table "follows", force: :cascade do |t| |
| 52 | + t.integer "followable_id", null: false |
| 53 | + t.string "followable_type", null: false |
| 54 | + t.integer "follower_id", null: false |
| 55 | + t.string "follower_type", null: false |
| 56 | + t.boolean "blocked", default: false, null: false |
| 57 | + t.datetime "created_at" |
| 58 | + t.datetime "updated_at" |
| 59 | + end |
| 60 | + |
| 61 | + add_index "follows", ["followable_id", "followable_type"], name: "fk_followables" |
| 62 | + add_index "follows", ["follower_id", "follower_type"], name: "fk_follows" |
| 63 | + |
51 | 64 | create_table "taggings", force: :cascade do |t|
|
52 | 65 | t.integer "tag_id"
|
53 | 66 | t.integer "taggable_id"
|
|
0 commit comments