mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
DEV: Add Upload
to IntermediateDB (#29780)
This commit is contained in:
12
migrations/db/intermediate_db_schema/003-uploads.sql
Normal file
12
migrations/db/intermediate_db_schema/003-uploads.sql
Normal file
@ -0,0 +1,12 @@
|
||||
CREATE TABLE uploads
|
||||
(
|
||||
id TEXT NOT NULL PRIMARY KEY,
|
||||
filename TEXT NOT NULL,
|
||||
path TEXT,
|
||||
data BLOB,
|
||||
url TEXT,
|
||||
type TEXT,
|
||||
description TEXT,
|
||||
origin TEXT,
|
||||
user_id NUMERIC
|
||||
);
|
@ -33,5 +33,5 @@ CREATE TABLE users
|
||||
suspended_at DATETIME,
|
||||
suspended_till DATETIME,
|
||||
title TEXT,
|
||||
uploaded_avatar_id INTEGER
|
||||
);
|
||||
uploaded_avatar_id TEXT
|
||||
);
|
||||
|
Reference in New Issue
Block a user