@@ -2,7 +2,7 @@
|
||||
# értékadás (nem <<), hogy idempotens legyen.
|
||||
Rails.application.config.to_prepare do
|
||||
WarpEngine.configure do |c|
|
||||
# A /update DB-tokenjeinek tulajdonosa. A :database módra váltás
|
||||
# A /build/* DB-tokenjeinek tulajdonosa. A :database módra váltás
|
||||
# (c.application_token_source = :database) csak azután jöhet, hogy a CI már
|
||||
# DB-tokent használ — az átkapcsolás azonnal érvényteleníti az UPDATE_SECRET-et.
|
||||
c.application_token_source = :database
|
||||
|
||||
@@ -14,7 +14,7 @@ Rails.application.routes.draw do
|
||||
end
|
||||
|
||||
# Utolsó sor: a host route-jai nyernek, a katalógus-útvonalakat
|
||||
# (/api/software*, /api/builds*, /api/image, /api/download, /update, /file/*)
|
||||
# (/api/software*, /api/builds*, /api/image, /api/download, /build/*, /file/*)
|
||||
# az engine adja.
|
||||
mount WarpEngine::Engine => "/"
|
||||
end
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.1].define(version: 2026_08_05_000001) do
|
||||
ActiveRecord::Schema[8.1].define(version: 2026_08_05_000003) do
|
||||
create_table "admin_users", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t|
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "deleted_at", precision: 3
|
||||
@@ -38,6 +38,7 @@ ActiveRecord::Schema[8.1].define(version: 2026_08_05_000001) do
|
||||
t.json "scopes"
|
||||
t.string "token_digest", limit: 64, null: false
|
||||
t.string "token_prefix", limit: 12, null: false
|
||||
t.boolean "unrestricted", default: false, null: false
|
||||
t.datetime "updated_at", precision: 3
|
||||
t.index ["deleted_at"], name: "idx_application_tokens_deleted_at"
|
||||
t.index ["owner_type", "owner_id"], name: "idx_application_tokens_owner"
|
||||
@@ -249,6 +250,8 @@ ActiveRecord::Schema[8.1].define(version: 2026_08_05_000001) do
|
||||
t.boolean "highlighted", default: false
|
||||
t.string "license", limit: 128
|
||||
t.string "name", limit: 128
|
||||
t.bigint "owner_id", unsigned: true
|
||||
t.string "owner_type", limit: 128
|
||||
t.string "platform", limit: 128
|
||||
t.string "site"
|
||||
t.string "status", limit: 20, default: "development"
|
||||
@@ -257,6 +260,7 @@ ActiveRecord::Schema[8.1].define(version: 2026_08_05_000001) do
|
||||
t.datetime "updated_at", precision: 3
|
||||
t.index ["deleted_at"], name: "idx_softwares_deleted_at"
|
||||
t.index ["name"], name: "idx_softwares_name", unique: true
|
||||
t.index ["owner_type", "owner_id"], name: "idx_softwares_owner"
|
||||
end
|
||||
|
||||
add_foreign_key "admin_users", "members"
|
||||
|
||||
Reference in New Issue
Block a user