Update schema.rb to match state of current branch
This commit is contained in:
parent
f42cc6aed9
commit
5db6f90b36
22
db/schema.rb
22
db/schema.rb
|
@ -15,27 +15,6 @@ ActiveRecord::Schema.define(version: 2020_04_25_194536) do
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
|
|
||||||
create_table "active_storage_attachments", force: :cascade do |t|
|
|
||||||
t.string "name", null: false
|
|
||||||
t.string "record_type", null: false
|
|
||||||
t.bigint "record_id", null: false
|
|
||||||
t.bigint "blob_id", null: false
|
|
||||||
t.datetime "created_at", null: false
|
|
||||||
t.index ["blob_id"], name: "index_active_storage_attachments_on_blob_id"
|
|
||||||
t.index ["record_type", "record_id", "name", "blob_id"], name: "index_active_storage_attachments_uniqueness", unique: true
|
|
||||||
end
|
|
||||||
|
|
||||||
create_table "active_storage_blobs", force: :cascade do |t|
|
|
||||||
t.string "key", null: false
|
|
||||||
t.string "filename", null: false
|
|
||||||
t.string "content_type"
|
|
||||||
t.text "metadata"
|
|
||||||
t.bigint "byte_size", null: false
|
|
||||||
t.string "checksum", null: false
|
|
||||||
t.datetime "created_at", null: false
|
|
||||||
t.index ["key"], name: "index_active_storage_blobs_on_key", unique: true
|
|
||||||
end
|
|
||||||
|
|
||||||
create_table "announcements", force: :cascade do |t|
|
create_table "announcements", force: :cascade do |t|
|
||||||
t.text "content", null: false
|
t.text "content", null: false
|
||||||
t.string "link_text"
|
t.string "link_text"
|
||||||
|
@ -315,5 +294,4 @@ ActiveRecord::Schema.define(version: 2020_04_25_194536) do
|
||||||
t.index ["user_id"], name: "index_users_roles_on_user_id"
|
t.index ["user_id"], name: "index_users_roles_on_user_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
add_foreign_key "active_storage_attachments", "active_storage_blobs", column: "blob_id"
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue