diff options
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/db/schema.rb b/db/schema.rb index c7c82ac..fc6614a 100644 --- a/db/schema.rb +++ b/db/schema.rb | |||
@@ -10,7 +10,7 @@ | |||
10 | # | 10 | # |
11 | # It's strongly recommended that you check this file into your version control system. | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 | ||
13 | ActiveRecord::Schema.define(version: 20170629184901) do | 13 | ActiveRecord::Schema.define(version: 20170703013609) do |
14 | 14 | ||
15 | create_table "ckeditor_assets", force: :cascade do |t| | 15 | create_table "ckeditor_assets", force: :cascade do |t| |
16 | t.string "data_file_name", null: false | 16 | t.string "data_file_name", null: false |
@@ -28,7 +28,6 @@ ActiveRecord::Schema.define(version: 20170629184901) do | |||
28 | create_table "entries", force: :cascade do |t| | 28 | create_table "entries", force: :cascade do |t| |
29 | t.string "title" | 29 | t.string "title" |
30 | t.text "body" | 30 | t.text "body" |
31 | t.string "directory", null: false | ||
32 | t.string "slug", null: false | 31 | t.string "slug", null: false |
33 | t.string "type", null: false | 32 | t.string "type", null: false |
34 | t.datetime "created_at", null: false | 33 | t.datetime "created_at", null: false |
@@ -37,7 +36,7 @@ ActiveRecord::Schema.define(version: 20170629184901) do | |||
37 | 36 | ||
38 | create_table "records", force: :cascade do |t| | 37 | create_table "records", force: :cascade do |t| |
39 | t.text "description" | 38 | t.text "description" |
40 | t.string "recordable_type" | 39 | t.string "recordable_type", limit: 191 |
41 | t.integer "recordable_id" | 40 | t.integer "recordable_id" |
42 | t.datetime "created_at", null: false | 41 | t.datetime "created_at", null: false |
43 | t.datetime "updated_at", null: false | 42 | t.datetime "updated_at", null: false |
@@ -45,10 +44,10 @@ ActiveRecord::Schema.define(version: 20170629184901) do | |||
45 | end | 44 | end |
46 | 45 | ||
47 | create_table "users", force: :cascade do |t| | 46 | create_table "users", force: :cascade do |t| |
48 | t.string "login", default: "", null: false | 47 | t.string "login", limit: 191, default: "", null: false |
49 | t.string "email", default: "", null: false | 48 | t.string "email", limit: 191, default: "", null: false |
50 | t.string "encrypted_password", default: "", null: false | 49 | t.string "encrypted_password", default: "", null: false |
51 | t.string "reset_password_token" | 50 | t.string "reset_password_token", limit: 191 |
52 | t.datetime "reset_password_sent_at" | 51 | t.datetime "reset_password_sent_at" |
53 | t.datetime "remember_created_at" | 52 | t.datetime "remember_created_at" |
54 | t.integer "sign_in_count", default: 0, null: false | 53 | t.integer "sign_in_count", default: 0, null: false |