|
19 | 19 | t.datetime "published_at" |
20 | 20 | t.datetime "created_at", null: false |
21 | 21 | t.datetime "updated_at", null: false |
22 | | - t.index [ "published" ], name: "index_posts_on_published" |
23 | | - t.index [ "user_id" ], name: "index_posts_on_user_id" |
| 22 | + t.index ["published"], name: "index_posts_on_published" |
| 23 | + t.index ["user_id"], name: "index_posts_on_user_id" |
24 | 24 | end |
25 | 25 |
|
26 | 26 | create_table "profiles", force: :cascade do |t| |
|
31 | 31 | t.json "social_links" |
32 | 32 | t.datetime "created_at", null: false |
33 | 33 | t.datetime "updated_at", null: false |
34 | | - t.index [ "user_id" ], name: "index_profiles_on_user_id", unique: true |
| 34 | + t.index ["user_id"], name: "index_profiles_on_user_id", unique: true |
35 | 35 | end |
36 | 36 |
|
37 | 37 | create_table "users", force: :cascade do |t| |
|
42 | 42 | t.boolean "active", default: true |
43 | 43 | t.datetime "created_at", null: false |
44 | 44 | t.datetime "updated_at", null: false |
45 | | - t.index [ "email" ], name: "index_users_on_email", unique: true |
| 45 | + t.index ["email"], name: "index_users_on_email", unique: true |
46 | 46 | end |
47 | 47 |
|
48 | 48 | add_foreign_key "posts", "users" |
|
0 commit comments