You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new model called invitations, this is what the schema should contain
id - invitation id (primary key)
user_id - user id (foreign key)
invitation_key - key where the user can access the sign up page (unique, string)
date_created - datetime to store when the invite was created (datetime)
expires_after - integer that stores when the invitation expires (milliseconds, integer, nullable)
Create CRUD endpoints for the invitation table
GET- user id should also be a query param
The text was updated successfully, but these errors were encountered:
Safewaan
changed the title
Create Invitations Table and APIs
DRAFT: Create Invitations Table and APIs
Jun 20, 2023
Summary
Goals
invitations
, this is what the schema should containGET- user id should also be a query param
The text was updated successfully, but these errors were encountered: