|
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: 20150901165759) do |
| 14 | +ActiveRecord::Schema.define(version: 20150903211327) do |
| 15 | + |
| 16 | + create_table "active_admin_comments", force: :cascade do |t| |
| 17 | + t.string "namespace" |
| 18 | + t.text "body" |
| 19 | + t.string "resource_id", null: false |
| 20 | + t.string "resource_type", null: false |
| 21 | + t.integer "author_id" |
| 22 | + t.string "author_type" |
| 23 | + t.datetime "created_at" |
| 24 | + t.datetime "updated_at" |
| 25 | + end |
| 26 | + |
| 27 | + add_index "active_admin_comments", ["author_type", "author_id"], name: "index_active_admin_comments_on_author_type_and_author_id" |
| 28 | + add_index "active_admin_comments", ["namespace"], name: "index_active_admin_comments_on_namespace" |
| 29 | + add_index "active_admin_comments", ["resource_type", "resource_id"], name: "index_active_admin_comments_on_resource_type_and_resource_id" |
| 30 | + |
| 31 | + create_table "admin_users", force: :cascade do |t| |
| 32 | + t.string "email", default: "", null: false |
| 33 | + t.string "encrypted_password", default: "", null: false |
| 34 | + t.string "reset_password_token" |
| 35 | + t.datetime "reset_password_sent_at" |
| 36 | + t.datetime "remember_created_at" |
| 37 | + t.integer "sign_in_count", default: 0, null: false |
| 38 | + t.datetime "current_sign_in_at" |
| 39 | + t.datetime "last_sign_in_at" |
| 40 | + t.string "current_sign_in_ip" |
| 41 | + t.string "last_sign_in_ip" |
| 42 | + t.datetime "created_at", null: false |
| 43 | + t.datetime "updated_at", null: false |
| 44 | + end |
| 45 | + |
| 46 | + add_index "admin_users", ["email"], name: "index_admin_users_on_email", unique: true |
| 47 | + add_index "admin_users", ["reset_password_token"], name: "index_admin_users_on_reset_password_token", unique: true |
| 48 | + |
| 49 | + create_table "admins", force: :cascade do |t| |
| 50 | + t.string "email", default: "", null: false |
| 51 | + t.string "encrypted_password", default: "", null: false |
| 52 | + t.string "reset_password_token" |
| 53 | + t.datetime "reset_password_sent_at" |
| 54 | + t.datetime "remember_created_at" |
| 55 | + t.integer "sign_in_count", default: 0, null: false |
| 56 | + t.datetime "current_sign_in_at" |
| 57 | + t.datetime "last_sign_in_at" |
| 58 | + t.string "current_sign_in_ip" |
| 59 | + t.string "last_sign_in_ip" |
| 60 | + t.datetime "created_at", null: false |
| 61 | + t.datetime "updated_at", null: false |
| 62 | + end |
| 63 | + |
| 64 | + add_index "admins", ["email"], name: "index_admins_on_email", unique: true |
| 65 | + add_index "admins", ["reset_password_token"], name: "index_admins_on_reset_password_token", unique: true |
15 | 66 |
|
16 | 67 | create_table "articles", force: :cascade do |t|
|
17 | 68 | t.string "title"
|
|
0 commit comments