Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
8fcd22b8
Unverified
Commit
8fcd22b8
authored
Jun 25, 2020
by
Gabriel Antônio da Silva
Committed by
GitHub
Jun 25, 2020
Browse files
Merge pull request #40 from lmts-ufape/fixbugs
ajuste nos seeds de area e subarea
parents
95d3fc62
5a869d71
Changes
9
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/HomeController.php
View file @
8fcd22b8
...
...
@@ -27,7 +27,7 @@ class HomeController extends Controller
public
function
index
()
{
$eventos
=
\
App\Evento
::
all
();
if
(
Auth
::
check
()){
if
(
Auth
::
user
()
->
administradors
!=
null
){
return
view
(
'administrador.index'
);
}
...
...
@@ -45,10 +45,9 @@ class HomeController extends Controller
}
else
if
(
Auth
::
user
()
->
participantes
!=
null
)
{
return
view
(
'participante.index'
);
}
}
Log
::
debug
(
'HomeController'
);
return
view
(
'index'
,
[
'eventos'
=>
$eventos
]);
}
else
{
return
view
(
'index'
,
[
'eventos'
=>
$eventos
]);
}
}
public
function
downloadArquivo
(
Request
$request
){
...
...
app/Http/Controllers/SubAreaController.php
View file @
8fcd22b8
...
...
@@ -112,6 +112,6 @@ class SubAreaController extends Controller
$id
=
json_decode
(
$request
->
id
)
;
$subAreas
=
SubArea
::
where
(
'area_id'
,
$id
)
->
orderBy
(
'nome'
)
->
get
();
return
response
()
->
json
(
$subAreas
);
return
$subAreas
->
toJson
();
//
return $subAreas->toJson();
}
}
app/Http/Controllers/UserController.php
View file @
8fcd22b8
...
...
@@ -35,6 +35,15 @@ class UserController extends Controller
return
view
(
'index'
,
[
'eventos'
=>
$eventos
,
'hoje'
=>
$hoje
]);
//return view('auth.login');
}
public
function
inicial
()
{
$eventos
=
Evento
::
all
();
$hoje
=
Carbon
::
today
(
'America/Recife'
);
$hoje
=
$hoje
->
toDateString
();
return
view
(
'index'
,
[
'eventos'
=>
$eventos
,
'hoje'
=>
$hoje
]);
//return view('auth.login');
}
function
perfil
(){
...
...
database/seeds/AreaSeeder.php
View file @
8fcd22b8
...
...
@@ -11,6 +11,7 @@ class AreaSeeder extends Seeder
*/
public
function
run
()
{
// Ciências Exatas e da Terra 1
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Matemática'
,
'grande_area_id'
=>
'1'
...
...
@@ -51,7 +52,7 @@ class AreaSeeder extends Seeder
'grande_area_id'
=>
'1'
]);
// Ciências Biológicas ----------------------
// Ciências Biológicas
2
----------------------
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Biologia Geral'
,
...
...
database/seeds/DatabaseSeeder.php
View file @
8fcd22b8
...
...
@@ -15,7 +15,7 @@ class DatabaseSeeder extends Seeder
$this
->
call
(
UsuarioSeeder
::
class
);
$this
->
call
(
AdministradorSeeder
::
class
);
$this
->
call
(
AdministradorResponsavelSeeder
::
class
);
//
$this->call(ProponenteSeeder::class);
$this
->
call
(
ProponenteSeeder
::
class
);
$this
->
call
(
GrandeAreaSeeder
::
class
);
$this
->
call
(
AreaSeeder
::
class
);
$this
->
call
(
SubAreaSeeder
::
class
);
...
...
database/seeds/GrandeAreaSeeder.php
View file @
8fcd22b8
...
...
@@ -11,27 +11,35 @@ class GrandeAreaSeeder extends Seeder
*/
public
function
run
()
{
//1
DB
::
table
(
'grande_areas'
)
->
insert
([
'nome'
=>
'Ciências Exatas e da Terra'
,
]);
//2
DB
::
table
(
'grande_areas'
)
->
insert
([
'nome'
=>
'Ciências Biológicas'
,
]);
//3
DB
::
table
(
'grande_areas'
)
->
insert
([
'nome'
=>
'Engenharias'
,
]);
//4
DB
::
table
(
'grande_areas'
)
->
insert
([
'nome'
=>
'Ciências da Saúde '
,
]);
//5
DB
::
table
(
'grande_areas'
)
->
insert
([
'nome'
=>
'Ciências Agrárias'
,
]);
//6
DB
::
table
(
'grande_areas'
)
->
insert
([
'nome'
=>
'Ciências Sociais Aplicadas'
,
]);
//7
DB
::
table
(
'grande_areas'
)
->
insert
([
'nome'
=>
'Ciências Humanas'
,
]);
//8
DB
::
table
(
'grande_areas'
)
->
insert
([
'nome'
=>
'Lingüística, Letras e Artes'
,
]);
...
...
database/seeds/SubAreaSeeder.php
View file @
8fcd22b8
...
...
@@ -33,123 +33,131 @@ class SubAreaSeeder extends Seeder
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Probabilidade'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Estatística'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Probabilidade e Estatística Aplicadas'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teoria da Computação'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Matemática da Computação'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Metodologia e Técnicas da Computação'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Sistemas de Computação'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Astronomia de Posição e Mecânica Celeste'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
4
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Astrofísica Estelar'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
4
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Astrofísica do Meio Interestelar'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
4
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Astrofísica Extragaláctica'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
4
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Astrofísica do Sistema Solar'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
4
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Instrumentação Astronômica'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
4
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Física Geral'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
5
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Áreas Clássicas de Fenomenologia e suas Aplicações'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
5
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Física das Partículas Elementares e Campos'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
5
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Física Nuclear'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
5
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Física Atômica e Molécular'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
5
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Física dos Fluidos, Física de Plasmas e Descargas Elétricas'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
5
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Física da Matéria Condensada'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
5
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Química Orgânica'
,
'area_id'
=>
'6'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Química Inorgânica'
,
'area_id'
=>
'6'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fisico-Química'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
6
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Química Analítica'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
6
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Geologia'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
7
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Geofísica'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
7
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Geodesia'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
7
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Geografia Física'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
7
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Oceanografia Biológica'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
8
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Oceanografia Física'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
8
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Oceanografia Química'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
8
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Oceanografia Geológica'
,
'area_id'
=>
'
1
'
'area_id'
=>
'
8
'
]);
...
...
@@ -158,225 +166,225 @@ class SubAreaSeeder extends Seeder
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Genética Quantitativa'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
10
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Genética Molecular e de Microorganismos'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
10
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Genética Vegetal'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
10
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Genética Animal'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
10
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Genética Humana e Médica'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
10
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Mutagênese'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
10
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Paleobotânica'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
11
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Morfologia Vegetal'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
11
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fisiologia Vegetal'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
11
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Taxonomia Vegetal'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
11
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fitogeografia'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
11
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Botânica Aplicada'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
11
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Paleozoologia'
,
'area_id'
=>
'2'
'area_id'
=>
'
1
2'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Morfologia dos Grupos Recentes'
,
'area_id'
=>
'2'
'area_id'
=>
'
1
2'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fisiologia dos Grupos Recentes'
,
'area_id'
=>
'2'
'area_id'
=>
'
1
2'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Comportamento Animal'
,
'area_id'
=>
'2'
'area_id'
=>
'
1
2'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Taxonomia dos Grupos Recentes'
,
'area_id'
=>
'2'
'area_id'
=>
'
1
2'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Zoologia Aplicada'
,
'area_id'
=>
'2'
'area_id'
=>
'
1
2'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Ecologia Teórica'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
13
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Ecologia de Ecossistemas'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
13
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Ecologia Aplicada'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
13
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Citologia e Biologia Celular'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
14
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Embriologia'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
14
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Histologia'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
14
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Anatomia'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
14
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fisiologia Geral'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
15
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fisiologia de Órgaos e Sistemas'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
15
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fisiologia do Esforço'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
15
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fisiologia Comparada'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
15
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Química de Macromoléculas'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
16
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Bioquímica dos Microorganismos'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
16
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Metabolismo e Bioenergética'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
16
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Biologia Molecular'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
16
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Enzimologia'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
16
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Biofísica Molecular'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
17
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Biofísica Celular'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
17
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Biofísica de Processos e Sistemas'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
17
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Radiologia e Fotobiologia'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
17
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Farmacologia Geral'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
18
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Farmacologia Autonômica'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
18
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Neuropsicofarmacologia'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
18
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Farmacologia Cardiorenal'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
18
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Farmacologia Bioquímica e Molecular'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
18
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Etnofarmacologia'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
18
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Toxicologia'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
18
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Farmacologia Clínica'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
18
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Imunoquímica'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
19
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Imunologia Celular'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
19
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Imunogenética'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
19
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Imunologia Aplicada'
,
'area_id'
=>
'
2
'
'area_id'
=>
'
19
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Biologia e Fisiologia dos Microorganismos'
,
'area_id'
=>
'2'
'area_id'
=>
'2
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Microbiologia Aplicada'
,
'area_id'
=>
'2'
'area_id'
=>
'2
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Protozoologia de Parasitos'
,
'area_id'
=>
'2'
'area_id'
=>
'2
1
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Helmintologia de Parasitos'
,
'area_id'
=>
'2'
'area_id'
=>
'2
1
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Entomologia e Malacologia de Parasitos e Vetores'
,
'area_id'
=>
'2'
'area_id'
=>
'2
1
'
]);
...
...
@@ -385,219 +393,219 @@ class SubAreaSeeder extends Seeder
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Construção Civil'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
22
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Estruturas'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
22
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Geotécnica'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
22
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Engenharia Hidráulica'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
22
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Infra-Estrutura de Transportes'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
22
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Pesquisa Mineral'
,
'area_id'
=>
'3'
'area_id'
=>
'
2
3'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Lavra'
,
'area_id'
=>
'3'
'area_id'
=>
'
2
3'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Tratamento de Minérios'
,
'area_id'
=>
'3'
'area_id'
=>
'
2
3'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Instalações e Equipamentos Metalúrgicos'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
24
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Metalurgia de Transformação'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
24
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Metalurgia Fisica'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
24
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Materiais não Metálicos'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
24
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Materiais Elétricos'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
25
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Medidas Elétricas, Magnéticas e Eletrônicas; Instrumentação'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
25
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Circuitos Elétricos, Magnéticos e Eletrônicos'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
25
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Sistemas Elétricos de Potência'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
25
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Eletrônica Industrial, Sistemas e Controles Eletrônicos'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
25
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Telecomunicações'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
25
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fenômenos de Transporte'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
26
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Engenharia Térmica'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
26
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Mecânica dos Sólidos'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
26
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Projetos de Máquinas'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
26
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Processos de Fabricação'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
26
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Processos Industriais de Engenharia Química'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
27
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Operações Industriais e Equipamentos para Engenharia Química'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
27
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Tecnologia Química'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
27
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Recursos Hídricos'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
28
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Tratamento de Águas de Abastecimento e Residuárias'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
28
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Saneamento Básico'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
28
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Saneamento Ambiental'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
28
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Gerência de Produção'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
29
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Pesquisa Operacional'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
29
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Engenharia do Produto'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
29
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Engenharia Econômica'
,
'area_id'
=>
'
3
'
'area_id'
=>
'
29
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Aplicações de Radioisotopos'
,
'area_id'
=>
'3'
'area_id'
=>
'3
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fusão Controlada'
,
'area_id'
=>
'3'
'area_id'
=>
'3
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Combustível Nuclear'
,
'area_id'
=>
'3'
'area_id'
=>
'3
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Tecnologia dos Reatores'
,
'area_id'
=>
'3'
'area_id'
=>
'3
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Planejamento de Transportes'
,
'area_id'
=>
'3'
'area_id'
=>
'3
1
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Veículos e Equipamentos de Controle'
,
'area_id'
=>
'3'
'area_id'
=>
'3
1
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Operações de Transportes'
,
'area_id'
=>
'3'
'area_id'
=>
'3
1
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Hidrodinâmica de Navios e Sistemas Oceânicos'
,
'area_id'
=>
'3'
'area_id'
=>
'3
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Estruturas Navais e Oceânicas'
,
'area_id'
=>
'3'
'area_id'
=>
'3
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Máquinas Marítimas'
,
'area_id'
=>
'3'
'area_id'
=>
'3
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Projeto de Navios e de Sistemas Oceânicos'
,
'area_id'
=>
'3'
'area_id'
=>
'3
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Tecnologia de Construção Naval e de Sistemas Oceânicas'
,
'area_id'
=>
'3'
'area_id'
=>
'3
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Aerodinâmica'
,
'area_id'
=>
'3'
'area_id'
=>
'3
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Dinâmica de Vôo'
,
'area_id'
=>
'3'
'area_id'
=>
'3
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Estruturas Aeroespaciais'
,
'area_id'
=>
'3'
'area_id'
=>
'3
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Materiais e Processos para Engenharia Aeronáutica e Aeroespacial'
,
'area_id'
=>
'3'
'area_id'
=>
'3
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Propulsão Aeroespacial'
,
'area_id'
=>
'3'
'area_id'
=>
'3
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Sistemas Aeroespaciais'
,
'area_id'
=>
'3'
'area_id'
=>
'3
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Bioengenharia'
,
'area_id'
=>
'3'
'area_id'
=>
'3
4
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Engenharia Médica'
,
'area_id'
=>
'3'
'area_id'
=>
'3
4
'
]);
//------------------ Ciências da Saúde ----------------
...
...
@@ -605,135 +613,139 @@ class SubAreaSeeder extends Seeder
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Clínica Médica'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
35
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Cirurgia'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
35
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Saúde Materno-Infantil'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
35
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Psiquiatria'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
35
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Anatomia Patológica e Patologia Clínica'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
35
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Radiologia Médica'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
35
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Medicina Legal e Deontologia'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
35
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Clínica Odontológica'
,
'area_id'
=>
'36'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Cirurgia Buco-Maxilo-Facial'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
36
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Ortodontia'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
36
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Odontopediatria'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
36
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Periodontia'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
36
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Endodontia'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
36
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Radiologia Odontológica'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
36
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Odontologia Social e Preventiva'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
36
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Materiais Odontológicos'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
36
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Farmacotecnia'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
37
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Farmacognosia'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
37
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Análise Toxicológica'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
37
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Análise e Controle e Medicamentos'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
37
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Bromatologia'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
37
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Enfermagem Médico-Cirúrgica'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
38
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Enfermagem Obstétrica'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
38
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Enfermagem Pediátrica'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
38
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Enfermagem Psiquiátrica'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
38
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Enfermagem de Doenças Contagiosas'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
38
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Enfermagem de Saúde Pública'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
38
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Bioquímica da Nutrição'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
39
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Dietética'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
39
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Análise Nutricional de População'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
39
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Desnutrição e Desenvolvimento Fisiológico'
,
'area_id'
=>
'
4
'
'area_id'
=>
'
39
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Epidemiologia'
,
'area_id'
=>
'4'
'area_id'
=>
'4
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Saúde Publica'
,
'area_id'
=>
'4'
'area_id'
=>
'4
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Medicina Preventiva'
,
'area_id'
=>
'4'
'area_id'
=>
'4
0
'
]);
...
...
@@ -743,135 +755,139 @@ class SubAreaSeeder extends Seeder
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Ciência do Solo'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
44
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fitossanidade'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
44
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fitotecnia'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
44
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Floricultura, Parques e Jardins'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
44
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Agrometeorologia'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
44
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Extensão Rural'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
44
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Silvicultura'
,
'area_id'
=>
'5'
'area_id'
=>
'
4
5'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Manejo Florestal'
,
'area_id'
=>
'5'
'area_id'
=>
'
4
5'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Técnicas e Operações Florestais'
,
'area_id'
=>
'5'
'area_id'
=>
'
4
5'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Tecnologia e Utilização de Produtos Florestais'
,
'area_id'
=>
'5'
'area_id'
=>
'
4
5'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Conservação da Natureza'
,
'area_id'
=>
'5'
'area_id'
=>
'
4
5'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Energia de Biomassa Florestal'
,
'area_id'
=>
'5'
'area_id'
=>
'
4
5'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Máquinas e Implementos Agrícolas'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
46
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Engenharia de Água e Solo'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
46
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Engenharia de Processamento de Produtos Agrícolas'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
46
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Construções Rurais e Ambiência'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
46
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Energização Rural'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
46
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Ecologia dos Animais Domésticos e Etologia'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
47
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Genética e Melhoramento dos Animais Domésticos'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
47
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Nutrição e Alimentação Animal'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
47
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Pastagem e Forragicultura'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
47
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Produção Animal'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
47
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Clínica e Cirurgia Animal'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
48
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Medicina Veterinária Preventiva'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
48
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Patologia Animal'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
48
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Reprodução Animal'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
48
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Inspeção de Produtos de Origem Animal'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
48
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Recursos Pesqueiros Marinhos'
,
'area_id'
=>
'49'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Recursos Pesqueiros de Águas Interiores'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
49
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Aq
ü
icultura '
,
'area_id'
=>
'
5
'
'nome'
=>
'Aq
u
icultura '
,
'area_id'
=>
'
49
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Engenharia de Pesca'
,
'area_id'
=>
'
5
'
'area_id'
=>
'
49
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Ciência de Alimentos'
,
'area_id'
=>
'5'
'area_id'
=>
'5
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Tecnologia de Alimentos'
,
'area_id'
=>
'5'
'area_id'
=>
'5
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Engenharia de Alimentos'
,
'area_id'
=>
'5'
'area_id'
=>
'5
0
'
]);
...
...
@@ -880,181 +896,181 @@ class SubAreaSeeder extends Seeder
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teoria do Direito'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
51
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Direito Público'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
51
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Direito Privado'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
51
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Direitos Especiais'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
51
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Administração de Empresas'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
52
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Administração Pública'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
52
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Administração de Setores Específicos'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
52
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Ciências Contábeis'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
52
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teoria Econômica'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
53
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Métodos Quantitativos em Economia'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
53
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Economia Monetária e Fiscal'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
53
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Crescimento, Flutuações e Planejamento Econômico'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
53
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Economia Internacional'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
53
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Economia dos Recursos Humanos'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
53
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Economia Industrial'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
53
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Economia do Bem-Estar Social'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
53
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Economia Regional e Urbana'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
53
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Economias Agrária e dos Recursos Naturais'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
53
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fundamentos de Arquitetura e Urbanismo'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
54
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Projeto de Arquitetuta e Urbanismo'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
54
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Tecnologia de Arquitetura e Urbanismo'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
54
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Paisagismo'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
54
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fundamentos do Planejamento Urbano e Regional'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
55
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Métodos e Técnicas do Planejamento Urbano e Regional'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
55
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Serviços Urbanos e Regionais'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
55
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Distribuição Espacial'
,
'area_id'
=>
'6'
'area_id'
=>
'
5
6'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Tendência Populacional'
,
'area_id'
=>
'6'
'area_id'
=>
'
5
6'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Componentes da Dinâmica Demográfica'
,
'area_id'
=>
'6'
'area_id'
=>
'
5
6'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Nupcialidade e Família'
,
'area_id'
=>
'6'
'area_id'
=>
'
5
6'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Demografia Histórica'
,
'area_id'
=>
'6'
'area_id'
=>
'
5
6'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Política Pública e População'
,
'area_id'
=>
'6'
'area_id'
=>
'
5
6'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fontes de Dados Demográficos'
,
'area_id'
=>
'6'
'area_id'
=>
'
5
6'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teoria da Informação'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
57
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Biblioteconomia'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
57
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Arquivologia'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
57
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teoria da Comunicação'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
59
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Jornalismo e Editoração'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
59
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Rádio e Televisão'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
59
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Relações Públicas e Propaganda'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
59
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Comunicação Visual'
,
'area_id'
=>
'
6
'
'area_id'
=>
'
59
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fundamentos do Serviço Social'
,
'area_id'
=>
'6'
'area_id'
=>
'6
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Serviço Social Aplicado'
,
'area_id'
=>
'6'
'area_id'
=>
'6
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Programação Visual'
,
'area_id'
=>
'6'
'area_id'
=>
'6
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Desenho de Produto'
,
'area_id'
=>
'6'
'area_id'
=>
'6
2
'
]);
...
...
@@ -1064,219 +1080,219 @@ class SubAreaSeeder extends Seeder
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'História da Filosofia'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
64
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Metafísica'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
64
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Lógica'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
64
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Epistemologia'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
64
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Filosofia Brasileira'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
64
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fundamentos da Sociologia'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
65
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Sociologia do Conhecimento'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
65
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Sociologia do Desenvolvimento'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
65
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Sociologia Urbana'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
65
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Sociologia Rural'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
65
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Sociologia da Saúde'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
65
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Outras Sociologias Específicas'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
65
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teoria Antropológica'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
66
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Etnologia Indígena'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
66
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Antropologia Urbana'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
66
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Antropologia Rural'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
66
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Antropologia das Populações Afro-Brasileiras'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
66
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teoria e Método em Arqueologia'
,
'area_id'
=>
'7'
'area_id'
=>
'
6
7'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Arqueologia Pré-Histórica'
,
'area_id'
=>
'7'
'area_id'
=>
'
6
7'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Arqueologia Histórica'
,
'area_id'
=>
'7'
'area_id'
=>
'
6
7'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teoria e Filosofia da História'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
68
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'História Antiga e Medieval'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
68
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'História Moderna e Contemporânea'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
68
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'História da América'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
68
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'História do Brasil'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
68
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'História das Ciências'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
68
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Geografia Humana'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
69
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Geografia Regional'
,
'area_id'
=>
'
7
'
'area_id'
=>
'
69
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fundamentos e Medidas da Psicologia'
,
'area_id'
=>
'7'
'area_id'
=>
'7
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Psicologia Experimental'
,
'area_id'
=>
'7'
'area_id'
=>
'7
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Psicologia Fisiológica'
,
'area_id'
=>
'7'
'area_id'
=>
'7
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Psicologia Comparativa'
,
'area_id'
=>
'7'
'area_id'
=>
'7
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Psicologia Social'
,
'area_id'
=>
'7'
'area_id'
=>
'7
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Psicologia Cognitiva'
,
'area_id'
=>
'7'
'area_id'
=>
'7
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Psicologia do Desenvolvimento Humano'
,
'area_id'
=>
'7'
'area_id'
=>
'7
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Psicologia do Ensino e da Aprendizagem'
,
'area_id'
=>
'7'
'area_id'
=>
'7
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Psicologia do Trabalho e Organizacional'
,
'area_id'
=>
'7'
'area_id'
=>
'7
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Tratamento e Prevenção Psicológica'
,
'area_id'
=>
'7'
'area_id'
=>
'7
0
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fundamentos da Educação'
,
'area_id'
=>
'7'
'area_id'
=>
'7
1
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Administração Educacional'
,
'area_id'
=>
'7'
'area_id'
=>
'7
1
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Planejamento e Avaliação Educacional'
,
'area_id'
=>
'7'
'area_id'
=>
'7
1
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Ensino-Aprendizagem'
,
'area_id'
=>
'7'
'area_id'
=>
'7
1
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Currículo'
,
'area_id'
=>
'7'
'area_id'
=>
'7
1
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Orientação e Aconselhamento'
,
'area_id'
=>
'7'
'area_id'
=>
'7
1
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Tópicos Específicos de Educação'
,
'area_id'
=>
'7'
'area_id'
=>
'7
1
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teoria Política'
,
'area_id'
=>
'7'
'area_id'
=>
'7
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Estado e Governo'
,
'area_id'
=>
'7'
'area_id'
=>
'7
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Comportamento Político'
,
'area_id'
=>
'7'
'area_id'
=>
'7
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Políticas Públicas'
,
'area_id'
=>
'7'
'area_id'
=>
'7
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Política Internacional'
,
'area_id'
=>
'7'
'area_id'
=>
'7
2
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'História da Teologia'
,
'area_id'
=>
'7'
'area_id'
=>
'7
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teologia Moral'
,
'area_id'
=>
'7'
'area_id'
=>
'7
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teologia Sistemática'
,
'area_id'
=>
'7'
'area_id'
=>
'7
3
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teologia Pastoral'
,
'area_id'
=>
'7'
'area_id'
=>
'7
3
'
]);
...
...
@@ -1284,107 +1300,107 @@ class SubAreaSeeder extends Seeder
//Lingüística ------------------
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teoria e Análise Lingüística'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
74
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fisiologia da Linguagem'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
74
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Lingüística Histórica'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
74
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Sociolingüística e Dialetologia'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
74
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Psicolingüística'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
74
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Lingüística Aplicada'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
74
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Língua Portuguesa'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
75
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Línguas Estrangeiras Modernas'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
75
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Línguas Clássicas'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
75
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Línguas Indígenas'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
75
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teoria Literária'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
75
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Literatura Brasileira'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
75
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Outras Literaturas Vernáculas'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
75
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Literaturas Estrangeiras Modernas'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
75
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Literaturas Clássicas'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
75
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Literatura Comparada'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
75
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fundamentos e Crítica das Artes'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
76
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Artes Plásticas'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
76
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Música'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
76
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Dança'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
76
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Teatro'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
76
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Ópera'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
76
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Fotografia'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
76
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Cinema'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
76
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Artes do Vídeo'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
76
'
]);
DB
::
table
(
'sub_areas'
)
->
insert
([
'nome'
=>
'Educação Artística'
,
'area_id'
=>
'
8
'
'area_id'
=>
'
76
'
]);
}
...
...
resources/views/layouts/app.blade.php
View file @
8fcd22b8
...
...
@@ -91,7 +91,7 @@
<nav
class=
"navbar navbar-light backgroud-color-default shadow"
>
<div
class=
"container"
>
<div
class=
"links-menu"
>
<a
class=
"navbar-brand"
href=
"{{route('
home-user
')}}"
>
<a
class=
"navbar-brand"
href=
"{{route('
inicial
')}}"
>
<img
id=
"logo-menu"
src=
"{{ asset('img/icons/logo_submeta_pemenor.png') }}"
alt=
""
>
</a>
</div>
...
...
routes/web.php
View file @
8fcd22b8
...
...
@@ -13,6 +13,7 @@
Route
::
get
(
'/'
,
'UserController@index'
)
->
name
(
'home-user'
);
Route
::
get
(
'/'
,
'UserController@inicial'
)
->
name
(
'inicial'
);
Route
::
get
(
'/home'
,
'HomeController@index'
)
->
name
(
'home'
)
->
middleware
(
'verified'
);
Route
::
get
(
'/evento/visualizar/naologado/{id}'
,
'EventoController@showNaoLogado'
)
->
name
(
'evento.visualizarNaoLogado'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment