<?php

/*
 * This file is part of Flarum.
 *
 * (c) Toby Zerner <toby.zerner@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

use Flarum\Database\Migration;

return Migration::renameColumns('posts', [
    'time' => 'created_at',
    'edit_time' => 'edited_at',
    'hide_time' => 'hidden_at',
    'edit_user_id' => 'edited_user_id',
    'hide_user_id' => 'hidden_user_id'
]);
