- Introduced .pgmrc.json and migrate.json for node-pg-migrate configuration. - Added multiple migration files to create performance indexes for tasks and related entities. - Implemented functions for optimized task sorting and manual progress tracking. - Updated package.json to include migration scripts and dependencies for node-pg-migrate. - Created README.md for migration guidelines and best practices.
22 lines
365 B
JSON
22 lines
365 B
JSON
{
|
|
"migrations-dir": "database/pg-migrations",
|
|
"migrations-schema": "public",
|
|
"migrations-table": "pgmigrations",
|
|
"db": {
|
|
"user": {
|
|
"ENV": "DB_USER"
|
|
},
|
|
"password": {
|
|
"ENV": "DB_PASSWORD"
|
|
},
|
|
"host": {
|
|
"ENV": "DB_HOST"
|
|
},
|
|
"port": {
|
|
"ENV": "DB_PORT"
|
|
},
|
|
"database": {
|
|
"ENV": "DB_NAME"
|
|
}
|
|
}
|
|
} |