hasTable('accounts')) { $table = $schema->createTable('accounts'); $table->addColumn('uid', 'string', [ 'notnull' => true, 'length' => 64, 'default' => '', ]); $table->addColumn('data', 'text', [ 'notnull' => true, 'default' => '', ]); $table->setPrimaryKey(['uid']); } return $schema; } /** * @param IOutput $output * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` * @param array $options * @since 13.0.0 */ public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options) { } }