nexusql 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/cli.js +3075 -55
- package/dist/cli.js.map +1 -1
- package/dist/index.js +3063 -49
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/nexusql)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
5
|
|
|
6
|
-
Database migration toolkit for PostgreSQL with DBML schema support.
|
|
6
|
+
Database migration toolkit for PostgreSQL with DBML schema support and TypeScript type generation.
|
|
7
7
|
|
|
8
8
|
Generate migration SQL by comparing your DBML schema against your live database using [migra](https://github.com/djrobstep/migra).
|
|
9
9
|
|
|
@@ -15,6 +15,8 @@ npm install -g nexusql
|
|
|
15
15
|
npx nexusql
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
nexusql bundles most dependencies for seamless installation and to prevent module resolution issues across different package managers and Node.js environments.
|
|
19
|
+
|
|
18
20
|
### Prerequisites
|
|
19
21
|
|
|
20
22
|
You need to have [migra](https://github.com/djrobstep/migra) installed:
|
|
@@ -23,6 +25,8 @@ You need to have [migra](https://github.com/djrobstep/migra) installed:
|
|
|
23
25
|
pip install migra
|
|
24
26
|
```
|
|
25
27
|
|
|
28
|
+
**Note:** migra is an external Python tool used for schema diffing and must be installed separately.
|
|
29
|
+
|
|
26
30
|
## Quick Start
|
|
27
31
|
|
|
28
32
|
1. Initialize your project:
|