Skip to content

flashflashrevolution/lib-database-entities

Database Entities

code style: eslint

Generating Migrations

  1. Create ormconfig.production and fill out database credentials. (Do not submit.)

  2. npm run typeorm migration:generate -- --name initialize --connection patreon --config ormconfig.production
  3. Commit the migration.

Running Migrations

npm run typeorm migration:run -- --connection patreon --config ormconfig.production

Setting up NPM

npm login --registry=https://npm.pkg.github.com --scope=flashflashrevolution
# username (lowercase)
# access token (https://github.com/settings/tokens, admin:org, delete:packages, repo, write:packages)
# github email

Publishing package

# npm version -h # For details on patch level options.
npm version patch -m "Update comment."
npm publish

About

Collection of typeorm entiries and migrations for FFR projects.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages