mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-09-26 01:23:18 +08:00
chore: change USAGE_DATABASE_URL to DATABASE_URL
This commit is contained in:
@ -7,7 +7,7 @@ generator client {
|
|||||||
|
|
||||||
datasource db {
|
datasource db {
|
||||||
provider = "postgresql"
|
provider = "postgresql"
|
||||||
url = env("USAGE_DATABASE_URL")
|
url = env("DATABASE_URL")
|
||||||
}
|
}
|
||||||
|
|
||||||
model Chat {
|
model Chat {
|
||||||
|
4
process.d.ts
vendored
4
process.d.ts
vendored
@ -4,8 +4,8 @@ declare namespace NodeJS {
|
|||||||
OPENAI_API_KEY: string;
|
OPENAI_API_KEY: string;
|
||||||
// Optional. OpenAI API endpoint. Defaults to https://api.openai.com.
|
// Optional. OpenAI API endpoint. Defaults to https://api.openai.com.
|
||||||
OPENAI_API_ENDPOINT: string;
|
OPENAI_API_ENDPOINT: string;
|
||||||
// Optional. Database connection string to store the usage data.
|
// Optional. Database connection string to store the data.
|
||||||
USAGE_DATABASE_URL: string;
|
DATABASE_URL: string;
|
||||||
// Optional. API key to protect the backend API endpoint.
|
// Optional. API key to protect the backend API endpoint.
|
||||||
// This needs to be exposed to the frontend and must be prefixed with NEXT_PUBLIC_.
|
// This needs to be exposed to the frontend and must be prefixed with NEXT_PUBLIC_.
|
||||||
NEXT_PUBLIC_API_KEY: string;
|
NEXT_PUBLIC_API_KEY: string;
|
||||||
|
Reference in New Issue
Block a user