20120307163615_create_links.rb revision 3e7a51349781a4cf69b876a1488db647bb62a63d
create_table :links do |t|
t.references :source, :null => false
t.boolean :proven, :default => false # has the link been proven (makes only sense for theorem links)
t.boolean :local, :default => false # local or global link? corresponds to Scope in Hets. Local links may arise in development graph proofs
t.references :parent, :default => nil # non-nil for component signature morphisms which are coded as links here,
# see FreeOrCofreeDefLink (here the link is the inclusion of the intermediate node into the source) or HidingFreeOrCofreeThm in Hets
t.timestamps :null => false
end
change_table :links do |t|
end
end
end