trailpack-datastore

2.0.0 • Public • Published

trailpack-datastore

Gitter NPM version Build status Dependency Status Code Climate Follow @trailsjs on Twitter

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

Usage

Datastore Trailpacks should extend this Trailpack. For example, trailpack-waterline is implemented thus:

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 for more information on how our projects are organized and how to get started.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    52
    • latest

Version History

Package Sidebar

Install

npm i trailpack-datastore

Weekly Downloads

55

Version

2.0.0

License

MIT

Last publish

Collaborators

  • trails