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
59559405
Commit
59559405
authored
Jun 29, 2020
by
Gabriel-31415
Browse files
ajuste em descricao
parent
0d343a7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/EventoController.php
View file @
59559405
...
@@ -356,7 +356,7 @@ class EventoController extends Controller
...
@@ -356,7 +356,7 @@ class EventoController extends Controller
$validated
=
$request
->
validate
([
$validated
=
$request
->
validate
([
'nome'
=>
[
'required'
,
'string'
],
'nome'
=>
[
'required'
,
'string'
],
'descricao'
=>
[
'required'
,
'string'
],
'descricao'
=>
[
'required'
,
'string'
,
'size:500'
],
'tipo'
=>
[
'required'
,
'string'
],
'tipo'
=>
[
'required'
,
'string'
],
'natureza'
=>
[
'required'
],
'natureza'
=>
[
'required'
],
'inicioSubmissao'
=>
[
'required'
,
'date'
,
'after:yesterday'
],
'inicioSubmissao'
=>
[
'required'
,
'date'
,
'after:yesterday'
],
...
...
database/migrations/2020_02_05_123153_create_eventos_table.php
View file @
59559405
...
@@ -17,7 +17,7 @@ class CreateEventosTable extends Migration
...
@@ -17,7 +17,7 @@ class CreateEventosTable extends Migration
$table
->
bigIncrements
(
'id'
);
$table
->
bigIncrements
(
'id'
);
$table
->
timestamps
();
$table
->
timestamps
();
$table
->
string
(
'nome'
)
->
nullable
();
$table
->
string
(
'nome'
)
->
nullable
();
$table
->
string
(
'descricao'
)
->
nullable
();
$table
->
text
(
'descricao'
)
->
nullable
();
$table
->
string
(
'tipo'
)
->
nullable
();
$table
->
string
(
'tipo'
)
->
nullable
();
$table
->
unsignedBigInteger
(
'natureza_id'
)
->
nullable
();
$table
->
unsignedBigInteger
(
'natureza_id'
)
->
nullable
();
$table
->
date
(
'inicioSubmissao'
)
->
nullable
();
$table
->
date
(
'inicioSubmissao'
)
->
nullable
();
...
...
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