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
b9f50d32
Commit
b9f50d32
authored
Mar 11, 2022
by
alissonalbuquerque
Browse files
add campus migration
parent
c7199af0
Changes
1
Hide whitespace changes
Inline
Side-by-side
database/migrations/2022_02_02_014208_create_campus_table.php
View file @
b9f50d32
...
@@ -16,7 +16,7 @@ class CreateCampusTable extends Migration
...
@@ -16,7 +16,7 @@ class CreateCampusTable extends Migration
Schema
::
create
(
'campus'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'campus'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
id
();
$table
->
string
(
'name'
);
$table
->
string
(
'name'
);
$table
->
tinyInteger
(
'unidade'
);
$table
->
foreignId
(
'unidade
_id
'
);
$table
->
timestamps
();
$table
->
timestamps
();
});
});
}
}
...
...
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