trailpack-datastore
v2.0.0
Published
Parent to the Database Trailpacks (waterline, bookshelf, sequelize, etc)
Downloads
324
Maintainers
Readme
trailpack-datastore
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.