Skip to content

Commit 4f3e885

Browse files
authored
Merge pull request #1 from TomForeman86/main
Update store.go
2 parents 4c34bca + 5d1b09a commit 4f3e885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/durable/store.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func (store *Store) initSchema() (SchemaVersion, error) {
113113
last_ip TEXT,
114114
last_time TEXT
115115
)`,
116-
`CREATE INDEX idx_channel_devices ON devices (channel_uuid, id)`,
116+
`CREATE INDEX idx_channel_devices ON devices (channel_uuid, uuid)`,
117117
`INSERT INTO channels VALUES ('76ffcb18-d3c7-40d5-abea-3fe86d02a4ba', 'default', 'The default channel')`,
118118
`INSERT INTO channel_applets VALUES ('efe35cfa-4076-4e84-9c9c-961e821769bd',
119119
'76ffcb18-d3c7-40d5-abea-3fe86d02a4ba',

0 commit comments

Comments
 (0)