Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserActionLog #18

Open
aamalev opened this issue Nov 19, 2017 · 0 comments
Open

UserActionLog #18

aamalev opened this issue Nov 19, 2017 · 0 comments

Comments

@aamalev
Copy link
Collaborator

aamalev commented Nov 19, 2017

A table for storing user request data and actions including a registration request.

Fields:

  • id
  • created_at
  • ip
  • msg
  • type {reg,auth,crud,email}
  • subtype {add/login,update,delete/logout}
  • code uuid[]
  • user_id default NULL
  • status {create,approve} default NULL
  • payload
  • expiry default NULL

Methods:

  • get_by_code() - get actual record
  • get_by_user(..., limit, offset) - list order by created_at

API:
decorator for web handler with params

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant