diff options
author | Yorhel <git@yorhel.nl> | 2013-01-05 14:16:32 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2013-01-05 14:16:32 +0100 |
commit | 78d98c54fb63570e09cbe687f8c30eb5bd0aa0f3 (patch) | |
tree | 6e111855ed09d6705182bfedb0ccdc4fb6d3febb /util | |
parent | ba2c13150debd75c1cbf1a20950eb44ad6a30f86 (diff) |
Screenshot uploader: Load stuff synchronously + removed processing flag
All the async stuff isn't necessary now that images are processed
synchronously.
Diffstat (limited to 'util')
-rw-r--r-- | util/sql/schema.sql | 1 | ||||
-rw-r--r-- | util/updates/update_2.23.sql | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/util/sql/schema.sql b/util/sql/schema.sql index 324f3f76..8cc4956e 100644 --- a/util/sql/schema.sql +++ b/util/sql/schema.sql @@ -225,7 +225,6 @@ CREATE TABLE rlists ( -- screenshots CREATE TABLE screenshots ( id SERIAL NOT NULL PRIMARY KEY, - processed boolean NOT NULL DEFAULT FALSE, width smallint NOT NULL DEFAULT 0, height smallint NOT NULL DEFAULT 0 ); diff --git a/util/updates/update_2.23.sql b/util/updates/update_2.23.sql index 46a2dd68..f7aaf7f3 100644 --- a/util/updates/update_2.23.sql +++ b/util/updates/update_2.23.sql @@ -64,3 +64,5 @@ DROP FUNCTION chars_rev_image_notify(); DROP TRIGGER screenshot_process_notify ON screenshots; DROP FUNCTION screenshot_process_notify(); + +ALTER TABLE screenshots DROP COLUMN processed; |