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
b46cbe88
Commit
b46cbe88
authored
Sep 28, 2022
by
alissonalbuquerque
Browse files
add tables de outros
parent
52ec4090
Changes
4
Hide whitespace changes
Inline
Side-by-side
database/migrations/2022_09_29_004939_create_ensino_outro_table.php
0 → 100644
View file @
b46cbe88
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateEnsinoOutroTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'ensino_outro'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'atividade'
)
->
notNull
();
$table
->
text
(
'descricao'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'ensino_outro'
);
}
}
database/migrations/2022_09_29_005753_create_pesquisa_outro_table.php
0 → 100644
View file @
b46cbe88
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreatePesquisaOutroTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'pesquisa_outro'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'atividade'
)
->
notNull
();
$table
->
text
(
'descricao'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'pesquisa_outro'
);
}
}
database/migrations/2022_09_29_005909_create_extensao_outro_table.php
0 → 100644
View file @
b46cbe88
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateExtensaoOutroTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'extensao_outro'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'atividade'
)
->
notNull
();
$table
->
text
(
'descricao'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'extensao_outro'
);
}
}
database/migrations/2022_09_29_005946_create_gestao_outro_table.php
0 → 100644
View file @
b46cbe88
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateGestaoOutroTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'gestao_outro'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'atividade'
)
->
notNull
();
$table
->
text
(
'descricao'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'gestao_outro'
);
}
}
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