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
7fb04e7e
"resources/git@sites.upe.br:walter.felipe/pad-upe.git" did not exist on "39c527a2022dddf6028e0549efb259d6c70aa39c"
Commit
7fb04e7e
authored
Jun 29, 2022
by
alissonalbuquerque
Browse files
refatorar migrations
parent
ac0580f8
Changes
1
Show whitespace changes
Inline
Side-by-side
database/migrations/2022_03_22_113324_create_planejamentos_table.php
View file @
7fb04e7e
...
...
@@ -23,10 +23,10 @@ class CreatePlanejamentosTable extends Migration
$table
->
timestamps
();
$table
->
softDeletes
();
$table
->
foreignId
(
'pad_id'
)
->
constrained
(
'pad'
)
->
onUpdate
(
'cascade'
)
->
onDelete
(
'cascade'
);
//
$table->foreignId('pad_id')
//
->constrained('pad
s
')
//
->onUpdate('cascade')
//
->onDelete('cascade');
});
}
...
...
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