mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
- Added database schema for licenses, including types and statuses. - Implemented license creation, validation, and activation functionalities. - Integrated email templates for sending license keys and resend requests. - Updated package dependencies and configuration for PostgreSQL integration. - Introduced migration and truncation scripts for database management. - Enhanced API endpoints for license operations with error handling and validation.
16 lines
307 B
TypeScript
16 lines
307 B
TypeScript
import type { Config } from "drizzle-kit";
|
|
import "dotenv/config";
|
|
|
|
const connectionString = process.env.DATABASE_URL!;
|
|
|
|
export default {
|
|
schema: "./src/schema.ts",
|
|
out: "./drizzle",
|
|
dialect: "postgresql",
|
|
dbCredentials: {
|
|
url: connectionString,
|
|
},
|
|
verbose: true,
|
|
strict: true,
|
|
} satisfies Config;
|