Repository navigation
v0.1.12
馃摝 npm package: https://www.npmjs.com/package/notifkit/v/0.1.12
What's New in v0.1.12
- Custom PostgreSQL Schema: Install notifkit into a schema other than
publicwithDB_SCHEMA(or
dbOptions.schemaonNotifkitServer), so it can share a database with an application that already ownspublic. Migrations create the schema, put every table and enum type in it, keep their own migration
journal there, and verify afterwards that every table landed in the right place. Defaults topublic, so existing installs are unaffected. See Installing into a custom PostgreSQL
schema. Thanks
@Baskins! (#5) notifkit-migrateCLI: Run migrations in production withnpx notifkit-migrate. It reads
DATABASE_URLandDB_SCHEMA, is safe to run on every deploy, and exits non-zero on failure so it can
gate a deploy. Use it instead of pointingdrizzle-kitatnode_modules/notifkit/drizzle, which ignoresDB_SCHEMA.notifkit-create-adminnow honoursDB_SCHEMA.
Warning
Don't set DB_SCHEMA on an install that already runs in public without moving its tables first, or
notifkit will start against empty tables. The README has the steps.
Install
npm install notifkit@0.1.12