Make application and logo configurable (#336)
* Adds settings for server name and logo * Implements ApplicationLogo and replaces site name based on settings * Refactors component for changing the company logo * Removes unused variable * Uses message instead of statusMessage * Replaces favicon with logo if set
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
-- DropIndex
|
||||
DROP INDEX "Game_mName_idx";
|
||||
|
||||
-- DropIndex
|
||||
DROP INDEX "GameTag_name_idx";
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "ApplicationSettings" ADD COLUMN "mLogoObjectId" TEXT,
|
||||
ADD COLUMN "serverName" TEXT NOT NULL DEFAULT 'Drop';
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "Game_mName_idx" ON "Game" USING GIST ("mName" gist_trgm_ops(siglen=32));
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "GameTag_name_idx" ON "GameTag" USING GIST ("name" gist_trgm_ops(siglen=32));
|
||||
@@ -8,6 +8,8 @@ model ApplicationSettings {
|
||||
saveSlotHistoryLimit Int @default(3)
|
||||
|
||||
showGamePanelTextDecoration Boolean @default(true)
|
||||
serverName String @default("Drop")
|
||||
mLogoObjectId String?
|
||||
}
|
||||
|
||||
enum Platform {
|
||||
|
||||
Reference in New Issue
Block a user