Skip to content

Add User model #3

Description

@angelocordon

Define a User model. A User should have the following attributes:

username,
email,
resources // relationship to a Resource

A User should have many Resources. See: https://sequelize.org/master/class/lib/associations/has-many.js~HasMany.html

Additionally, once this is created, create a migration and/or add to the Resource model a relationship to User (belongs_to).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions