sqlew 4.0.1 → 4.0.3

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.
Files changed (109) hide show
  1. package/CHANGELOG.md +127 -0
  2. package/README.md +29 -113
  3. package/assets/claude-md-snippets/plan-mode-integration.md +13 -0
  4. package/assets/sample-commands/sqlew.md +144 -0
  5. package/assets/sample-skills/sqlew-plan-guidance/SKILL.md +55 -0
  6. package/dist/cli/db-dump.d.ts +4 -0
  7. package/dist/cli/db-dump.d.ts.map +1 -1
  8. package/dist/cli/db-dump.js +89 -114
  9. package/dist/cli/db-dump.js.map +1 -1
  10. package/dist/cli/db-export.d.ts +1 -0
  11. package/dist/cli/db-export.d.ts.map +1 -1
  12. package/dist/cli/db-export.js +46 -80
  13. package/dist/cli/db-export.js.map +1 -1
  14. package/dist/cli/db-import.d.ts +1 -0
  15. package/dist/cli/db-import.d.ts.map +1 -1
  16. package/dist/cli/db-import.js +52 -90
  17. package/dist/cli/db-import.js.map +1 -1
  18. package/dist/cli.d.ts +10 -1
  19. package/dist/cli.d.ts.map +1 -1
  20. package/dist/cli.js +57 -59
  21. package/dist/cli.js.map +1 -1
  22. package/dist/database/migrations/v4/20251127000002_v4_seed_help_system.d.ts.map +1 -1
  23. package/dist/database/migrations/v4/20251127000002_v4_seed_help_system.js +7 -4
  24. package/dist/database/migrations/v4/20251127000002_v4_seed_help_system.js.map +1 -1
  25. package/dist/database/operations/inserts.d.ts.map +1 -1
  26. package/dist/database/operations/inserts.js +7 -0
  27. package/dist/database/operations/inserts.js.map +1 -1
  28. package/dist/index.d.ts +4 -0
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +70 -48
  31. package/dist/index.js.map +1 -1
  32. package/dist/init-commands.d.ts +5 -2
  33. package/dist/init-commands.d.ts.map +1 -1
  34. package/dist/init-commands.js +36 -175
  35. package/dist/init-commands.js.map +1 -1
  36. package/dist/init-skills.d.ts +19 -0
  37. package/dist/init-skills.d.ts.map +1 -0
  38. package/dist/init-skills.js +104 -0
  39. package/dist/init-skills.js.map +1 -0
  40. package/dist/server/setup.d.ts.map +1 -1
  41. package/dist/server/setup.js +9 -0
  42. package/dist/server/setup.js.map +1 -1
  43. package/dist/tests/database/testing-config.d.ts +4 -0
  44. package/dist/tests/database/testing-config.d.ts.map +1 -1
  45. package/dist/tests/database/testing-config.js +1 -1
  46. package/dist/tests/database/testing-config.js.map +1 -1
  47. package/dist/tests/docker/native/test-harness.d.ts +56 -1
  48. package/dist/tests/docker/native/test-harness.d.ts.map +1 -1
  49. package/dist/tests/docker/native/test-harness.js +221 -5
  50. package/dist/tests/docker/native/test-harness.js.map +1 -1
  51. package/dist/tests/unit/case-insensitive-validator.test.d.ts +14 -0
  52. package/dist/tests/unit/case-insensitive-validator.test.d.ts.map +1 -0
  53. package/dist/tests/unit/case-insensitive-validator.test.js +390 -0
  54. package/dist/tests/unit/case-insensitive-validator.test.js.map +1 -0
  55. package/dist/tests/unit/utils/case-insensitive-validator.test.d.ts +2 -0
  56. package/dist/tests/unit/utils/case-insensitive-validator.test.d.ts.map +1 -0
  57. package/dist/tests/unit/utils/case-insensitive-validator.test.js +97 -0
  58. package/dist/tests/unit/utils/case-insensitive-validator.test.js.map +1 -0
  59. package/dist/tools/context/actions/create-policy.d.ts.map +1 -1
  60. package/dist/tools/context/actions/create-policy.js +5 -1
  61. package/dist/tools/context/actions/create-policy.js.map +1 -1
  62. package/dist/tools/tasks/actions/get.d.ts.map +1 -1
  63. package/dist/tools/tasks/actions/get.js +1 -4
  64. package/dist/tools/tasks/actions/get.js.map +1 -1
  65. package/dist/tools/tasks/internal/task-queries.d.ts.map +1 -1
  66. package/dist/tools/tasks/internal/task-queries.js +2 -8
  67. package/dist/tools/tasks/internal/task-queries.js.map +1 -1
  68. package/dist/types.d.ts +10 -6
  69. package/dist/types.d.ts.map +1 -1
  70. package/dist/utils/case-insensitive-validator.d.ts +102 -0
  71. package/dist/utils/case-insensitive-validator.d.ts.map +1 -0
  72. package/dist/utils/case-insensitive-validator.js +144 -0
  73. package/dist/utils/case-insensitive-validator.js.map +1 -0
  74. package/dist/utils/exporter/export.d.ts +22 -7
  75. package/dist/utils/exporter/export.d.ts.map +1 -1
  76. package/dist/utils/exporter/export.js +33 -49
  77. package/dist/utils/exporter/export.js.map +1 -1
  78. package/dist/utils/importer/import.js +64 -27
  79. package/dist/utils/importer/import.js.map +1 -1
  80. package/dist/utils/importer/master-tables.d.ts +3 -1
  81. package/dist/utils/importer/master-tables.d.ts.map +1 -1
  82. package/dist/utils/importer/master-tables.js +7 -29
  83. package/dist/utils/importer/master-tables.js.map +1 -1
  84. package/dist/utils/sql-dump/core/generate-dump.d.ts.map +1 -1
  85. package/dist/utils/sql-dump/core/generate-dump.js +25 -5
  86. package/dist/utils/sql-dump/core/generate-dump.js.map +1 -1
  87. package/dist/utils/sql-dump/core/index-export.d.ts +3 -2
  88. package/dist/utils/sql-dump/core/index-export.d.ts.map +1 -1
  89. package/dist/utils/sql-dump/core/index-export.js +9 -9
  90. package/dist/utils/sql-dump/core/index-export.js.map +1 -1
  91. package/dist/utils/sql-dump/schema/indexes.d.ts +14 -0
  92. package/dist/utils/sql-dump/schema/indexes.d.ts.map +1 -1
  93. package/dist/utils/sql-dump/schema/indexes.js +81 -15
  94. package/dist/utils/sql-dump/schema/indexes.js.map +1 -1
  95. package/dist/utils/sql-dump/schema/tables.d.ts +4 -1
  96. package/dist/utils/sql-dump/schema/tables.d.ts.map +1 -1
  97. package/dist/utils/sql-dump/schema/tables.js +81 -51
  98. package/dist/utils/sql-dump/schema/tables.js.map +1 -1
  99. package/docs/SLASH_COMMANDS.md +192 -478
  100. package/docs/SPECIALIZED_AGENTS.md +81 -43
  101. package/docs/cli/DATABASE_MIGRATION.md +62 -58
  102. package/docs/cli/DATA_EXPORT_IMPORT.md +403 -103
  103. package/docs/cli/README.md +95 -45
  104. package/package.json +4 -6
  105. package/assets/sample-commands/sqw-documentor.md +0 -204
  106. package/assets/sample-commands/sqw-plan.md +0 -348
  107. package/assets/sample-commands/sqw-research.md +0 -359
  108. package/assets/sample-commands/sqw-review.md +0 -377
  109. package/assets/sample-commands/sqw-scrum.md +0 -457
