mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 22:10:23 +00:00
add initial stuff
This commit is contained in:
parent
796bbf4d66
commit
8daa6e774a
36 changed files with 1779 additions and 143 deletions
15
internal/db/models.go
Normal file
15
internal/db/models.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Code generated by sqlc. DO NOT EDIT.
|
||||
// versions:
|
||||
// sqlc v1.27.0
|
||||
|
||||
package db
|
||||
|
||||
type Session struct {
|
||||
ID string `json:"id"`
|
||||
Title string `json:"title"`
|
||||
MessageCount int64 `json:"message_count"`
|
||||
Tokens int64 `json:"tokens"`
|
||||
Cost float64 `json:"cost"`
|
||||
UpdatedAt int64 `json:"updated_at"`
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue