{"action":"created","issue":{"url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/30","labels_url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/30/comments","events_url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/30/events","html_url":"https://github.com/tjwebb/sails-permissions/issues/30","id":63821220,"number":30,"title":"error: column permission.createdBy does not exist","user":{"login":"cratervale","id":3177630,"avatar_url":"https://avatars.githubusercontent.com/u/3177630?v=3","gravatar_id":"","url":"https://api.github.com/users/cratervale","html_url":"https://github.com/cratervale","followers_url":"https://api.github.com/users/cratervale/followers","following_url":"https://api.github.com/users/cratervale/following{/other_user}","gists_url":"https://api.github.com/users/cratervale/gists{/gist_id}","starred_url":"https://api.github.com/users/cratervale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cratervale/subscriptions","organizations_url":"https://api.github.com/users/cratervale/orgs","repos_url":"https://api.github.com/users/cratervale/repos","events_url":"https://api.github.com/users/cratervale/events{/privacy}","received_events_url":"https://api.github.com/users/cratervale/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tjwebb/sails-permissions/labels/bug","name":"bug","color":"800000"}],"state":"open","locked":false,"assignee":{"login":"tjwebb","id":1009114,"avatar_url":"https://avatars.githubusercontent.com/u/1009114?v=3","gravatar_id":"","url":"https://api.github.com/users/tjwebb","html_url":"https://github.com/tjwebb","followers_url":"https://api.github.com/users/tjwebb/followers","following_url":"https://api.github.com/users/tjwebb/following{/other_user}","gists_url":"https://api.github.com/users/tjwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/tjwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjwebb/subscriptions","organizations_url":"https://api.github.com/users/tjwebb/orgs","repos_url":"https://api.github.com/users/tjwebb/repos","events_url":"https://api.github.com/users/tjwebb/events{/privacy}","received_events_url":"https://api.github.com/users/tjwebb/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-03-23T20:13:41Z","updated_at":"2015-05-26T16:21:23Z","closed_at":null,"body":"When running `sails lift` or `sails console` I receive the following error.  Probably just a missing attribute?\r\n\r\n\r\n```\r\nverbose: Starting ORM...\r\nverbose: orm hook loaded successfully.\r\ndebug: sails-permissions: syncing waterline models\r\ndebug: sails-permissions: admin user does not exist; creating...\r\ndebug: User.afterCreate.setOwner { username: 'admin',\r\n  email: 'admin@example.com',\r\n  createdBy: 1,\r\n  owner: 1,\r\n  id: 1,\r\n  createdAt: Mon Mar 23 2015 14:39:47 GMT-0500 (CDT),\r\n  updatedAt: Mon Mar 23 2015 14:39:47 GMT-0500 (CDT) }\r\ndebug: sails-permissions: created admin user: { createdBy: 1,\r\n  owner: 1,\r\n  username: 'admin',\r\n  email: 'admin@example.com',\r\n  id: 1,\r\n  createdAt: Mon Mar 23 2015 14:39:47 GMT-0500 (CDT),\r\n  updatedAt: Mon Mar 23 2015 14:39:47 GMT-0500 (CDT) }\r\nerror: Error (E_UNKNOWN) :: Encountered an unexpected error\r\nerror: column permission.createdBy does not exist\r\n  at [object Object].Connection.parseE \r\n\r\n...\r\n\r\nDetails:  error: column permission.createdBy does not exist\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/comments/105587107","html_url":"https://github.com/tjwebb/sails-permissions/issues/30#issuecomment-105587107","issue_url":"https://api.github.com/repos/tjwebb/sails-permissions/issues/30","id":105587107,"user":{"login":"tongtwist","id":10992965,"avatar_url":"https://avatars.githubusercontent.com/u/10992965?v=3","gravatar_id":"","url":"https://api.github.com/users/tongtwist","html_url":"https://github.com/tongtwist","followers_url":"https://api.github.com/users/tongtwist/followers","following_url":"https://api.github.com/users/tongtwist/following{/other_user}","gists_url":"https://api.github.com/users/tongtwist/gists{/gist_id}","starred_url":"https://api.github.com/users/tongtwist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tongtwist/subscriptions","organizations_url":"https://api.github.com/users/tongtwist/orgs","repos_url":"https://api.github.com/users/tongtwist/repos","events_url":"https://api.github.com/users/tongtwist/events{/privacy}","received_events_url":"https://api.github.com/users/tongtwist/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T16:21:23Z","updated_at":"2015-05-26T16:21:23Z","body":"Up! Got the same error."}}