@@ -1,88 +1,126 @@
1
- # Specialized Agents for sqlew
1
+ # Specialized Agents (Deprecated)
2
2
 
3
- Claude Code agents that leverage sqlew's context management for development workflows.
3
+ **Status**: Deprecated as of v4.1.0 - Replaced by unified `/sqlew` command
4
4
 
5
- ## Usage
5
+ This document is kept for reference. For current usage, see [SLASH_COMMANDS.md](SLASH_COMMANDS.md).
6
6
 
7
- Agents are **automatically invoked via slash commands**. See [SLASH_COMMANDS.md](SLASH_COMMANDS.md) for the standard workflow:
7
+ ---
8
8
 
9
- ```
10
- /sqw-plan → /sqw-scrum → /sqw-review
11
- ```
9
+ ## Migration to /sqlew Command
12
10
 
13
- Direct invocation is also available with the `@` prefix:
11
+ As of v4.1.0, the custom agent system has been superseded by the unified `/sqlew` command with automatic intent detection.
12
+
13
+ ### Old Approach (v4.0 and earlier)
14
14
 
15
15
  ```bash
16
+ # Custom agents
16
17
  @sqlew-scrum-master "Create sprint plan"
17
18
  @sqlew-researcher "Find auth decisions"
18
19
  @sqlew-architect "Document OAuth2 decision"
19
20
  ```
