add migration system

This commit is contained in:
m
2026-07-12 09:28:20 +02:00
parent c2e0c9fce4
commit 1d35bea1c5
14 changed files with 67 additions and 176 deletions
-24
View File
@@ -3,27 +3,3 @@
// sqlc v1.31.1
package db
import (
"database/sql"
)
type File struct {
ID string `json:"id"`
Name string `json:"name"`
StorageKey string `json:"storage_key"`
Checksum string `json:"checksum"`
CreatedAt int64 `json:"created_at"`
UpdatedAt int64 `json:"updated_at"`
DeletedAt sql.NullInt64 `json:"deleted_at"`
}
type FileTag struct {
FileID string `json:"file_id"`
TagID string `json:"tag_id"`
}
type Tag struct {
ID string `json:"id"`
Name string `json:"name"`
}