feat: Introduce knex for database migrations
- Adds knex.js to manage database schema changes systematically. - Creates an initial migration file based on `hyungi_schema_v2.sql` to represent the current database state. - Adds npm scripts (`db:migrate`, `db:rollback`, etc.) for easy execution of migration tasks. - Archives legacy SQL files and old migration scripts into the `db_archive/` directory to prevent confusion and clean up the project structure.
This commit is contained in:
3758
api.hyungi.net/package-lock.json
generated
3758
api.hyungi.net/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user