mirror of
https://github.com/flarum/framework.git
synced 2025-03-21 12:35:15 +08:00
Added created_at to post_likes table (#28)
This commit is contained in:
parent
a805c333e7
commit
93d373f066
@ -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,
|
||||
],
|
||||
]);
|
Loading…
x
Reference in New Issue
Block a user