Skip to content

Commit

Permalink
Remove vehicle prefix from primary keys
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJoiner committed Mar 6, 2024
1 parent 8580a78 commit bf5be8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/codegen/clickhouse/table.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ CREATE TABLE IF NOT EXISTS {{ lower .ModelName }} (
{{- end }}
)
ENGINE = MergeTree()
ORDER BY (Vehicle_DIMO_Subject, Vehicle_DIMO_Timestamp)
ORDER BY (DIMO_Subject, DIMO_Timestamp)
2 changes: 1 addition & 1 deletion pkg/vss/vehicle-table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ CREATE TABLE IF NOT EXISTS vehicle (
VehicleIdentification_Year UInt16 COMMENT 'Model year of the vehicle.',
)
ENGINE = MergeTree()
ORDER BY (Vehicle_DIMO_Subject, Vehicle_DIMO_Timestamp)
ORDER BY (DIMO_Subject, DIMO_Timestamp)

0 comments on commit bf5be8e

Please sign in to comment.