Refactor database handling to exclusively support PostgreSQL

- Removed SQLite support from the configuration and database initialization logic.
- Updated database migration scripts to focus solely on PostgreSQL migrations.
- Simplified logging messages to reflect PostgreSQL usage.
- Adjusted database schema definitions to remove SQLite-specific types and structures.
- Modified tests to ensure compatibility with PostgreSQL, including changes to table creation and data types.
- Cleaned up unused imports and code related to SQLite.
This commit is contained in:
MythEclipse
2026-05-31 15:46:18 +07:00
parent d1ef036358
commit 8a712cff9b
15 changed files with 175 additions and 659 deletions
-2
View File
@@ -37,7 +37,6 @@
"@types/pg": "^8.20.0",
"@vitejs/plugin-react": "^6.0.2",
"axios": "^1.16.1",
"better-sqlite3": "^12.10.0",
"clsx": "^2.1.1",
"discord.js-selfbot-v13": "workspace:*",
"dotenv": "^17.4.2",
@@ -67,7 +66,6 @@
"devDependencies": {
"@biomejs/biome": "latest",
"@tailwindcss/postcss": "^4.3.0",
"@types/better-sqlite3": "^7.6.13",
"@types/express": "^5.0.6",
"@types/node": "^25.9.0",
"@types/react": "^19.2.14",