20
21
 
21
- ---
22
+ ### New Approach (v4.1.0+)
22
23
 
23
- ## Available Agents
24
-
25
- | Agent | Role | Model | Slash Command |
26
- |-------|------|-------|---------------|
27
- | **Scrum Master** | Task coordination, sprint planning, dependency management | Sonnet | `/sqw-scrum`, `/sqw-plan` |
28
- | **Researcher** | Query history, analyze patterns, find related decisions | Sonnet | `/sqw-research`, `/sqw-review` |
29
- | **Architect** | Document decisions, create constraints, validate compliance | Sonnet | `/sqw-documentor`, `/sqw-secretary`, `/sqw-plan`, `/sqw-review` |
24
+ ```bash
25
+ # Unified command with intent detection
26
+ /sqlew plan sprint implementation
27
+ /sqlew search for auth decisions
28
+ /sqlew record OAuth2 decision for authentication
29
+ ```
30
30
 
31
31
  ---
32
32
 
33
- ## Agent Roles
33
+ ## Historical Agent System
34
34
 
35
- ### Scrum Master (`sqlew-scrum-master`)
35
+ For reference, the v4.0.0 system included:
36
36
 
37
- **Purpose**: Multi-agent coordination, task management, sprint planning
37
+ | Agent | Role | Purpose |
38
+ |-------|------|---------|
39
+ | **Scrum Master** | Task coordination, sprint planning | Multi-agent task coordination |
40
+ | **Researcher** | Query history, analyze patterns | Decision and constraint queries |
41
+ | **Architect** | Document decisions, enforce constraints | Architectural decision documentation |
38
42
 
39
- - Creates tasks with dependencies
40
- - Coordinates parallel work
41
- - Tracks sprint progress
42
- - Detects stale tasks and blockers
43
+ ### Why the Change?
43
44
 
44
- ### Researcher (`sqlew-researcher`)
45
+ 1. **Unified Interface**: Single `/sqlew` command instead of remembering three agent names
46
+ 2. **Automatic Intent Detection**: Command analyzes input and selects appropriate MCP tool
47
+ 3. **Natural Language**: No need to know about "agents" - just describe what you want
48
+ 4. **Better Discoverability**: One command in autocomplete instead of three agent references
49
+ 5. **Token Efficiency**: Reduced context overhead from agent system
45
50
 
46
- **Purpose**: Query historical context, analyze patterns
51
+ ---
47
52
 
48
- - Searches decisions by tags, layers, keys
49
- - Retrieves constraint rationale
50
- - Cross-references decisions ↔ tasks ↔ files
51
- - Tracks decision version history
53
+ ## Current Architecture (v4.1.0+)
52
54
 
53
- ### Architect (`sqlew-architect`)
55
+ The `/sqlew` command provides all the functionality of the previous agent system:
54
56
 
55
- **Purpose**: Document decisions, enforce constraints
57
+ - **Intent Analysis** (replaces agent role selection)
58
+ - **MCP Tool Invocation** (replaces direct agent calls)
59
+ - **Automatic Routing** (replaces manual agent selection)
56
60
 
57
- - Creates rich decision records (rationale, alternatives, tradeoffs)
58
- - Establishes constraints linked to decisions
59
- - Validates architectural compliance
60
- - Uses decision-making frameworks
61
+ See [SLASH_COMMANDS.md](SLASH_COMMANDS.md) for current usage patterns.
61
62
 
62
63
  ---
63
64
 
64
- ## Configuration
65
+ ## Configuration (Legacy - Not Used in v4.1.0+)
65
66
 
66
- Agents are configured in `.sqlew/config.toml`:
67
+ The following configuration was used in v4.0 and is no longer applicable:
67
68
 
68
69
  ```toml
70
+ # DEPRECATED - v4.0.0 and earlier
69
71
  [agents]
70
72
  scrum_master = true
71
73
  researcher = true
72
74
  architect = true
73
75
  ```
74
76
 
75
- **Recommendation**: Use all three agents. They are complementary specialists designed to work together via slash commands.
77
+ All agent functionality is now handled by the `/sqlew` command with no additional configuration needed.
76
78
 
77
79
  ---
78
80
 
79
81
  ## Related Documentation
80
82
 
