We'll tackle setting up user types by creating a users_types table with a value text primary key. We'll add the users type as a foreign key to our new table. Finally we'll insert values as a SQL query and track it as a migration.
Liked this content?
Get notified more about Hasura!
No Spam! We Promise!