Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/models #15

Closed
dawidlinek opened this issue Dec 13, 2024 · 0 comments
Closed

feat/models #15

dawidlinek opened this issue Dec 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dawidlinek
Copy link
Member

dawidlinek commented Dec 13, 2024

Na podstawie struktury bazy danych tworzymy modele. Tak wygląda nasza struktura, ale najlepiej będzie odczytywać z migracji
Image

Przydatne materiały:
https://lucid.adonisjs.com/docs/models#creating-your-first-model
https://lucid.adonisjs.com/docs/crud-operations
https://lucid.adonisjs.com/docs/relationships
https://lucid.adonisjs.com/docs/model-query-builder
https://github.com/Solvro/backend-course/tree/main/2.%20Look%20at%20me%20I%E2%80%99m%20a%20model
2. Look at me I’m a model - czyli reprezentacja danych

Połączenia z relacjami jeśli się nie da to zostawcie zakomentowane

@dawidlinek dawidlinek added the enhancement New feature or request label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant