Skip to content

Conversation

@cherelemma
Copy link
Contributor

In this PR, I created the models according to the ERD diagram given in the project requirements. Also I perform validation and testing the models.

Models created

  • Users
  • Categories
  • Entities
  • Categoriry_entities

Validation performed

  • User Name - presence, length: { minimum: 1, maximum: 50 }
  • Category Name - presence, length: { minimum: 3, maximum: 60 }
  • Entity Name - presence, length: { minimum: 3, maximum: 60 }
  • Amount - numericality and greater than zero
  • Icon - presence

Testing prepared

  • Users
  • Categories
  • Entities
  • Categoriry_entities

@cherelemma cherelemma merged commit b0e41df into dev Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants