drop_table 'structured_proof_parts'
drop_table 'structured_proofs'
end
end
add_index 'structured_proof_parts', ['mapping_version_id'], :name => 'index_structured_proof_parts_on_mapping_version_id'
add_index 'structured_proof_parts', ['sentence_id'], :name => 'index_structured_proof_parts_on_sentence_id'
add_index 'structured_proof_parts', ['structured_proof_id'], :name => 'index_structured_proof_parts_on_structured_proof_id'
t.string 'rule'
end
add_foreign_key 'structured_proof_parts', 'mapping_versions', name: 'structured_proof_parts_mapping_version_id_fk', dependent: :delete
add_foreign_key 'structured_proof_parts', 'sentences', name: 'structured_proof_parts_sentence_id_fk', dependent: :delete
add_foreign_key 'structured_proof_parts', 'structured_proofs', name: 'structured_proof_parts_structured_proof_id_fk', dependent: :delete
end
end