{"action":"created","issue":{"url":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues/8","labels_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues/8/comments","events_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues/8/events","html_url":"https://github.com/JohanObrink/rethink-migrate/issues/8","id":117260765,"number":8,"title":"Create schema after running migrations","user":{"login":"Schniz","id":2054772,"avatar_url":"https://avatars.githubusercontent.com/u/2054772?v=3","gravatar_id":"","url":"https://api.github.com/users/Schniz","html_url":"https://github.com/Schniz","followers_url":"https://api.github.com/users/Schniz/followers","following_url":"https://api.github.com/users/Schniz/following{/other_user}","gists_url":"https://api.github.com/users/Schniz/gists{/gist_id}","starred_url":"https://api.github.com/users/Schniz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schniz/subscriptions","organizations_url":"https://api.github.com/users/Schniz/orgs","repos_url":"https://api.github.com/users/Schniz/repos","events_url":"https://api.github.com/users/Schniz/events{/privacy}","received_events_url":"https://api.github.com/users/Schniz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-17T01:35:57Z","updated_at":"2015-11-19T07:40:16Z","closed_at":null,"body":"hey man! love this one!\r\nI think that creating a `_schema.json` file to just create the DB as is (instead of creating and running every step) can be a great feature.\r\nthen, calling `rethink-migrate create-db` or something like Rails' migration can be awesome."},"comment":{"url":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues/comments/157977420","html_url":"https://github.com/JohanObrink/rethink-migrate/issues/8#issuecomment-157977420","issue_url":"https://api.github.com/repos/JohanObrink/rethink-migrate/issues/8","id":157977420,"user":{"login":"JohanObrink","id":548783,"avatar_url":"https://avatars.githubusercontent.com/u/548783?v=3","gravatar_id":"","url":"https://api.github.com/users/JohanObrink","html_url":"https://github.com/JohanObrink","followers_url":"https://api.github.com/users/JohanObrink/followers","following_url":"https://api.github.com/users/JohanObrink/following{/other_user}","gists_url":"https://api.github.com/users/JohanObrink/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanObrink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanObrink/subscriptions","organizations_url":"https://api.github.com/users/JohanObrink/orgs","repos_url":"https://api.github.com/users/JohanObrink/repos","events_url":"https://api.github.com/users/JohanObrink/events{/privacy}","received_events_url":"https://api.github.com/users/JohanObrink/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T07:40:16Z","updated_at":"2015-11-19T07:40:16Z","body":"The first thing I built was actually a tool to generate a RethinkDB from a schema, with seed and all. Then I realised that it would be more powerful to make a migration tool so that the db can be handled after first release as well.\r\n\r\nTo your point though, a quick gen tool could be useful but I think this would be better implemented as helper methods on top of the regular API.\r\n\r\nRight now the main focus is to tweak it so that rethinkdb-dash can be used and test for generation in clusters. But after that, I'll look at your suggestions :smile: "}}