diff --git a/app/Migrations/Schema/V111/Version20161028123400.php b/app/Migrations/Schema/V111/Version20161028123400.php new file mode 100644 index 0000000000..e47789e646 --- /dev/null +++ b/app/Migrations/Schema/V111/Version20161028123400.php @@ -0,0 +1,40 @@ +getTable('c_student_publication_comment') + ->getColumn('iid'); + + if (!$iidColumn->getAutoincrement()) { + $iidColumn->setAutoincrement(true); + } + } + + /** + * @param Schema $schema + */ + public function down(Schema $schema) + { + $schema + ->getTable('c_student_publication_comment') + ->getColumn('iid') + ->setAutoincrement(false); + } +}