Follow-up from "Creating models"
The following discussions from !6 (merged) should be addressed:
-
@joao.severo started a discussion:
onDelete: 'CASCADE'
-
@joao.severo started a discussion:
onDelete: 'CASCADE'
-
@joao.severo started a discussion:
No need to create an additional many-many table, just use the "through" attribute of the belongsToMany method
-
@joao.severo started a discussion:
Use the "through" attribute here and remove the table
-
@joao.severo started a discussion:
Use the "through" attribute here and remove the table
-
@joao.severo started a discussion:
Typo - Educational
-
@joao.severo started a discussion:
What about "Sex"? (it is a joke)
-
@joao.severo started a discussion:
Add a default true
-
@joao.severo started a discussion:
Add a default true
-
@joao.severo started a discussion:
Use the "through" attribute to relate to the degree_types table. Same as before
-
@joao.severo started a discussion:
Don't use github url's, if you cannot run with the dependency we can work together to solve that
-
@joao.severo started a discussion:
Use file level afterEach function.
For reference: https://jestjs.io/pt-BR/docs/setup-teardown
-
@joao.severo started a discussion:
Use file leve beforeEach function.
For reference: https://jestjs.io/pt-BR/docs/setup-teardown
-
@joao.severo started a discussion:
Use file level afterEach function.
For reference: https://jestjs.io/pt-BR/docs/setup-teardown
-
@joao.severo started a discussion:
Use file level afterEach function.
For reference: https://jestjs.io/pt-BR/docs/setup-teardown
-
@joao.severo started a discussion:
Configure and return the app on the "then" app, so if the database is not reacheable it will not start the API.
Also add a catch function to log any errors that occurred