We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05fecc5 commit afff5faCopy full SHA for afff5fa
2 files changed
internal/cmd/db_show.go
@@ -94,6 +94,10 @@ var showCmd = &cobra.Command{
94
fmt.Println("Size: ", humanize.Bytes(dbUsage.Usage.StorageBytesUsed))
95
fmt.Println("Sleeping: ", formatBool(db.Sleeping))
96
fmt.Println("Bytes Synced: ", humanize.Bytes(dbUsage.Usage.BytesSynced))
97
+ fmt.Println("Is Schema: ", formatBool(db.IsSchema))
98
+ if db.Schema != "" {
99
+ fmt.Println("Parent DB ID: ", db.Schema)
100
+ }
101
102
fmt.Println()
103
internal/turso/databases.go
@@ -20,6 +20,8 @@ type Database struct {
20
Version string
21
Group string
22
Sleeping bool
23
+ Schema string
24
+ IsSchema bool `json:"is_schema"`
25
}
26
27
type DatabasesClient client
0 commit comments