Jonas Linter
859716d0ea
Added migration for awarness guest column
2025-12-03 17:47:23 +01:00
Jonas Linter
bf7b8ac427
Readded fk constraint for conversion_guests
2025-12-03 12:27:17 +01:00
Jonas Linter
ca1f4a010b
Not quite done but mostly starting to remove hashed_customer references
2025-12-03 12:00:02 +01:00
Jonas Linter
34cb2131c4
Migration to single customer table works but conversion_service still needs updating
2025-12-03 10:51:18 +01:00
Jonas Linter
08f85d1b26
Holy db migrations batman
2025-12-03 10:41:34 +01:00
Jonas Linter
b1c867ca93
Migration successfull. Does not cause any problems and new foreign keys work
2025-12-02 11:27:07 +01:00
Jonas Linter
a07edfe3ec
Free rooms first implementation
2025-11-27 18:57:45 +01:00
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