root/trunk/mpdb-server/schema/migrations/05_28_09.sql @ 997

Revision 997, 0.6 KB (checked in by goldfd, 4 years ago)

Added 3 new mineral relationships
Can either rebuild the whole database or run the 05_28_09.sql migration

Line 
1-- adds 3 child relationships to biopyribole
2insert into mineral_relationships (parent_mineral_id, child_mineral_id) VALUES((select mineral_id from minerals where name='Biopyribole'),(select mineral_id from minerals where name='Mica'));
3insert into mineral_relationships (parent_mineral_id, child_mineral_id) VALUES((select mineral_id from minerals where name='Biopyribole'),(select mineral_id from minerals where name='Amphibole'));
4insert into mineral_relationships (parent_mineral_id, child_mineral_id) VALUES((select mineral_id from minerals where name='Biopyribole'),(select mineral_id from minerals where name='Pyroxene'));
Note: See TracBrowser for help on using the browser.