81
- - [SLASH_COMMANDS.md](SLASH_COMMANDS.md) - Standard workflow with slash commands
82
- - [TASK_OVERVIEW.md](TASK_OVERVIEW.md) - Task management overview
83
- - [DECISION_CONTEXT.md](DECISION_CONTEXT.md) - Decision documentation
83
+ - [SLASH_COMMANDS.md](SLASH_COMMANDS.md) - Current `/sqlew` command documentation
84
+ - [TOOL_REFERENCE.md](TOOL_REFERENCE.md) - MCP tools (underlying infrastructure)
85
+ - [AI_AGENT_GUIDE.md](AI_AGENT_GUIDE.md) - Guidelines for AI agents using sqlew
86
+
87
+ ---
88
+
89
+ ## Legacy Reference
90
+
91
+ ### Scrum Master (Historical)
92
+
93
+ **Purpose**: Multi-agent coordination, task management, sprint planning
94
+
95
+ Provided by `/sqlew` commands:
96
+ ```bash
97
+ /sqlew plan <feature> # Replace: /sqw-scrum plan
98
+ /sqlew execute # Replace: /sqw-scrum implement
99
+ ```
100
+
101
+ ### Researcher (Historical)
102
+
103
+ **Purpose**: Query historical context, analyze patterns
104
+
105
+ Provided by `/sqlew` commands:
106
+ ```bash
107
+ /sqlew search <topic> # Replace: /sqw-research
108
+ ```
109
+
110
+ ### Architect (Historical)
111
+
112
+ **Purpose**: Document decisions, enforce constraints
113
+
114
+ Provided by `/sqlew` commands:
115
+ ```bash
116
+ /sqlew record <decision> # Replace: /sqw-secretary
117
+ /sqlew update <decision> # Replaces modifications
118
+ ```
84
119
 
85
120
  ---
86
121
 
87
- **Version:** 4.0.0
88
- **Last Updated:** 2025-11-27
122
+ **Version**: 4.1.0
123
+ **Status**: Deprecated
124
+ **Last Updated**: 2025-12-04
125
+
126
+ See [SLASH_COMMANDS.md](SLASH_COMMANDS.md) for current documentation.
@@ -1,99 +1,101 @@
1
1
  # Database Migration Guide
2
2
 
3
- This guide explains how to generate complete SQL dumps from your mcp-sqlew database for use with SQLite, MySQL/MariaDB,
4
- or PostgreSQL.
3
+ This guide explains how to generate complete SQL dumps from your mcp-sqlew database for backup and restore operations.
5
4
 
6
- ## Overview
7
-
8
- The `db:dump` CLI tool generates complete SQL dumps (CREATE TABLE + INSERT statements) compatible with SQLite,
9
- MySQL/MariaDB, and PostgreSQL formats. The generated SQL can be imported directly into an empty database without
10
- additional setup.
5
+ ## ⚠️ BREAKING CHANGE (v4.0.2)
11
6
 
12
- ## Installation
7
+ **SQL dump no longer supports cross-database format conversion.**
13
8
 
14
- To use the `db:dump` CLI command, install sqlew in your project:
9
+ Starting from v4.0.2, `db:dump` generates SQL for the **same database type only**:
10
+ - SQLite → SQLite ✅
11
+ - MySQL → MySQL ✅
12
+ - PostgreSQL → PostgreSQL ✅
13
+ - SQLite → MySQL ❌ (use JSON instead)
14
+ - SQLite → PostgreSQL ❌ (use JSON instead)
15
15
 
16
+ **For cross-database migrations**, use JSON export/import:
16
17
  ```bash
17
- cd /path/to/your/project
18
- npm install sqlew
18
+ npx sqlew db:export backup.json # Export to JSON
19
+ npx sqlew db:import backup.json # Import to target database
19
20
  ```
20
21
 
21
- **Tip**: Add a shortcut to your `package.json` for convenience:
22
+ See [DATA_EXPORT_IMPORT.md](DATA_EXPORT_IMPORT.md) for complete cross-database migration guide.
22
23
 
23
- ```json
24
- {
25
- "scripts": {
26
- "sqlew": "node node_modules/sqlew/dist/cli.js"
27
- }
28
- }
29
- ```
24
+ ---
30
25
 
31
- Then you can use: `npm run sqlew db:dump --format=mysql --output=dump.sql`
26
+ ## Overview
27
+
28
+ The `db:dump` CLI tool generates complete SQL dumps (CREATE TABLE + INSERT statements) for **same-database-type backup and restore operations**. The generated SQL can be imported directly into an empty database of the same type.
32
29
 
