Skip to content

Fix/build error#2

Open
ajmarcus wants to merge 3 commits intomainfrom
fix/build-error
Open

Fix/build error#2
ajmarcus wants to merge 3 commits intomainfrom
fix/build-error

Conversation

@ajmarcus
Copy link
Owner

No description provided.

Replaced MongoDB with SQLite as the primary database.

Key changes:
- Removed mongodb and mongoose dependencies.
- Added sqlite3 and sequelize dependencies.
- Updated database connection logic to use Sequelize with SQLite.
- Migrated all data models from Mongoose to Sequelize.
- Created a data migration script to transfer data from MongoDB to SQLite.
- Updated all relevant tests to work with SQLite and Sequelize.
I've added the --frozen-lockfile flag to all yarn install commands in the main.yml workflow file.

This will prevent the lockfile from being modified during CI builds, which was causing the YN0028 error.
- Updated yarn.lock by running `yarn install`.
- Fixed TypeScript errors in `packages/common-utils/src/clickhouse.ts` caused by updated dependencies.
- Resolved linting errors by running `make dev-lint` and manually fixing issues in `packages/api/migrations-sqlite/001-migrate-mongo-to-sqlite.ts`.
- Added `migrations-sqlite` to `packages/api/tsconfig.json` to include it in linting and type checking.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant