add drop table itfprofiles_location to sql diff - easier to just re-create table
This commit is contained in:
parent
c74ae2b219
commit
ffdefbe643
20
migrations/sqldiff240712.sql
Normal file
20
migrations/sqldiff240712.sql
Normal 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';
|
Loading…
Reference in New Issue
Block a user