33
30
  ## Usage
34
31
 
35
- ### Basic Syntax
32
+ **No installation required!** Use directly via npx:
36
33
 
37
34
  ```bash
38
- node node_modules/sqlew/dist/cli.js db:dump [--from <source>] --format <target> [options]
35
+ npx sqlew db:dump <format> [output-file] [key=value ...]
39
36
  ```
40
37
 
41
38
  **Parameters:**
42
39
 
43
- - `--from <source>`: Source database (sqlite, mysql, postgresql). Default: sqlite
44
- - `--format <target>`: Target SQL format (sqlite, mysql, postgresql). **Required**
45
- - `--output <file>`: Output file path (omit for stdout)
46
- - `--tables <list>`: Comma-separated list of specific tables to dump
47
- - `--chunk-size <n>`: Rows per INSERT statement (default: 100)
48
- - `--on-conflict <mode>`: Duplicate key handling (error, ignore, replace). Default: error
49
- - `--exclude-schema`: Exclude CREATE TABLE statements (data-only dump)
50
- - `--db-path <path>`: SQLite database path (default: .sqlew/sqlew.db)
40
+ | Parameter | Description | Default |
41
+ |-----------|-------------|---------|
42
+ | `<format>` | Target SQL format: sqlite, mysql, postgresql | **Required** |
43
+ | `[output-file]` | Output file path | stdout |
44
+ | `from=<source>` | Source database type | sqlite |
45
+ | `tables=<list>` | Comma-separated table names | all tables |
46
+ | `chunk-size=<n>` | Rows per INSERT statement | 100 |
47
+ | `on-conflict=<mode>` | error, ignore, replace | error |
48
+ | `exclude-schema=true` | Data-only dump (no CREATE TABLE) | false |
49
+ | `db-path=<path>` | SQLite database path | .sqlew/sqlew.db |
51
50
 
52
51
  **Note:** By default, the dump includes both schema (CREATE TABLE) and data (INSERT) for complete migration.
53
52
 
54
- ### Generate SQL Dumps
53
+ ### Generate SQL Dumps (Same-Database Backup)
55
54
 
56
- **From SQLite (default):**
55
+ **SQLite Backup:**
57
56
 
58
57
  ```bash
59
- node node_modules/sqlew/dist/cli.js db:dump --format mysql --output dump-mysql.sql
60
- node node_modules/sqlew/dist/cli.js db:dump --format postgresql --output dump-pg.sql
58
+ # Backup SQLite database (default)
59
+ npx sqlew db:dump sqlite backup-sqlite.sql
61
60
  ```
62
61
 
63
- **From MySQL:**
62
+ **MySQL Backup:**
64
63
 
65
64
  ```bash
66
- # Configure connection via environment variables
65
+ # Configure connection via .sqlew/config.toml or environment variables
67
66
  export MYSQL_HOST=127.0.0.1
68
67
  export MYSQL_PORT=3306
69
68
  export MYSQL_USER=youruser
70
69
  export MYSQL_PASSWORD=yourpass
71
70
  export MYSQL_DATABASE=mcp_context
72
71
 
73
- node node_modules/sqlew/dist/cli.js db:dump --from mysql --format sqlite --output dump-sqlite.sql
74
- node node_modules/sqlew/dist/cli.js db:dump --from mysql --format postgresql --output dump-pg.sql
72
+ # Backup MySQL database
73
+ npx sqlew db:dump mysql backup-mysql.sql from=mysql
75
74
  ```
76
75
 
77
- **From PostgreSQL:**
76
+ **PostgreSQL Backup:**
78
77
 
79
78
  ```bash
80
- # Configure connection via environment variables
79
+ # Configure connection via .sqlew/config.toml or environment variables
81
80
  export PG_HOST=localhost
82
81
  export PG_PORT=5432
83
82
  export PG_USER=postgres
84
83
  export PG_PASSWORD=yourpass
85
84
  export PG_DATABASE=mcp_context
86
85
 
87
- node node_modules/sqlew/dist/cli.js db:dump --from postgresql --format sqlite --output dump-sqlite.sql
88
- node node_modules/sqlew/dist/cli.js db:dump --from postgresql --format mysql --output dump-mysql.sql
86
+ # Backup PostgreSQL database
87
+ npx sqlew db:dump postgresql backup-pg.sql from=postgresql
89
88
  ```
90
89
 
