Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tm-apps-db

Package Overview
Dependencies
Maintainers
10
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tm-apps-db

Apps consumer database initialiser

  • 3.2.21-SNAPSHOT-1
  • npm
  • Socket score

Version published
Weekly downloads
103
increased by635.71%
Maintainers
10
Weekly downloads
 
Created
Source

tm-apps-db

Apps backend database using the Sequalize library. See /models and /migrations.

  • index.js: provides access to the DB using Sequalize APIs
  • sync.js: command-line tool to init/synchronize the DB models.

Docs

In order to view or generate an entity diagram of the database, go to ./db/docs/ and follow the instructions.

Migrations

Information on using the Sequelize CLI to perform database migrations can be viewed here: http://docs.sequelizejs.com/en/latest/docs/migrations/

To perform migrations then run

$ npm run migrate

Migrations can be reversed by running

$ npm run migrate:undo

Read more in MIGRATIONS.md

TODOs

  • Drone pipeline
  • AWS cloudformation
  • Remove DB credentials from aws/database.yml, get them from SSM or Drone envs

FAQs

Package last updated on 05 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc