add drop table itfprofiles_location to sql diff - easier to just re-create table

This commit is contained in:
Sanj 2012-07-26 01:21:06 +05:30
parent c74ae2b219
commit ffdefbe643

View File

@ -0,0 +1,20 @@
BEGIN;
-- Application: itfprofiles
-- Model: Person
ALTER TABLE `itfprofiles_person`
DROP COLUMN `email_validated`;
ALTER TABLE `itfprofiles_person`
DROP COLUMN `reset_token`;
ALTER TABLE `itfprofiles_person`
DROP COLUMN `validate_token`;
-- Model: Occupation
ALTER TABLE `itfprofiles_occupation`
DROP COLUMN `parent_id`;
ALTER TABLE `itfprofiles_occupation`
ADD `occupation_type` varchar(64);
ALTER TABLE `itfprofiles_occupation`
ADD `extra_text` bool;
-- Model: City
-- Table missing: itfprofiles_city
-- Model: Location
DROP TABLE 'itfprofiles_location';