mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-02 06:14:51 -04:00
- Prevents circular dependency where login requires session, but session requires database table created by migrations - Fresh installs: use file session until migrations run, then switch to database session - Upgrades: use file session during migration, then switch to database session - Simplified: removed DDL from Load_config, migrations remain source of truth Fixes: Sessions table missing on fresh install prevents login Addresses CodeRabbit feedback: - Remove duplicate session table DDL (migrations are source of truth) - Remove MySQL-specific information_schema query - Use proper session config cloning to avoid modifying shared config