|
|
|
|
@@ -10,15 +10,25 @@
|
|
|
|
|
#
|
|
|
|
|
# It's strongly recommended that you check this file into your version control system.
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
ActiveRecord::Schema[7.0].define(version: 2024_12_19_201430) do
|
|
|
|
|
# These are extensions that must be enabled in order to support this database
|
|
|
|
|
enable_extension "pg_prewarm"
|
|
|
|
|
enable_extension "pg_stat_statements"
|
|
|
|
|
enable_extension "pg_trgm"
|
|
|
|
|
enable_extension "pgcrypto"
|
|
|
|
|
enable_extension "plpgsql"
|
|
|
|
|
enable_extension "vector"
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
t.binary "contents", null: false
|
|
|
|
|
t.datetime "created_at", null: false
|
|
|
|
|
t.datetime "updated_at", null: false
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
@@ -29,7 +39,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_00", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_00", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -38,7 +49,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_00_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_01", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_01", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -47,7 +59,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_01_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_02", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_02", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -56,7 +69,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_02_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_03", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_03", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -65,7 +79,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_03_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_04", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_04", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -74,7 +89,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_04_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_05", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_05", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -83,7 +99,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_05_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_06", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_06", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -92,7 +109,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_06_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_07", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_07", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -101,7 +119,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_07_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_08", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_08", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -110,7 +129,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_08_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_09", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_09", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -119,7 +139,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_09_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_10", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_10", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -128,7 +149,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_10_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_11", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_11", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -137,7 +159,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_11_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_12", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_12", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -146,7 +169,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_12_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_13", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_13", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -155,7 +179,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_13_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_14", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_14", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -164,7 +189,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_14_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_15", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_15", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -173,7 +199,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_15_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_16", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_16", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -182,7 +209,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_16_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_17", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_17", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -191,7 +219,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_17_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_18", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_18", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -200,7 +229,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_18_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_19", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_19", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -209,7 +239,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_19_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_20", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_20", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -218,7 +249,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_20_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_21", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_21", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -227,7 +259,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_21_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_22", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_22", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -236,7 +269,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_22_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_23", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_23", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -245,7 +279,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_23_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_24", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_24", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -254,7 +289,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_24_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_25", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_25", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -263,7 +299,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_25_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_26", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_26", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -272,7 +309,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_26_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_27", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_27", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -281,7 +319,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_27_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_28", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_28", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -290,7 +329,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_28_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_29", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_29", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -299,7 +339,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_29_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_30", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_30", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -308,7 +349,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_30_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_31", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_31", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -317,7 +359,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_31_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_32", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_32", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -326,7 +369,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_32_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_33", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_33", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -335,7 +379,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_33_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_34", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_34", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -344,7 +389,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_34_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_35", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_35", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -353,7 +399,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_35_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_36", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_36", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -362,7 +409,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_36_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_37", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_37", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -371,7 +419,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_37_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_38", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_38", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -380,7 +429,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_38_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_39", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_39", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -389,7 +439,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_39_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_40", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_40", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -398,7 +449,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_40_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_41", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_41", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -407,7 +459,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_41_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_42", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_42", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -416,7 +469,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_42_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_43", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_43", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -425,7 +479,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_43_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_44", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_44", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -434,7 +489,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_44_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_45", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_45", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -443,7 +499,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_45_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_46", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_46", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -452,7 +509,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_46_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_47", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_47", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -461,7 +519,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_47_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_48", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_48", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -470,7 +529,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_48_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_49", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_49", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -479,7 +539,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_49_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_50", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_50", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -488,7 +549,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_50_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_51", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_51", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -497,7 +559,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_51_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_52", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_52", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -506,7 +569,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_52_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_53", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_53", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -515,7 +579,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_53_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_54", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_54", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -524,7 +589,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_54_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_55", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_55", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -533,7 +599,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_55_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_56", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_56", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -542,7 +609,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_56_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_57", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_57", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -551,7 +619,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_57_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_58", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_58", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -560,7 +629,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_58_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_59", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_59", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -569,7 +639,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_59_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_60", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_60", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -578,7 +649,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_60_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_61", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_61", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -587,7 +659,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_61_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_62", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_62", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -596,7 +669,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["sha256"], name: "index_blob_entries_p_62_on_sha256", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "blob_entries_p_63", primary_key: "sha256", id: :binary, force: :cascade do |t|
|
|
|
|
|
create_table "blob_entries_p_63", id: false, force: :cascade do |t|
|
|
|
|
|
t.binary "sha256", null: false
|
|
|
|
|
t.binary "base_sha256"
|
|
|
|
|
t.string "content_type", null: false
|
|
|
|
|
t.integer "size", null: false
|
|
|
|
|
@@ -1269,9 +1343,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.datetime "updated_at"
|
|
|
|
|
t.string "signature"
|
|
|
|
|
t.jsonb "args"
|
|
|
|
|
t.index ["priority", "run_at"], name: "delayed_jobs_priority_run_at_idx"
|
|
|
|
|
t.index ["queue"], name: "delayed_jobs_queue_idx"
|
|
|
|
|
t.index ["signature"], name: "delayed_jobs_signature_idx", unique: true
|
|
|
|
|
t.index ["priority", "run_at"], name: "delayed_jobs_priority"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "domain_e621_post_versions", force: :cascade do |t|
|
|
|
|
|
@@ -1333,6 +1405,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
create_table "domain_fa_favs", force: :cascade do |t|
|
|
|
|
|
t.bigint "user_id", null: false
|
|
|
|
|
t.bigint "post_id", null: false
|
|
|
|
|
t.index ["post_id"], name: "index_domain_fa_favs_on_post_id"
|
|
|
|
|
t.index ["user_id"], name: "index_domain_fa_favs_on_user_id"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@@ -1343,6 +1416,15 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["follower_id", "followed_id"], name: "index_domain_fa_follows_on_follower_id_and_followed_id", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "domain_fa_post_factors", force: :cascade do |t|
|
|
|
|
|
t.bigint "post_id", null: false
|
|
|
|
|
t.vector "for_favorite", limit: 32
|
|
|
|
|
t.datetime "created_at", null: false
|
|
|
|
|
t.datetime "updated_at", null: false
|
|
|
|
|
t.index ["for_favorite"], name: "index_domain_fa_post_factors_on_for_favorite", using: :ivfflat
|
|
|
|
|
t.index ["post_id"], name: "index_domain_fa_post_factors_on_post_id", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "domain_fa_posts", force: :cascade do |t|
|
|
|
|
|
t.integer "fa_id"
|
|
|
|
|
t.bigint "creator_id"
|
|
|
|
|
@@ -1365,7 +1447,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.jsonb "state_detail"
|
|
|
|
|
t.jsonb "log_entry_detail"
|
|
|
|
|
t.index ["creator_id"], name: "index_domain_fa_posts_on_creator_id"
|
|
|
|
|
t.index ["fa_id", "id"], name: "index_domain_fa_posts_on_fa_id", unique: true
|
|
|
|
|
t.index ["fa_id"], name: "index_domain_fa_posts_on_fa_id", unique: true
|
|
|
|
|
t.index ["file_id"], name: "index_domain_fa_posts_on_file_id"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@@ -1425,9 +1507,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.jsonb "state_detail"
|
|
|
|
|
t.datetime "scanned_follows_at"
|
|
|
|
|
t.datetime "scanned_favs_at"
|
|
|
|
|
t.index ["name"], name: "domain_fa_users_name_idx", opclass: :gist_trgm_ops, using: :gist
|
|
|
|
|
t.index ["name"], name: "index_domain_fa_users_on_name", unique: true
|
|
|
|
|
t.index ["url_name"], name: "domain_fa_users_url_name_idx", opclass: :gist_trgm_ops, using: :gist
|
|
|
|
|
t.index ["url_name"], name: "index_domain_fa_users_on_url_name", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@@ -1523,13 +1603,6 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.datetime "updated_at", null: false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "domain_inkbunny_user_avatars", force: :cascade do |t|
|
|
|
|
|
t.bigint "user_id", null: false
|
|
|
|
|
t.datetime "created_at", null: false
|
|
|
|
|
t.datetime "updated_at", null: false
|
|
|
|
|
t.index ["user_id"], name: "index_domain_inkbunny_user_avatars_on_user_id"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "domain_inkbunny_users", force: :cascade do |t|
|
|
|
|
|
t.integer "state", null: false
|
|
|
|
|
t.json "state_detail"
|
|
|
|
|
@@ -1585,6 +1658,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.integer "state"
|
|
|
|
|
t.json "state_detail"
|
|
|
|
|
t.json "raw_data"
|
|
|
|
|
t.integer "tw_id"
|
|
|
|
|
t.string "name", null: false
|
|
|
|
|
t.string "nick"
|
|
|
|
|
t.string "description"
|
|
|
|
|
@@ -1595,7 +1669,6 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.datetime "scanned_timeline_at"
|
|
|
|
|
t.datetime "created_at", null: false
|
|
|
|
|
t.datetime "updated_at", null: false
|
|
|
|
|
t.bigint "tw_id"
|
|
|
|
|
t.index ["name"], name: "index_domain_twitter_users_on_name", unique: true
|
|
|
|
|
t.index ["tw_id"], name: "index_domain_twitter_users_on_tw_id", unique: true
|
|
|
|
|
end
|
|
|
|
|
@@ -1765,10 +1838,13 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
t.index ["item_type", "item_id"], name: "index_versions_on_item_type_and_item_id"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
add_foreign_key "blob_entries", "blob_entries", column: "base_sha256", primary_key: "sha256"
|
|
|
|
|
add_foreign_key "domain_e621_post_versions", "domain_e621_posts", column: "item_id"
|
|
|
|
|
add_foreign_key "domain_fa_favs", "domain_fa_posts", column: "post_id"
|
|
|
|
|
add_foreign_key "domain_fa_favs", "domain_fa_users", column: "user_id"
|
|
|
|
|
add_foreign_key "domain_fa_follows", "domain_fa_users", column: "followed_id"
|
|
|
|
|
add_foreign_key "domain_fa_follows", "domain_fa_users", column: "follower_id"
|
|
|
|
|
add_foreign_key "domain_fa_post_factors", "domain_fa_posts", column: "post_id"
|
|
|
|
|
add_foreign_key "domain_fa_posts", "domain_fa_users", column: "creator_id"
|
|
|
|
|
add_foreign_key "domain_fa_posts", "http_log_entries", column: "file_id"
|
|
|
|
|
add_foreign_key "domain_fa_user_avatar_versions", "domain_fa_user_avatars", column: "item_id"
|
|
|
|
|
@@ -1784,7 +1860,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_12_18_190906) do
|
|
|
|
|
add_foreign_key "domain_inkbunny_pool_joins", "domain_inkbunny_posts", column: "post_id"
|
|
|
|
|
add_foreign_key "domain_twitter_medias", "domain_twitter_tweets", column: "tweet_id"
|
|
|
|
|
add_foreign_key "domain_twitter_medias", "http_log_entries", column: "file_id"
|
|
|
|
|
add_foreign_key "domain_twitter_tweets", "domain_twitter_users", column: "author_id", primary_key: "tw_id", name: "on_author_id"
|
|
|
|
|
add_foreign_key "domain_twitter_tweets", "domain_twitter_users", column: "author_id"
|
|
|
|
|
add_foreign_key "domain_twitter_user_versions", "domain_twitter_users", column: "item_id"
|
|
|
|
|
add_foreign_key "http_log_entries", "http_log_entries", column: "caused_by_id"
|
|
|
|
|
add_foreign_key "http_log_entries", "http_log_entry_headers", column: "request_headers_id"
|
|
|
|
|
add_foreign_key "http_log_entries", "http_log_entry_headers", column: "response_headers_id"
|
|
|
|
|
|