feat(licenses): update database schema and enhance license management

- Refactored migration script to import schema from the correct path.
- Updated package.json scripts for improved execution of migration and truncation tasks.
- Added new SQL file to define license-related types and table structure.
- Enhanced license management with new fields for Stripe customer and subscription IDs.
- Implemented license deactivation logic and improved error handling in license validation.
- Introduced health check endpoint for database connectivity verification.
This commit is contained in:
Mauricio Siu
2025-03-19 01:31:38 -06:00
parent 473d729416
commit 78682fa359
8 changed files with 199 additions and 34 deletions

View File

@@ -5,8 +5,8 @@
{
"idx": 0,
"version": "7",
"when": 1742364501431,
"tag": "0000_furry_nico_minoru",
"when": 1742369437742,
"tag": "0000_noisy_epoch",
"breakpoints": true
}
]