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",
"description": "manage Bind9 DNS server via REST API",
"version": "1.0.9",
"build_number": "362",
"build_number": "363",
"authors": [
{
"name": "Micha Espey",

View File

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