Added created_at to post_likes table (#28)

This commit is contained in:
Glowing Blue 2021-05-11 21:23:35 +02:00 committed by GitHub
parent a805c333e7
commit 93d373f066

View File

@ -0,0 +1,18 @@
<?php
/*
* This file is part of Flarum.
*
* For detailed copyright and license information, please view the
* LICENSE file that was distributed with this source code.
*/
use Flarum\Database\Migration;
return Migration::addColumns('post_likes', [
'created_at' => [
'timestamp',
'null' => false,
'useCurrent' => true,
],
]);