HEX
Server: Apache
System: Linux server1.ariadata.co 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User: nepi (1051)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,show_source,popen,proc_open
Upload Files
File: /home/nepi/public_html/migrations/upgrades/20190726064001_update_note_for_default_limit.php
<?php


use Phinx\Migration\AbstractMigration;

class UpdateNoteForDefaultLimit extends AbstractMigration
{
  public function up()
  {
    $this->execute(\Directus\phinx_update(
      $this->getAdapter(),
      'directus_fields',
      [
        'note' => 'The color that best fits your brand.'
      ],
      ['collection' => 'directus_settings', 'field' => 'color']
    ));

    $this->execute(\Directus\phinx_update(
      $this->getAdapter(),
      'directus_fields',
      [
        'note' => 'Default max amount of items that\'s returned at a time in the API.'
      ],
      ['collection' => 'directus_settings', 'field' => 'default_limit']
    ));

    $this->execute(\Directus\phinx_update(
      $this->getAdapter(),
      'directus_fields',
      [
        'width' => 'half',
      ],
      ['collection' => 'directus_settings', 'field' => 'password_policy']
    ));
  }
}