getTable('deck_assigned_users'); // Defaults to TYPE_USER = 0 $table->addColumn('type', 'integer', [ 'notnull' => true, 'default' => 0 ]); $table->addIndex(['participant'], 'deck_assigned_users_idx_t'); return $schema; } /** * @param IOutput $output * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` * @param array $options */ public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options) { } }