mirror of
				https://github.com/fosrl/pangolin.git
				synced 2025-11-04 00:27:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			504 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			504 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { build } from "@server/build";
 | 
						|
import { APP_PATH } from "@server/lib/consts";
 | 
						|
import { defineConfig } from "drizzle-kit";
 | 
						|
import path from "path";
 | 
						|
 | 
						|
const schema = [
 | 
						|
    path.join("server", "db", "sqlite", "schema.ts"),
 | 
						|
    path.join("server", "db", "sqlite", "pSchema.ts")
 | 
						|
];
 | 
						|
 | 
						|
export default defineConfig({
 | 
						|
    dialect: "sqlite",
 | 
						|
    schema: schema,
 | 
						|
    out: path.join("server", "migrations"),
 | 
						|
    verbose: true,
 | 
						|
    dbCredentials: {
 | 
						|
        url: path.join(APP_PATH, "db", "db.sqlite")
 | 
						|
    }
 | 
						|
});
 |