You can also quitpsqlusing the End-of-Transmission (EOT) character. The EOT character signals the end of a file to a program that is waiting for input. In the case ofpsql, this will cause the program to exit. The EOT character can be sent by typingCtrl+D. ...
# まずはhomesteadにログイン$homestaedssh# PostgreSQLにログインvagrant@homestead:~$psql-dDATABASE-Uhomestead-h127.0.0.1 接続情報はプロジェクトの.envファイルに記載されている。 .env DB_CONNECTION=pgsql DB_HOST=127.0.0.1 DB_PORT=5432 DB_DATABASE=database_name DB_USERNAME=homestead DB_PASS...