19 lines
530 B
SQL
19 lines
530 B
SQL
drop table itfprofiles_production;
|
|
drop table itfprofiles_theatregroup;
|
|
drop table itfprofiles_play;
|
|
CREATE TABLE `itfprofiles_person_locations` (
|
|
`id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
|
|
`person_id` integer NOT NULL,
|
|
`location_id` integer NOT NULL,
|
|
UNIQUE (`person_id`, `location_id`)
|
|
)
|
|
;
|
|
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`)
|
|
)
|
|
;
|
|
|