Changes between Version 126 and Version 127 of RemovingTheMagic


Ignore:
Timestamp:
Apr 29, 2006, 1:31:59 PM (18 years ago)
Author:
alastair tse
Comment:

need to rename package column to app_label in django_content_type for postgresql migration

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v126 v127  
    177177ALTER TABLE auth_permission DROP COLUMN package;
    178178ALTER TABLE django_content_type DROP CONSTRAINT "content_types_package_fkey";
     179ALTER TABLE django_content_type RENAME COLUMN package TO app_label;
     180ALTER TABLE django_content_type ALTER COLUMN app_label TYPE varchar(100);
    179181
    180182DROP TABLE packages;
Back to Top