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

db-versioning

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

db-versioning

An agnostic database versioning tool designed for predictable upgrading/downgrading of database schema and content

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source
  • Overview

    A database agnostic version control framework with deterministic state detection.

** How does it work?

./revisions directory. Files are sorted by a timestamp

*** Immutable update files

The contents of an update file should be hashed and (manually) saved.  When doing a rollback,
the hash can be compared to verify that the update file is indeed the same as when the update
was executed.

*** The database context

To remain completely agnostic, the database connection should be defined in the initial
configuration and passed to each method as the the context.  There will be no assumptions about
the database and no API for interacting with database objects.

*** Detect version


*** Database table design

- Version
- Activity log
- 

Keywords

FAQs

Package last updated on 27 Apr 2020

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