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
pad-upe
Commits
30fcb4cc
Commit
30fcb4cc
authored
Jul 25, 2022
by
alissonalbuquerque
Browse files
add correcoes de tabelas de ensino & pesquisa
parent
a48756e6
Changes
10
Hide whitespace changes
Inline
Side-by-side
database/migrations/2022_03_23_190559_create_ensino_orientacoes_table.php
View file @
30fcb4cc
...
...
@@ -15,14 +15,15 @@ class CreateEnsinoOrientacoesTable extends Migration
{
Schema
::
create
(
'ensino_orientacoes'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
nullable
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'atividade'
)
->
notNull
();
$table
->
foreignId
(
'curso
_id
'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
tinyInteger
(
'nivel'
)
->
notNull
();
$table
->
tinyInteger
(
'type_orientacao'
)
->
notNull
();
$table
->
tinyInteger
(
'numero_orientandos'
)
->
nullable
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
foreignId
(
'pad_id'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
...
...
database/migrations/2022_07_17_021525_create_pesquisa_coordenacao_table.php
View file @
30fcb4cc
...
...
@@ -15,8 +15,8 @@ class CreatePesquisaCoordenacaoTable extends Migration
{
Schema
::
create
(
'pesquisa_coordenacao'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
tinyInteger
(
'dimensao'
);
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
nullable
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'titulo_projeto'
)
->
notNull
();
$table
->
string
(
'linha_grupo_pesquisa'
)
->
notNull
();
...
...
database/migrations/2022_07_17_023304_create_pesquisa_lideranca_table.php
View file @
30fcb4cc
...
...
@@ -15,15 +15,14 @@ class CreatePesquisaLiderancaTable extends Migration
{
Schema
::
create
(
'pesquisa_lideranca'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
tinyInteger
(
'dimensao'
);
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
nullable
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'grupo_pesquisa'
)
->
notNull
();
$table
->
string
(
'atividade'
)
->
notNull
();
$table
->
tinyInteger
(
'funcao'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
softDeletes
();
$table
->
timestamps
();
$table
->
timestamps
();
});
}
...
...
database/migrations/2022_07_17_024129_create_pesquisa_orientacao_table.php
View file @
30fcb4cc
...
...
@@ -15,15 +15,15 @@ class CreatePesquisaOrientacaoTable extends Migration
{
Schema
::
create
(
'pesquisa_orientacao'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
tinyInteger
(
'dimensao'
);
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
nullable
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'titulo_projeto'
)
->
notNull
();
$table
->
string
(
'nome_orientando'
)
->
notNull
();
$table
->
tinyInteger
(
'funcao'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
softDeletes
();
$table
->
timestamps
();
$table
->
timestamps
();
});
}
...
...
database/migrations/2022_07_25_195418_create_ensino_supervisao_table.php
0 → 100644
View file @
30fcb4cc
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateEnsinoSupervisaoTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'ensino_supervisao'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
nullable
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'atividade'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
tinyInteger
(
'nivel'
)
->
notNull
();
$table
->
tinyInteger
(
'type_supervisao'
)
->
notNull
();
$table
->
tinyInteger
(
'numero_orientandos'
)
->
nullable
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'ensino_supervisao'
);
}
}
database/migrations/2022_07_25_195833_create_ensino_atendimento_discente_table.php
0 → 100644
View file @
30fcb4cc
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateEnsinoAtendimentoDiscenteTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'ensino_atendimento_discente'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
nullable
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'componente_curricular'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
tinyInteger
(
'nivel'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'ensino_atendimento_discente'
);
}
}
database/migrations/2022_07_25_200001_create_ensino_projeto_table.php
0 → 100644
View file @
30fcb4cc
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateEnsinoProjetoTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'ensino_projeto'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
nullable
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'titulo'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
tinyInteger
(
'natureza'
)
->
notNull
();
$table
->
tinyInteger
(
'funcao'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'ensino_projeto'
);
}
}
database/migrations/2022_07_25_200311_create_ensino_participacao_table.php
0 → 100644
View file @
30fcb4cc
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateEnsinoParticipacaoTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'ensino_participacao'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
nullable
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
tinyInteger
(
'nivel'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'ensino_participacao'
);
}
}
database/migrations/2022_0
3
_2
3_184642
_create_ensino_coordenacao_table.php
→
database/migrations/2022_0
7
_2
5_201036
_create_ensino_coordenacao_
regencia_
table.php
View file @
30fcb4cc
...
...
@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateEnsinoCoordenacaoTable
extends
Migration
class
CreateEnsinoCoordenacao
Regencia
Table
extends
Migration
{
/**
* Run the migrations.
...
...
@@ -13,15 +13,16 @@ class CreateEnsinoCoordenacaoTable extends Migration
*/
public
function
up
()
{
Schema
::
create
(
'ensino_coordenacao'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'ensino_coordenacao
_regencia
'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
nullable
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'componente_curricular'
)
->
notNull
();
$table
->
foreignId
(
'curso
_id
'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
tinyInteger
(
'nivel'
)
->
notNull
();
$table
->
tinyInteger
(
'modalidade'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
foreignId
(
'pad_id'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
...
...
@@ -34,6 +35,6 @@ class CreateEnsinoCoordenacaoTable extends Migration
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'ensino_coordenacao'
);
Schema
::
dropIfExists
(
'ensino_coordenacao
_regencia
'
);
}
}
database/migrations/2022_07_25_201222_create_ensino_membro_docente_table.php
0 → 100644
View file @
30fcb4cc
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateEnsinoMembroDocenteTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'ensino_membro_docente'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
nullable
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'nucleo'
)
->
notNull
();
$table
->
string
(
'documento'
)
->
notNull
();
$table
->
tinyInteger
(
'funcao'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'ensino_membro_docente'
);
}
}
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