Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

When running in air, just specify the data directory under .air

天舟53bfcf004daf
diff --git a/.air.toml b/.air.toml
index ef26af5e1f..95c757c007 100644
--- a/.air.toml
+++ b/.air.toml
@@ -2,7 +2,7 @@ root = "."
tmp_dir = ".air"
[build]
- bin = "./.air/bytebase --port 8080 --data ./data"
+ bin = "./.air/bytebase --port 8080 --data ."
cmd = "go build -o ./.air/bytebase ./bin/server/main.go"
delay = 1000
exclude_dir = [".air", "vendor", "frontend"]
diff --git a/.air_debug.toml b/.air_debug.toml
index fabbc81758..68274d4e4e 100644
--- a/.air_debug.toml
+++ b/.air_debug.toml
@@ -2,7 +2,7 @@ root = "."
tmp_dir = ".air"
[build]
- bin = "./.air/bytebase --port 8080 --debug --data ./data"
+ bin = "./.air/bytebase --port 8080 --debug --data ."
cmd = "go build --tags \"sqlite_trace\" -o ./.air/bytebase ./bin/server/main.go"
delay = 1000
exclude_dir = [".air", "vendor", "frontend"]
diff --git a/.air_demo.toml b/.air_demo.toml
index 2100792823..4c9795e460 100644
--- a/.air_demo.toml
+++ b/.air_demo.toml
@@ -2,7 +2,7 @@ root = "."
tmp_dir = ".air"
[build]
- bin = "./.air/bytebase --demo --port 8080 --data ./data"
+ bin = "./.air/bytebase --demo --port 8080 --data ."
cmd = "go build -o ./.air/bytebase ./bin/server/main.go"
delay = 1000
exclude_dir = [".air", "vendor", "frontend"]