Migrations applied

This commit is contained in:
Christoph Haas 2021-05-28 21:22:56 +02:00
parent 92aca77cdb
commit 07d48b6ad9

View file

@ -10,7 +10,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_03_21_215433) do ActiveRecord::Schema.define(version: 2021_05_28_190642) 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"
@ -52,9 +52,16 @@ ActiveRecord::Schema.define(version: 2021_03_21_215433) do
t.bigint "byte_size", null: false t.bigint "byte_size", null: false
t.string "checksum", null: false t.string "checksum", null: false
t.datetime "created_at", null: false t.datetime "created_at", null: false
t.string "service_name", null: false
t.index ["key"], name: "index_active_storage_blobs_on_key", unique: true t.index ["key"], name: "index_active_storage_blobs_on_key", unique: true
end end
create_table "active_storage_variant_records", force: :cascade do |t|
t.bigint "blob_id", null: false
t.string "variation_digest", null: false
t.index ["blob_id", "variation_digest"], name: "index_active_storage_variant_records_uniqueness", unique: true
end
create_table "logs", id: :serial, force: :cascade do |t| create_table "logs", id: :serial, force: :cascade do |t|
t.string "message" t.string "message"
t.string "level" t.string "level"
@ -126,5 +133,6 @@ ActiveRecord::Schema.define(version: 2021_03_21_215433) do
end end
add_foreign_key "active_storage_attachments", "active_storage_blobs", column: "blob_id" add_foreign_key "active_storage_attachments", "active_storage_blobs", column: "blob_id"
add_foreign_key "active_storage_variant_records", "active_storage_blobs", column: "blob_id"
add_foreign_key "screenshots", "packages", name: "screenshots_package_id_fkey" add_foreign_key "screenshots", "packages", name: "screenshots_package_id_fkey"
end end