mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-20 16:51:06 +02:00
parent
44ebe3ae31
commit
a159779d39
@ -31,6 +31,9 @@ def run_alembic_migrations(schema_name: str) -> None:
|
|||||||
"script_location", os.path.join(root_dir, "alembic")
|
"script_location", os.path.join(root_dir, "alembic")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Ensure that logging isn't broken
|
||||||
|
alembic_cfg.attributes["configure_logger"] = False
|
||||||
|
|
||||||
# Mimic command-line options by adding 'cmd_opts' to the config
|
# Mimic command-line options by adding 'cmd_opts' to the config
|
||||||
alembic_cfg.cmd_opts = SimpleNamespace() # type: ignore
|
alembic_cfg.cmd_opts = SimpleNamespace() # type: ignore
|
||||||
alembic_cfg.cmd_opts.x = [f"schema={schema_name}"] # type: ignore
|
alembic_cfg.cmd_opts.x = [f"schema={schema_name}"] # type: ignore
|
||||||
|
@ -11,7 +11,6 @@ import { SignInButton } from "./SignInButton";
|
|||||||
import { EmailPasswordForm } from "./EmailPasswordForm";
|
import { EmailPasswordForm } from "./EmailPasswordForm";
|
||||||
import { Card, Title, Text } from "@tremor/react";
|
import { Card, Title, Text } from "@tremor/react";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
|
||||||
import { LoginText } from "./LoginText";
|
import { LoginText } from "./LoginText";
|
||||||
import { getSecondsUntilExpiration } from "@/lib/time";
|
import { getSecondsUntilExpiration } from "@/lib/time";
|
||||||
import AuthFlowContainer from "@/components/auth/AuthFlowContainer";
|
import AuthFlowContainer from "@/components/auth/AuthFlowContainer";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user