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
533ae3ed
Commit
533ae3ed
authored
Mar 11, 2022
by
alissonalbuquerque
Browse files
add column_curso in migration user
parent
b9f50d32
Changes
1
Hide whitespace changes
Inline
Side-by-side
database/migrations/2022_02_02_014728_create_curso_in_users_table.php
View file @
533ae3ed
...
...
@@ -14,7 +14,7 @@ class CreateCursoInUsersTable extends Migration
public
function
up
()
{
Schema
::
table
(
'users'
,
function
(
Blueprint
$table
)
{
$table
->
foreignId
(
'curso_id'
);
$table
->
foreignId
(
'curso_id'
)
->
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