The inline migration _ensure_roles_is_admin_column() was defined but never called from init_db(). This caused 'column roles.is_admin does not exist' errors when logging in against databases with an older schema. Added the missing call to ensure the column is created during startup.