Sindbad~EG File Manager

Current Path : /var/www/html/votacao.camarasap.rs.gov.br/config/Migrations/
Upload File :
Current File : /var/www/html/votacao.camarasap.rs.gov.br/config/Migrations/20240103204426_CreateLegislatures.php

<?php
declare(strict_types=1);

use Migrations\AbstractMigration;

class CreateLegislatures extends AbstractMigration
{
    /**
     * Change Method.
     *
     * More information on this method is available here:
     * https://book.cakephp.org/phinx/0/en/migrations.html#the-change-method
     * @return void
     */
    public function change(): void
    {
        $table = $this->table('legislatures');
        $table->addColumn('name', 'string', [
            'default' => null,
            'limit' => 255,
            'null' => false,
        ]);
        $table->addColumn('created', 'datetime', [
            'default' => null,
            'null' => false,
        ]);
        $table->create();
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists