I've been able to successfuly setup my sharded databases and load records 
into it with my custom sharding scheme. So far I run 
Sequel::Migrator.apply(DB, './migrate') and it picks up my migration 
scripts. In my migration script I am doing this:

Sequel.migration do 
  up do 
    DB.each_server do |db|
      db.create_table(:blah) ... 
   end 
end


And it works great - however I notice that the schema_info table is only in 
my :default database (the first shard if you will). Is this expected? My 
table is created with the proper schema in the "second" database shard, and 
read/writes work fine - so everything is working. Just curious if its 
expected to only write out the schema_info table on one of the databases.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sequel-talk+unsubscr...@googlegroups.com.
To post to this group, send email to sequel-talk@googlegroups.com.
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to