{"push_id":1229934457,"size":1,"distinct_size":1,"ref":"refs/heads/add-postres-schema-support","head":"fe6cd90c272530bd40d201f20bb8a3824e47074f","before":"437e74b2a7fdd207fb591e0bfbe3e1c83abf7ced","commits":[{"sha":"fe6cd90c272530bd40d201f20bb8a3824e47074f","author":{"name":"Ian Zabel","email":"668fd45181c31193793d12a7f2ecb1f2376600d1@ezabel.com"},"message":"Add support for specifying postgres schema\n\nWhen working with database schema other than `public` (the default), it\nis desirable to specify which schema to target for cleaning tables. This\nadds support for passing a `schema` property in the `postgresql` config\nargument of the `DatabaseCleaner` constructor.\n\nExample:\n\n```javascript\nvar config = {\n  postgresql: {\n    strategy: 'truncation',\n    skipTables: [],\n    schema: 'other_schema'\n  }\n};\n\ndatabaseCleaner = new DatabaseCleaner('postgresql', config);\n```\n\nWhen specifying a `schema`, _only_ the specified `schema` will be\ncleaned. When _not_ specifying a schema, _only_ the `public` schema will\nbe cleaned.","distinct":true,"url":"https://api.github.com/repos/iwz/node-database-cleaner/commits/fe6cd90c272530bd40d201f20bb8a3824e47074f"}]}
{"actor":{"display_login":"iwz"}}