Skip to content

Commit

Permalink
[xs] change to the migration for existing data
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjones committed Jan 20, 2012
1 parent 57bdf0e commit 42be122
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ckan/migration/versions/047_rename_package_group_member.py
Expand Up @@ -102,13 +102,6 @@ def upgrade(migrate_engine):
ALTER TABLE "package_revision"
ADD COLUMN "type" text;
update "package" set type = 'package';
update package_revision set type = 'package';
ALTER TABLE "package"
ADD COLUMN "type" set not null;
ALTER TABLE "package_revision"
ADD COLUMN "type" set not null;
COMMIT;
'''
Expand Down

0 comments on commit 42be122

Please sign in to comment.