Skip to content

Commit

Permalink
Added created_at to post_likes table (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
glowingblue-dev authored May 11, 2021
1 parent 0bae9a0 commit 5687e5a
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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,
],
]);

0 comments on commit 5687e5a

Please sign in to comment.