mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
Add OIDC authentification in project
This commit is contained in:
parent
777515f754
commit
7f904d9e92
17 changed files with 547 additions and 26 deletions
10
db/postgresql/migrations/14_add_setting/migration.sql
Normal file
10
db/postgresql/migrations/14_add_setting/migration.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
-- Create table setting
|
||||
CREATE TABLE IF NOT EXISTS "setting" (
|
||||
"setting_id" uuid PRIMARY KEY,
|
||||
"key" varchar(255) UNIQUE NOT NULL,
|
||||
"value" varchar(4000),
|
||||
"created_at" timestamptz(6) DEFAULT now(),
|
||||
"updated_at" timestamptz(6)
|
||||
);
|
||||
|
||||
|
||||
|
|
@ -268,4 +268,14 @@ model Revenue {
|
|||
@@index([websiteId, createdAt])
|
||||
@@index([websiteId, sessionId, createdAt])
|
||||
@@map("revenue")
|
||||
}
|
||||
|
||||
model Setting {
|
||||
id String @id @unique @map("setting_id") @db.Uuid
|
||||
key String @unique @db.VarChar(255)
|
||||
value String? @db.VarChar(4000)
|
||||
createdAt DateTime? @default(now()) @map("created_at") @db.Timestamptz(6)
|
||||
updatedAt DateTime? @updatedAt @map("updated_at") @db.Timestamptz(6)
|
||||
|
||||
@@map("setting")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue