diff options
author | syn <isaqtm@gmail.com> | 2020-03-22 18:25:34 +0300 |
---|---|---|
committer | syn <isaqtm@gmail.com> | 2020-03-22 18:25:34 +0300 |
commit | b7dcd0f4457833a5f1aa56d87e604edcc2a5a2e7 (patch) | |
tree | a705107675127518602dcb9a381e364b2002dd96 /app/schema.py | |
parent | 45cd960311141768cc1c26685b62e70812a9431d (diff) | |
download | blure-b7dcd0f4457833a5f1aa56d87e604edcc2a5a2e7.tar.gz |
[MIGRATE] Save image based on content type
Diffstat (limited to 'app/schema.py')
-rw-r--r-- | app/schema.py | 2 |
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 ); ''', |