add sql migrations
This commit is contained in:
parent
1dd9ea2b6f
commit
b48887e449
20
migrations/sqldiff270712.sql
Normal file
20
migrations/sqldiff270712.sql
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
drop table itfprofiles_groupbuzzitem;
|
||||||
|
|
||||||
|
drop table itfprofiles_personbuzzitem;
|
||||||
|
|
||||||
|
|
||||||
|
BEGIN;
|
||||||
|
-- Application: itfprofiles
|
||||||
|
-- Model: BuzzItem
|
||||||
|
-- Table missing: itfprofiles_buzzitem
|
||||||
|
-- Model: Location
|
||||||
|
ALTER TABLE `itfprofiles_location`
|
||||||
|
MODIFY `object_id` integer UNSIGNED;
|
||||||
|
-- Model: Award
|
||||||
|
ALTER TABLE `itfprofiles_award`
|
||||||
|
ADD `content_type_id` integer;
|
||||||
|
ALTER TABLE `itfprofiles_award`
|
||||||
|
ADD `object_id` integer UNSIGNED;
|
||||||
|
CREATE INDEX `itfprofiles_award_content_type_id_idx`
|
||||||
|
ON `itfprofiles_award` (`content_type_id`);
|
||||||
|
COMMIT;
|
Loading…
Reference in New Issue
Block a user