12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- namespace OC\Core\Migrations;
- use OCP\DB\ISchemaWrapper;
- use OCP\Migration\SimpleMigrationStep;
- class Version14000Date20180712153140 extends SimpleMigrationStep {
- public function changeSchema(\OCP\Migration\IOutput $output, \Closure $schemaClosure, array $options) {
-
- $schema = $schemaClosure();
- $table = $schema->getTable('share');
- $table->addColumn('note', 'text', ['notnull' => false]);
- return $schema;
- }
- }
|