1
0
mirror of https://github.com/glmdev/eecs448-lab10 synced 2024-10-27 19:14:00 +00:00
eecs448-lab10/app/PostRepository.php
2020-12-06 13:58:02 -06:00

12 lines
231 B
PHP

<?php
namespace app;
use common\database\Repository;
class PostRepository extends Repository {
protected $table = 'posts';
protected $primary_key = 'post_id';
protected $fields = ['post_id', 'user_id', 'content'];
}