trailsjs / trailpack-datastore

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trailpack-datastore

Note: Deprecated as of v3. See trailsjs/trailpack/datastore.js.

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

About

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

License:MIT License


Languages

Language:JavaScript 100.0%