Skip to content

Commit 8567b27

Browse files
committed
not sure if i should be checking db/schema.rb but what the hell
1 parent 5d78b57 commit 8567b27

File tree

1 file changed

+39
-40
lines changed

1 file changed

+39
-40
lines changed

db/schema.rb

+39-40
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# frozen_string_literal: true
2-
31
# This file is auto-generated from the current state of the database. Instead
42
# of editing this file, please use the migrations feature of Active Record to
53
# incrementally modify your database, and then regenerate this schema definition.
@@ -12,52 +10,53 @@
1210
#
1311
# It's strongly recommended that you check this file into your version control system.
1412

15-
ActiveRecord::Schema.define(version: 20_180_207_180_008) do
13+
ActiveRecord::Schema.define(version: 2018_02_07_180008) do
14+
1615
# These are extensions that must be enabled in order to support this database
17-
enable_extension 'plpgsql'
16+
enable_extension "plpgsql"
1817

19-
create_table 'articles', force: :cascade do |t|
20-
t.string 'title'
21-
t.text 'text'
22-
t.string 'created_by'
23-
t.string 'slug'
24-
t.datetime 'created_at', null: false
25-
t.datetime 'updated_at', null: false
26-
t.integer 'user_id'
27-
t.string 'meta_description'
18+
create_table "articles", force: :cascade do |t|
19+
t.string "title"
20+
t.text "text"
21+
t.string "created_by"
22+
t.string "slug"
23+
t.datetime "created_at", null: false
24+
t.datetime "updated_at", null: false
25+
t.integer "user_id"
26+
t.string "meta_description"
2827
end
2928

30-
create_table 'attachments', force: :cascade do |t|
31-
t.string 'filename'
32-
t.string 'content_type'
33-
t.binary 'file_contents'
34-
t.datetime 'created_at', null: false
35-
t.datetime 'updated_at', null: false
36-
t.integer 'article_id'
29+
create_table "attachments", force: :cascade do |t|
30+
t.string "filename"
31+
t.string "content_type"
32+
t.binary "file_contents"
33+
t.datetime "created_at", null: false
34+
t.datetime "updated_at", null: false
35+
t.integer "article_id"
3736
end
3837

39-
create_table 'comments', force: :cascade do |t|
40-
t.string 'commenter'
41-
t.text 'body'
42-
t.bigint 'article_id'
43-
t.datetime 'created_at', null: false
44-
t.datetime 'updated_at', null: false
45-
t.index ['article_id'], name: 'index_comments_on_article_id'
38+
create_table "comments", force: :cascade do |t|
39+
t.string "commenter"
40+
t.text "body"
41+
t.bigint "article_id"
42+
t.datetime "created_at", null: false
43+
t.datetime "updated_at", null: false
44+
t.index ["article_id"], name: "index_comments_on_article_id"
4645
end
4746

48-
create_table 'users', force: :cascade do |t|
49-
t.string 'email'
50-
t.string 'password_digest'
51-
t.datetime 'created_at', null: false
52-
t.datetime 'updated_at', null: false
53-
t.integer 'user_id'
54-
t.boolean 'admin_user', default: false
55-
t.string 'password_reset_token'
56-
t.datetime 'password_reset_sent_at'
57-
t.string 'confirmation_token'
58-
t.datetime 'confirmation_sent_at'
59-
t.boolean 'confirmed', default: false
47+
create_table "users", force: :cascade do |t|
48+
t.string "email"
49+
t.string "password_digest"
50+
t.datetime "created_at", null: false
51+
t.datetime "updated_at", null: false
52+
t.integer "user_id"
53+
t.boolean "admin_user", default: false
54+
t.string "password_reset_token"
55+
t.datetime "password_reset_sent_at"
56+
t.string "confirmation_token"
57+
t.datetime "confirmation_sent_at"
58+
t.boolean "confirmed", default: false
6059
end
6160

62-
add_foreign_key 'articles', 'users'
61+
add_foreign_key "articles", "users"
6362
end

0 commit comments

Comments
 (0)