{"action":"closed","issue":{"url":"https://api.github.com/repos/spacekookie/barrel/issues/5","repository_url":"https://api.github.com/repos/spacekookie/barrel","labels_url":"https://api.github.com/repos/spacekookie/barrel/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/spacekookie/barrel/issues/5/comments","events_url":"https://api.github.com/repos/spacekookie/barrel/issues/5/events","html_url":"https://github.com/spacekookie/barrel/issues/5","id":292013736,"number":5,"title":"Restructure Schema & Table","user":{"login":"spacekookie","id":7669898,"avatar_url":"https://avatars0.githubusercontent.com/u/7669898?v=4","gravatar_id":"","url":"https://api.github.com/users/spacekookie","html_url":"https://github.com/spacekookie","followers_url":"https://api.github.com/users/spacekookie/followers","following_url":"https://api.github.com/users/spacekookie/following{/other_user}","gists_url":"https://api.github.com/users/spacekookie/gists{/gist_id}","starred_url":"https://api.github.com/users/spacekookie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacekookie/subscriptions","organizations_url":"https://api.github.com/users/spacekookie/orgs","repos_url":"https://api.github.com/users/spacekookie/repos","events_url":"https://api.github.com/users/spacekookie/events{/privacy}","received_events_url":"https://api.github.com/users/spacekookie/received_events","type":"User","site_admin":false},"labels":[{"id":801605646,"url":"https://api.github.com/repos/spacekookie/barrel/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-26T19:55:22Z","updated_at":"2018-02-14T18:59:21Z","closed_at":"2018-02-14T18:59:21Z","author_association":"OWNER","body":"The call list should store functions to either a table directly or a database-table. Users shouldn't be able to call\r\n\r\n```rust\r\n/* ... */ |t| {\r\n   t.drop_table();\r\n}\r\n```\r\n\r\nIf we wrap around Table and a possible other Table type, we can use the same hook-system inside Schema to run table modifiers (drop, rename, etc) only when the sql strings are generated"}}
{"actor":{"display_login":"spacekookie"}}