barycenter/src
Till Wegmueller b6bf4ceee0
feat: migrate from raw SQL to SeaORM migrations
Replace raw SQL CREATE TABLE statements with proper SeaORM migration
system. This eliminates verbose SQL logs on startup and provides
proper migration tracking and rollback support.

Changes:
- Add sea-orm-migration dependency and migration crate
- Create initial migration (m20250101_000001) with all 8 tables
- Update storage::init() to only connect to database
- Run migrations automatically in main.rs on startup
- Remove unused detect_backend() function and imports

The migration system properly handles both SQLite and PostgreSQL
backends with appropriate type handling (e.g., BIGSERIAL vs INTEGER
for auto-increment columns).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 21:42:58 +01:00
..
entities feat: add admin GraphQL API, background jobs, and user sync CLI 2025-11-30 18:06:50 +01:00
admin_graphql.rs chore: formatting 2025-12-01 00:01:11 +01:00
admin_mutations.rs feat: add admin GraphQL API, background jobs, and user sync CLI 2025-11-30 18:06:50 +01:00
errors.rs refactor: update crabidp references to barycenter and add Gateway API support 2025-11-29 15:38:07 +01:00
jobs.rs chore: formatting 2025-12-01 00:01:11 +01:00
jwks.rs fix(ci): resolve formatting issues and adjust CI workflow 2025-11-29 12:34:45 +01:00
main.rs feat: migrate from raw SQL to SeaORM migrations 2025-12-02 21:42:58 +01:00
session.rs fix(ci): resolve formatting issues and adjust CI workflow 2025-11-29 12:34:45 +01:00
settings.rs chore: formatting 2025-12-01 00:01:11 +01:00
storage.rs feat: migrate from raw SQL to SeaORM migrations 2025-12-02 21:42:58 +01:00
user_sync.rs chore: formatting 2025-12-01 00:01:11 +01:00
web.rs chore: formatting 2025-12-01 00:01:11 +01:00