jeremyevans/sequel — Issue #387: drop_table for postgres adapter fails to properly handle options
Author: netarc
Created: 2011-10-19 21:31:05+00:00
State: open

while Sequel itself supports options (specifically cascade) for drop_table:
DB.drop_table(:posts, :comments, :cascade=>true)

the Postgres adapter ignores the possibility options may exist and treats all params as table names:

lib/sequel/adapters/shared/postgres.rb
def drop_table(*names)
names.each do |name|
...
end
super
end