laterite-auth 0.9.4

Laterite CMF backend user authentication: Argon2id credentials, sessions, and role-based permissions
Documentation
//! The auth schema, as portable one-file migrations.
//!
//! Written with the `sea-query` schema builder so one definition serves
//! Postgres, MySQL, and SQLite. Portability choices: ids are `bigint`
//! auto-increment primary keys (the database assigns them), timestamps are
//! `text` (RFC 3339), and the permission collections are JSON `text` rather than
//! a Postgres array or `jsonb`.
//!
//! Each migration is one file, listed below in apply order. Append new entries
//! at the end; never reorder or rename a shipped one.

laterite_core::migration_set! {
    module_id: "laterite.auth",
    m0001_create_backend_users,
    m0002_create_backend_roles,
    m0003_create_backend_user_roles,
    m0004_create_backend_sessions,
    m0005_create_backend_access_log,
    m0006_add_backend_user_timezone,
    m0007_add_backend_user_permissions,
    m0008_add_backend_session_data,
    m0009_add_backend_user_locale,
    m0010_create_backend_audit_log,
    m0011_create_backend_user_preferences,
    m0012_create_backend_remember_tokens,
    m0013_add_backend_session_client,
    m0014_add_backend_role_system,
    m0015_add_backend_session_revoked_reason,
    m0016_add_backend_remember_revoked_reason,
    m0017_add_backend_user_password_changed_at,
    m0018_add_backend_audit_target_label,
    m0019_add_backend_user_must_change_password,
}