Skip to content

Commit

Permalink
Fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Oct 5, 2023
1 parent a9d6646 commit 5f98f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/backends/sqlite/metadata/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (

const (
// DefaultColumn is a column name for all fields.
DefaultColumn = backends.ReservedPrefix + "_sjson"
DefaultColumn = backends.ReservedPrefix + "sjson"

// IDColumn is a SQLite path expression for _id field.
IDColumn = DefaultColumn + "->'$._id'"
Expand Down
2 changes: 1 addition & 1 deletion internal/backends/sqlite/metadata/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const (
reservedTablePrefix = "sqlite_"

// SQLite table name where FerretDB metadata is stored.
metadataTableName = backends.ReservedPrefix + "_collections"
metadataTableName = backends.ReservedPrefix + "collections"
)

// Parts of Prometheus metric names.
Expand Down

0 comments on commit 5f98f3f

Please sign in to comment.