summaryrefslogtreecommitdiffstats
path: root/app/schema.py
diff options
context:
space:
mode:
authorsyn <isaqtm@gmail.com>2020-03-22 18:25:34 +0300
committersyn <isaqtm@gmail.com>2020-03-22 18:25:34 +0300
commitb7dcd0f4457833a5f1aa56d87e604edcc2a5a2e7 (patch)
treea705107675127518602dcb9a381e364b2002dd96 /app/schema.py
parent45cd960311141768cc1c26685b62e70812a9431d (diff)
downloadblure-b7dcd0f4457833a5f1aa56d87e604edcc2a5a2e7.tar.gz
[MIGRATE] Save image based on content type
Diffstat (limited to 'app/schema.py')
-rw-r--r--app/schema.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/schema.py b/app/schema.py
index 247638f..38b934f 100644
--- a/app/schema.py
+++ b/app/schema.py
@@ -3,7 +3,7 @@ schema_up = [
CREATE TABLE IF NOT EXISTS pics (
id SERIAL PRIMARY KEY UNIQUE,
src_url VARCHAR(1024),
- ext VARCHAR(10),
+ content_type VARCHAR(256),
deleted BOOLEAN
);
''',