diff --git a/db/schema.rb b/db/schema.rb index b772d392..91feb5b1 100644 --- a/db/schema.rb +++ b/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 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| t.text "content", null: false 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" end - add_foreign_key "active_storage_attachments", "active_storage_blobs", column: "blob_id" end