芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/migrations/20180327153325_remove_user_logged_in_migration.php
. */ use Phinx\Migration\AbstractMigration; /** * Class RemoveUserLoggedInMigration * Removes the logged in column if it still exists. */ class RemoveUserLoggedInMigration extends AbstractMigration { /** @inheritdoc */ public function change() { $table = $this->table('user'); if ($table->hasColumn('loggedIn')) { $table->removeColumn('loggedIn')->update(); } } }