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
Commit
7fb04e7e
authored
Jun 29, 2022
by
alissonalbuquerque
Browse files
refatorar migrations
parent
ac0580f8
Changes
1
Hide 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
...
@@ -23,10 +23,10 @@ class CreatePlanejamentosTable extends Migration
$table
->
timestamps
();
$table
->
timestamps
();
$table
->
softDeletes
();
$table
->
softDeletes
();
$table
->
foreignId
(
'pad_id'
)
//
$table->foreignId('pad_id')
->
constrained
(
'pad'
)
//
->constrained('pad
s
')
->
onUpdate
(
'cascade'
)
//
->onUpdate('cascade')
->
onDelete
(
'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