mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
refactor(api): ♻️ Rewrite full authentication code to go OpenID-only
This commit is contained in:
parent
4eae4cd062
commit
1bfc5fb013
39 changed files with 3076 additions and 2009 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { config } from "@versia-server/config";
|
||||
//import { config } from "@versia-server/config";
|
||||
import type { Config } from "drizzle-kit";
|
||||
|
||||
/**
|
||||
|
|
@ -7,19 +7,19 @@ import type { Config } from "drizzle-kit";
|
|||
*/
|
||||
export default {
|
||||
dialect: "postgresql",
|
||||
out: "./drizzle/migrations",
|
||||
schema: "./drizzle/schema.ts",
|
||||
out: "./packages/kit/tables/migrations",
|
||||
schema: "./packages/kit/tables/schema.ts",
|
||||
dbCredentials: {
|
||||
/* host: "localhost",
|
||||
host: "localhost",
|
||||
port: 40000,
|
||||
user: "lysand",
|
||||
password: "lysand",
|
||||
database: "lysand", */
|
||||
host: config.postgres.host,
|
||||
database: "lysand",
|
||||
/* host: config.postgres.host,
|
||||
port: config.postgres.port,
|
||||
user: config.postgres.username,
|
||||
password: config.postgres.password,
|
||||
database: config.postgres.database,
|
||||
database: config.postgres.database, */
|
||||
},
|
||||
// Print all statements
|
||||
verbose: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue