
- Updated package.json to use PostgreSQL dependencies (pg, @types/pg)
- Removed SQLite dependency
- Updated TypeORM configuration for PostgreSQL connection
- Modified database entities to use PostgreSQL-compatible column types (jsonb, timestamp)
- Created comprehensive database migration script for initial schema
- Updated environment configuration with PostgreSQL variables
- Updated README with PostgreSQL setup instructions and database migration steps
- Ensured storage directories are properly configured
🤖 Generated with BackendIM
Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
422 B
TypeScript
21 lines
422 B
TypeScript
declare namespace PostgresInterval {
|
|
export interface IPostgresInterval {
|
|
years?: number;
|
|
months?: number;
|
|
days?: number;
|
|
hours?: number;
|
|
minutes?: number;
|
|
seconds?: number;
|
|
milliseconds?: number;
|
|
|
|
toPostgres(): string;
|
|
|
|
toISO(): string;
|
|
toISOString(): string;
|
|
}
|
|
}
|
|
|
|
declare function PostgresInterval(raw: string): PostgresInterval.IPostgresInterval;
|
|
|
|
export = PostgresInterval;
|