Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
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
agplv3
kohinos-tav
Commits
015f5263
Commit
015f5263
authored
Oct 09, 2022
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix installation bug, global parameter not mandatory
parent
601cdb35
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
2 deletions
+32
-2
GlobalParameter.php
src/Entity/GlobalParameter.php
+1
-1
GlobalParameterType.php
src/Form/Type/GlobalParameterType.php
+0
-1
Version20221009123707.php
src/Migrations/Version20221009123707.php
+31
-0
No files found.
src/Entity/GlobalParameter.php
View file @
015f5263
...
...
@@ -72,7 +72,7 @@ class GlobalParameter
private
$description
;
/**
* @ORM\Column(type="text")
* @ORM\Column(type="text"
, nullable=true
)
*/
private
$value
;
...
...
src/Form/Type/GlobalParameterType.php
View file @
015f5263
...
...
@@ -49,7 +49,6 @@ class GlobalParameterType extends AbstractType
{
$resolver
->
setDefaults
([
'data_class'
=>
GlobalParameter
::
class
,
'required'
=>
true
,
'name_param'
=>
''
,
'_placeholder'
=>
''
,
'_mandatory'
=>
true
,
...
...
src/Migrations/Version20221009123707.php
0 → 100644
View file @
015f5263
<?php
declare
(
strict_types
=
1
);
namespace
DoctrineMigrations
;
use
Doctrine\DBAL\Schema\Schema
;
use
Doctrine\Migrations\AbstractMigration
;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final
class
Version20221009123707
extends
AbstractMigration
{
public
function
getDescription
()
:
string
{
return
''
;
}
public
function
up
(
Schema
$schema
)
:
void
{
// this up() migration is auto-generated, please modify it to your needs
$this
->
addSql
(
'ALTER TABLE global_parameter CHANGE value value LONGTEXT DEFAULT NULL'
);
}
public
function
down
(
Schema
$schema
)
:
void
{
// this down() migration is auto-generated, please modify it to your needs
$this
->
addSql
(
'ALTER TABLE global_parameter CHANGE value value LONGTEXT CHARACTER SET utf8mb3 NOT NULL COLLATE `utf8mb3_general_ci`'
);
}
}
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