-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ClacoForm] adds confirmation on entry submission
- Loading branch information
Showing
18 changed files
with
133 additions
and
930 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
src/plugin/claco-form/Installation/Migrations/pdo_mysql/Version20210215105628.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
namespace Claroline\ClacoFormBundle\Installation\Migrations\pdo_mysql; | ||
|
||
use Doctrine\DBAL\Schema\Schema; | ||
use Doctrine\Migrations\AbstractMigration; | ||
|
||
/** | ||
* Auto-generated migration based on mapping information: modify it with caution. | ||
* | ||
* Generation date: 2021/02/15 10:56:42 | ||
*/ | ||
class Version20210215105628 extends AbstractMigration | ||
{ | ||
public function up(Schema $schema) | ||
{ | ||
$this->addSql(' | ||
ALTER TABLE claro_clacoformbundle_claco_form | ||
ADD showConfirm TINYINT(1) NOT NULL, | ||
ADD confirmMessage LONGTEXT DEFAULT NULL | ||
'); | ||
} | ||
|
||
public function down(Schema $schema) | ||
{ | ||
$this->addSql(' | ||
ALTER TABLE claro_clacoformbundle_claco_form | ||
DROP showConfirm, | ||
DROP confirmMessage | ||
'); | ||
} | ||
} |
Oops, something went wrong.