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

12 lines
231 B
PHP
Raw Normal View History

2020-12-06 19:58:02 +00:00
<?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'];
}