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

@contember/database-migrations

Package Overview
Dependencies
Maintainers
5
Versions
247
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/database-migrations - npm Package Compare versions

Comparing version 0.8.0-alpha.1 to 0.8.0-alpha.2

2

dist/src/MigrationsRunner.js

@@ -29,2 +29,3 @@ "use strict";

log: (msg) => {
// eslint-disable-next-line no-console
log && console.log(msg);

@@ -38,2 +39,3 @@ },

if (result.rowCount === 0) {
// eslint-disable-next-line no-console
console.warn(`Database ${this.db.database} does not exist, attempting to create it...`);

@@ -40,0 +42,0 @@ await connection.query(`CREATE DATABASE ${database_1.wrapIdentifier(this.db.database)}`);

6

package.json
{
"name": "@contember/database-migrations",
"version": "0.8.0-alpha.1",
"version": "0.8.0-alpha.2",
"license": "Apache-2.0",

@@ -8,3 +8,3 @@ "main": "dist/src/index.js",

"dependencies": {
"@contember/database": "^0.8.0-alpha.1",
"@contember/database": "^0.8.0-alpha.2",
"node-pg-migrate": "^4.8.0"

@@ -19,3 +19,3 @@ },

},
"gitHead": "c20d28db4163768b7e479fabf8ffb2d15a7fc153"
"gitHead": "dfc666f11f4d24a67b260bf57f62b420657d51c2"
}

@@ -28,2 +28,3 @@ import { DatabaseCredentials, Connection, wrapIdentifier } from '@contember/database'

log: (msg: string) => {
// eslint-disable-next-line no-console
log && console.log(msg)

@@ -39,2 +40,3 @@ },

if (result.rowCount === 0) {
// eslint-disable-next-line no-console
console.warn(`Database ${this.db.database} does not exist, attempting to create it...`)

@@ -41,0 +43,0 @@ await connection.query(`CREATE DATABASE ${wrapIdentifier(this.db.database)}`)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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