It was all surprisingly not that difficult. See what you think.
reimplement Database#tables for ADO Access adapter using OpenSchema
Implement Database#foreign_key_list for ADO Access adapter.
Note that it only works for single-column relations so far
Implement foreign_key_list for ADO Access adapter, now works for
compound foreign key relationships.
Implement Database#views for ADO Access adapter using OpenSchema
This looks good. I'll do some testing tomorrow and merge it. Thanks!
No problems in my basic testing. I also committed a spec change and now I can run the specs on Access without them all failing (though >50% still fail). This should make it much easier to improve Sequel's support on Access, just by looking at the spec failures and fixing them if possible.
Great. Yeah, I noticed that too running the specs. I think a lot may have to do with the 'table is locked' problem (e.g. create_table! raises this consistently). But I want to look closer at it soon.
BTW I just released a gem for a database transfer tool I put together (which was some motivation for putting these changes in). I'd love your feedback if you have a minute to look at it sometime.
wineskins looks cool. It's basically similar to bin/sequel -C or taps, but with the ability to have more control instead of just doing a straight copy.
One change I would recommend is not creating indexes until after the inserts, since it's slower to create index and then insert than it is to insert then create index.
thx, I hadn't noticed sequel -C or taps. and thanks for the suggestion re indexes.