{"library":"bookshelf-schema","type":"library","category":null,"description":"A Bookshelf ORM plugin that adds declarative schema definitions including fields, relations, scopes, and validations directly on model classes. Version 0.3.6 (stable, last release likely 2018) is compatible with Bookshelf >=0.8.2 <0.11. Unlike bookshelf-fields, this plugin integrates fields, relations, and scopes into a single schema definition. Documentation is hosted on ReadTheDocs. Note: Bookshelf itself is largely unmaintained, and this plugin has not seen updates in years, making it risky for new projects.","language":"javascript","status":"deprecated","version":"0.3.6","tags":["javascript","bookshelf","orm"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install bookshelf-schema","imports":["import bookshelfSchema from 'bookshelf-schema'; bookshelf.plugin(bookshelfSchema());","import { EmailField, EncryptedStringField, BooleanField, HasMany, Scope } from 'bookshelf-schema';","bookshelf.plugin(require('bookshelf-schema')());"]},{"cmd":"yarn add bookshelf-schema","imports":[]},{"cmd":"pnpm add bookshelf-schema","imports":[]}],"homepage":"https://github.com/bogus34/bookshelf-schema#readme","github":"https://github.com/bogus34/bookshelf-schema","docs":null,"changelog":null,"pypi":null,"npm":"bookshelf-schema","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}