some fix
This commit is contained in:
@ -3,6 +3,9 @@ namespace app\models;
|
||||
|
||||
use \Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @method static where(string $string, $user_id)
|
||||
*/
|
||||
class Question extends Model {
|
||||
protected $table = 'question';
|
||||
protected $fillable = ['question','user_id'];
|
||||
|
@ -6,6 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property string $username
|
||||
* @property string $email
|
||||
* @property string $password_hash
|
||||
* @method static where(int[] $array)
|
||||
* @method static find($id)
|
||||
*/
|
||||
class User extends Model {
|
||||
protected $table = 'user';
|
||||
|
Reference in New Issue
Block a user