~homeworkprod/byceps

ref: d5f15dd3d7905ef733a0c3201f8a82cf18c1fe22 byceps/scripts/clean_up_after_deleted_users.py -rwxr-xr-x 5.9 KiB
d5f15dd3 — Jochen Kupperschmidt 10 months ago
Fix import of `RecentLogin` in script
0b51dd42 — Jochen Kupperschmidt 10 months ago
Refer to license as "Revised BSD" to clarify that it is not customized

The common name "Modified BSD License" for the 3-clause BSD license can
be misleading as it might suggest it is a BSD license customized by the
project author.

To avoid this, refer to the license under one of its other names
instead.
00d3100a — Jochen Kupperschmidt 1 year, 4 months ago
Record, update time of user's most recent login

DDL:

    CREATE TABLE authn_recent_logins (
        user_id uuid NOT NULL,
        occurred_at timestamp without time zone NOT NULL,
        CONSTRAINT authn_recent_logins_pkey PRIMARY KEY (user_id),
        CONSTRAINT authn_recent_logins_user_id_fkey FOREIGN KEY (user_id) REFERENCES users (id)
    );
b7f1c1fc — Jochen Kupperschmidt 1 year, 5 months ago
Add script to remove (parts of) deleted users' data