@@ -0,0 +1,15 @@
+<?php
+
+use Phinx\Migration\AbstractMigration;
+class IncreaseChallengeDescriptionFieldLength extends AbstractMigration {
+ public function up() {
+ $this->table("test")
+ ->changeColumn("challenge_description", "string", ["null" => true, "limit" => 400])
+ ->update();
+ }
+ public function down() {
+}
@@ -112,7 +112,7 @@
"type": "textarea",
"name": "challenge_description",
"label": "Description",
- "maxLength": 250,
+ "maxLength": 400,
"helpText": "Describe how the challenge took place. For example: \"While entering I was approached politely and asked for ID.\""
},