90
+ > **Note**: For cross-database migrations (e.g., SQLite → MySQL), use JSON export/import instead.
91
+ > See [DATA_EXPORT_IMPORT.md](DATA_EXPORT_IMPORT.md) for the complete guide.
92
+
91
93
  ### Selective Table Export
92
94
 
93
95
  Export only specific tables:
94
96
 
95
97
  ```bash
96
- node node_modules/sqlew/dist/cli.js db:dump --format mysql --tables t_decisions,t_tasks,m_agents --output partial.sql
98
+ npx sqlew db:dump mysql partial.sql tables=v4_decisions,v4_tasks,v4_files
97
99
  ```
98
100
 
99
101
  ### Custom Chunk Size
@@ -101,7 +103,7 @@ node node_modules/sqlew/dist/cli.js db:dump --format mysql --tables t_decisions,
101
103
  For large tables, adjust INSERT batch size:
102
104
 
103
105
  ```bash
104
- node node_modules/sqlew/dist/cli.js db:dump --format mysql --chunk-size 500 --output dump.sql
106
+ npx sqlew db:dump mysql dump.sql chunk-size=500
105
107
  ```
106
108
 
107
109
  ### Data-Only Dumps
@@ -109,7 +111,7 @@ node node_modules/sqlew/dist/cli.js db:dump --format mysql --chunk-size 500 --ou
109
111
  For advanced use cases where you manage schema separately:
110
112
 
111
113
  ```bash
112
- node node_modules/sqlew/dist/cli.js db:dump --format mysql --exclude-schema --output data-only.sql
114
+ npx sqlew db:dump mysql data-only.sql exclude-schema=true
113
115
  ```
114
116
 
115
117
  This generates INSERT statements without CREATE TABLE, useful for:
@@ -124,13 +126,13 @@ Handle duplicate keys when importing into existing databases:
124
126
 
125
127
  ```bash
126
128
  # Ignore duplicates (safe for adding new data)
127
- node node_modules/sqlew/dist/cli.js db:dump --format mysql --on-conflict ignore --output dump.sql
129
+ npx sqlew db:dump mysql dump.sql on-conflict=ignore
128
130
 
129
131
  # Update existing rows (sync/overwrite mode)
130
- node node_modules/sqlew/dist/cli.js db:dump --format mysql --on-conflict replace --output dump.sql
132
+ npx sqlew db:dump mysql dump.sql on-conflict=replace
131
133
 
132
134
  # Fail on duplicates (default, strict mode)
133
- node node_modules/sqlew/dist/cli.js db:dump --format mysql --on-conflict error --output dump.sql
135
+ npx sqlew db:dump mysql dump.sql on-conflict=error
134
136
  ```
135
137
 
136
138
  **Modes:**
@@ -147,18 +149,20 @@ node node_modules/sqlew/dist/cli.js db:dump --format mysql --on-conflict error -
147
149
 
148
150
  ---
149
151
 
150
- ## Supported Migration Paths
152
+ ## Supported Operations (v4.0.2+)
153
+
154
+ The `db:dump` tool supports **same-database-type backup and restore** only:
151
155
 
152
- The `db:dump` tool supports **all 6 migration paths** between SQLite, MySQL/MariaDB, and PostgreSQL:
156
+ | Source | Target | Command | Supported |
157
+ |------------|------------|----------------------------------------------|-----------|
158
+ | SQLite | SQLite | `--format sqlite` | ✅ |
159
+ | MySQL | MySQL | `--from mysql --format mysql` | ✅ |
160
+ | PostgreSQL | PostgreSQL | `--from postgresql --format postgresql` | ✅ |
161
+ | SQLite | MySQL | N/A - Use JSON export/import | ❌ |
162
+ | SQLite | PostgreSQL | N/A - Use JSON export/import | ❌ |
163
+ | MySQL | PostgreSQL | N/A - Use JSON export/import | ❌ |
153
164
 
154
- | Source | Target | Command |
155
- |------------|------------|-------------------------------------|
156
- | SQLite | MySQL | `--format mysql` |
157
- | SQLite | PostgreSQL | `--format postgresql` |
158
- | MySQL | SQLite | `--from mysql --format sqlite` |
159
- | PostgreSQL | SQLite | `--from postgresql --format sqlite` |
160
- | MySQL | PostgreSQL | `--from mysql --format postgresql` |
161
- | PostgreSQL | MySQL | `--from postgresql --format mysql` |
165
+ **For cross-database migrations**, see [DATA_EXPORT_IMPORT.md](DATA_EXPORT_IMPORT.md).
162
166
 
163
167
  ---
164
168