diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-13 11:29:20 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-21 13:38:42 +0200 |
| commit | d63d0c4c44cb2356645fd112cec01598301f5949 (patch) | |
| tree | a3a863a1c08ebb34885c1e38cfa76f9515cf7e54 /internal/db/models.go | |
| parent | bd2ec29b65e430f83f430db5fdc424c7d631989d (diff) | |
| download | opencode-d63d0c4c44cb2356645fd112cec01598301f5949.tar.gz opencode-d63d0c4c44cb2356645fd112cec01598301f5949.zip | |
wip files
Diffstat (limited to 'internal/db/models.go')
| -rw-r--r-- | internal/db/models.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/db/models.go b/internal/db/models.go index 2fad913be..f00cb6ad1 100644 --- a/internal/db/models.go +++ b/internal/db/models.go @@ -8,6 +8,16 @@ import ( "database/sql" ) +type File struct { + ID string `json:"id"` + SessionID string `json:"session_id"` + Path string `json:"path"` + Content string `json:"content"` + Version string `json:"version"` + CreatedAt int64 `json:"created_at"` + UpdatedAt int64 `json:"updated_at"` +} + type Message struct { ID string `json:"id"` SessionID string `json:"session_id"` |
