mirror of
https://github.com/flarum/core.git
synced 2025-08-05 07:57:46 +02:00
Added created_at to post_likes table (#28)
This commit is contained in:
@@ -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,
|
||||||
|
],
|
||||||
|
]);
|
Reference in New Issue
Block a user