mirror of
https://github.com/glmdev/eecs448-lab10
synced 2026-03-02 03:39:24 +00:00
Initial commit
This commit is contained in:
11
app/PostRepository.php
Normal file
11
app/PostRepository.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?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'];
|
||||
}
|
||||
Reference in New Issue
Block a user