schema change - grades

0 views
Skip to first unread message

David Burke

unread,
Feb 25, 2012, 2:06:59 AM2/25/12
to student-worker-rela...@googlegroups.com
Moved grades to own app outside of schedule. This should even take care of content type (and thus permissions) for you.

rename table schedule_gradecomment to grades_gradecomment;
rename table schedule_grade to grades_grade;
update django_content_type set app_label='grades' where model='grade' and app_label='schedule';
update django_content_type set app_label='grades' where model='gradecomment' and app_label='schedule';


David Burke
Software Engineer and Founder
Burke Software and Consulting LLC
For help requests, email he...@burkesoftware.com
Watch announcements on Google Plus

Reply all
Reply to author
Forward
0 new messages