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
2
Merge Requests
2
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
c72fed9f
Project 'cooperatic/kohinos-tav' was moved to 'agplv3/kohinos-tav'. Please update any links and bookmarks that may still have the old path.
Commit
c72fed9f
authored
Apr 20, 2022
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HelloAsso : fix error in synchro 2
parent
a5b65022
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
3 deletions
+34
-3
HelloAsso.php
src/Entity/HelloAsso.php
+3
-3
Version20220420122541.php
src/Migrations/Version20220420122541.php
+31
-0
No files found.
src/Entity/HelloAsso.php
View file @
c72fed9f
...
...
@@ -76,7 +76,7 @@ class HelloAsso
/**
* HelloAsso State of data return.
*
* @ORM\Column(type="string", length=255)
* @ORM\Column(type="string", length=255
, nullable=true
)
*/
private
$state
;
...
...
@@ -282,7 +282,7 @@ class HelloAsso
return
$this
->
state
;
}
public
function
setState
(
string
$state
)
:
self
public
function
setState
(
?
string
$state
)
:
self
{
$this
->
state
=
$state
;
...
...
@@ -294,7 +294,7 @@ class HelloAsso
return
$this
->
statePayment
;
}
public
function
setStatePayment
(
string
$statePayment
)
:
self
public
function
setStatePayment
(
?
string
$statePayment
)
:
self
{
$this
->
statePayment
=
$statePayment
;
...
...
src/Migrations/Version20220420122541.php
0 → 100644
View file @
c72fed9f
<?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
Version20220420122541
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 helloasso CHANGE state state VARCHAR(255) DEFAULT NULL'
);
}
public
function
down
(
Schema
$schema
)
:
void
{
// this down() migration is auto-generated, please modify it to your needs
$this
->
addSql
(
'ALTER TABLE helloasso CHANGE state state VARCHAR(255) 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