hasTable('circles_token')) { $table = $schema->getTable('circles_token'); $table->changeColumn( 'password', [ 'length' => 127 ] ); } if ($schema->hasTable('circles_member')) { $table = $schema->getTable('circles_member'); $table->changeColumn( 'instance', [ 'default' => '', 'notnull' => false, 'length' => 255 ] ); } if ($schema->hasTable('circles_circle')) { $table = $schema->getTable('circles_circle'); $table->changeColumn( 'display_name', [ 'notnull' => false, 'default' => '', 'length' => 255 ] ); } // dropping to be re-created with the right primary keys. if ($schema->hasTable('circles_event')) { $schema->dropTable('circles_event'); } return $schema; } }