Files
src-1.2/game/server/database/schema/foreign_keys.fkey
T
2014-01-17 07:03:16 -07:00

7 lines
462 B
Plaintext

alter table market_auctions add constraint market_auctions_location_id_fk
foreign key(location_id) references auction_locations(location_id) on delete cascade;
alter table market_auction_bids add constraint market_auction_bids_item_id_fk
foreign key(item_id) references market_auctions on delete cascade;
alter table market_auction_attributes add constraint market_attributes_item_id_fk
foreign key(item_id) references market_auctions on delete cascade;