Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/migrations
diff options
context:
space:
mode:
authorDave Dash <dd+github@davedash.com>2010-06-21 21:40:21 (GMT)
committer Dave Dash <dd+github@davedash.com>2010-06-22 19:44:51 (GMT)
commit80dd076d994a210fd00f247df9b1a92fe6038d2f (patch)
tree919e336de3cd30ebbe5067337bd19191f44012a7 /migrations
parentcbc7570f32bf154dce830eef4b5b75b7ab330b27 (diff)
bug 569742, move stats tasks to tasks.py
This will make cron.py just list the cron jobs, and tasks list all tasks regardless of whether they are used in cron. This also adds a new task to update total_contributions... I did this out of order otherwise it would have been two commits. This task can be called via cron or whenever Contributions is updated.
Diffstat (limited to 'migrations')
-rw-r--r--migrations/45-total-contributions.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/migrations/45-total-contributions.sql b/migrations/45-total-contributions.sql
new file mode 100644
index 0000000..1633442
--- /dev/null
+++ b/migrations/45-total-contributions.sql
@@ -0,0 +1,5 @@
+ALTER TABLE addons
+ ADD COLUMN total_contributions varchar(10) DEFAULT '0.00'
+ AFTER suggested_amount;
+
+-- ~48s