diff --git a/examples/relational/Model/Users.php b/examples/relational/Model/Users.php index 6e8f76de..44af86f3 100644 --- a/examples/relational/Model/Users.php +++ b/examples/relational/Model/Users.php @@ -8,7 +8,7 @@ class Users { public function get($username = null) { - $query = Capsule::table('users')->select(['username', 'name', 'email', 'photo']); + $query = Capsule::table('users')->select(['username', 'password', 'name', 'email', 'photo']); if ($username !== null) { $query->where('username', '=', $username);