Commit Graph

13 Commits

Author SHA1 Message Date
Jonas Linter
556eef529a Removed redundant size_field in webhook_requests 2025-11-25 20:20:06 +01:00
Jonas Linter
b77a0be80f feat: Add hotel and webhook endpoint management
- Introduced Hotel and WebhookEndpoint models to manage hotel configurations and webhook settings.
- Implemented sync_config_to_database function to synchronize hotel data from configuration to the database.
- Added HotelService for accessing hotel configurations and managing customer data.
- Created WebhookProcessor interface and specific processors for handling different webhook types (Wix form and generic).
- Enhanced webhook processing logic to handle incoming requests and create/update reservations and customers.
- Added logging for better traceability of operations related to hotels and webhooks.
2025-11-25 12:05:48 +01:00
Jonas Linter
b523f3b669 Adjusted the migrations so they work on the prod db 2025-11-19 19:10:25 +01:00
Jonas Linter
2b98973d1c On we go. Maybe soon this will be done 2025-11-19 18:40:44 +01:00
Jonas Linter
d81ba79256 More refactoring 2025-11-19 16:25:18 +01:00
Jonas Linter
d88a53327f Migration done 2025-11-19 15:01:16 +01:00
Jonas Linter
2cf4071c2f Migration to guest_table for conversion works 2025-11-19 12:05:38 +01:00
a1d20284c0 the db might not have permissions for this. Schema needs to exist ahead of time which is fine 2025-11-18 19:36:08 +00:00
Jonas Linter
b826277b54 Looking good 2025-11-18 14:49:44 +01:00
Jonas Linter
34bff6a12a Fixed missing await statement in alembic setup 2025-11-18 14:38:21 +01:00
Jonas Linter
b454b410b8 Finally a migration that works 2025-11-18 14:25:46 +01:00
Jonas Linter
e7757c8c51 Getting closer 2025-11-18 13:32:29 +01:00
Jonas Linter
5a660507d2 Alembic experiments 2025-11-18 11:04:38 +01:00