Changes between Version 107 and Version 108 of RemovingTheMagic


Ignore:
Timestamp:
04/24/06 11:02:50 (9 years ago)
Author:
Geert Vanderkelen <geert@…>
Comment:

Fixing the renaming of columns for MySQL

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v107 v108  
    108108ALTER TABLE sites RENAME TO django_site;
    109109DROP TABLE packages;
    110 ALTER TABLE django_content_type rename package to app_label;
    111 ALTER TABLE django_content_type rename python_module_name to model;
     110ALTER TABLE django_content_type CHANGE package app_label VARCHAR(20) NOT NULL,
     111  CHANGE python_module_name module VARCHAR(50) NOT NULL;
    112112ALTER TABLE auth_permission ADD COLUMN content_type_id INTEGER;
    113113}}}
Back to Top