Skip to content

Commit 254637e

Browse files
committed
default activeadmin schema
1 parent d4c228c commit 254637e

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

dummy_app/db/schema.rb

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This file is auto-generated from the current state of the database. Instead
2+
# of editing this file, please use the migrations feature of Active Record to
3+
# incrementally modify your database, and then regenerate this schema definition.
4+
#
5+
# Note that this schema.rb definition is the authoritative source for your
6+
# database schema. If you need to create the application database on another
7+
# system, you should be using db:schema:load, not running all the migrations
8+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
9+
# you'll amass, the slower it'll run and the greater likelihood for issues).
10+
#
11+
# It's strongly recommended that you check this file into your version control system.
12+
13+
ActiveRecord::Schema.define(version: 20180823051213) do
14+
15+
create_table "active_admin_comments", force: :cascade do |t|
16+
t.string "namespace"
17+
t.text "body"
18+
t.string "resource_type"
19+
t.integer "resource_id"
20+
t.string "author_type"
21+
t.integer "author_id"
22+
t.datetime "created_at", null: false
23+
t.datetime "updated_at", null: false
24+
t.index ["author_type", "author_id"], name: "index_active_admin_comments_on_author_type_and_author_id"
25+
t.index ["namespace"], name: "index_active_admin_comments_on_namespace"
26+
t.index ["resource_type", "resource_id"], name: "index_active_admin_comments_on_resource_type_and_resource_id"
27+
end
28+
29+
create_table "admin_users", force: :cascade do |t|
30+
t.string "email", default: "", null: false
31+
t.string "encrypted_password", default: "", null: false
32+
t.string "reset_password_token"
33+
t.datetime "reset_password_sent_at"
34+
t.datetime "remember_created_at"
35+
t.datetime "created_at", null: false
36+
t.datetime "updated_at", null: false
37+
t.index ["email"], name: "index_admin_users_on_email", unique: true
38+
t.index ["reset_password_token"], name: "index_admin_users_on_reset_password_token", unique: true
39+
end
40+
41+
end

0 commit comments

Comments
 (0)