added db migrations for models changes (run syncdb after)
This commit is contained in:
parent
efab65b50f
commit
9c9ee607aa
18
migrations/sqldiff250712.sql
Normal file
18
migrations/sqldiff250712.sql
Normal file
|
@ -0,0 +1,18 @@
|
|||
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`)
|
||||
)
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user