{"action":"created","issue":{"url":"https://api.github.com/repos/mirumee/saleor/issues/368","repository_url":"https://api.github.com/repos/mirumee/saleor","labels_url":"https://api.github.com/repos/mirumee/saleor/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/mirumee/saleor/issues/368/comments","events_url":"https://api.github.com/repos/mirumee/saleor/issues/368/events","html_url":"https://github.com/mirumee/saleor/issues/368","id":111405912,"number":368,"title":"Will Saleor support MySQL?","user":{"login":"imakin","id":6647566,"avatar_url":"https://avatars.githubusercontent.com/u/6647566?v=3","gravatar_id":"","url":"https://api.github.com/users/imakin","html_url":"https://github.com/imakin","followers_url":"https://api.github.com/users/imakin/followers","following_url":"https://api.github.com/users/imakin/following{/other_user}","gists_url":"https://api.github.com/users/imakin/gists{/gist_id}","starred_url":"https://api.github.com/users/imakin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imakin/subscriptions","organizations_url":"https://api.github.com/users/imakin/orgs","repos_url":"https://api.github.com/users/imakin/repos","events_url":"https://api.github.com/users/imakin/events{/privacy}","received_events_url":"https://api.github.com/users/imakin/received_events","type":"User","site_admin":false},"labels":[{"id":28192331,"url":"https://api.github.com/repos/mirumee/saleor/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mirumee/saleor/milestones/8","html_url":"https://github.com/mirumee/saleor/milestone/8","labels_url":"https://api.github.com/repos/mirumee/saleor/milestones/8/labels","id":1100059,"number":8,"title":"Improve out-of-the-box experience","description":"","creator":{"login":"patrys","id":81205,"avatar_url":"https://avatars.githubusercontent.com/u/81205?v=3","gravatar_id":"","url":"https://api.github.com/users/patrys","html_url":"https://github.com/patrys","followers_url":"https://api.github.com/users/patrys/followers","following_url":"https://api.github.com/users/patrys/following{/other_user}","gists_url":"https://api.github.com/users/patrys/gists{/gist_id}","starred_url":"https://api.github.com/users/patrys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrys/subscriptions","organizations_url":"https://api.github.com/users/patrys/orgs","repos_url":"https://api.github.com/users/patrys/repos","events_url":"https://api.github.com/users/patrys/events{/privacy}","received_events_url":"https://api.github.com/users/patrys/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":20,"state":"closed","created_at":"2015-05-07T11:44:34Z","updated_at":"2016-10-03T12:35:21Z","due_on":null,"closed_at":"2016-10-03T12:35:21Z"},"comments":7,"created_at":"2015-10-14T14:06:20Z","updated_at":"2017-01-23T11:05:10Z","closed_at":"2015-12-07T11:39:33Z","body":"hello, wanna know if saleor support MySQL. I've tested this on MySQL database but it needs some work around:\n\ndb_index in saleor.registrations.models.ExternalUserData should be changed to CharField with defined max_length\n\n```\n    service = models.CharField(db_index=True, max_length=255)\n    username = models.CharField(db_index=True, max_length=255)\n```\n\nin saleor.dashboard.product.forms.StockBulkDeleteForm there is mysql problem when it was called. (Delete action in product stock). The MySQL problem is similar to what was described here http://stackoverflow.com/questions/45494/mysql-error-1093-cant-specify-target-table-for-update-in-from-clause\n\nCan be corrected this way\n\n```\nclass StockBulkDeleteForm(forms.Form):\n    items = forms.ModelMultipleChoiceField(queryset=Stock.objects)\n\n    def delete(self):\n        items = Stock.objects.filter(pk__in=self.cleaned_data['items'])\n        for item in items:\n                item.delete()\n```\n\ni've tested the Bulkvariant delete though, no error without changing anything, still okay with `items.delete()` for bulkvariantdelete\n"},"comment":{"url":"https://api.github.com/repos/mirumee/saleor/issues/comments/274459009","html_url":"https://github.com/mirumee/saleor/issues/368#issuecomment-274459009","issue_url":"https://api.github.com/repos/mirumee/saleor/issues/368","id":274459009,"user":{"login":"artursmet","id":1754812,"avatar_url":"https://avatars.githubusercontent.com/u/1754812?v=3","gravatar_id":"","url":"https://api.github.com/users/artursmet","html_url":"https://github.com/artursmet","followers_url":"https://api.github.com/users/artursmet/followers","following_url":"https://api.github.com/users/artursmet/following{/other_user}","gists_url":"https://api.github.com/users/artursmet/gists{/gist_id}","starred_url":"https://api.github.com/users/artursmet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artursmet/subscriptions","organizations_url":"https://api.github.com/users/artursmet/orgs","repos_url":"https://api.github.com/users/artursmet/repos","events_url":"https://api.github.com/users/artursmet/events{/privacy}","received_events_url":"https://api.github.com/users/artursmet/received_events","type":"User","site_admin":false},"created_at":"2017-01-23T11:05:09Z","updated_at":"2017-01-23T11:05:09Z","body":"Hi @prashante114,\r\n\r\nSome time ago we've decided to require PotgreSQL as a database backend (https://github.com/mirumee/saleor/issues/633). We're usiing some Postgres-specific field types like JSONField. So everything should work for you if you swirch from MySQL to PostgreSQL.\r\nSaleor delivers docker-compose config, so it should be easy to setup required services without need to install anything manually."}}
{"actor":{"display_login":"artursmet"}}