{"action":"closed","issue":{"url":"https://api.github.com/repos/lucasvenez/ormcourse/issues/2","repository_url":"https://api.github.com/repos/lucasvenez/ormcourse","labels_url":"https://api.github.com/repos/lucasvenez/ormcourse/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/lucasvenez/ormcourse/issues/2/comments","events_url":"https://api.github.com/repos/lucasvenez/ormcourse/issues/2/events","html_url":"https://github.com/lucasvenez/ormcourse/issues/2","id":178043968,"number":2,"title":"Tabela \"Order\" não sendo cadastrada","user":{"login":"Pliavi","id":5985423,"avatar_url":"https://avatars.githubusercontent.com/u/5985423?v=3","gravatar_id":"","url":"https://api.github.com/users/Pliavi","html_url":"https://github.com/Pliavi","followers_url":"https://api.github.com/users/Pliavi/followers","following_url":"https://api.github.com/users/Pliavi/following{/other_user}","gists_url":"https://api.github.com/users/Pliavi/gists{/gist_id}","starred_url":"https://api.github.com/users/Pliavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pliavi/subscriptions","organizations_url":"https://api.github.com/users/Pliavi/orgs","repos_url":"https://api.github.com/users/Pliavi/repos","events_url":"https://api.github.com/users/Pliavi/events{/privacy}","received_events_url":"https://api.github.com/users/Pliavi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-20T12:19:26Z","updated_at":"2016-09-21T14:39:44Z","closed_at":"2016-09-21T14:39:44Z","body":"O problema verificado sobre a tabela *ORDER* não era apenas por ter os nomes `date` e `time` que são palavras reservadas do MariaDB, mas `ORDER` também é uma palavra reservada (`ORDER BY`, nem tinha lembrado 😫 ) e isso faz com que a tabela não seja cadastrada.\r\nExistem 2 formas de corrigir:\r\n- Trocando o nome da classe para uma palavra livre (Não recomendado);\r\n- Adicionando a referência a tabela utilizando crase na _Annotation_ \r\n``` @Table(name = \"`Order`\") ```"}}
{"actor":{"display_login":"lucasvenez"}}