Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

#22 - countries model #94

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Open

#22 - countries model #94

wants to merge 11 commits into from

Conversation

krzysztofrewak
Copy link
Contributor

@krzysztofrewak krzysztofrewak commented Oct 1, 2020

I know we were discussing relation brewery-countries, but I think in any option we will need table with actual countries/departments/territories/whatever. I took data from here.

I added:

  • migration, factory
  • model, observer
  • seeder
  • testing if slugging and uuiding are working + testing if database has correct number of countries

I was thinking about using my package for conditinal seeders for RealWorldCountriesSeeder, but I would rather ask you for your opinion.

It should close #22.

@krzysztofrewak krzysztofrewak changed the title #22 countries #22 - countries Oct 1, 2020
@krzysztofrewak krzysztofrewak changed the title #22 - countries #22 - countries model Oct 3, 2020
@krzysztofrewak
Copy link
Contributor Author

Guys, I would be grateful if you could take a look here. I don't know if we want to continue with these database countries or maybe should I move them into some helper class or whatever?

@krzysztofrewak krzysztofrewak marked this pull request as ready for review October 26, 2020 08:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Design Country model/helper
1 participant