Skip to content

Commit

Permalink
sql migration for django-request bug fix and bumped mingus version
Browse files Browse the repository at this point in the history
  • Loading branch information
montylounge committed Feb 7, 2010
1 parent e646520 commit 991e641
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions SQL/20100207.sql
@@ -0,0 +1,20 @@


/*
For anyone who was using a 0.9 version of Mingus prior to 0.9.7 release
you should run the below SQL statements to migrate your database if you
are using django-request.
Database: Postgres
*/

ALTER TABLE request_request
ADD COLUMN referer_new varchar(255);

update request_request set referer_new = referer;

ALTER TABLE request_request
DROP COLUMN referer;

ALTER TABLE request_request
RENAME COLUMN referer_new to referer;
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -6,7 +6,7 @@ def read(fname):

setup(
name='django-mingus',
version='0.9.6',
version='0.9.7',
description='A django blog engine.',
long_description=read('README.textile'),
author='Kevin Fricovsky',
Expand Down

0 comments on commit 991e641

Please sign in to comment.