{"action":"opened","issue":{"url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/57","labels_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/57/comments","events_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/57/events","html_url":"https://github.com/cmgmyr/laravel-messenger/issues/57","id":96144083,"number":57,"title":"[Bug] PostgreSQL syntax error","user":{"login":"niknetniko","id":1756811,"avatar_url":"https://avatars.githubusercontent.com/u/1756811?v=3","gravatar_id":"","url":"https://api.github.com/users/niknetniko","html_url":"https://github.com/niknetniko","followers_url":"https://api.github.com/users/niknetniko/followers","following_url":"https://api.github.com/users/niknetniko/following{/other_user}","gists_url":"https://api.github.com/users/niknetniko/gists{/gist_id}","starred_url":"https://api.github.com/users/niknetniko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niknetniko/subscriptions","organizations_url":"https://api.github.com/users/niknetniko/orgs","repos_url":"https://api.github.com/users/niknetniko/repos","events_url":"https://api.github.com/users/niknetniko/events{/privacy}","received_events_url":"https://api.github.com/users/niknetniko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-20T19:49:43Z","updated_at":"2015-07-20T19:49:43Z","closed_at":null,"body":"When using a PostgreSQL database, there are some migrations that fail. This affects the following migrations:\r\n* add_nullable_to_last_read_in_participants_table.php\r\n* alter_last_read_in_participants_table.php\r\n\r\nFor example, when the first one is run, following error is thrown in the console:\r\n```\r\n  [Illuminate\\Database\\QueryException]\r\n  SQLSTATE[42601]: Syntax error: 7 ERROR:  syntax error at or near \"`\"\r\n  LINE 1: ALTER TABLE `participants` CHANGE COLUMN `last_read` `last_r...\r\n                      ^ (SQL: ALTER TABLE `participants` CHANGE COLUMN `last_read` `last_read` timestamp NULL ON UPDATE CURRENT_TIMESTAMP DEFAULT CURRENT_TIMESTAMP;)\r\n\r\n  [PDOException]\r\n  SQLSTATE[42601]: Syntax error: 7 ERROR:  syntax error at or near \"`\"\r\n  LINE 1: ALTER TABLE `participants` CHANGE COLUMN `last_read` `last_r...\r\n                      ^\r\n```\r\n\r\nI am using the latest stable version of both Laravel and this package. The PostgreSQL version I use is 9.4.4"}}