You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ROAD_TO_WS4SQL.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,27 @@ The version in this branch is a work in progress to slowly add features and (unf
5
5
# Changes
6
6
7
7
- SQLite is embedded via [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) and CGO. Should be way faster.
8
-
- Target platforms (because of CGO) are now 6 (`win/amd64`, `macos/amd64`, `macos/arm64`, `linux/amd64`, `linux/arm64`, `linux/arm6`)
8
+
- Target platforms (because of CGO) are now 6 (`win/amd64`, `macos/amd64`, `macos/arm64`, `linux/amd64`, `linux/arm64`, `linux/arm6`).
9
+
-[**BREAKING**] When running the app, the config files must be specified on the command line, the file paths cannot be used anymore (there). This is described in the "Migration" section below. The file path is in the config file.
10
+
- The only exception is a "simple case" to serve a file path without any config. This can be done with the new `--quick-db` parameter.
9
11
10
12
# Migration
11
13
12
-
- Nothing needed for now :-)
14
+
- For any `--db` and `--mem-db` switch that was used, an explicit YAML config file must be created. The format is the same, but there is a new section at the beginning:
15
+
```yaml
16
+
database:
17
+
type: SQLITE # Only SQLITE for now. If omitted, defaults to SQLITE
18
+
inMemory: false # If type = SQLITE. The db is a memory one? If omitted, defaults to false
19
+
path: ".../test.db"# If type = SQLITE. The db file path.
20
+
id: test # If omitted and !inMemory, calculates it from the file name (if type = SQLITE)
21
+
disableWALMode: false # If type = SQLITE. Same as before, but moved here.
22
+
readOnly: false # Same as before, but moved here.
23
+
```
13
24
14
25
# Roadmap
15
26
16
-
1. Make it mandatory to use conf files for databases
17
-
1. Support duckdb (and iron out all the incompatibilities)
18
27
1. Support mariadb/mysql
28
+
1. Support duckdb (and iron out all the incompatibilities)
0 commit comments