mysqlsyncr 1.0.18 → 1.0.22
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 +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,7 @@ MySQLSyncr is a command-line tool for managing and comparing MySQL database stru
|
|
|
20
20
|
- **Dump**: Export the database structure to JSON files.
|
|
21
21
|
- **Compare**: Compare the current database structure with JSON dumps to identify differences.
|
|
22
22
|
- **Update**: Update the database structure based on the provided JSON definitions.
|
|
23
|
+
- **UI**: Open a web-based database browser interface.
|
|
23
24
|
- **Verbose Logging**: Enable detailed logging for debugging purposes.
|
|
24
25
|
|
|
25
26
|
## Installation
|
|
@@ -57,6 +58,7 @@ mysqlsyncr <command> [options]
|
|
|
57
58
|
- `dump`: Dumps the database structure to files.
|
|
58
59
|
- `compare`: Compares the database structure with JSON dumps (dry run).
|
|
59
60
|
- `update`: Updates the database structure based on JSON dumps.
|
|
61
|
+
- `ui`: Opens a web-based database browser in your default system browser.
|
|
60
62
|
|
|
61
63
|
### Configuration Options
|
|
62
64
|
|
|
@@ -89,6 +91,11 @@ You can configure the following options when running the commands:
|
|
|
89
91
|
mysqlsyncr update --host localhost --user root --password yourpassword
|
|
90
92
|
```
|
|
91
93
|
|
|
94
|
+
4. **Open the database browser interface**:
|
|
95
|
+
```bash
|
|
96
|
+
mysqlsyncr ui --host localhost --user root --password yourpassword
|
|
97
|
+
```
|
|
98
|
+
|
|
92
99
|
## Using MySQLSync as a Module
|
|
93
100
|
|
|
94
101
|
If you want to use MySQLSync as a module in your own Node.js application, you can require it in your code:
|