Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "dbsync", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A flexible, easy-to-use, unopinionated schema migration / database change management tool.", | ||
@@ -5,0 +5,0 @@ "author": "RealtMapster, LLC", |
@@ -158,3 +158,3 @@ ## dbsync | ||
``` | ||
will will use options equivalent to the following options object: | ||
will use options equivalent to the following options object: | ||
``` | ||
@@ -206,11 +206,11 @@ { | ||
`migrationSource`: | ||
** if `migrationSource` is `undefined` or `null`, then `migrationId` is treated as a filename; otherwise, it | ||
* if `migrationSource` is `undefined` or `null`, then `migrationId` is treated as a filename; otherwise, it | ||
`migrationId` is a user-defined string id which will identify this migration. | ||
** if `migrationSource` is a string, the string will be used as the content of the migration. | ||
** if `migrationsSource` is an instance of `stream.Readable`, the data from the stream will be used as the content of | ||
* if `migrationSource` is a string, the string will be used as the content of the migration. | ||
* if `migrationsSource` is an instance of `stream.Readable`, the data from the stream will be used as the content of | ||
the migration. Note that the stream must return strings, not buffers. (If you have a stream returning buffers, you | ||
can make it return strings by calling `myStream.setEncoding(encoding)`.) | ||
** if `migrationSource` is a promise (or then-able) which resolves to a string or a readable stream, the resolved value | ||
* if `migrationSource` is a promise (or then-able) which resolves to a string or a readable stream, the resolved value | ||
will be used as described above. | ||
** if `migrationSource` is a function, the function will be called and its return value (which must be a string, | ||
* if `migrationSource` is a function, the function will be called and its return value (which must be a string, | ||
readable stream, or promise to one of those) will be used as described above. Note that the function will | ||
@@ -217,0 +217,0 @@ only be called if `migrator.shouldMigrationRun(migrationId)` resolved to `true` for `migrationId`; this makes it useful |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package