{"action":"created","issue":{"url":"https://api.github.com/repos/coastland/gsp-dba-maven-plugin/issues/44","repository_url":"https://api.github.com/repos/coastland/gsp-dba-maven-plugin","labels_url":"https://api.github.com/repos/coastland/gsp-dba-maven-plugin/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/coastland/gsp-dba-maven-plugin/issues/44/comments","events_url":"https://api.github.com/repos/coastland/gsp-dba-maven-plugin/issues/44/events","html_url":"https://github.com/coastland/gsp-dba-maven-plugin/pull/44","id":135951628,"number":44,"title":"Feature 10055","user":{"login":"tamutamu","id":1388701,"avatar_url":"https://avatars.githubusercontent.com/u/1388701?v=3","gravatar_id":"","url":"https://api.github.com/users/tamutamu","html_url":"https://github.com/tamutamu","followers_url":"https://api.github.com/users/tamutamu/followers","following_url":"https://api.github.com/users/tamutamu/following{/other_user}","gists_url":"https://api.github.com/users/tamutamu/gists{/gist_id}","starred_url":"https://api.github.com/users/tamutamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamutamu/subscriptions","organizations_url":"https://api.github.com/users/tamutamu/orgs","repos_url":"https://api.github.com/users/tamutamu/repos","events_url":"https://api.github.com/users/tamutamu/events{/privacy}","received_events_url":"https://api.github.com/users/tamutamu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-24T04:32:48Z","updated_at":"2016-02-24T04:59:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coastland/gsp-dba-maven-plugin/pulls/44","html_url":"https://github.com/coastland/gsp-dba-maven-plugin/pull/44","diff_url":"https://github.com/coastland/gsp-dba-maven-plugin/pull/44.diff","patch_url":"https://github.com/coastland/gsp-dba-maven-plugin/pull/44.patch"},"body":"- dropAll()の役割を下記のように変更。\r\n    - 指定スキーマがなければ作成する。\r\n    - 指定スキーマがあれば、空のスキーマに戻す。\r\n- createUser()の役割を下記のように変更。\r\n    - 無条件で指定ユーザを削除。\r\n    - 指定ユーザを作成します。\r\n- updateDefaultSchema()を新設しました。これはddlファイル実行前に呼び出されます。\r\n    - Postgresql、SQLServerはDDLを実行するまえに、デフォルトのスキーマやスキーマ探索パスを設定しておく必要があるため。\r\n    - 他のDBでは空実装。\r\n- その他修正\r\n    - mysqlのdropAllの処理をDROP DATABASE文に変更。\r\n    - grantAllToAnotherSchema()のメソッド名をgrantAllToUser()に変更。"},"comment":{"url":"https://api.github.com/repos/coastland/gsp-dba-maven-plugin/issues/comments/188071504","html_url":"https://github.com/coastland/gsp-dba-maven-plugin/pull/44#issuecomment-188071504","issue_url":"https://api.github.com/repos/coastland/gsp-dba-maven-plugin/issues/44","id":188071504,"user":{"login":"hariyoshi","id":7272998,"avatar_url":"https://avatars.githubusercontent.com/u/7272998?v=3","gravatar_id":"","url":"https://api.github.com/users/hariyoshi","html_url":"https://github.com/hariyoshi","followers_url":"https://api.github.com/users/hariyoshi/followers","following_url":"https://api.github.com/users/hariyoshi/following{/other_user}","gists_url":"https://api.github.com/users/hariyoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/hariyoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hariyoshi/subscriptions","organizations_url":"https://api.github.com/users/hariyoshi/orgs","repos_url":"https://api.github.com/users/hariyoshi/repos","events_url":"https://api.github.com/users/hariyoshi/events{/privacy}","received_events_url":"https://api.github.com/users/hariyoshi/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T04:59:02Z","updated_at":"2016-02-24T04:59:02Z","body":"Dialect#updateDefaultSchemaはこれだけのためにメソッド追加するべきか、悩ましいですね。\r\nDialect#grantAllToUserの責務にしても良いのではと思いました。検討をお願いします。"}}