1
|
"PostgreSQL","MySQL","Comments"
|
2
|
,,"fkeys to heavily-linked tables"
|
3
|
"^ALTER TABLE (?:commclass)\b[^;]*\bFOREIGN KEY\b[^;]*\bREFERENCES \b[^;]*;",,outward
|
4
|
"^ALTER TABLE (?:taxoncorrelation|taxonlineage|threatened_taxonlabel)\b[^;]*\bFOREIGN KEY\b[^;]*\bREFERENCES taxonlabel\b[^;]*;",,inward
|
5
|
"^ALTER TABLE (?:place)\b[^;]*\bFOREIGN KEY\b[^;]*\(canon_place_id\) REFERENCES place\b[^;]*;",,inward
|
6
|
"^ALTER TABLE (?:taxonlabel)\b[^;]*\bFOREIGN KEY\b[^;]*\(canon_label_id\) REFERENCES taxonlabel\b[^;]*;",,inward
|
7
|
"^ALTER TABLE \b[^;]*\bFOREIGN KEY\b[^;]*\bREFERENCES coverindex\b[^;]*;",,inward
|
8
|
"^ALTER TABLE (?!method)\b[^;]*\bFOREIGN KEY\b[^;]*\bREFERENCES method\b[^;]*;",,inward
|
9
|
"^ALTER TABLE \b[^;]*\bFOREIGN KEY\b[^;]*\(submethod_id\) REFERENCES method\b[^;]*;",,inward
|
10
|
"^ALTER TABLE (?!party|address|sourcecontributor|telephone)\b[^;]*\bFOREIGN KEY\b[^;]*\bREFERENCES party\b[^;]*;",,inward
|
11
|
"^ALTER TABLE (?!sourcecontributor)\b[^;]*\bFOREIGN KEY\b[^;]*\((?:source_id|commauthority_id|concept_reference_id)\) REFERENCES source\b[^;]*;",,inward
|
12
|
"^ALTER TABLE (?!sourcename)\b[^;]*\bFOREIGN KEY\b[^;]*\bREFERENCES sourcelist\b[^;]*;",,inward
|
13
|
"^ALTER TABLE (?:projectcontributor)\b[^;]*\bFOREIGN KEY\b[^;]*\((?:project_id)\) REFERENCES \b[^;]*;",,inward
|
14
|
"^ALTER TABLE (?:partymember)\b[^;]*\bFOREIGN KEY\b[^;]*\((?:parentparty_id)\) REFERENCES \b[^;]*;",,inward
|
15
|
"^ALTER TABLE (?:address)\b[^;]*\bFOREIGN KEY\b[^;]*\((?:organization_id)\) REFERENCES \b[^;]*;",,inward
|