- Implemented PATCH and DELETE endpoints for bug reports. - Created user management page with user creation, display name update, password reset, and user deletion functionalities. - Added password validation and hashing for user creation and password reset. - Integrated dialogs for user actions (create, update, reset password, delete). - Configured SvelteKit with Node adapter and Vite for build process. - Set up Tailwind CSS for styling.
14 lines
394 B
TypeScript
14 lines
394 B
TypeScript
import { defineConfig } from 'drizzle-kit';
|
|
|
|
export default defineConfig({
|
|
schema: './src/lib/schema.ts',
|
|
dialect: 'mysql',
|
|
dbCredentials: {
|
|
host: process.env.MYSQL_HOST || 'localhost',
|
|
port: Number(process.env.MYSQL_PORT) || 3306,
|
|
user: process.env.MYSQL_USER || 'emly',
|
|
password: process.env.MYSQL_PASSWORD || '',
|
|
database: process.env.MYSQL_DATABASE || 'emly_bugreports'
|
|
}
|
|
});
|