I use this to install Flarum with postgresql everthing is right, but when I started a post the 500 error came to
POST http://*****/api/discussions/1
{
"errors": [
{
"code": 500,
"title": "Internal server error",
"detail": "PDOException: SQLSTATE[42703]: Undefined column: 7 ERROR: column \"id\" does not exist\nLINE 1: ...number\", \"read_time\") values ($1, $2, $3, $4) returning \"id\"\n ^ in /var/www/html/vendor/illuminate/database/Connection.php:321\nStack trace:\n#0 /var/www/html/vendor/illuminate/database/Connection.php(321): PDOStatement->execute(Array)\n#1 /var/www/html/vendor/illuminate/database/Connection.php(655): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}(Object(Illuminate\\Database\\PostgresConnection), 'insert into \"us...', Array)\n#2