Skip to content

Commit

Permalink
refactor: we don't need ids, as they are only for anonymized telemetr…
Browse files Browse the repository at this point in the history
…y which we don't have
  • Loading branch information
ansgarm committed Jul 4, 2024
1 parent d6d6603 commit 49a2fff
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions internal/features/stacks/state/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import (
)

const (
stackTableName = "stacks"
stackIdsTableName = "stack_ids"
stackTableName = "stacks"
)

var dbSchema = &memdb.DBSchema{
Expand All @@ -28,17 +27,6 @@ var dbSchema = &memdb.DBSchema{
},
},
},
// TODO: do we need stack ids?
stackIdsTableName: {
Name: stackIdsTableName,
Indexes: map[string]*memdb.IndexSchema{
"id": {
Name: "id",
Unique: true,
Indexer: &memdb.StringFieldIndex{Field: "path"},
},
},
},
},
}

Expand Down

0 comments on commit 49a2fff

Please sign in to comment.