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
8731631f
Unverified
Commit
8731631f
authored
Oct 13, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setting the status column as nullable
parent
6ed7e00c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
2017_10_13_103344_make_status_field_nullable_on_page_translations_table.php
...make_status_field_nullable_on_page_translations_table.php
+32
-0
changelog.yml
Modules/Page/changelog.yml
+1
-0
No files found.
Modules/Page/Database/Migrations/2017_10_13_103344_make_status_field_nullable_on_page_translations_table.php
0 → 100644
View file @
8731631f
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
MakeStatusFieldNullableOnPageTranslationsTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'page__page_translations'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'status'
)
->
nullable
()
->
change
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'page__page_translations'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'status'
)
->
nullable
(
false
)
->
change
();
});
}
}
Modules/Page/changelog.yml
View file @
8731631f
...
...
@@ -4,6 +4,7 @@ versions:
changed
:
-
Adding the page status field
-
Sending the page id from the route parameters to the single media component (makes loading single media faster)
-
Making the <code>status</code> column in <code>page_translations</code> table
null
able (migrate with <code>php artisan module:migrate page</code>)
"
3.1.0"
:
added
:
-
New UI interaction on the page index to select pages and mark one or mutiple as on/offline
...
...
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