changed config table

This commit is contained in:
tracer 2024-04-30 13:14:05 +02:00
parent b06128e819
commit 0f13e29fe9
2 changed files with 12 additions and 12 deletions

View File

@ -2,7 +2,7 @@
"name": "24unix/bindapi", "name": "24unix/bindapi",
"description": "manage Bind9 DNS server via REST API", "description": "manage Bind9 DNS server via REST API",
"version": "1.0.9", "version": "1.0.9",
"build_number": "362", "build_number": "363",
"authors": [ "authors": [
{ {
"name": "Micha Espey", "name": "Micha Espey",

View File

@ -6,17 +6,17 @@ class AddSelfToNameservers extends Phinx\Migration\AbstractMigration
{ {
public function change() public function change()
{ {
$this->table('domains', [ // $this->table('domains', [
'id' => false, // 'id' => false,
'primary_key' => ['id'], // 'primary_key' => ['id'],
'engine' => 'InnoDB', // 'engine' => 'InnoDB',
'encoding' => 'utf8mb4', // 'encoding' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci', // 'collation' => 'utf8mb4_unicode_ci',
'comment' => '', // 'comment' => '',
'row_format' => 'DYNAMIC', // 'row_format' => 'DYNAMIC',
]) // ])
->removeColumn('self') // ->removeColumn('self')
->save(); // ->save();
$this->table('nameservers', [ $this->table('nameservers', [
'id' => false, 'id' => false,
'primary_key' => ['id'], 'primary_key' => ['id'],