2012-07-26 21:47:32 +00:00
|
|
|
drop table itfprofiles_production;
|
|
|
|
drop table itfprofiles_theatregroup;
|
|
|
|
drop table itfprofiles_play;
|
2012-07-26 23:16:44 +00:00
|
|
|
|
2012-07-26 21:47:32 +00:00
|
|
|
CREATE TABLE `itfprofiles_person_languages` (
|
|
|
|
`id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
|
|
|
|
`person_id` integer NOT NULL,
|
|
|
|
`language_id` integer NOT NULL,
|
|
|
|
UNIQUE (`person_id`, `language_id`)
|
|
|
|
)
|
|
|
|
;
|
|
|
|
|
2012-07-26 23:16:44 +00:00
|
|
|
BEGIN;
|
|
|
|
-- Application: itfprofiles
|
|
|
|
-- Model: Location
|
|
|
|
ALTER TABLE `itfprofiles_location`
|
|
|
|
ADD `content_type_id` integer;
|
|
|
|
ALTER TABLE `itfprofiles_location`
|
|
|
|
ADD `object_id` integer UNSIGNED;
|
|
|
|
CREATE INDEX `itfprofiles_location_content_type_id_idx`
|
|
|
|
ON `itfprofiles_location` (`content_type_id`);
|
|
|
|
COMMIT;
|