- Added a "count" column with default value 1 to the "files" table for tracking purposes. - Improved file duplication and deletion handling. - Updated regular expression for vision models to include additional providers. - Improved removal of topics for assistants from local storage. - Added support for human-readable date formats in file metadata. - Improved handling of messages with image attachments to include base64 encoded images in the response. - Added new 'count' property to the FileMetadata interface.
12 lines
253 B
SQL
12 lines
253 B
SQL
CREATE TABLE IF NOT EXISTS files (
|
|
id TEXT PRIMARY KEY,
|
|
name TEXT NOT NULL,
|
|
file_name TEXT NOT NULL,
|
|
path TEXT NOT NULL,
|
|
size INTEGER NOT NULL,
|
|
ext TEXT NOT NULL,
|
|
type TEXT NOT NULL,
|
|
created_at TEXT NOT NULL,
|
|
count INTEGER DEFAULT 1
|
|
)
|