Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LBMC
yvertlab
mylabstocks
Commits
6503b79b
Verified
Commit
6503b79b
authored
Jun 21, 2022
by
Gael Yvert
Browse files
add a decsription field to projects table (issue
#139
)
parent
b7f7f5f1
Changes
3
Hide whitespace changes
Inline
Side-by-side
database/migrations/2022_06_21_124158_add_description_to_projects_table.php
0 → 100644
View file @
6503b79b
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AddDescriptionToProjectsTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'projects'
,
function
(
Blueprint
$table
)
{
$table
->
longtext
(
'description'
)
->
nullable
(
$value
=
true
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'projects'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'description'
);
});
}
}
database/seeders/FunctionalityTrackingByIseedDataRowsTableSeeder.php
View file @
6503b79b
...
...
@@ -3521,7 +3521,7 @@ class FunctionalityTrackingByIseedDataRowsTableSeeder extends Seeder
'add' => 1,
'delete' => 1,
'details' => '{"max":10,"min":0,"expanded":false,"show_folders":true,"show_toolbar":true,"allow_upload":true,"allow_move":false,"allow_delete":false,"allow_create_folder":true,"allow_rename":false,"allow_crop":false,"allowed":[],"hide_thumbnails":false}',
'order'
=>
5
,
'order' =>
6
,
),
219 =>
array (
...
...
@@ -3537,7 +3537,7 @@ class FunctionalityTrackingByIseedDataRowsTableSeeder extends Seeder
'add' => 1,
'delete' => 1,
'details' => '{"default":"ongoing","options":{"ongoing":"ongoing","closed":"closed","abandoned":"abandoned","not yet started":"not yet started"}}',
'order'
=>
6
,
'order' =>
7
,
),
220 =>
array (
...
...
@@ -3553,7 +3553,7 @@ class FunctionalityTrackingByIseedDataRowsTableSeeder extends Seeder
'add' => 0,
'delete' => 1,
'details' => '{}',
'order'
=>
7
,
'order' =>
8
,
),
221 =>
array (
...
...
@@ -3563,13 +3563,13 @@ class FunctionalityTrackingByIseedDataRowsTableSeeder extends Seeder
'type' => 'timestamp',
'display_name' => 'Updated At',
'required' => 1,
'browse'
=>
0
,
'read'
=>
0
,
'edit'
=>
0
,
'browse' =>
1
,
'read' =>
1
,
'edit' =>
1
,
'add' => 0,
'delete'
=>
0
,
'delete' =>
1
,
'details' => '{}',
'order'
=>
8
,
'order' =>
9
,
),
222 =>
array (
...
...
@@ -4563,6 +4563,22 @@ class FunctionalityTrackingByIseedDataRowsTableSeeder extends Seeder
'details' => '{}',
'order' => 4,
),
284 =>
array (
'id' => 378,
'data_type_id' => 46,
'field' => 'description',
'type' => 'text_area',
'display_name' => 'Description',
'required' => 0,
'browse' => 1,
'read' => 1,
'edit' => 1,
'add' => 1,
'delete' => 1,
'details' => '{}',
'order' => 5,
),
));
...
...
database/seeders/FunctionalityTrackingByIseedDataTypesTableSeeder.php
View file @
6503b79b
...
...
@@ -431,7 +431,7 @@ class FunctionalityTrackingByIseedDataTypesTableSeeder extends Seeder
'server_side'
=>
1
,
'details'
=>
'{"order_column":null,"order_display_column":null,"order_direction":"asc","default_search_key":null,"scope":null}'
,
'created_at'
=>
'2021-06-11 11:53:14'
,
'updated_at'
=>
'2022-0
1
-2
5
12:
33:08
'
,
'updated_at'
=>
'2022-0
6
-2
1
12:
47:55
'
,
),
23
=>
array
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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