Skip to content
Snippets Groups Projects
Commit 6e7aed23 authored by Gunnar Schaefer's avatar Gunnar Schaefer
Browse files

add created & mod timestamps to users & groups

Fresh installs should work out of the box.
Migration instructions for existing installs:
db.users.update_many({}, {'$set': {'created': datetime.datetime.utcfromtimestamp(0), 'modified': datetime.datetime.utcnow()}})
db.groups.update_many({}, {'$set': {'created': datetime.datetime.utcfromtimestamp(0), 'modified': datetime.datetime.utcnow()}})
parent 4f1d5e16
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment