# trailpack-datastore

> Parent to the Database Trailpacks (waterline, bookshelf, sequelize, etc)

Latest version **2.0.0** (published 2016-12-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install trailpack-datastore
pnpm add trailpack-datastore
yarn add trailpack-datastore
bun add trailpack-datastore
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2016-12-30 |
| First published | 2016-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Trails.js Team |
| Maintainers | trails |
| Keywords | trails, trailsjs, datastore, orm, persistence, waterline, bookshelf, sequelize, datastore |

## Links

- npm: https://www.npmjs.com/package/trailpack-datastore
- Repository: https://github.com/trailsjs/trailpack-datastore
- Homepage: https://github.com/trailsjs/trailpack-datastore#readme
- Issues: https://github.com/trailsjs/trailpack-datastore/issues
- npm.io page: https://npm.io/package/trailpack-datastore

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^4.17.3
- [trailpack](https://npm.io/package/trailpack.md) ^2.1.0
- [trails-service](https://npm.io/package/trails-service.md) ^2.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2016-12-30
- 1.0.2 — 2016-06-29
- 1.0.1 — 2016-05-12
- 1.0.0 — 2016-02-02
- 1.0.0-alpha-2 — 2016-01-25
- 1.0.0-alpha-1 — 2016-01-17
- 0.0.5 — 2016-01-10
- 0.0.4 — 2016-01-10

## README

# trailpack-datastore

[![Gitter][gitter-image]][gitter-url]
[![NPM version][npm-image]][npm-url]
[![Build status][ci-image]][ci-url]
[![Dependency Status][daviddm-image]][daviddm-url]
[![Code Climate][codeclimate-image]][codeclimate-url]
[![Follow @trailsjs on Twitter][twitter-image]][twitter-url]

Parent to the Datastore Trailpacks (waterline, bookshelf, sequelize, etc).

## Usage
Datastore Trailpacks should extend this Trailpack. For example, [trailpack-waterline](https://github.com/trailsjs/trailpack-waterline)
is implemented thus:

```js
const DatastoreTrailpack = require('trailpack-datastore')
class WaterlineTrailpack extends DatastoreTrailpack {
  // ...
}
```

## Configuration

### `migrate`

#### `none`
Do not perform any schema migration.

#### `create`
Create any new tables/columns, but do not alter any existing tables or columns.

#### `alter`
Alter the schema to match the new schema of the Models.

#### `drop`
Drop all tables and re-create them.

## Contributing
We love contributions! Please check out our [Contributor's Guide](https://github.com/trailsjs/trails/blob/master/CONTRIBUTING.md) for more
information on how our projects are organized and how to get started.

## License
[MIT](https://github.com/trailsjs/trailpack-datastore/blob/master/LICENSE)

[npm-image]: https://img.shields.io/npm/v/trailpack-datastore.svg?style=flat-square
[npm-url]: https://npmjs.org/package/trailpack-datastore
[ci-image]: https://img.shields.io/travis/trailsjs/trailpack-datastore/master.svg?style=flat-square
[ci-url]: https://travis-ci.org/trailsjs/trailpack-datastore
[daviddm-image]: http://img.shields.io/david/trailsjs/trailpack-datastore.svg?style=flat-square
[daviddm-url]: https://david-dm.org/trailsjs/trailpack-datastore
[codeclimate-image]: https://img.shields.io/codeclimate/github/trailsjs/trailpack-datastore.svg?style=flat-square
[codeclimate-url]: https://codeclimate.com/github/trailsjs/trailpack-datastore
[gitter-image]: http://img.shields.io/badge/+%20GITTER-JOIN%20CHAT%20%E2%86%92-1DCE73.svg?style=flat-square
[gitter-url]: https://gitter.im/trailsjs/trails
[twitter-image]: https://img.shields.io/twitter/follow/trailsjs.svg?style=social
[twitter-url]: https://twitter.com/trailsjs

---
_Source: https://npm.io/package/trailpack-datastore · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
