    # File lib/ramaze/contrib/sequel/create_join.rb, line 13
        def self.create_join(to, name = nil)
          from = self
          name ||= [table_name.to_s, to.table_name.to_s].sort.join('_')
          from_key = "#{from.table_name.to_s.singularize}_id"
          to_key = "#{to.table_name.to_s.singularize}_id"

          db.create_table! name do
            primary_key :id
            foreign_key from_key, :class => from
            foreign_key to_key, :class => to
          end
        end