some fix
This commit is contained in:
1 parent
043a699c6d
commit
01ea22d089
3 files changed
+18
No files matched your search
@@ -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