2 Commits

Author SHA1 Message Date
55ec13c0a7
Fix offer retrieval method and add GDPR acknowledgment
Return the result from `getOffersById` method to fix route handling. Add `id` field in offers selection query and introduce `gdpr_acknowledgement` to the user model and mock data for GDPR compliance.
2024-11-24 23:49:59 +01:00
d73aecd2ab
Add initial Prisma schema
Set up Prisma models for Crypto, CryptoHistory, Offer, PromoCode, Role, Trade, User, and UserHasCrypto. This includes defining fields, relationships, and default values for each model, and configuring PostgreSQL as the database provider.
2024-11-08 09:35:32 +01:00