Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
bd054942
Unverified
Commit
bd054942
authored
May 23, 2018
by
KaMe
Committed by
GitHub
May 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 2018_05_23_145242_edit_body_column_nullable.php
parent
e1cff910
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
2018_05_23_145242_edit_body_column_nullable.php
...igrations/2018_05_23_145242_edit_body_column_nullable.php
+2
-2
No files found.
Modules/Page/Database/Migrations/2018_05_23_145242_edit_body_column_nullable.php
View file @
bd054942
...
@@ -14,7 +14,7 @@ class EditBodyColumnNullable extends Migration
...
@@ -14,7 +14,7 @@ class EditBodyColumnNullable extends Migration
public
function
up
()
public
function
up
()
{
{
Schema
::
table
(
'page__page_translations'
,
function
(
Blueprint
$table
)
{
Schema
::
table
(
'page__page_translations'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'body'
)
->
nullable
()
->
change
();
$table
->
text
(
'body'
)
->
nullable
()
->
change
();
});
});
}
}
...
@@ -26,7 +26,7 @@ class EditBodyColumnNullable extends Migration
...
@@ -26,7 +26,7 @@ class EditBodyColumnNullable extends Migration
public
function
down
()
public
function
down
()
{
{
Schema
::
table
(
'page__page_translations'
,
function
(
Blueprint
$table
)
{
Schema
::
table
(
'page__page_translations'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'body'
)
->
nullable
(
false
)
->
change
();
$table
->
text
(
'body'
)
->
nullable
(
false
)
->
change
();
});
});
}
}
}
}
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