rubyforgood / pet-rescue

Pet Rescue is an application making it easy to link adopters/fosters with pets. We work with grassroots pet rescue organizations to understand how we can make the most impact.
MIT License
57 stars 95 forks source link

Generate a person model #825

Closed cflipse closed 2 months ago

cflipse commented 2 months ago

✍️ Description

A person represents a flesh-and-blood human in the system, and should be the core data model representing most actors in the system.

Eventually, we will want to attach the filled form results to a person record, and Accounts should belong to a person to grant the ability to log into the system.

Note that this table explicitly does not include any authentication related material. tokens generated for things like magic login, or authorization credentials for regular users, should exist in their own dedicated classes. I'll follow up with an email+token based auth flow implementation later.

kasugaijin commented 2 months ago

@all-contributors Please add @cflipse for code.

allcontributors[bot] commented 2 months ago

@kasugaijin

This project's configuration file has malformed JSON: .all-contributorsrc. Error:: Unexpected token ] in JSON at position 12331

kasugaijin commented 2 months ago

@all-contributors Please add @cflipse for code.

allcontributors[bot] commented 2 months ago

@kasugaijin

I've put up a pull request to add @cflipse! :tada: