mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-08-27 09:31:45 +00:00
Some checks are pending
Publish Docker image to Dockerhub / test (push) Waiting to run
Publish Docker image to Dockerhub / Build OCI Images (push) Blocked by required conditions
Publish Docker image to Dockerhub / Build OCI Images-1 (push) Blocked by required conditions
Publish Docker image to Dockerhub / Merge OCI Images and Push (push) Blocked by required conditions
When in core its being pulled into vite bundler and causing build issues. It's only needed by backend anyways so move to backend-scope.
14 lines
No EOL
536 B
TypeScript
14 lines
No EOL
536 B
TypeScript
import 'dotenv/config';
|
|
import { defineConfig } from 'drizzle-kit';
|
|
import { getDataDir } from './src/backend/common/index.js';
|
|
import * as path from 'path';
|
|
import { projectRootDir } from "./src/backend/common/infrastructure/Atomic.ts";
|
|
|
|
export default defineConfig({
|
|
schema: path.resolve(projectRootDir, 'src/backend/common/database/drizzle/schema'),
|
|
out: path.resolve(projectRootDir, 'src/backend/common/database/drizzle/migrations'),
|
|
dialect: 'sqlite',
|
|
dbCredentials: {
|
|
url: path.resolve(getDataDir(), 'ms.db'),
|
|
},
|
|
}); |