芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/migrations/20200917140227_display_group_created_modified_dates.php
. */ use Phinx\Migration\AbstractMigration; /** * Class DisplayGroupCreatedModifiedDates */ class DisplayGroupCreatedModifiedDates extends AbstractMigration { /** * @inheritDoc */ public function change() { $table = $this->table('displaygroup'); $table ->addColumn('createdDt', 'datetime', ['null' => true, 'default' => null]) ->addColumn('modifiedDt', 'datetime', ['null' => true, 'default' => null]) ->save(); } }