12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- namespace OC\DB;
- use Doctrine\DBAL\Schema\Schema;
- class SQLiteMigrator extends Migrator {
-
- protected function getDiff(Schema $targetSchema, \Doctrine\DBAL\Connection $connection) {
- foreach ($targetSchema->getTables() as $table) {
- foreach ($table->getColumns() as $column) {
-
- if ($column->getComment() !== null) {
- $column->setComment(null);
- }
- }
- }
- return parent::getDiff($targetSchema, $connection);
- }
- }
|