2.0.0 • Published 7 years ago

trailpack-datastore v2.0.0

Weekly downloads
53
License
MIT
Repository
github
Last release
7 years ago

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