1
0
Fork 0
forked from gitea/nas

Merge remote-tracking branch 'parent/main' into kbtopic-remove-quote

This commit is contained in:
KMY 2025-05-27 10:51:58 +09:00
commit 7c65b6f9df
464 changed files with 8217 additions and 8135 deletions

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2025_05_07_035927) do
ActiveRecord::Schema[8.0].define(version: 2025_05_20_204643) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_catalog.plpgsql"
@ -609,6 +609,17 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_07_035927) do
t.index ["uri"], name: "index_emoji_reactions_on_uri", unique: true
end
create_table "fasp_backfill_requests", force: :cascade do |t|
t.string "category", null: false
t.integer "max_count", default: 100, null: false
t.string "cursor"
t.boolean "fulfilled", default: false, null: false
t.bigint "fasp_provider_id", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["fasp_provider_id"], name: "index_fasp_backfill_requests_on_fasp_provider_id"
end
create_table "fasp_debug_callbacks", force: :cascade do |t|
t.bigint "fasp_provider_id", null: false
t.string "ip", null: false
@ -635,6 +646,20 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_07_035927) do
t.index ["base_url"], name: "index_fasp_providers_on_base_url", unique: true
end
create_table "fasp_subscriptions", force: :cascade do |t|
t.string "category", null: false
t.string "subscription_type", null: false
t.integer "max_batch_size", null: false
t.integer "threshold_timeframe"
t.integer "threshold_shares"
t.integer "threshold_likes"
t.integer "threshold_replies"
t.bigint "fasp_provider_id", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["fasp_provider_id"], name: "index_fasp_subscriptions_on_fasp_provider_id"
end
create_table "favourites", force: :cascade do |t|
t.datetime "created_at", precision: nil, null: false
t.datetime "updated_at", precision: nil, null: false
@ -1246,6 +1271,16 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_07_035927) do
t.index ["target_account_id"], name: "index_reports_on_target_account_id"
end
create_table "rule_translations", force: :cascade do |t|
t.text "text", default: "", null: false
t.text "hint", default: "", null: false
t.string "language", null: false
t.bigint "rule_id", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["rule_id", "language"], name: "index_rule_translations_on_rule_id_and_language", unique: true
end
create_table "rules", force: :cascade do |t|
t.integer "priority", default: 0, null: false
t.datetime "deleted_at", precision: nil
@ -1566,9 +1601,6 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_07_035927) do
t.datetime "confirmation_sent_at", precision: nil
t.string "unconfirmed_email"
t.string "locale"
t.string "encrypted_otp_secret"
t.string "encrypted_otp_secret_iv"
t.string "encrypted_otp_secret_salt"
t.integer "consumed_timestep"
t.boolean "otp_required_for_login", default: false, null: false
t.datetime "last_emailed_at", precision: nil
@ -1589,6 +1621,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_07_035927) do
t.string "time_zone"
t.string "otp_secret"
t.datetime "age_verified_at"
t.boolean "require_tos_interstitial", default: false, null: false
t.index ["account_id"], name: "index_users_on_account_id"
t.index ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true
t.index ["created_by_application_id"], name: "index_users_on_created_by_application_id", where: "(created_by_application_id IS NOT NULL)"
@ -1709,7 +1742,9 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_07_035927) do
add_foreign_key "emoji_reactions", "accounts", on_delete: :cascade
add_foreign_key "emoji_reactions", "custom_emojis", on_delete: :cascade
add_foreign_key "emoji_reactions", "statuses", on_delete: :cascade
add_foreign_key "fasp_backfill_requests", "fasp_providers"
add_foreign_key "fasp_debug_callbacks", "fasp_providers"
add_foreign_key "fasp_subscriptions", "fasp_providers"
add_foreign_key "favourites", "accounts", name: "fk_5eb6c2b873", on_delete: :cascade
add_foreign_key "favourites", "statuses", name: "fk_b0e856845e", on_delete: :cascade
add_foreign_key "featured_tags", "accounts", on_delete: :cascade
@ -1776,6 +1811,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_07_035927) do
add_foreign_key "reports", "accounts", column: "target_account_id", name: "fk_eb37af34f0", on_delete: :cascade
add_foreign_key "reports", "accounts", name: "fk_4b81f7522c", on_delete: :cascade
add_foreign_key "reports", "oauth_applications", column: "application_id", on_delete: :nullify
add_foreign_key "rule_translations", "rules", on_delete: :cascade
add_foreign_key "scheduled_expiration_statuses", "accounts", on_delete: :cascade
add_foreign_key "scheduled_expiration_statuses", "statuses", on_delete: :cascade
add_foreign_key "scheduled_statuses", "accounts", on_delete: :cascade