Skip to content

Commit

Permalink
Merge pull request #988 from portabilis/enderecamento
Browse files Browse the repository at this point in the history
Organiza tabelas do módulo de endereçamento
  • Loading branch information
edersoares authored Dec 23, 2024
2 parents c5ea3ac + 7d7f17d commit b78cee9
Show file tree
Hide file tree
Showing 24 changed files with 33 additions and 30 deletions.
3 changes: 3 additions & 0 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ private function loadLegacyBootstrap()
public function boot()
{
if ($this->app->runningInConsole()) {
$this->loadMigrationsFrom([
database_path('migrations/addressing'),
]);
$this->loadLegacyMigrations();
}

Expand Down
2 changes: 1 addition & 1 deletion database/csvs/countries.csv
Original file line number Diff line number Diff line change
Expand Up @@ -330,4 +330,4 @@
"329","Yakut",""
"330","Zaire",""
"331","Zâmbia","894"
"332","Zimbábwe",""
"332","Zimbábwe",""
2 changes: 1 addition & 1 deletion database/csvs/districts.csv
Original file line number Diff line number Diff line change
Expand Up @@ -10836,4 +10836,4 @@
"10835","4601","Anita Garibaldi","11"
"10836","4601","Diadema","16"
"10837","2242","Copixaba","10"
"10838","2242","Iguira","15"
"10838","2242","Iguira","15"
56 changes: 28 additions & 28 deletions database/csvs/states.csv
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
"country_id","name","abbreviation","ibge_code"
"45","Acre","AC","12"
"45","Alagoas","AL","27"
"45","Amazonas","AM","13"
"45","Amapá","AP","16"
"45","Bahia","BA","29"
"45","Ceará","CE","23"
"45","Distrito Federal","DF","53"
"45","Espírito Santo","ES","32"
"45","Goiás","GO","52"
"45","Maranhão","MA","21"
"45","Minas Gerais","MG","31"
"45","Mato Grosso do Sul","MS","50"
"45","Mato Grosso","MT","51"
"45","Pará","PA","15"
"45","Paraíba","PB","25"
"45","Pernambuco","PE","26"
"45","Piauí","PI","22"
"45","Paraná","PR","41"
"45","Rio de Janeiro","RJ","33"
"45","Rio Grande do Norte","RN","24"
"45","Rondônia","RO","11"
"45","Roraima","RR","14"
"45","Rio Grande do Sul","RS","43"
"45","Santa Catarina","SC","42"
"45","Sergipe","SE","28"
"45","São Paulo","SP","35"
"45","Tocantins","TO","17"
"id","country_id","name","abbreviation","ibge_code"
"1","45","Acre","AC","12"
"2","45","Alagoas","AL","27"
"3","45","Amazonas","AM","13"
"4","45","Amapá","AP","16"
"5","45","Bahia","BA","29"
"6","45","Ceará","CE","23"
"7","45","Distrito Federal","DF","53"
"8","45","Espírito Santo","ES","32"
"9","45","Goiás","GO","52"
"10","45","Maranhão","MA","21"
"11","45","Minas Gerais","MG","31"
"12","45","Mato Grosso do Sul","MS","50"
"13","45","Mato Grosso","MT","51"
"14","45","Pará","PA","15"
"15","45","Paraíba","PB","25"
"16","45","Pernambuco","PE","26"
"17","45","Piauí","PI","22"
"18","45","Paraná","PR","41"
"19","45","Rio de Janeiro","RJ","33"
"20","45","Rio Grande do Norte","RN","24"
"21","45","Rondônia","RO","11"
"22","45","Roraima","RR","14"
"23","45","Rio Grande do Sul","RS","43"
"24","45","Santa Catarina","SC","42"
"25","45","Sergipe","SE","28"
"26","45","São Paulo","SP","35"
"27","45","Tocantins","TO","17"

0 comments on commit b78cee9

Please sign in to comment.