Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ARC-Support
public projects
lou-server
Commits
d48f220d
Commit
d48f220d
authored
Mar 24, 2021
by
Maik Messerschmidt
Browse files
Make data column in results table longtext.
parent
51bea629
Changes
1
Hide whitespace changes
Inline
Side-by-side
database/migrations/2021_03_24_084227_make_data_longtext_in_results_table.php
0 → 100644
View file @
d48f220d
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
MakeDataLongtextInResultsTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'results'
,
function
(
Blueprint
$table
)
{
$table
->
longtext
(
'data'
)
->
change
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'results'
,
function
(
Blueprint
$table
)
{
$table
->
text
(
'data'
)
->
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