mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-14 00:01:30 -04:00
37 lines
3.8 KiB
SQL
37 lines
3.8 KiB
SQL
alter table ARMOR add constraint ARMOR_PK foreign key (object_id) references objects;
|
|
alter table BATTLEFIELD_MARKER_OBJECTS add constraint BATTLEFIELD_MARKER_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table BATTLEFIELD_PARTICIPANTS add constraint BF_PARTICIPANTS_CHARACTER_FK foreign key (character_object_id) references objects;
|
|
alter table BATTLEFIELD_PARTICIPANTS add constraint BF_PARTICIPANTS_REGION_FK foreign key (region_object_id) references objects;
|
|
alter table BIOGRAPHIES add constraint BIOGRAPHIES_PK foreign key (object_id) references objects;
|
|
alter table BUILDING_OBJECTS add constraint BUILDING_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table CELL_OBJECTS add constraint CELL_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table CITY_OBJECTS add constraint CITY_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table CREATURE_OBJECTS add constraint CREATURE_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table EXPERIENCE_POINTS add constraint EXPERIENCE_POINTS_FK foreign key (object_id) references objects;
|
|
alter table FACTORY_OBJECTS add constraint FACTORY_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table GUILD_OBJECTS add constraint GUILD_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table HARVESTER_INSTALLATION_OBJECTS add constraint HARVESTER_INST_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table INSTALLATION_OBJECTS add constraint INSTALLATION_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table INTANGIBLE_OBJECTS add constraint INTANGIBLE_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table LOCATION_LISTS add constraint LOCATION_LISTS_FK foreign key (object_id) references objects;
|
|
alter table MANF_SCHEMATIC_ATTRIBUTES add constraint MANF_SCHEM_ATTR_FK foreign key (object_id) references objects;
|
|
alter table MANF_SCHEMATIC_OBJECTS add constraint MANF_SCHEMATIC_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table MANUFACTURE_INST_OBJECTS add constraint MANUFACTURE_INST_OBJECTS_FK foreign key (object_id) references objects;
|
|
--alter table MESSAGES add constraint MESSAGES_FK foreign key (target) references objects;
|
|
alter table MISSION_OBJECTS add constraint MISSION_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table OBJECT_VARIABLES add constraint OBJECT_VARIABLES_FK foreign key (object_id) references objects;
|
|
alter table PLANET_OBJECTS add constraint PLANET_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table PLAYER_OBJECTS add constraint PLAYER_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table PROPERTY_LISTS add constraint PROPERTY_LISTS_FK foreign key (object_id) references objects;
|
|
alter table RESOURCE_CONTAINER_OBJECTS add constraint RESOURCE_CONTAINER_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table RESOURCE_POOL_OBJECTS add constraint RESOURCE_POOL_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table RESOURCE_TYPE_OBJECTS add constraint RESOURCE_TYPE_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table SCRIPTS add constraint SCRIPTS_FK foreign key (object_id) references objects;
|
|
alter table STATIC_OBJECTS add constraint STATIC_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table TANGIBLE_OBJECTS add constraint TANGIBLE_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table TOKEN_OBJECTS add constraint TOKEN_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table UNIVERSE_OBJECTS add constraint UNIVERSE_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table VEHICLE_OBJECTS add constraint VEHICLE_OBJECTS_FK foreign key (object_id) references objects;
|
|
alter table WAYPOINTS add constraint WAYPOINTS_FK foreign key (object_id) references objects;
|
|
alter table WEAPON_OBJECTS add constraint WEAPON_OBJECTS_FK foreign key (object_id) references objects;
|